Interface negotiation may not work on some platforms. Difficult to reproduce it locally, as it requires specified NICs/Hardware
Reported by users
```
vyos@n1# set interfaces ethernet eth6 ip adjust-mss 1420
[edit]
vyos@n1# commit
[ interfaces ethernet eth6 ]
VyOS had an issue completing a command.
We are sorry that you encountered a problem while using VyOS.
There are a few things you can do to help us (and yourself):
- Contact us using the online help desk if you have a subscription:
https://support.vyos.io/
- Make sure you are running the latest version of VyOS available at:
https://vyos.net/get/
- Consult the community forum to see how to handle this issue:
https://forum.vyos.io
- Join us on Slack where our users exchange help and advice:
https://vyos.slack.com
When reporting problems, please include as much information as possible:
- do not obfuscate any data (feel free to contact us privately if your
business policy requires it)
- and include all the information presented below
Report time: 2023-03-10 11:10:49
Image version: VyOS 1.4-rolling-202302150317
Release train: current
Built by: autobuild@vyos.net
Built on: Wed 15 Feb 2023 03:17 UTC
Build UUID: e62b2d4d-c09c-4dd6-a722-884b782e4d13
Build commit ID: 5207b6f510d677
Architecture: x86_64
Boot via: installed image
System type: bare metal
Hardware vendor: Advantech
Hardware model: FWA-2112
Hardware S/N: KSD0304031
Hardware UUID: 6230afdc-7c58-11ec-9c34-c400adc59081
Traceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/interfaces-ethernet.py", line 220, in <module>
apply(c)
File "/usr/libexec/vyos/conf_mode/interfaces-ethernet.py", line 209, in apply
e.update(ethernet)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/ethernet.py", line 374, in update
self.set_speed_duplex(speed, duplex)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/ethernet.py", line 172, in set_speed_duplex
return self._cmd(cmd)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/control.py", line 52, in _cmd
return cmd(command, self.debug)
File "/usr/lib/python3/dist-packages/vyos/util.py", line 161, in cmd
raise OSError(code, feedback)
OSError: [Errno 75] failed to run command: ethtool --change eth6 autoneg on
returned:
exit code: 75
noteworthy:
cmd 'ethtool --change eth6 autoneg on'
returned (out):
returned (err):
netlink error: link settings update failed
netlink error: Invalid argument
[[interfaces ethernet eth6]] failed
Commit failed
```
As a workaround, it is set duplex and speed
```
set interfaces ethernet eth6 speed xxx
set interfaces ethernet eth6 duplex full
```