From owner-freebsd-isp Fri Sep 19 01:10:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA23654 for isp-outgoing; Fri, 19 Sep 1997 01:10:01 -0700 (PDT) Received: from homer.duff-beer.com (mail@homer.duff-beer.com [194.207.51.241]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA23619 for ; Fri, 19 Sep 1997 01:09:42 -0700 (PDT) From: scot@poptart.org Received: from localhost (scot@localhost) by homer.duff-beer.com (8.8.5/8.8.5) with SMTP id JAA28686; Fri, 19 Sep 1997 09:07:26 +0100 (BST) Date: Fri, 19 Sep 1997 09:07:26 +0100 (BST) X-Sender: scot@homer.duff-beer.com To: Greg Lehey cc: xiyuan qian , danny@panda.hilink.com.au, freebsd-isp@FreeBSD.ORG Subject: Re: Limiting users connect time (+ another little questi In-Reply-To: <19970919131201.64155@lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Yes... I've set up a 'ppp -auto' to an ISP that uses dynamic IP addresses... here's the ppp.conf file: default: set device /dev/cuaa0 set speed 115200 disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZ OK-AT-OK ATE1Q0M0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" set debug phase lcp chat # demand-dial settings for bogomip internet bogo: set phone 01714608200 set login "TIMEOUT 25 name:-\\r-name word: * ppp\\sdefault" set timeout 900 set redial random 10 set ifaddr 195.1.1.1/0 194.1.1.1/0 add 0 0 194.1.1.1 And my ppp.linkup file: bogo: delete ALL add 0 0 HISADDR set debug phase I run PPP with: ppp -alias -auto bogo Then line comes up when I try to ping a host from anywhere on my network to somewheree not on my network - my networked hosts having their default router set to the FreeBSD machine. ----------------------------------------------------------------------------- Scot Elliott scot@poptart.org Tel: +44 (0)181 9322042 ----------------------------------------------------------------------------- Public key available by finger at: finger scot@poptart.org or at: http://www.poptart.org/pgpkey.html On Fri, 19 Sep 1997, Greg Lehey wrote: > On Fri, Sep 19, 1997 at 09:41:49AM +0000, xiyuan qian wrote: > > PS. I have setup a FreeBSD server running ppp dialout to an ISP to get a > > dynamic IP address, but I can not run ppp -auto ispsite to make the > > connection auto, it always tell me "you must assign dstaddr to make the > > connection", why? > > ppp -auto triggers on the destination IP address in the packet. In > order for it to work, the packet has to be routed via the PPP > interface. In order to set up a route, you need a destination address > for the PPP link. In order to do that, you really need static > addressing. > > I'd be interested to know if anybody has been able to set up automatic > dialling with a loose destination address (e.g. "I want address > 193.2.3.4, but I'll only insist on the first 24 bits). It could work, > but I don't know for sure, and I'd *like* to know for sure. > > Greg > >