December 2000
Intermediate to advanced
800 pages
22h 41m
English
When you're comfortable that you can connect to your ISP, you might want to set up a system to act as an automatic gateway that connects to the Internet whenever someone on that system or another system on the network tries to access an external site. Doing so is rather easy, and the scripts to accomplish this are shown in the following text.
The first script is the System V init script. This script needs to be in /etc/rc.d/init.d. Make sure the script is owned by root (chown root:root ppp) and is executable (chmod 750 ppp).
Ensure you have a link to this script in the runlevel directory for each runlevel you want ppp active:
ln -s /etc/rc.d/init.d/ppp /etc/rc.d/rc5.d/S80ppp
You can add K (kill) scripts to ...
Read now
Unlock full access