Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.bbnplanet.com!cpk-news-hub1.bbnplanet.com!newsfeed.internetmci.com!uuneo.neosoft.com!news From: conrads@neosoft.com (Conrad Sabatier) Newsgroups: comp.unix.bsd.freebsd.misc Subject: ppp on demand -- what am I doing wrong? Date: 13 Dec 1996 16:06:44 GMT Organization: NeoSoft, Inc. Lines: 83 Message-ID: <58ruuk$3rc@uuneo.neosoft.com> Reply-To: conrads@neosoft.com NNTP-Posting-Host: 206.27.165.152 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32519 I've read all the threads on this subject here recently and tried following the examples, but I *still* can't get this to work. Maybe someone could point out what's wrong with my setup? Here's the current state of my files (been trying so many variations this morning my head is spinning!): /etc/ppp/ppp.conf: default: set device /dev/cuaa0 set speed 115200 disable lqr deny lqr set phone 5224941 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 30 CONNECT" set login "TIMEOUT 5 login:-\\r-login: conrads word: xxxx known dumb slip dppp" neosoft: set ifaddr 0 0 netmask 0xffffff00 set redial 4 10 dial set timeout 0 ondemand: set phone 5224941 set login "TIMEOUT 5 login:-\\r-login: conrads word: xxxx known dumb slip dppp" set timeout 120 set ifaddr 0 206.27.160.244/0 255.255.255.0 add 0 0 HISADDR /etc/ppp/ppp.linkup: MYADDR: add 0 0 HISADDR ondemand: delete ALL add 0 0 HISADDR Some ppp info from this session: PPP ON dolphin> show route default 206.27.165.185 ffffffff UG (7) 127.0.0.1 127.0.0.1 ffffffff UH (2) 206.27.160.245 206.27.165.185 ffffffff UGH (7) 206.27.160.253 206.27.165.185 ffffffff UGH (7) 206.27.165.185 206.27.165.186 ffffffff UH (7) 206.109.1.100 206.27.165.185 ffffffff UGH (7) PPP ON dolphin> show ipcp IPCP [Opend] his side: 206.27.165.185, 2d0f00 my side: 206.27.165.186, 2d0f00 connected: 1069 secs, idle: 144 secs Defaults: My Address: 0.0.0.0/0 His Address: 0.0.0.0/0 Negotiation: 255.255.255.255/32 My currently assigned address is 206.27.165.186, with 206.27.165.185 as the default gateway (this is how it always works on Neosoft; MYADDR-1 = gateway). I dial into Neosoft's server at 206.27.160.244. Addresses are assigned in the range 206.27.165.xxx. I've disabled routed in sysconfig. I've tried using the "delete ALL/add 0 0 HISADDR" in ppp.conf, in ppp.linkup and in both. At present, ondemand won't even dial at all. Interactive works fine. I can't figure this out. HELP!!! -- Conrad Sabatier | conrads@neosoft.com | Eschew obfuscation. http://www.neosoft.com/~conrads |