LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   linux box ethernet not detecting connection to router (http://www.linuxquestions.org/questions/linux-networking-3/linux-box-ethernet-not-detecting-connection-to-router-4175442757/)

agatone 12-24-2012 01:08 AM

linux box ethernet not detecting connection to router
 
Helllo,

I've got really strange issue with eth.

I had router Linksys* E3000*connected to modem. On that router I had linux box connected and many other clients also. Things worked.

Now I replaced Linksys with new router (Asus RT-n66u), connected all things same as before. Everything works (all clients connected) but only this linux box doesn't obtain ip from router. The led on the router doesn't* turn on at all when cable plugged in. The led will turn on when box is restarted but will turn off when booting passes GRUB or so. If I* pause booting at GRUB led will stay on and will turn off when it continues booting.

I checked cable, I tryed all ports on Asus router, I connected the linux box to two other routers - it works fine there and it obtains ip (both routers have different ips).

Network card on the linux box is jmicron jmx251 1gigabit.

Thank you for any help.

vishesh 12-24-2012 12:13 PM

Does

ethtool eth0

command showing link connected : yes

?

agatone 12-24-2012 01:33 PM

No, it says:
Code:

Link detected: no

EDDY1 12-24-2012 02:00 PM

try
Quote:

dhclient eth0

vishesh 12-24-2012 11:47 PM

Link detected no claiming that cable is not connected . If you sure that cable is properly connected then I suspect , there could be speed mismatch b/w switch port and ethernet card . Try to set speed using ethtool -s command

agatone 12-25-2012 01:31 PM

As I set speed to 100mbit FD it started working. The odd thing is that router is gigabit and so is card, but I can see that router is advertising 100mbit FD max to the linux box.

Gigabit works for sure on both sides (router and linux box) because I successfully connected windows clients at gigabit speed to the router and llinux box can connect to other routers at gigabit too.

Any ideas why would router advertise only 100mbit to the linux box?


All times are GMT -5. The time now is 02:49 AM.