SLIP connection goes away

SLIP connection goes away

Post by Mike Mossm » Sat, 29 Jul 1995 04:00:00

In a message on 17 Jul 95, Andrea Controzzi wrote;
    on the Subject of (SLIP connection goes away).

 AC> I tried to connect 2 computers, let's call them A and B with a leased
 AC> cable and SLIP interface.
 AC> Both of them has simple UART16450 chips. On both of them I do the same
 AC> iniziatilization and
 AC> slattach -p slip -s 19200 /dev/cua1 & (cua0 on computer B)
 AC> ifconfig sl0 A pointopoint B up (B pointopoint A on computer B)
 AC> route add B (A on computer B)

 AC> Where A and B are and, just a couple of test IP
 AC> addresses.

 AC> Now, all seems to work. I ping :all ok.
 AC> I telnet, all seems ok.
 AC> After a random amount of bytes, sl0 on A disappears, and the route to B
 AC> is deleted. The funny (ehm...) is that slattach does NOT die! It's
 AC> still alive but sl0 disappears (doing ifconfig, I see only lo active).
 AC> This happens ONLY on A.
 AC> If this helps, A is a 486dx2 with kernel 1.2.11, B is a laptop with
 AC> kernel 1.1.59.
 AC> Who know's why this happens and how to solve the problem?

 AC> MANY thanks for the help, please mail me.

I had the exact same problem. It took me a month to trace down the
problem. It is slattach!!! Don't know why??? I switched to dip
and I'm using it for static connection. Everything works great now!!

Here are my configs. cslip.dip first;

port /dev/cua1
speed 115200
databits 8
stopbits 1
parity none
get $local
get $remote
get $mtu 1006
mode CSLIP

Here is rc.inet1

#! /bin/sh
# rc.inet1      This shell script boots up the base INET system.


/bin/cp /etc/hosts1 /etc/hosts


# Attach the loopback device.
/sbin/ifconfig lo
/sbin/route add -net

# IF YOU HAVE AN ETHERNET CONNECTION, use these lines below to configure the
# eth0 interface. If you're only using loopback or SLIP, don't include the
# rest of the lines in this file.

# Edit for your setup.
IPADDR=""      # REPLACE with YOUR IP address!
NETMASK=""               # REPLACE with YOUR netmask!
NETWORK=""               # REPLACE with YOUR network address!
BROADCAST=""   # REPLACE with YOUR broadcast address, if you
                                # have one. If not, leave blank and edit below.
GATEWAY=""     # REPLACE with YOUR gateway address!

# Uncomment ONLY ONE of the three lines below. If one doesn't work, try again.
# /sbin/ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
# /sbin/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}
# /sbin/ifconfig  eth0 ${IPADDR} netmask ${NETMASK}

/sbin/dip -k
/bin/rm /usr/spool/uucp/LCK..cua1
/sbin/dip /etc/cslip.dip
/usr/bin/sleep 2s
/sbin/ifconfig sl0 ${IPADDR} pointopoint ${GATEWAY} netmask ${NETMASK} mtu 1006

# Uncomment these to set up your IP routing table.
/sbin/route del blit_end
/sbin/route add -net ${NETWORK} netmask ${NETMASK} sl0
/sbin/route add default gw ${GATEWAY} metric 1

# End of rc.inet1

Hope this helps!!!

 ***** ADS DHUB, SAN FREQ's Available

... Nobody EXPECTS the Spanish Inquisition!
 * TagArt V1.4 Copyright (c) CWL *