LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 06-01-2002, 01:41 AM   #1
sherwood
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, 03:20 AM   #2
Noerr
Member
 
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, 08:29 AM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,527

Rep: Reputation: 147Reputation: 147
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, 06:31 PM   #4
sherwood
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, 01:21 AM   #5
mayankjohri
Member
 
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
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 04:56 AM.

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