From owner-freebsd-questions Tue Sep 22 06:19:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA29612 for freebsd-questions-outgoing; Tue, 22 Sep 1998 06:19:12 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dart.sr.se (dart.SR.SE [193.12.91.98]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA29601 for ; Tue, 22 Sep 1998 06:19:10 -0700 (PDT) (envelope-from gunnar@pluto.sr.se) Received: from pluto.sr.se ([134.25.193.91]) by dart.sr.se (8.9.1/8.9.0) with ESMTP id PAA29732; Tue, 22 Sep 1998 15:18:34 +0200 (MET DST) Received: (from gunnar@localhost) by pluto.sr.se (8.8.8/8.8.8) id PAA17217; Tue, 22 Sep 1998 15:18:34 +0200 (CEST) (envelope-from gunnar) Message-ID: <19980922151834.C16981@sr.se> Date: Tue, 22 Sep 1998 15:18:34 +0200 From: Gunnar Flygt To: Doug White Cc: FreeBSD Questions Subject: Re: ppp in -auto mode Reply-To: flygt@sr.se References: <19980920165911.A12490@sr.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Doug White on Mon, Sep 21, 1998 at 04:16:10PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Sep 21, 1998 at 04:16:10PM -0700, Doug White wrote: > On Sun, 20 Sep 1998, Gunnar Flygt wrote: > > > 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. > > Is the default route added correctly? I've never had ppp.linkup work. In > 3.0 we have sticky routes which solve that problem. Yes it is. It gives me the right values if I run show route. I'll test what Brian suggested. > > > 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 > > Doug White > Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve > http://gladstone.uoregon.edu/~dwhite | www.freebsd.org > -- __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