Friday, December 25, 2015

Ethernet wired connection not detected in Ubuntu 14.04

I have been using only wireless connection for a long time now. Finally a day has come for me to use wired ethernet connection.

Unfortunately, it was not getting detected at all.
The first command that comes to mind for checking connection....

ifconfig
The command didn't show "eth0".

ifconfig - a
This time it showed "eth0", but HWaddr  is all 0's. No valid physical address.


Well, this was the reason the wired connection was not getting detected.

Solution is to edit the rc.local file (/etc/rc.local)

Add these two lines before the "exit 0" line.

ifconfig eth0 hw ether 00:22:68:8f:09:e0
service network-manager restart


Restart and wired connection back.

Weirdly, the connection that got connected is "ifupdown (eth0)" instead of "Wired connection 1". Anyway, I just wanted it to work and that's done.

1 comment:

  1. Such a great and informative, keep sharing in further to gain useful information. Thank you.

    ReplyDelete