Subject: Slip info.
To: None <macbsd-general@sun-lamp.cs.berkeley.edu>
From: Brian R. Gaeke <brg@DGate.ORG>
List: macbsd-general
Date: 02/16/1994 23:16:16
The scenario is this: I boot up. I activate slip. I open a connection
via ftp/telnet/whatever. About 5 minutes or so later, the adb keyboard
will not work, but the other terminal (ser1) works fine. I can telnet
out and telnet in. 

I am running netbsd.II on a II.
I haven't tried any other kernels recently.

Here are the scripts that I use to [de]activate slip.
---------------------------- cut here ----------------------------------
#!/bin/sh
# /usr/local/sbin/slipon
# a script to turn on slip

echo "Login to account and activate slip."
echo cu -l /dev/ser0 -s 19200
cu -l /dev/ser0 -s 19200

echo "slattach -h -s 19200 /dev/ser0"
slattach -h -s 19200 /dev/ser0
echo "ifconfig sl0 192.245.161.41 192.156.196.10 netmask 0xffffff00 up"
ifconfig sl0 192.245.161.41 192.156.196.10 netmask 0xffffff00 up
echo "route add default 192.156.196.10 1"
route add default 192.156.196.10 1
echo "ping -c 5 192.156.196.1"
ping -c 5 192.156.196.1
echo "Slip activated."
exit 0
---------------------------- cut here ----------------------------------
#!/bin/sh
# /usr/local/sbin/slipoff
# a script to turn off slip
echo "ifconfig sl0 down"
ifconfig sl0 down
echo "route delete default"
route delete default
echo "Now, turn off the modem."
exit 0
---------------------------- cut here ----------------------------------

Anyone see anything interesting?

Brian

------------------------------------------------------------------------------