Using RedHat ppp from command line

Extracted from Web submission
Tip provided by Prasad
I have configured ppp on my Redhat 5.0 and 5.2 machines using the
control panel. I like to start and stop ppp from a command line as I don't
always use X.

First, setuid the pppd program. This is so that ppp can be started or stopped
without having to login as root. Do a "man chmod" if you don't know how to do
this. If you don't mind doing this from a root login, you don't have to do
this.

I use these commands to start ppp.

cd /etc/sysconfig/network-scripts
./ifup-ppp ifcfg-ppp0&

These commands stop ppp -

cd /etc/sysconfig/network-scripts
./ifdown-ppp ifcfg-ppp0 &

Follow-up :
| Previous | Next | Index of category | Main Index | Submit |


Appears in section(s) : net
Tip recorded : 03-01-1999 21:31:44
HTML page last changed : 27-07-1999 20:06:02