Ethernet cable connect /disconnect state with Micrel KSZ8081 PHY chip

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ethernet cable connect /disconnect state with Micrel KSZ8081 PHY chip

Jump to solution
1,345 Views
sivaalagarsamy
Contributor II

We have ethernet working with Micrel KSZ8081 phy chip on a custom IMX6 board. Everything works fine when the cable is connected. If I disconnect, the cable I expect the DHCP IP address to be released and when the cable is connected back, the dhcp IP address should be renewed. But that is not happening. Linux doesn't seem to see that the cable was disconnected. cat /sys/class/net/eth0/carrier is 1 even when the cable is disconnected.  I do see the green LED  on the ethernet connector turn off when the cable is disconnected. Any suggestions?

Labels (3)
0 Kudos
1 Solution
747 Views
igorpadykov
NXP Employee
NXP Employee

Hi Siva

seems this is quite common problem, one can try

edit  /etc/network/interfaces and add "auto eth0"  and "allow-hotplug"


as suggested in

Linux Forums

Best regards

igor

View solution in original post

0 Kudos
1 Reply
748 Views
igorpadykov
NXP Employee
NXP Employee

Hi Siva

seems this is quite common problem, one can try

edit  /etc/network/interfaces and add "auto eth0"  and "allow-hotplug"


as suggested in

Linux Forums

Best regards

igor

0 Kudos