💾 Archived View for chirale.org › 2018-05-09_4260.gmi captured on 2024-05-12 at 15:09:46. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
When your Wireless interface is working and the ethernet isn’t working on Ubuntu, here’s a quick howto to check and fix a misconfiguration. It doesn’t solve any ethernet issues but you can give a try and on an Asus laptop (with JMicron chipset) I worked on it makes the job done.
Tested on Ubuntu 04 LTS
To detect Ethernet interface:
ifconfig
To check and configure connection:
apt-get install ethtool
To save the current status of network interface:
ethtool ens5f5 > ethernet_before.txt
ethtool -s ens5f5 speed 1000 duplex full autoneg on
or:
ethtool -s ens5f5 speed 100 duplex full autoneg on
Then to check what is the difference between the old non-working configuration and the configuration that works:
ethtool ens5f5 > ethernet_after.txt diff ethernet_before.txt ethernet_after.txt
If it doesn’t work try other ways, e.g. looking for specific issue on your Ethernet driver:
lspci | grep Ethernet
or
lspci | grep ethernet
to check your driver.
If the issue reappears after reboot, to make the command to run on startup do:
sudo bash crontab -e
And add:
@reboot /sbin/ethtool -s ens5f5 speed 100 duplex full autoneg on
Now reboot to check if changes takes effect