Prev | Current Page 431 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"


3. Select the dial-up interface you added (probably ppp0) and click Connect to connect.
From this point forward, icons appear on your desktop that you can select to immediately connect
to your ISP over the dial-up connection you configured.
Launching Your PPP Connection on Demand
Instead of starting a dial-up PPP connection manually each time you want to contact the Internet,
you can set your dial-up connection to start automatically when an application (such as a Web
browser or an e-mail program) tries to use the connection. On-demand dialing is particularly useful if:
 The dial-up connection on your Linux system is acting as the gateway for other computers
in your home or office. You don??™t have to run over to your Linux box to start the connection
when another computer needs the dial-up connection.
 Programs that you run during off hours, such as remote backups, require an Internet
connection.
 You don??™t want to be bothered clicking an extra icon when you just want to browse the
Web a bit.
The risk of on-demand dialing is that because it gets going automatically, the dial-up connection
can start up when you don??™t want it to. (Some people get worried when their computers start dialing
by themselves in the middle of the night.)
199
Getting on the Internet 5
For RHEL and Fedora systems, here is an example of settings you can add to your dial-up configuration
file (probably /etc/sysconfig/network-scripts/ifcfg-ppp0) to configure ondemand
dialing:
ONBOOT=yes
DEMAND=yes
IDLETIMEOUT=600
RETRYTIMEOUT=30
The ONBOOT=yes setting starts the pppd daemon (but doesn??™t immediately begin dialing because
DEMAND is set to yes).


Pages:
419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443