From owner-freebsd-questions Wed Mar 17 1:36:33 1999 Delivered-To: freebsd-questions@freebsd.org Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (Postfix) with ESMTP id 532E414D5F for ; Wed, 17 Mar 1999 01:36:27 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.2/8.8.8) with ESMTP id JAA03332 for ; Wed, 17 Mar 1999 09:36:02 GMT (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id IAA00716 for ; Wed, 17 Mar 1999 08:48:47 GMT (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199903170848.IAA00716@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 Cc: freebsd-questions@FreeBSD.ORG Subject: Re: PPP question In-reply-to: Your message of "Tue, 16 Mar 1999 22:27:25 EST." <001101be7026$15534740$0d9c10cf@default> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 17 Mar 1999 08:48:47 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hey, > This is what i know. The tun device is set up. The modem is detected and = > is at the right IRQ and com port. The error i get when i want to dial = > is. I am manually dialing from my ISP. It is a single computer. I = > tried to include all the files that you would need. Tell me if you need = > any more info. THANKS! Yes. What version of FreeBSD and ppp are you using ? > Add route failed: 0.0.0.0 errno:Network is unreachable This implies an old version of ppp. > Warning: Config: DNS no such key word > Warning: enable: Failed 1 This implies a *very* old version of ppp. DNS support was added in April '98. > =3D=3D=3D=3D=3D=3D=3D /etc/resolv.conf - Had to create it manually, = > wasnt there. > nameserver =3D ISP's nameserver 1 > nameserver =3D ISP's nameserver 2 Eh ? Man resolv.conf. Don't use ``='' and make sure you specify IP numbers. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D/etc/rc.conf > router=3D"NO" > router_enabled=3D"NO" > > =3D=3D=3D=3D=3D=3D=3D=3D=3D/etc/ppp/ppp.linkup > provider: > delete ALL > add default HISADDR > > =3D=3D=3D=3D=3D=3D=3D=3D /etc/ppp/ppp.conf > default: > set device /dev/cuaa1 > set speed 38400=20 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" = > ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" > provider: > set phone "ISP's number"=20 > set login "TIMEOUT 5 ogin:--ogin: ppp word: ppp"=20 > set timeout 300=20 > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0=20 > add default HISADDR > enable dns=20 You can't do this stuff unless you're running a more recent version of ppp. Only the later versions will remember the ``add default'' line and reapply it after the link comes up. It really looks like the documentation you're using doesn't match the ppp program you're running.... this will probably cause lots more confusion. > =3D=3D=3D=3D=3D=3D=3D /etc/hosts > > 127.0.0.1 kurrupt kurrupt.error23 Put localhost back. By all means, add ``kurrupt'' to the end of the line, but don't remove localhost. > =3D=3D=3D=3D=3D=3D=3D=3D/etc/host.conf > bind > hosts=20 You're better off having ``hosts'' first, otherwise ppp will hang at startup (see http://www.FreeBSD.org/FAQ/userppp.html). > ------=_NextPart_000_000E_01BE6FFC.2AE2C920 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable [......] And please don't post using html. This is a mailing list, not a web page ;^P -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message