Networking Forums

Networking Forums > Computer Networking > Linux Networking > Kernel IP Routing Table

Reply
Thread Tools Display Modes

Kernel IP Routing Table

 
 
Alex Bell
Guest
Posts: n/a

 
      05-31-2005, 10:34 AM
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 -nr 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.

Regards, Alex
 
Reply With Quote
 
 
 
 
Unruh
Guest
Posts: n/a

 
      05-31-2005, 05:27 PM
Alex Bell <(E-Mail Removed)> writes:

>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


Very little has changed on the ppp front.

>entitled no default route. He advises to run /sbin/route -nr 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?


It means you have no networking at all set up and your ppp is not
connected. 127.0.0.1 is a critical localhost connection which many systems
use to refer to your machine itself. Your setup scripts should have set it.
It is not critical.
However a connection to the computer on the far side IS critical.
Just make sure that you have
defaultroute
in /etc/ppp/options and then worry about getting a connection. Look in the
debug files (eg /var/log/ppplog if you set up debugging as in that
document). Look in there to see what the problem is.



>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.


I do not know if you you have kde set up, but it is part of kde.

Anyway, as I said, very little has changed in the ppp world since my
article was written. If you follow it, you will figure out what is wrong
and be able to fix it. However, you need to follow it. Jumping around in it
is dangerous, since later sections depend on earlier sections having been
made to work.

And if you have trouble figuring out the log file, post it here, together
with timestamps (cut and paste, don't just copy by hand) so we can help
you.


>Regards, Alex

 
Reply With Quote
 
Alex Bell
Guest
Posts: n/a

 
      06-01-2005, 11:33 AM
On 31 May 2005 17:27:37 GMT, Unruh <unruh-(E-Mail Removed)> wrote:

>Alex Bell <(E-Mail Removed)> writes:
>
>>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

>
>Very little has changed on the ppp front.
>
>>entitled no default route. He advises to run /sbin/route -nr 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?

>
>It means you have no networking at all set up and your ppp is not
>connected. 127.0.0.1 is a critical localhost connection which many systems
>use to refer to your machine itself. Your setup scripts should have set it.
>It is not critical.

Thanks so much for your help. The only reason (in my ignorance) I
thought the paper was oldish was that so far as I can tell it deals
with an earlier kernel.
Can you tell me please how 'the setup scripts should have set it'? Am
I correct in thinking that if I get the setup scripts right they will
put the numbers in the kernel path.

>However a connection to the computer on the far side IS critical.
>Just make sure that you have
>defaultroute
>in /etc/ppp/options and then worry about getting a connection. Look in the
>debug files (eg /var/log/ppplog if you set up debugging as in that
>document). Look in there to see what the problem is.

I'll look there and get back to you. I'm using Windows at the moment,
obviously enough.
>
>
>
>>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.

>
>I do not know if you you have kde set up, but it is part of kde.

According to Xandros support their internet connection wizard replaces
kppp, so although Xandros uses the kde desktop it isn't there.
>
>Anyway, as I said, very little has changed in the ppp world since my
>article was written. If you follow it, you will figure out what is wrong
>and be able to fix it. However, you need to follow it. Jumping around in it
>is dangerous, since later sections depend on earlier sections having been
>made to work.

I'm going very carefully, step by step following the instructions.
But because I couldn't understand the lack of 127.0.0.0 I didn't want
to go any further.
>
>And if you have trouble figuring out the log file, post it here, together
>with timestamps (cut and paste, don't just copy by hand) so we can help
>you.

I'll do that and get back to you.

Thanks again for your help.

Regards, Alex

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two default gw in kernel routing table Binary Linux Networking 16 02-23-2007 04:17 PM
Routing table Matt Scoff Windows Networking 6 06-08-2006 02:19 AM
How to use second routing table? Martin Pauly Linux Networking 0 03-08-2005 04:54 PM
How do I access the routing table from the kernel? Carl-Gustaf Wennstrom IB Linux Networking 1 10-03-2003 01:35 PM
kernel limit on # of MAC addresses on firewall? --Neighbour Table Overflow Jones Linux Networking 0 09-18-2003 04:34 PM



1 2 3 4 5 6 7 8 9 10 11