2 January 2018

Ethernet Cable Not Detected

*Ethernet Cable Not Detected In Ubuntu*

 



When you connect the Ethernet LAN cable you are not able to get internet signal and surf the internet. The same cable when connected to another computer allows direct net surfing. 



Solution 1:

Simply run the below command:

#sudo ethtool -s LAN_Addapter_Name speed 100 duplex full                         //In my case LAN_Addapter_Name is eth0

If the above command will not work properly then follow the step below:



Solution 2:

1) sudo apt-get install libavahi-compat-libdnssd-dev

2) Edit /etc/network/interfaces and add the following 2 lines:
allow-hotplug LAN_Addapter_Name
iface LAN_Addapter_Name inet dhcp          

3) Edit /etc/rc.local, and add the following line:
avahi-autoipd --daemonize --syslog LAN_Addapter_Name

4) Now Reboot the system. Your issue will be resolved.

 

For any issue with any distributions of LINUX you can comment or mail me at kundansingh27feb@gmail.com.

No comments:

Post a Comment