[xubuntu-users] Setting NIC speed?
Len Philpot
lphilpot01 at gmail.com
Sun Dec 29 17:33:44 UTC 2019
I realize this is more Linux-general than Xubuntu-specific, but any help is
appreciated. Although I've used and administered Linux (servers) for a while,
it's been a long time since I twiddled NIC settings -- and it was on RHEL, not
*ubuntu.
I have an HP 8300 SFF desktop running fully-patched Xubuntu 18.04, connecting at
100 mbs, which I'd like to raise to gig. It's hardwired to my 14-month-old ASUS
RT-AC66U B1 router (which is running at gb). The NIC is capable:
# lshw -C network
*-network
description: Ethernet interface
product: 82579LM Gigabit Network Connection (Lewisville)
vendor: Intel Corporation
physical id: 19
bus info: pci at 0000:00:19.0
logical name: eno1
version: 04
serial: b4:b5:2f:cd:8c:b5
size: 100Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-
fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e
driverversion=3.2.6-k duplex=full firmware=0.13-4 ip=192.168.50.17 latency=0
link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:25 memory:f7c00000-f7c1ffff memory:f7c39000-f7c39fff
ioport:f080(size=32)
# ethtool eno1
Settings for eno1:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: off (auto)
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
Starting with the simplest approach, I set the network settings GUI to 'ignore |
automatic | manual' and rebooted each time. Nothing worked. Then I tried:
# ethtool -s eno1 speed 1000 duplex full autoneg on
...with autoneg on and off, but no luck. After running it, ethtool shows
'unknown speed'. After restarting networking it either doesn't connect or
hangs.
Would this work?
# ethtool -s eno1 advertise 0x020
The reason I ask is because there are typically several ways to do 'x' on *nix
and I'd rather use the most optimal. I'm also not very familiar with ethtool.
Re: persistence -- On *ubuntu I assume the way to make it permanent is by
putting this at the top of /etc/network/interfaces:
sudo ethtool -s eno1 autoneg off speed 1000 duplex full
...or whatever the correct invocation is?
Thanks.
--
Len Philpot
lphilpot01 at gmail.com
Sent from Evolution on Xubuntu Linux
More information about the xubuntu-users
mailing list