Can I read a sun tape data cartidge? What is /bin-newest for? Frequently Asked Questions and their answers Top

6.47. How to set up SLIP?

1 Dialup (and maybe login to) a SLIP port (kermit is a good way to do this).

2 slattach -a -h -s 38400 //dev/tty00

3 ifconfig sl0 LOCAL-IP-ADDR REMOTE-IP-ADDR -arp -trailers up

4 route add 0.0.0.0 REMOTE-IP-ADDR

Well, here are the steps I used to get it running. First let me state that the terminal server I dial-in to haas support for SLIP, so I only need to connect to it and tell it I want a SLIP connection. Others may have to actually login and start SLIP on the login session. Also because of this connection method my IP address can change each time.

1. Edit /etc/netstart to turn off the servers you won't use, but leave routed on. Setup /etc/hosts for your node and any others and make sure "hostname" and "domainname" reflect the proper things.

2. Run kermit to connect to the remote node: set modem none (I use this to keep the line alive) set line /dev/tty00 set speed 38400 (This may depend on your modem) (Can NetBSD support 57.6Kbaud?) set flow rts/cts dial ### connect <Do what ever to get SLIP running remotely> Cntrl-\ Q (Kill off Kermit, leaving line up)

3. Start up the local SLIP service: slattach -a -h -s 38400 /dev/tty00

4. Enable the network connection: ifconfig sl0 inet <local IP addr> <remote IP addr> -arp -trailers up

5. Turn on routing: route add 0.0.0.0 <remote IP addr>

I tried to setup routing information int he /etc/gateways file, but routed seemed to ignore it. Anyone know more details on how this should be done or if routed supports the file? I also tried to use "default" in place of "0.0.0.0" in the route comand, but it does not understand that syntax. I got that syntax from SUNOS 4.1 manuals and AmiTCP setup.

6. To avoid adding everything to your /etc/hosts file, turn on DNS access if you have it avialable on the remote end. Do this by creating or copying a /etc/resolv.config file from the reomte network.

Now all I need is to build ftptool on the NetBSD end and I can start downloading software directly to my Amiga :)


Matthias Kirschnick 04/15/94