From owner-freebsd-hackers Fri Dec 30 08:00:57 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id IAA20784 for hackers-outgoing; Fri, 30 Dec 1994 08:00:57 -0800 Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.20.4]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id IAA20778; Fri, 30 Dec 1994 08:00:56 -0800 Received: by brasil.moneng.mei.com (4.1/SMI-4.1) id AA08282; Fri, 30 Dec 94 09:56:38 CST From: Joe Greco Message-Id: <9412301556.AA08282@brasil.moneng.mei.com> Subject: Re: SLIP, help me, oh please HELP ME :-) To: bartling@ibmoto.com (Steve Bartling) Date: Fri, 30 Dec 1994 09:56:37 -0600 (CST) Cc: freebsd-questions@freefall.cdrom.com, freebsd-hackers@freefall.cdrom.com In-Reply-To: <199412301449.IAA21177@bartling.ibmoto.com> from "Steve Bartling" at Dec 30, 94 08:49:21 am X-Mailer: ELM [version 2.4beta PL9] Content-Type: text Content-Length: 1470 Sender: hackers-owner@freebsd.org Precedence: bulk > SLIP used to work in FreeBSD 1.1R with the following > startup script. In FreeBSD 2.0R, it fails. > > #!/bin/csh > # > # script for starting SLIP connection using DELL UNIX and BOOTP protocol > # > slattach -c -h -s 38400 /dev/cua00 > ifconfig sl0 inet 129.38.14.8 129.38.252.50 > echo "domain ibmoto.com" > /etc/resolv.conf > echo "nameserver 129.38.252.14" >> /etc/resolv.conf > echo "nameserver 127.0.0.1" >> /etc/resolv.conf > route -n add default htp1 ...... > If I run the above script unmodified, it takes about 5 minutes to add > the default route above. After which, i can ping myself and the terminal > server at the other end of the point to point link. The nameserver, the > gateway, and all other machines are not accessable. > > netstat -r does not work ( it hangs ). Fix likely problems first: you are setting up nameservice and then trying to use it over a (possibly) incompletely configured link. Change the "route add" to something like route add default 129.38.252.50 (or correct IP of needed gateway...) and you can use netstat -r -n to peek at things before the nameserver is available over the network link.... If this still breaks, you're in a better position to determine what's what. ... Joe ------------------------------------------------------------------------------- Joe Greco - The Data Capture Fellow (and UNIX/Network Hacker) 414/362-3617 Marquette Electronics, Inc. - Milwaukee, WI jgreco@brasil.moneng.mei.com