Sunday, May 12, 2024
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 29498  / 2 Years ago, wed, july 20, 2022, 6:42:54

It so happens that I have a NIC that is only able to establish a connection with the current network when auto negotiation is set to false. In windows, this can be achieved rather easily by changing the NIC properties via Device Manager. Currently I am only able to do so in Ubuntu (10.04 if that matters) via the following after login:



sudo ethtool -s eth0 autoneg off speed 100 duplex full



sudo service network-manager restart



PS: I have read reports from ubuntu forums that it may be necessary to remove network-manager and only use /etc/network/interfaces for configuration, but I intend to do so only as a last resort. I would also appreciate it if someone can add auto-negotiation ethtool to the list of tags.


More From » configuration

 Answers
3

There seems to be no way to do it within Network Manager. Editing /etc/network/interfaces on the other hand is clumsy and causes delays in later editions of Ubuntu like 12.04 (see this and this). In the end the solution offered here turns out to be best (for now), by adding the ethtool command to rc.local:



sudo -H gedit /etc/rc.local

ethtool -s eth0 autoneg off speed 100 duplex full # put this above 'exit 0'

[#40593] Thursday, July 21, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lintical

Total Points: 344
Total Questions: 122
Total Answers: 106

Location: Sint Maarten
Member since Mon, Oct 12, 2020
4 Years ago
;