[825] in testers
[Saltzer: rt 7.0 slip problems?]
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Mon May 21 13:31:09 1990
From: raeburn@ATHENA.MIT.EDU
To: testers@ATHENA.MIT.EDU
Date: Mon, 21 May 90 13:30:11 EDT
Could someone who knows something about the slip code please deal with
this?
------- Forwarded Message
Received: by E40-PO.MIT.EDU (5.45/4.7) id AA23515; Mon, 21 May 90 13:24:27 EDT
Received: from ALLSPICE.LCS.MIT.EDU by ATHENA.MIT.EDU with SMTP
id AA23387; Mon, 21 May 90 13:24:24 EDT
Received: from jhs.NE43-513-2 by PTT.LCS.MIT.EDU via PCMAIL with DMSP
id AA02426; Mon, 21 May 90 13:24:18 EDT
Date: Mon, 21 May 90 13:24:18 EDT
Message-Id: <9005211724.AA02426@PTT.LCS.MIT.EDU>
From: Jerome H Saltzer <Saltzer@mit.edu>
To: raeburn@ATHENA.MIT.EDU
In-Reply-To: raeburn@athena.mit.edu's message of Sat, 19 May 90 02:02:18 EDT <9005190602.AA15192@STEVE-DALLAS.MIT.EDU>
Subject: Re: slattach
Sender: jhs@ALLSPICE.LCS.MIT.EDU
Repository: PTT
Originating-Client: NE43-513-2
> There is an /etc/slattach in version 7.0 for the RT, though I don't
> know how good it is, or whether it's seriously affected by the
> differences between 6.4 and 7.0. (It probably requires kernel driver
> support.) You're welcome to try it out, of course; look in
> /afs/testers/system/rt_aos4/srvd/etc/slattach. If it doesn't work
> with 6.4, it's probably best to wait until the 7.0 release is
> generally available.
Ken,
Thanks for the pointer.
You might want to get someone to verify that the RT 7.0 slip driver
works. The slattach command is fairly trivial--it reads its arguments
and invokes one ioctl to set the speed and the device name--so the 7.0
binary probably interworks with any kernel driver.
But when I ran it on my RT 6.4 kernel, the 6.4 driver appears to have
screwed up, at least as suggested by the first line of the routing
tables below. That line is, I think, created as a result of some
interaction between ifconfig and the sl driver. The speed and device
name seem to have gotten set properly by slattach; the problem is
somewhere inside the kernel.
Jerry
- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----
46# slattach /dev/ttyc0
47# ifconfig sl0 inet 18.31.0.31 netmask 0xffff0000
48# netstat -i
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
un0 1500 18.26 NE43-513-2.MIT. 1734516 44522 33185 0 322
sl0 1020 18.31 18.31.0.31 27 0 0 0 0
lo0 1536 127 127.0.0.1 2947 0 2947 0 0
49# netstat -r
Routing tables
Destination Gateway Flags Refs Use Interface
(0)0 0 0 0 0 0 0 (2)0 121f 1f 0 0 0 0 UH 0 0 sl0
127.0.0.1 127.0.0.1 UH 1 2768 lo0
default SEWAGE.MIT.EDU UG 4 6508 un0
18.26 NE43-513-2.MIT.EDU U 6 21661 un0
50#
------- End of Forwarded Message