From: Ben Lippolt (bjl@nanna.research.ptt.nl)
Date: 03/28/93


From: bjl@nanna.research.ptt.nl (Ben Lippolt)
Subject: Problem with slip (KA9Q).
Date: Sun, 28 Mar 1993 09:34:40 GMT

Hi,

I need some help with SLIP.

I'm trying to connect my Linux home-machine to one of the Suns at work
via slip and I'm running into some problems. Maybe the problem is caused
by the way I have to log into machine at work.

- First I have to call a defender system which then calls me back.
- As soon as I establish a connection I'm logged into a DEC terminal-server
  which only speaks LAT, so I have to connect to a lattelnet daemon on one
  of our Ultrix systems.
- From there I connect to the Sun (so I don't log in via one of the serial
  lines; usually my tty is something like /dev/ttyp0).

I've installed cslip-2.6 on the Sun (SunOS 4.1.3) and use KA9Q (v12) on my
Linux box (which still runs 98.3).

When I log in (9600 baud via kermit) on the Sun with my slip account I
see the start-up message from cslip. I then return to my Linux system and
start "net". I then try to telnet to the Sun but nothing happens. On one try
I have seen the login prompt of the Sun, but nothing happened after that.

I can think of several possibilities:

1. My setup is wrong. [I've included several of the most important
     configuration files below.]
2. I can't run slip through a DEC terminal-server or over LAT.
3. My Linux version is way out of date [wouldn't surpise me :-). I haven't
     upgraded since november.]
4. There is a bug in the Sun pty driver. [Last year I tried to connect
     a PC with PC-NFS the same way. I had the same problem (could connect
     a few times, but lost connection after about one minute) but when I
     hooked up the PC to one of the serial ports I had no problem. That
     was with SunOS 4.1.1 and we suspected a bug in the pty-driver.]

Below I've included a log-file of what happens during sliplogin on the Sun
plus some configuration files.

Any tips or solutions are welcome.

Thanks

Ben Lippolt.
========
Setup (at home): LInux v98.3 on a 486/33
                 KA9Q v12 (tsx-11:binaries/usr.bin/ka9qbin.12.tar.Z, Mar 13)
                 hostname = benslip, IP-address = 139.63.244.185
      (at work): SunOS 4.1.3 on a SparcStation-2
                 cslip v2.6
                 hostname = nanna, IP-address = 139.63.232.171
============= SUN: begin of log (from /etc/slip.login) ========
============= I've included some extra commands, like netstat
============= to get extra information
|| $ stty crtscts
|| $ /etc/ifconfig.slip sl0 nanna benslip netmask 0xfffffc00
|| $ route add host benslip nanna 0
|| add host benslip: gateway nanna: File exists
|| $ /etc/ifconfig.slip sl0
|| sl0: flags=51<UP,POINTOPOINT,RUNNING>
|| inet 139.63.232.171 --> 139.63.244.185 netmask fffffc00
|| $ netstat -r
|| Routing tables
|| Destination Gateway Flags Refcnt Use Interface
|| benslip nanna UH 0 0 sl0
|| localhost localhost UH 3 267 lo0
|| dnllan1 nanna U 24 99488 le0
|| default lsdm01-1 UG 7 9336 le0
|| $ netstat -rs
|| routing:
|| 0 bad routing redirects
|| 0 dynamically created routes
|| 0 new gateways due to redirects
|| 0 destinations found unreachable
|| 330 uses of a wildcard route
|| $ netstat -I sl0
|| Name Mtu Net/Dest Address Ipkts Ierrs Opkts Oerrs Collis Queue
|| sl0 552 benslip nanna 29 0 27 0 0 0
|| $ /etc/ifconfig.slip sl0 link1
|| $ /etc/slip/sun4-sunos4.1.1/bin/slstats
|| in pack comp uncomp err | out pack comp uncomp ip
|| 0 29 0 0 0 | 517 33 0 0 33
|| 0 0 0 0 0 | 0 0 0 0 0
|| 0 0 0 0 0 | 0 0 0 0 0
===================== end of log ========================

===================== SUN: /etc/slip.hosts ========================
# @(#) $Header: slip.hosts,v 1.2 92/04/02 02:15:31 leres Exp $ (LBL)
#
# name local-addr remote-addr mask
#
benslip `hostname` benslip 0xfffffc00 auto-comp
================= end of /etc/slip.hosts =====================

================== Linux: startup.net ========================
hostname benslip
ip address [139.63.244.185]
attach asy 0 /dev/ttys4 cslip sl0 2048 1500 9600
route add default sl0
ip ttl 16
tcp mss 64
tcp window 256
start finger
start telnet
================== end of startup.net ========================

================== Linux: domain.txt ========================
benslip. IN A 139.63.244.185
nanna. IN A 139.63.232.171
================== end of domain.txt ========================