LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
  Search this Thread
Old 05-31-2005, 05:26 AM   #1
AlexBell
LQ Newbie
 
Registered: May 2005
Location: Launceston, Tasmania
Distribution: Xandros v3
Posts: 3

Rep: Reputation: 0
Kernel IP routing table question


I still can't connect to the internet with Xandros deluxe 3 using a NetComm internal modem for which Xandros has a driver - or at least it seems to connect and then says connection failed.

I'm working slowly and carefully through an oldish paper by WG Unruh entitled 'How to hook up PPP in Linux', and have got to the section entitled no default route. He advises to run /sbin/route -n and says that 0.0.0.0 should not be there and 127.0.0.1 should be. I don't see either; all I see is

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface

with no numbers or anything else. What does this mean? Should I try to make it read 127.0.0.1, and if so how?

I'm almost completely a newbie, which is why I'm going slowly and carefully and asking questions.

By the way, can anyone point me please to a more recent howto for newbies to establish an internet connection? I've found one from the Melbourne PC Users Group which deals with setting up kppp - but I can't find kppp in Xandros.
 
Old 05-31-2005, 09:40 AM   #2
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
What lead you to reading about, "no default route" in the tutorial? I'm a little curious because you said you were getting a connection failed message and I assume that the modem hangs up at that point, in which case you aren't quite at the point where you troubleshoot routing tables yet. Anyhow, you should have a route for at least 127.0.0.0 when you run /sbin/route -n, so please post your output from ifconfig -a. Yes it should have the 127.0.0.0 but you don't fix that by manually adding any route entries. When the TCP/IP networking in Linux is loaded correctly, it will automatically add the correct entry.

Also, did you run any sort of configuration utility or did you manually edit the options file for ppp? If so, please post the contents of that file (xxx out your username if you wish.)

As for something to try, in your ppp options file you should have an entry that says user or name with your username for the connection. Try to change it from name to user, or if it says user then change it to name, and see if that helps. Lastly, I had some problems with the whole pap/chap thing before and what I ended up doing was putting the correct entries in the chap-secrets file and then deleting the pap-secrets file and linking a new one to chap-secrets (ln -s chap-secrets pap-secrets) and this may help you too.
Code:
root@linuxbox:~# cd /etc/ppp
root@linuxbox:/etc/ppp# cat chap-secrets
"user@isp.com"     *   "mypassword"
root@linuxbox:/etc/ppp# rm pap-secrets
root@linuxbox:/etc/ppp# ln -s chap-secrets pap-secrets
 
Old 06-01-2005, 06:09 AM   #3
AlexBell
LQ Newbie
 
Registered: May 2005
Location: Launceston, Tasmania
Distribution: Xandros v3
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks, Darin. I appreciate the effort you have put into your response, but as newbie it'll take me a day or so to track down the information you have asked for. I'll be back to you as soon as I can.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bypass kernel routing table hk_linux Linux - Networking 2 09-01-2006 09:55 AM
RIP 1 question : How to access the contents of a routing table within a program ? prashanth s j Linux - Networking 1 10-25-2005 08:27 AM
read routing table in kernel module? cranium2004 Programming 0 03-15-2005 07:15 AM
Unable to update kernel routing table TrashCanMan Linux - Wireless Networking 2 03-07-2004 04:03 AM
editing Kernel IP Routing Table hamish Linux - Networking 0 10-06-2003 04:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:47 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration