"The Linux Gazette...making Linux just a little more fun!"


(?) The Answer Guy (!)


By James T. Dennis, tag@lists.linuxgazette.net
LinuxCare, http://www.linuxcare.com/


(?) How do you say "Dial on Demand"

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?

-edj

(!) 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.

(?) PPP Dial on Demand

From edj on Thu, 20 Jan 2000

Hi Jim,
Thanks, that really helped.

- -edj


Copyright © 2000, James T. Dennis
Published in The Linux Gazette Issue 50 February 2000
HTML transformation by Heather Stern of Starshine Technical Services, http://www.starshine.org/


[ Answer Guy Current Index ] [ Index of Past Answers ] greetings 1 2 3 5
5 6 7 8 9
10 11   13 14 15 16 17
18 19 20 21 22 23 24  
26 27 28 29 30 31 32 33
34   36 37 38 39 42 41
42 43 44 45 46 47 48


[ Table Of Contents ] [ Front Page ] [ Previous Section ] [ Linux Gazette FAQ ] [ Next Section ]