Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.uwa.edu.au!disco.iinet.net.au!wa.news.telstra.net!act.news.telstra.net!psgrain!iafrica.com!uct.ac.za!quagga.ru.ac.za!howland.erols.net!newsfeed.internetmci.com!fnord.dfw.net!rick From: rick@feenix.metronet.com (Rick Barton) Newsgroups: comp.unix.bsd.netbsd.misc Subject: ppp on-demand dialup Date: 16 Sep 1996 22:58:10 GMT Organization: DFW Internet Services, Inc. Lines: 43 Message-ID: <51km22$5un@fnord.dfw.net> Reply-To: rbarton@metronet.com NNTP-Posting-Host: speedy9.dallas.dfw.net X-Newsreader: TIN [version 1.2 PL0] X-Newsreader: TIN [version 1.2 PL0] X-Newsreader: TIN [version 1.2 PL0] I know this is for NetBSD, but they're oh so close... I'm running FreeBSD 2.2-960323-SNAP. It all runs fine, but I can't seem to configure the on-demand dialup properly. I can run ppp and dialup, get the dynamic IP address and all that, but I cannot set it up to perform user on-demand dialup. Here is my /etc/ppp/ppp.conf file (part of it anyway): my.isp: set phone 1234567 set debug all set login "TIMEOUT 5 login:-\\r-login: myaccount word: mypassword" set timeout 120 set ifaddr 0 123.456.789.10 255.255.255.0 add 0 0 123.456.789.10 This is a sample of my /etc/ppp/ppp.linkup my.isp: delete ALL add 0 0 HISADDR Obviously the hard-coded IP address is representative of my known ISPs gateway. In this case it is a given, although I know some ISPs that do change this also. Why is is that when I do 'ifconfig tun0' it always remains 0.0.0.0 as my address? Why isn't it changing it? And I have verified that the login was successful, and the ISP system is talking PPP (it passed the login stage). Thanks for any help... rick -- | o________________________|________________________o \/ o \/ any landing you can walk \___/ away from is a good one / | \ rbarton@metronet.com