Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-01-2002, 02:41 AM   #1
LQ Newbie
Registered: May 2002
Distribution: openSuSe 10.2
Posts: 19

Rep: Reputation: 0
Angry 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?
Old 06-01-2002, 04:20 AM   #2
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
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
Old 06-01-2002, 09:29 AM   #3
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,606

Rep: Reputation: 203Reputation: 203Reputation: 203
When you start pppd (manually or using kppp or other dialer) ppp0 is configured. You can't use ifconfig for this.
Old 06-03-2002, 07:31 PM   #4
LQ Newbie
Registered: May 2002
Distribution: openSuSe 10.2
Posts: 19

Original Poster
Rep: Reputation: 0
Lightbulb 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.
Old 02-22-2003, 02:21 AM   #5
Registered: Mar 2002
Location: INDIA
Distribution: Mandrake Linux 9.2, Knoppix 3.0
Posts: 158

Rep: Reputation: 30
yes you have to connect first and then using some script run the command


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Set mtu on ppp0 device? Moloko Linux - Networking 1 01-21-2014 04:52 PM
eth1 and ppp0, need to send UDP packets through ppp0 smhs Linux - Networking 2 07-12-2005 09:54 AM
ADSL-STATUS: linked to ppp0 but ppp0 seems to be down. mikkime23 Linux - Networking 1 01-01-2005 12:00 PM
How do i set ppp0 as default gateway for internet sharing in Redhat? Julian_Thong Linux - Networking 11 08-18-2004 07:54 PM
Endless Loop: ppp0 Unregister Netdevice: waiting for ppp0 to be free. oberon-ken-obi Linux - Networking 1 07-21-2004 12:04 AM > Forums > Linux Forums > Linux - Networking

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration