Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 1999 08:48:47 +0000
From:      Brian Somers <brian@Awfulhak.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: PPP question 
Message-ID:  <199903170848.IAA00716@keep.lan.Awfulhak.org>
In-Reply-To: Your message of "Tue, 16 Mar 1999 22:27:25 EST." <001101be7026$15534740$0d9c10cf@default> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@Awfulhak.org> <brian@FreeBSD.org> <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903170848.IAA00716>