From owner-freebsd-hackers Mon Jul 1 02:59:25 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA14097 for hackers-outgoing; Mon, 1 Jul 1996 02:59:25 -0700 (PDT) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id CAA14092 for ; Mon, 1 Jul 1996 02:59:21 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.5/8.6.5) with SMTP id CAA00257; Mon, 1 Jul 1996 02:59:12 -0700 (PDT) Message-Id: <199607010959.CAA00257@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: Andrzej Bialecki cc: FreeBSD hackers Subject: Re: SLIP problems In-reply-to: Your message of "Mon, 01 Jul 1996 11:01:24 -0000." From: David Greenman Reply-To: davidg@root.com Date: Mon, 01 Jul 1996 02:59:12 -0700 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >I have impression that SLIP implementation in 2.1R is somewhat broken. I >tried hard to run SLIP between FreeBSD box and certain device (let's call >it ``a station''). In order to run SLIP that device requires DTR to be >low (so I had to prepare a special cable with DTR cut off). > >I didn't encounter ANY problems while running SLIP on the same physical >machine, but under Win 3.11 (+Trumpet) (so the hardware part seems OK). But >under FreeBSD there were strange things going. > >I configured sl0 exactly along The Handbook (with my own IPs, of course). >ifconfig sl0 said something like: > >sl0: flags=c010 mtu 1000 > 148.81.175.2 ---> 148.81.175.1 netmask 0xffffff00 > >I configured remote station properly (it ran with Trumpets). >Then I did slattach -h -l -s 9600 /dev/cuaa1 (COM2). After about 2 >minutes I was able to ping the remote side (traceroute was also OK). >Then I left ping running on one tty, and went to another in order to >make telnet. And here something strange happened - ping got killed, i.e. >no longer received echoes from remote side. The telnet didn't get through >as well. The line seemed dead. >I killed slattach and run it again, but the line still was dead (though >netstat -r, and ifconfig both showed UP). Only through reboot I was able >again to ping the remote station. > >Any ideas? Help? Where am I wrong? Here's a guess: you're running routed on the FreeBSD machine, but the Trumpet machine doesn't send RIP routing packets, so routed deletes the route to the interface. If this is the problem, stop running routed (see /etc/sysconfig), and add any needed static routes instead (you may not need any). -DG David Greenman Core-team/Principal Architect, The FreeBSD Project