LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how do I set up ppp0 (https://www.linuxquestions.org/questions/linux-networking-3/how-do-i-set-up-ppp0-22309/)

sherwood 06-01-2002 01:41 AM

how do I set up ppp0
 
I have compiled ppp and pppoe support into my kernel. From the docs and readme I get the impression that this was supposed to create the ppp0 interface for me.

ifconfig ppp0 [up]
gives message
SIOCADDRT: No such device

the only interface in my routing table is lo

how do I get ppp0 in there?

Noerr 06-01-2002 03:20 AM

do you have dsl or regular modem?

in either case you can't just use ifconfig to enable device.
you have to firstly get connection up, before ifconfig

Mara 06-01-2002 08:29 AM

When you start pppd (manually or using kppp or other dialer) ppp0 is configured. You can't use ifconfig for this.

sherwood 06-03-2002 06:31 PM

OK. Then how do I get ppp0 into the routing table
 
Thanks for the help.

I am following several HOWTOs regarding getting PPPoE to work with an Alcatel USB modem.

All of them recommend that I set the default route as follows

route add default ppp0

This command fails for me. What do I need to do to get ppp0 into the routing table as the default route. Do I need to successfully connect first. This is sounding like a catch-22.

mayankjohri 02-22-2003 01:21 AM

yes you have to connect first and then using some script run the command


All times are GMT -5. The time now is 07:36 AM.