Subject: Hi,could you help me ?
To: None <netbsd-help@netbsd.org>
From: truename <lyhzist@yeah.net>
List: netbsd-help
Date: 02/14/2001 23:08:05
  Hi,.I am in the process of setting up a SLIP server with two serial lines(com1 and com2) I want to have a i386 FreeBSD(4.1) box acting as a SLIP server,But I can't start SLIP sever.when I configure the kernel with two options:"pseudo-device  sl  2  "and "options SLIP_IFF_OPTS". I got some information like following:
>netstat -i
Name  Mtu   Network     Address           Ipkts Ierrs    Opkts Oerrs  
rl0   1500  <Link#1>   00:50:ba:d0:0a:78   5999   0      84      0
rl0   1500  192.168    00:50:ba:d0:0a:78   5999   0      84      0
lo0  16384  <Link#2>                       34     0       34     0    
lo0  16384  127         LOCALHOST          34     0       34     0    
sl0  552    <Link3>                        96     0       57    0    sl0  552    192.168     slipfreebsd        96     0       57     0  
sl1  552    <Link#4>           96          0       57     0    
>ifconfig -a
rl0: flags=8834<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,LINK0,MULTICAST>
      inet 192.168.0.36  netmask 0xffffff00 broadcast 255.255.255.255
lo0: flags=8049<UP>mtu 16384
        inet 127.0.0.1 netmask 0xff000000
sl0: flags=1<up>mtu 552
        inet 192.168.0.37 netmask 0xff000000
sl1: flags=1<up>mtu 552
>ifconfig sl0 up
>ping 192.168.0.37
 ping:sendto:Host is down
 .....
 ping:sendto:Host is down
some files are configured like following:
/etc/sliphome/slip.hosts:
wya1   192.168.0.37     192.168.0.28 0xffffff00  autocomp


/etc/sliphome/slip.login:
#!/bin/sh
.....
/etc/sliphome/slip.login 0 4800  wya1  192.168.0.37   192.168.0.28  0xffffff00 autocomp
/usr/sbin/arp -d $5
....
/sbin//ifconfig sl$1 inet  $4  $5 netmask  $6
...
exit


when I configur the kernel with only option:  pseudo-device	sl  2 
I got some other information like following:
>netstat -i
Name  Mtu   Network     Address           Ipkts Ierrs    Opkts Oerrs  
rl0   1500  <Link#1>   00:50:ba:d0:0a:78   5999   0      84      0
rl0   1500  192.168    00:50:ba:d0:0a:78   5999   0      84      0
lo0  16384  <Link#2>                       34     0       34     0    
lo0  16384  127         LOCALHOST          34     0       34     0    
sl0*  552    <Link3>                       96    0     57     0    
sl0  552    none         none        96     0       57     0  
sl1*  552    <Link#4>           96     0       57     0    

>ifconfig -a
rl0: flags=8834<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,LINK0,MULTICAST>
       inet 192.168.0.36  netmask 0xffffff00 broadcast 255.255.255.255
lo0: flags=8049<UP>mtu 16384
        inet 127.0.0.1 netmask 0xff000000
sl0: flags=880<ponittopoint,NOTRAILERS link#1 link 2>mtu 552
        inet 192.168.0.37 -->192.168.0.28 netmask 0xff000000
sl1: flags=880<ponittopoint,NOTRAILERS link#1 link 2>mtu 552
>ifconfig sl0 up
>ping 192.168.0.37
 ping:sendto:Host is down
 .....
 ping:sendto:Host is down
the slip.hosts and slip.login are same as the above:
I sincerely hope you can give me some suggestion or give me materials about how to let my SLIP sever run!
You can email to :lyhzist@yeah.net
Thanks in advance
                                                                                                                            sincerely yours
                                                           crazydream




网易祝大家情人节快乐!特送上一曲MTV:http://cartoon.163.com/editor/010213/010213_506.html