LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   pppd from command line...howto (http://www.linuxquestions.org/questions/linux-networking-3/pppd-from-command-line-howto-153637/)

Crasherz 03-04-2004 09:25 PM

pppd from command line...howto
 
I want to be able to start pppd from a console. I have configured kppp graphically and used it to log into the Internet. Will the configuration be saved so that if I boot just to the command interface and start pppd it will have all the correct settings to dial and connect??
If so how do I start pppd from command line?
IF I need to configure pppd how do I do this?
Be gentle I'm almost a virgin!

Oliv' 03-05-2004 11:52 AM

If pppd is configured correctly, you must have a script in /etc/ppp/peers directory (his name depends on your config). To run pppd, just type:
pppd call script_name
If pppd is not configured correctly, important files are /etc/ppp/options, /etc/ppp/pap-secrets (or chap-secrets if your ISP use CHAP authentication) and of course /etc/ppp/peers/your_script_to_call_provider


All times are GMT -5. The time now is 11:06 AM.