Im am trying to disable autonegotiation on the eth0 interface on a TRB140 using ethtool using the command
`/usr/sbin/ethtool -s eth0 speed 100 duplex full autoneg off`
Most of the time, this command does not work, even `ethtool eth0` gives the following output:
[email protected]:~# ethtool eth0
Settings for eth0:
Cannot get device settings: No such device
Supports Wake-on: pg
Wake-on: p
Current message level: 0x00007fff (32767)
drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol
Link detected: no
However after trying the command a couple of times, it seems to randomly work.
How can i set persistence on my ethtool commands, if the interface is not detected at boot. I cant use the startup scripts even.