Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!nsw1.news.telstra.net!sa.news.telstra.net!vic.news.telstra.net!news.mira.net.au!news.vbc.net!knews.uk0.vbc.net!newsfeed.easynet.co.uk!easynet-uk!news.nacamar.de!www.nntp.primenet.com!nntp.primenet.com!newspump.sol.net!news.mindspring.com!realtime.net!news.sprintlink.net!news-fw-22.sprintlink.net!news.sprintlink.net!news-stk-3.sprintlink.net!hermes.is.co.za!news From: eric@tns.co.za (Eric Smith) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Dial On Demand using IIJPPP Date: Wed, 16 Oct 1996 18:09:25 GMT Organization: No organisation supplied Lines: 41 Message-ID: <543bj6$fk5@hermes.is.co.za> NNTP-Posting-Host: t083.is.co.za X-Newsreader: Forte Free Agent 1.0.82 Hi there, I am trying to get a PPP connection (dial on demand) to a service provider that provides dynamically allocated IP addresses (surprise, surprise). Well, I got the thing working halfway. There seem to be a couple of bugs in iijppp though: (1) The automatic dial-up only happens after I manually dial up once; e.g. if I start from a fresh boot with 'ppp -auto ondemand', it returns with 'host is down' despite the fact that the default route is set up to the tunnel device. Then I dial up manually at least once, and thereafter the DOD works fine. (2) if I telnet to an IP address through the default route (and therefore force an automatic dialup), the connection gets established fine but the telnet session doesn't actually connect, it just times out. (the connection is established long before the timeout). Thereafter all telnet or ftp connections work fine. I am using v0.94 of iijppp and FreeBSD version 2.1.0. any ideas? I'm getting pretty desperate. If there is no solution to the above problems, could you direct me to a set of scripts that are especially designed to deal with the following situation: * Dynamically allocated IP addresses * Routing through the ppp interface, as well as retaining routes to a local area network. (i.e., this is not an "Internet leaf" situation). This doesn't have to be DOD, provided I can just call a script and get a return value indicating that either the connection is up or it failed; and it doesn't necessarily need to use iijppp, it could use pppd. --Eric Eric Smith Trusted Network Solutions eric@tns.co.za