penguin

Linux Setup

Here is how I setup a SLIP server, or SLIP-to-ethernet bridge, on my Linux box. I'm using slattach, which unfortunately is not included in some of the later Linux distributions, and comes in several variations. You may be able to compile it for your Linux from this slattach.c.
 # $tty  = desired serial port device (eg, /dev/ttyS0 for COM1)
 # $host = name or IP of the linux host
 # $ace  = name or IP of the webACE
 # $ifc  = name of SLIP interface (eg, sl0)
 # $ether = ethernet address of Linux host

 # Make 38400 really mean 57600
 setserial $tty spd_hi

 # Set line discipline to SLIP, with hardware flow control.
 slattach -h $tty 38400

 # Configure IP address of interface and enable it
 ifconfig $ifc $host pointopoint $ace mtu 1500 up

 # Add route
 route add -host $ace $ifc

 # Enable proxy ARP
 arp -s $ace $ether pub

 # Turn on IP forwarding.
 echo 1 > /proc/sys/net/ipv4/ip_forward

Created: Jan 4, 2000