View previous topic :: View next topic |
Author |
Message |
lucaskt n00b
Joined: 25 Mar 2007 Posts: 12
|
Posted: Sun Mar 25, 2007 7:18 pm Post subject: [SOLVED] router bombing connection |
|
|
Hello all,
I've installed Gentoo on my computer yesterday, but up til now I haven't been able to set up a working internet connection. I've gone through the handbook, and I got to a point where, I can get a connection, but it only lasts 10s or so (I managed to stay connected for about that much time by physically disconnecting and reconnecting the ethernet cable while at the same time running: "net.eth0 restart")
I'm using a DSLink 200E modem/router (configured as a router), and I've set it up with a fixed LAN IP of 192.168.1.1
It is supposed to work as a DHCP Server for the LAN and requests an IP via DHCP from WAN (whose DNS is properly configured).
Also, I'm not being able to access the router's HTTP/telnet/ssh interface, it refuses the connection, so I believe the problem is local, although it was working on slackware (until I overwrote it with Gentoo) and IS working on Windows.
Any help would be greatly appreciated.
Last edited by lucaskt on Tue Mar 27, 2007 10:48 pm; edited 1 time in total |
|
Back to top |
|
|
widan Veteran
Joined: 07 Jun 2005 Posts: 1512 Location: Paris, France
|
Posted: Sun Mar 25, 2007 10:13 pm Post subject: Re: router bombing connection |
|
|
lucaskt wrote: | I've installed Gentoo on my computer yesterday, but up til now I haven't been able to set up a working internet connection. I've gone through the handbook, and I got to a point where, I can get a connection, but it only lasts 10s or so (I managed to stay connected for about that much time by physically disconnecting and reconnecting the ethernet cable while at the same time running: "net.eth0 restart") |
Are there errors in dmesg when the connection drops ? |
|
Back to top |
|
|
lucaskt n00b
Joined: 25 Mar 2007 Posts: 12
|
Posted: Sun Mar 25, 2007 10:58 pm Post subject: |
|
|
Hm... I never knew dmesg existed! Looked it up, seems handy! Thx!
This is what changed in dmesg after execution.
Code: | NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ADDRCONF(NETDEV_UP): eth0: link is not ready
IPv6 over IPv4 tunneling driver
ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
eth0: no IPv6 routers present |
Hm... am I being kicked for using IPv6 drivers over an IPv4 network? Does that even make sense? Isn't v4 a subnetwork of v6? And why does it work for a while before crashing? |
|
Back to top |
|
|
IQgryn l33t
Joined: 05 Sep 2005 Posts: 764 Location: WI, USA
|
Posted: Sun Mar 25, 2007 11:40 pm Post subject: |
|
|
IPv6 is not backwards-compatible with IPv4. You can either set up IPv6 to tunnel properly through IPv4, as described here, or you can disable IPv6 entirely. |
|
Back to top |
|
|
widan Veteran
Joined: 07 Jun 2005 Posts: 1512 Location: Paris, France
|
Posted: Mon Mar 26, 2007 12:47 am Post subject: |
|
|
lucaskt wrote: | Hm... am I being kicked for using IPv6 drivers over an IPv4 network? |
No. The "no IPv6 routers" message appears on all machines that have IPv6 enabled but connected to an IPv4-only network. It's harmless.
lucaskt wrote: | Does that even make sense? Isn't v4 a subnetwork of v6? |
No, they are separate protocols. But you can have both IPv4 and IPv6 addresses on the same interface.
lucaskt wrote: | And why does it work for a while before crashing? |
Hard to say, since you have no obvious errors in dmesg. Can you post the output of "ifconfig eth0" and "route -n" when it doesn't work (and also when it works, if possible) ? |
|
Back to top |
|
|
deface Apprentice
Joined: 17 Mar 2007 Posts: 205
|
Posted: Mon Mar 26, 2007 2:11 am Post subject: |
|
|
sounds more like a kernel issue. if you can guarantee you've got the necessary packages emerged & kernel compiled properly .. i'd replace the patch cable, and/or verify its not hardware failure.
Also, remove all IPV6 support from your kernel if your not using it. I'd recommend on adding -ipv6 to your USE flags as well. |
|
Back to top |
|
|
lucaskt n00b
Joined: 25 Mar 2007 Posts: 12
|
Posted: Tue Mar 27, 2007 9:25 pm Post subject: Problem Solved |
|
|
I'd like to thank you all for your replies. I just got around fixing the problem (currently connected under gentoo).
As suggested it was a kernel issue. I recompiled it and then after fixing a few other problems it is working.
Again, thank you, you've been very helpful. |
|
Back to top |
|
|
deface Apprentice
Joined: 17 Mar 2007 Posts: 205
|
|
Back to top |
|
|
|