lizhen@silver.ucs.indiana.edu (Zhen Li) (06/26/91)
I am trying to run slip on two sparc stations and having some problems. I am wondering if someone who has success on this could give me some help. First let me describe my configuration. I am trying to run slip on a sparc1+ and a sparc2, both running SunOS4.1.1. The calling machine is named eureka which does not have ethernet connection and the called machine is named stone which is on the network with an IP address of 129.79.13.1. I assign 129.79.17.1 to stone's slip interface and 129.79.17.2 to eureka's slip interface. Currently there is no subnet17 on our campus network, so I chose 17. Our gateway operator have configured gateways to forward all packets of subnet17 to stone. So basiclly the picture is like: ethernet <-----------------+ | 129.79.13.1 +----------+ +----------+ | stone | | eureka | +----------+ +----------+ 129.79.17.1 129.79.17.2 | serial link | +-------------------------------+ I created a slip login account in stone which has sliplogin in its login shell. Then I tip from eureka, (I used the tip/with slip). I could get the connection setup and login. (The tip showed [SLIP running]) But after that I tried "netstat -rn" on both machines and the following are the result: eureka> netstat -rn Destination Gateway Flags Refcnt Use Interface 127.0.0.1 127.0.0.1 UH 0 917 lo0 129.79.17.1 129.79.17.2 UG 0 245 slip0 default 129.79.17.2 UG 0 245 slip0 stone>netstat -rn Destination Gateway Flags Refcnt Use Interface 127.0.0.1 127.0.0.1 UH 0 917 lo0 default 129.79.13.254 UG 0 245 le0 129.79.13.0 129.79.13.1 U 2 8655 le0 * 129.79.13.254 is the gateway in subnet 13. And "ifconfig -a" showed the slip0 on eureka is up, on stone is down. At this moment I tried ping/telnet 129.79.17.1, no success. Questions: 1. The manpage of sliplogin says "Only the super-user may attach a network interface". Does this mean on stone the root has to setup the slip connection before any ordinary slip user login? 2. I tried to start sliplogin before tipping from eureka, then on stone I got: stone> netstat -rn Destination Gateway Flags Refcnt Use Interface 129.79.17.2 129.79.17.1 UGDH 0 3 slip0 127.0.0.1 127.0.0.1 UH 0 917 lo0 default 129.79.13.254 UG 0 245 le0 129.79.13.0 129.79.13.1 U 2 8655 le0 But after that the slip user won't be able to login. The tip showed [connected] but login failed. Actually after I started sliplogin on stone even the ordinary user (dialed through sunos tip) won't be able to login. Do I missed something in the configuration? Any comments and suggestions are appreciated. Zhen Li