Change the background color!

Setting up SLIP(Serial Line Internet Protocal) on Small Linux - Steven G.

revision: 0.2 - 1999-8-22

I followed the instructions in the June 1998 issue of Linux Journal. Thanks to Loris Renggli.

This is a network connection through the serial port. Once the SLIP is up and running,
you will be able to use telnet, ftp, rcp, or lynx.


special serial cable or connector - "null modem"

two computers - root access on both
free serial ports on both machines
tcp/ip utilities:
general utilities
slip compiled into the Linux kernel, or
slip functionality thru modules- modprobe, slip.o

My case:

1. 386sx - 30 mhz - 2 meg running Small Linux 0.5.0 -standalone - kernel 1.2.11
2. 386sx 50 mhz - 4 meg running Small Linux 0.5.0 - standalone - kernel 2.0.0

My steps:

1. setup etc files on both computers

hosts - on 386 50mhz computer (sag) localhost sag baby

hosts - on 386 30hmz computer (baby) locahost baby sag

2. setup slip startup script files on machine 1 and on machine 2 (see bottom of document for examples)

3. setup cable between the two computer
both my machines have two serial ports
port # 0 is 0x3F8 irq 4 on both
restart both machines

4. run on both machines

5. test network settings and connection
route should print out localhost and other machine
ifconfig should printout lo and sl0 address
then using ping should get response from remote computer for example: ping sag ping baby

6. have deamons running or available on each machine

7. enjoy it!
telnet should log in to remote
ftp can be used to transfer files

8. setup NFS for mouting network drives on machine 2 - sag:
slattach -s 57600 -p slip /dev/cua0 &
sleep 1
/sbin/ifconfig s10 sag pointopoint baby up
/sbin/route add sag dev lo
/sbin/route add baby dev s10 on machine 1 - baby:
slattach -s 57600 -p slip /dev/cua0 &
sleep 1
/sbin/ifconfig s10 baby pointopoint sag up
/sbin/route add baby dev lo
/sbin/route add sag dev s10

revision history: rev 2 - 1999-8-22 corrected some typos
rev 1 - 1999-8-19 first draft - based on plip document