From owner-freebsd-questions Thu Sep 11 19:33:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA21894 for questions-outgoing; Thu, 11 Sep 1997 19:33:39 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA21880 for ; Thu, 11 Sep 1997 19:33:35 -0700 (PDT) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id DAA14928; Fri, 12 Sep 1997 03:33:12 +0100 (BST) Message-Id: <199709120233.DAA14928@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: Greg Lehey cc: Allen Louden , FreeBSD Questions Subject: Re: ppp In-reply-to: Your message of "Fri, 12 Sep 1997 10:18:15 +0930." <19970912101815.00741@lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 12 Sep 1997 03:33:12 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Something I neglected to mention previously is that my provider assigns me > > a dynamic ip. It seems this may (I could be wrong) change the way we have > > done things. I say this because, this evening, after I received your > > latest, I added the default route and nothing would ping. Well, the packets > > are transmitted, but not returned. Also, when I did a netstat -rn, the > > addresses are different each time I am on. > > OK. This is a FAQ. You need a file /etc/ppp/ppp.linkup with the > following contents: > > MYADDR: > add 0 0 HISADDR > > Note the indent of the second line. This will add the route for you > when you establish connection. Be careful here. This will work for "term" mode, but if you try it in -auto/-ddial/-background mode it'll fail because you already have a default route. You're better to have a "delete ALL" before the add line. [.....] > > One other thing for now, how in the hell do I disconnect my modem? > > Hmm. There was something going around on this topic in the last > couple of days, but I didn't follow it. What happens if you enter > 'quit' to the ppp program? 'close' will disconnect without exiting, as will ^C. 'quit' will exit. Sounds like the manual hasn't been read..... All the bits are pointed at from http://www.awfulhak.org/~brian (although the ppp man page is hopelessly out of date - I must talk to wosch). -- Brian , Don't _EVER_ lose your sense of humour....