Realtek 8169 drops to 100 Mbps

Kernels & Hardware, configuring network, installing services

Re: Realtek 8169 drops to 100 Mbps

Postby p.H » 2018-09-13 07:42

Maybe I was not clear enough.
I was not commenting on the usefulness of acpi=off and apm=off as kernel parameters to solve your issue.
I was just saying that the way you added them to /etc/default/grub as shell variable definitions has no effect. To disable ACPI and APM you must append the parameters in GRUB_CMDLINE_LINUX or GRUB_CMDLINE_LINUX_DEFAULT, e.g.
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=off apm=off"

and run update-grub.
p.H
 
Posts: 525
Joined: 2017-09-17 07:12

Re: Realtek 8169 drops to 100 Mbps

Postby Systech65 » 2018-09-13 08:52

Thank you so much. I am already learning stuff from you. I shall try this and update.
Systech65
 
Posts: 13
Joined: 2018-08-29 10:03

Re: Realtek 8169 drops to 100 Mbps

Postby Systech65 » 2018-09-13 11:50

Unfortunately it is back to 100 Mbs again. This what I have I have in my /etc/grub/default


GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Untangle"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=off apm=off"
GRUB_CMDLINE_LINUX="net.ifnames=0 ramdisk_size=100000 lang=us nomce nodhcp nofstab panic=5"
GRUB_DISABLE_SUBMENU=y
GRUB_GFXMODE=1024x768
GRUB_DISABLE_RECOVERY="true"
Systech65
 
Posts: 13
Joined: 2018-08-29 10:03

Re: Realtek 8169 drops to 100 Mbps

Postby p.H » 2018-09-13 12:35

You can check in /proc/cmdline that the kernel parameters have been taken into account.
p.H
 
Posts: 525
Joined: 2017-09-17 07:12

Re: Realtek 8169 drops to 100 Mbps

Postby Systech65 » 2018-09-14 02:56

The nic is again at 100 Mbps. I was wondering if it has anything to do with the firmware.

[root @ untangle] ~ # cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.9.0-7-untangle-amd64 root=UUID=c6a9f1a9-b9e7-411f-a4f0-00257662d366 ro net.ifnames=0 ramdisk_size=100000 lang=us nomce nodhcp nofstab panic=5 quiet splash acpi=off apm=off

ls /lib/firmware/rtl_nic
rtl8105e-1.fw rtl8106e-2.fw rtl8107e-2.fw rtl8168d-2.fw rtl8168e-2.fw rtl8168f-1.fw rtl8168g-1.fw rtl8168g-3.fw rtl8168h-2.fw rtl8411-1.fw
rtl8106e-1.fw rtl8107e-1.fw rtl8168d-1.fw rtl8168e-1.fw rtl8168e-3.fw rtl8168f-2.fw rtl8168g-2.fw rtl8168h-1.fw rtl8402-1.fw rtl8411-2.fw

[root @ untangle] ~ # apt-get install firmware-realtek
Reading package lists... Done
Building dependency tree
Reading state information... Done
firmware-realtek is already the newest version (20161130-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Systech65
 
Posts: 13
Joined: 2018-08-29 10:03

Re: Realtek 8169 drops to 100 Mbps

Postby p.H » 2018-09-14 07:27

Note that the proprietary Realtek driver r8168 does not use firmwares in /lib/firmwares. It embeds its own firmware blobs.
p.H
 
Posts: 525
Joined: 2017-09-17 07:12

Re: Realtek 8169 drops to 100 Mbps

Postby Systech65 » 2018-09-14 09:49

Pardon my ignorance as I am quite new to all of this. How can we determine whether the correct firmware is being mapped/loaded?
Can you please explain?
Systech65
 
Posts: 13
Joined: 2018-08-29 10:03

Re: Realtek 8169 drops to 100 Mbps

Postby GarryRicketson » 2018-09-14 13:45

These key words:
Code: Select all
On Debian 9 How can we determine whether the correct firmware is being mapped/loaded?
Copy/paste into your favorite search engine.
There are many results, you should read them.
A good one to start:
https://wiki.debian.org/WiFi
Use lspci to see information about which PCI cards is connected

show the out put of:
Code: Select all
lspci


But don't limit yourself to just that one result, read some of the others as well.
https://www.debian.org/releases/stretch/amd64/ch06s04.html.en
=================
User avatar
GarryRicketson
 
Posts: 5051
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Realtek 8169 drops to 100 Mbps

Postby p.H » 2018-09-14 19:43

Systech65 wrote:How can we determine whether the correct firmware is being mapped/loaded?

Check the kernel logs with dmesg for any firmware loading messages associated with the related modules.
Code: Select all
dmesg | grep -i firmware
dmesg | grep -i r8169

Kernel modules usually list firmwares they may need, and the list can be displayed by modinfo.
Code: Select all
modinfo r8169

However it lists all firmwares for all supported devices, not only the one for your specific device.
p.H
 
Posts: 525
Joined: 2017-09-17 07:12

Previous

Return to System configuration

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable