Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] router bombing connection
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
lucaskt
n00b
n00b


Joined: 25 Mar 2007
Posts: 12

PostPosted: Sun Mar 25, 2007 7:18 pm    Post subject: [SOLVED] router bombing connection Reply with quote

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
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Sun Mar 25, 2007 10:13 pm    Post subject: Re: router bombing connection Reply with quote

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
View user's profile Send private message
lucaskt
n00b
n00b


Joined: 25 Mar 2007
Posts: 12

PostPosted: Sun Mar 25, 2007 10:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
IQgryn
l33t
l33t


Joined: 05 Sep 2005
Posts: 764
Location: WI, USA

PostPosted: Sun Mar 25, 2007 11:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Mon Mar 26, 2007 12:47 am    Post subject: Reply with quote

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
View user's profile Send private message
deface
Apprentice
Apprentice


Joined: 17 Mar 2007
Posts: 205

PostPosted: Mon Mar 26, 2007 2:11 am    Post subject: Reply with quote

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
View user's profile Send private message
lucaskt
n00b
n00b


Joined: 25 Mar 2007
Posts: 12

PostPosted: Tue Mar 27, 2007 9:25 pm    Post subject: Problem Solved Reply with quote

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
View user's profile Send private message
deface
Apprentice
Apprentice


Joined: 17 Mar 2007
Posts: 205

PostPosted: Tue Mar 27, 2007 9:26 pm    Post subject: Reply with quote

Awesome! Please mark as SOLVED.
_________________
--
Jeremy
http://www.gentoo-wiki.com - Gentoo How-To/Guide's
http://www.gentoo-portage.com - Where the portage meets the web
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum