- Ensure that your kernel is compiled with PPP support. This can be
done either as a module or as a compiled-in driver. If you are not
certain, cd to /usr/src/linux and do 'make menuconfig' and go
through the Networking sections to be sure that PPP support is
configured. If you choose to make this a module, do not forget the
'make modules' and 'make modules_install' steps after the main
kernel image has been compiled. If you are not familiar with kernel
compilation, read the Kernel-HOWTO.
- You need to place two files in your /etc/ppp directory. This must
be done as root. First, you need to overwrite your /etc/ppp/options
file with this one. Then you need to add the scriptfile. The files
given here are generic; you should edit /etc/ppp/scriptfile to add
the username, password, and phone number you will be using and the
options file assumes that a symlink /dev/modem exists. If it does
not, cd to /dev and create it. COM1 in Windows is /dev/ttyS0 in
Linux, COM2 is /dev/ttyS1, etc. Type 'ln -s /dev/ttyS1 /dev/modem'
to create a symlink called /dev/modem that points to a modem on
- Be sure to do 'chmod 755 /etc/ppp/scriptfile'.
- Next, we need to configure DNS. This is done by editing /etc/resolv.conf
and adding these entries:
Then edit /etc/host.conf to contain:
Notice that in the actual config files, these lines need to be all
the way to the left.
Tip: Running your own DNS server will give you even better
performance with lower latency and local caching. In order to do
this, read the DNS-HOWTO
- Your PPP daemon is now configured. To dial into the Internet, as
root run the command 'pppd'. To disconnect, run 'pppd' again or
simply do 'killall pppd'.
29 West Main Street, Martinsville, VA 24112
PO Box 1126, Martinsville, VA 24114
Tel: (276) 666-9533 or (800)
766-6861 or Fax: (276) 666-9534