Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NIC resets to 100MBit on boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
zBrain
Apprentice
Apprentice


Joined: 14 Apr 2006
Posts: 182

PostPosted: Sat Jun 05, 2021 2:13 am    Post subject: NIC resets to 100MBit on boot Reply with quote

Code:
# dmesg | grep eno1
[    1.936841] e1000e 0000:00:19.0 eno1: renamed from eth0
[   12.935956] e1000e 0000:00:19.0 eno1: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[   17.920083] e1000e 0000:00:19.0 eno1: NIC Link is Up 100 Mbps Half Duplex, Flow Control: None
[   17.920086] e1000e 0000:00:19.0 eno1: 10/100 speed: disabling TSO


If I run
ethtool -s eno1 speed 1000 duplex full

It switches to Gigabit and I'm good, until I reboot and it goes back to 100....
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2958
Location: Edge of marsh USA

PostPosted: Sat Jun 05, 2021 3:18 am    Post subject: Reply with quote

Put the command in /etc/local.d/baselayout1.start.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sat Jun 05, 2021 2:44 pm    Post subject: Reply with quote

I had this problem with Realtek r8169.
I had samba mounts in /etc/fstab and did not have netmount activated. This gave mount a big problem. it seems to have giving net.eth0 a problem finishing. So net.eth0 timed out and connected at a slower speed.

the solution was "rc-update add netmount". Then mount didn't try to mount the samba shares and net.eth0 connected at 1Gbps mount completed and the shares were mounted after net.eth0 and mount by netmount.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sat Jun 05, 2021 2:53 pm    Post subject: Reply with quote

zBrain,

If I had such an issue I'd have closer look, it looks like consequence of some other problem.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
zBrain
Apprentice
Apprentice


Joined: 14 Apr 2006
Posts: 182

PostPosted: Sat Jun 05, 2021 5:07 pm    Post subject: Reply with quote

Thanks everyone for the suggestions. I had switched to systemd at one point because of some needs to test it. I wonder if its something to do with that or the fact I'm using networkmanager.

I'll play around with it and post anything I find. Already did a hardware check, tried a different cable & switch. It works perfectly after running ethtool, so I think it's a software issue.
Back to top
View user's profile Send private message
asaparov
n00b
n00b


Joined: 04 Nov 2016
Posts: 7

PostPosted: Sat Mar 12, 2022 12:52 pm    Post subject: Reply with quote

I just realized I had this problem too. It was totally NetworkManager.
I fixed it by going into the connection settings for the ethernet, and changing "Link Negotiation" to "Automatic."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum