Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Realtek 8169 drops to 100 Mbps

Linux Kernel, Network, and Services configuration.
Message
Author
p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Realtek 8169 drops to 100 Mbps

#16 Post by p.H »

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.

Systech65
Posts: 13
Joined: 2018-08-29 10:03

Re: Realtek 8169 drops to 100 Mbps

#17 Post by Systech65 »

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

#18 Post by Systech65 »

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"

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Realtek 8169 drops to 100 Mbps

#19 Post by p.H »

You can check in /proc/cmdline that the kernel parameters have been taken into account.

Systech65
Posts: 13
Joined: 2018-08-29 10:03

Re: Realtek 8169 drops to 100 Mbps

#20 Post by Systech65 »

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.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Realtek 8169 drops to 100 Mbps

#21 Post by p.H »

Note that the proprietary Realtek driver r8168 does not use firmwares in /lib/firmwares. It embeds its own firmware blobs.

Systech65
Posts: 13
Joined: 2018-08-29 10:03

Re: Realtek 8169 drops to 100 Mbps

#22 Post by Systech65 »

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?

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Realtek 8169 drops to 100 Mbps

#23 Post by GarryRicketson »

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 ... 04.html.en
=================

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Realtek 8169 drops to 100 Mbps

#24 Post by p.H »

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.

Post Reply