From edj on Tue, 18 Jan 2000
This may be really trivial for unix gurus, but I can't contain my excitement at having successfully routed my small office LAN through my linux box to a single ppp account! Broadband's too expensive and before I got this set up we were running around telling each other to hang up coz we needed to check our e-mail! Heh, now we can all surf the web at the same time. This is no small feat for a Mac user.
But I have one challenge which I think I'm going to need some help with. On a Mac I can get the PPP client to dial the ISP automatically when a TCP/IP application starts up and needs to connect to the internet. How do I do this on linux?
The feature you're asking for is called "dial on demand." Under Linux this used to require an additional package called 'diald'. However, it is also now a built in feature of the PPP daemon (pppd).
Search the pppd(8) man page for the term "demand" and read through that a bit.
I notice that Al Longyear's PPP FAQ is desparately out of date and should be updated sometime soon. It still refers us to diald. Of course you can still use diald in any event, but you should be able to simply add the "demand" keyword to your /etc/ppp/options file.
Hope that helps.
From edj on Thu, 20 Jan 2000
Thanks, that really helped.