Date: Mon, 21 Sep 1998 17:04:50 +0100 From: Brian Somers <brian@Awfulhak.org> To: flygt@sr.se Cc: FreeBSD Questions <questions@FreeBSD.ORG> Subject: Re: ppp in -auto mode Message-ID: <199809211604.RAA18393@woof.lan.awfulhak.org> In-Reply-To: Your message of "Sun, 20 Sep 1998 16:59:11 %2B0200." <19980920165911.A12490@sr.se>
next in thread | previous in thread | raw e-mail | index | archive | help
The ``enable msext'' bit has changed in ppp-2.X. Check the
README.changes file that came with the distribution. Of course
there's no point in enabling this as you're not providing NetBIOS
name services to your ISP :-) As it happens though, the existence of
the ``set ns'' in ppp 2.X enables the option now anyway....
The dodgy bit of your config looks like the ``set dial'' line. Is it
all actually a single line in your config file ?
ppp-2.X supports line continuations by putting a ``\'' as the last
character on the line. Ppp-1.X does not.
To diagnose things further, try starting ppp (``ppp sr'') and typing
``show modem'' and ``show link''. Are the dial script values correct ?
> Due to a disk crash I had to reinstall FreeBSD. Earlier I used the
> version of ppp that I could fetch at awfulhak somewhere in May. This one
> worked beatifully with MS RAS server. I then used ppp -auto sr to make
> the ppp server work in the background.
>
> With the version shipped with 2.2.7 I am not able to use ppp -auto, I
> have to dial using ppp and the in ppp dial xxx and so on. I use exactly
> the same ppp.conf that I used on the old system. What happens in -auto
> mode is that I get a connection and then the rx and tx lights flash for
> ever without me being able to do anything on the 'network'
>
> What's the big difference? (And as an extra comment, I also fetched the
> latest version of ppp from awfulhak with the same result.
>
> This is my ppp.conf:
>
> default:
> allow user gunnar
> set device /dev/cuaa0
> set speed 115200
> sr:
> set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 15 \"\" AT&J3E1Q0
> OK-AT-OK \\dA
> TDI\\T TIMEOUT 40 CONNECT"
> set phone 1234567890
> set login
> set authname mylogin
> set authkey mypassword
> set openmode active
> set ns x.x.x.x x.x.x.x #with accurate values of course
> # set dns
> set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.254.0 0.0.0.0
> enable msext
>
> and then in ppp.linkup I've got
> sr:
> delete ALL
> add 0 0 HISADDR
>
> --
> __o
> regards, Gunnar ---_ \<,_
> email: flygt@sr.se ---- (_)/ (_)
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
--
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?199809211604.RAA18393>
