Alles anzeigenWow wait first try this before make any changes…. Backup file configuration or comment the original line and makes changes in new line.
Type: vi /etc/network/interfaces
up ethtool -s eth1 speed 100 duplex full autoneg off
where eth1 is the name of ethernet adapter are you using on omv.
Haven't changed anything yet, but are you sure about your command?
What's the "up" in front of the rest of the command for? Is that a typo mistake? Or maybe you want to re-enable the interface because it will be down after commenting out the configuration in /etc/network/interfaces file?
Also in my case, /etc/network/interfaces file doesn't have any configuration. Everything is done via the OMV web interface.
EDIT:
So I went ahead before waiting for your response and commented out anything in /etc/network/interfaces (there was nothing to comment out, static ip is set via web-gui), then executed this:
root@nas:~# ethtool -s enp2s0 speed 100 duplex full autoneg off
root@nas:~#
root@nas:~# ethtool enp2s0
Settings for enp2s0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: Not reported
Advertised pause frame use: Symmetric
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: off
MDI-X: on
Supports Wake-on: g
Wake-on: g
Current message level: 0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: yes
root@nas:~# dmesg | grep "enp2s0"
[52532.482754] tg3 0000:02:00.0 enp2s0: Link is down
[52534.679416] tg3 0000:02:00.0 enp2s0: Link is up at 100 Mbps, full duplex
[52534.679443] tg3 0000:02:00.0 enp2s0: Flow control is on for TX and on for RX
root@nas:~#
Alles anzeigen
I get an error when performing a transfer from laptop to NAS, see screenshot. The interesting part is the file is written to the NAS even though there is an error when transferring.