Having trouble installing the correct driver for my PCI wifi card

Hi. I am trying to install a wifi driver for my RTL 8111/8168/8411 PCI ExpressGigabit Ethernet controller. Which driver should I install? Manjaro Setting Manager says that the driver is not installed.

EDIT 1

$ inxi -Fazy
System:
  Kernel: 5.15.72-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=cf7638e3-8ab3-4540-b82f-953925460698 rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: i3 v: 4.21 info: i3bar vt: 1 dm: LightDM v: 1.32.0
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME A320M-K v: Rev X.0x
    serial: <superuser required> UEFI-[Legacy]: American Megatrends v: 5603
    date: 10/14/2020
CPU:
  Info: model: AMD Ryzen 3 3200G with Radeon Vega Graphics bits: 64 type: MCP
    arch: Zen/Zen+ note: check gen: 1 level: v3 note: check built: 2019
    process: GF 12nm family: 0x17 (23) model-id: 0x18 (24) stepping: 1
    microcode: 0x8108109
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 384 KiB
    desc: d-4x32 KiB; i-4x64 KiB L2: 2 MiB desc: 4x512 KiB L3: 4 MiB
    desc: 1x4 MiB
  Speed (MHz): avg: 1458 high: 1755 min/max: 1400/3600 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1231 2: 1755
    3: 1602 4: 1246 bogomips: 28759
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT disabled
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
    disabled, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
    vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    ports: active: HDMI-A-1 empty: DP-1 bus-ID: 07:00.0 chip-ID: 1002:15d8
    class-ID: 0300 temp: 47.0 C
  Display: server: X.Org v: 21.1.4 compositor: Picom v: git-7e568 driver: X:
    loaded: amdgpu unloaded: modesetting,radeon alternate: fbdev,vesa
    dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: CP-UEM-22AH serial: <filter>
    built: 2022 res: 1920x1080 hz: 60 dpi: 102 gamma: 1.2
    size: 476x268mm (18.74x10.55") diag: 546mm (21.5") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  OpenGL: renderer: AMD Radeon Vega 8 Graphics (raven LLVM 14.0.6 DRM 3.42
    5.15.72-1-MANJARO) v: 4.6 Mesa 22.1.7 direct render: Yes
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: ASUSTeK PRIME
    B450M-A driver: snd_hda_intel bus-ID: 1-8:3 v: kernel chip-ID: 08bb:2902
    pcie: class-ID: 0300 gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 07:00.1
    chip-ID: 1002:15de class-ID: 0403
  Device-2: AMD Family 17h/19h HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 07:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Device-3: Texas Instruments PCM2902 Audio Codec type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Sound API: ALSA v: k5.15.72-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.58 running: yes
Network:
  Device-1: Realtek RTL8188EE Wireless Network Adapter driver: rtl8188ee
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 03:00.0
    chip-ID: 10ec:8179 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK PRIME B450M-A driver: N/A modules: r8169, r8168 pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 05:00.0 chip-ID: 10ec:8168
    class-ID: 0200
Drives:
  Local Storage: total: 953.87 GiB used: 241.11 GiB (25.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk model: 1TB EVM SSD
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 8B0 scheme: MBR
Partition:
  ID-1: / raw-size: 953.86 GiB size: 937.82 GiB (98.32%) used: 120.55 GiB
    (12.9%) fs: ext4 dev: /dev/sda1 maj-min: 8:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 47.2 C mobo: N/A gpu: amdgpu temp: 47.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 234 Uptime: 1h 32m wakeups: 0 Memory: 5.72 GiB used: 2.22 GiB
  (38.8%) Init: systemd v: 251 default: graphical tool: systemctl Compilers:
  gcc: 12.2.0 alt: 11 clang: 14.0.6 Packages: 1368 pm: pacman pkgs: 1365
  libs: 393 tools: pamac,yay pm: flatpak pkgs: 3 Shell: Zsh v: 5.9
  running-in: kitty inxi: 3.3.22

Do you have a problem with it?

However, the device you mention is not a WiFi device but ethernet.

Please provide the properly formatted output of inxi -Fazy.

Thanks for the quick response

$ inxi -Fazy
System:
  Kernel: 5.15.72-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=cf7638e3-8ab3-4540-b82f-953925460698 rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: i3 v: 4.21 info: i3bar vt: 1 dm: LightDM v: 1.32.0
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME A320M-K v: Rev X.0x
    serial: <superuser required> UEFI-[Legacy]: American Megatrends v: 5603
    date: 10/14/2020
CPU:
  Info: model: AMD Ryzen 3 3200G with Radeon Vega Graphics bits: 64 type: MCP
    arch: Zen/Zen+ note: check gen: 1 level: v3 note: check built: 2019
    process: GF 12nm family: 0x17 (23) model-id: 0x18 (24) stepping: 1
    microcode: 0x8108109
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 384 KiB
    desc: d-4x32 KiB; i-4x64 KiB L2: 2 MiB desc: 4x512 KiB L3: 4 MiB
    desc: 1x4 MiB
  Speed (MHz): avg: 1458 high: 1755 min/max: 1400/3600 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1231 2: 1755
    3: 1602 4: 1246 bogomips: 28759
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT disabled
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
    disabled, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
    vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    ports: active: HDMI-A-1 empty: DP-1 bus-ID: 07:00.0 chip-ID: 1002:15d8
    class-ID: 0300 temp: 47.0 C
  Display: server: X.Org v: 21.1.4 compositor: Picom v: git-7e568 driver: X:
    loaded: amdgpu unloaded: modesetting,radeon alternate: fbdev,vesa
    dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: CP-UEM-22AH serial: <filter>
    built: 2022 res: 1920x1080 hz: 60 dpi: 102 gamma: 1.2
    size: 476x268mm (18.74x10.55") diag: 546mm (21.5") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  OpenGL: renderer: AMD Radeon Vega 8 Graphics (raven LLVM 14.0.6 DRM 3.42
    5.15.72-1-MANJARO) v: 4.6 Mesa 22.1.7 direct render: Yes
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: ASUSTeK PRIME
    B450M-A driver: snd_hda_intel bus-ID: 1-8:3 v: kernel chip-ID: 08bb:2902
    pcie: class-ID: 0300 gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 07:00.1
    chip-ID: 1002:15de class-ID: 0403
  Device-2: AMD Family 17h/19h HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 07:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Device-3: Texas Instruments PCM2902 Audio Codec type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Sound API: ALSA v: k5.15.72-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.58 running: yes
Network:
  Device-1: Realtek RTL8188EE Wireless Network Adapter driver: rtl8188ee
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 03:00.0
    chip-ID: 10ec:8179 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK PRIME B450M-A driver: N/A modules: r8169, r8168 pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 05:00.0 chip-ID: 10ec:8168
    class-ID: 0200
Drives:
  Local Storage: total: 953.87 GiB used: 241.11 GiB (25.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk model: 1TB EVM SSD
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 8B0 scheme: MBR
Partition:
  ID-1: / raw-size: 953.86 GiB size: 937.82 GiB (98.32%) used: 120.55 GiB
    (12.9%) fs: ext4 dev: /dev/sda1 maj-min: 8:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 47.2 C mobo: N/A gpu: amdgpu temp: 47.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 234 Uptime: 1h 32m wakeups: 0 Memory: 5.72 GiB used: 2.22 GiB
  (38.8%) Init: systemd v: 251 default: graphical tool: systemctl Compilers:
  gcc: 12.2.0 alt: 11 clang: 14.0.6 Packages: 1368 pm: pacman pkgs: 1365
  libs: 393 tools: pamac,yay pm: flatpak pkgs: 3 Shell: Zsh v: 5.9
  running-in: kitty inxi: 3.3.22

Seems like everything is well. What is your issue?

  1. Manjaro settings manager says that the driver is not installed so I want to verify that
  2. Why am I getting only 3Mbps on my PC but 35Mbps on my IPhone, on the same network?

This one is up:

And you ethernet is down:

I see you install additionally r8168:

While r8169 is included in the kernel and should work.


You get 0.375 MB/s ? Really?

Just a guess but:

  1. Iphone → 35 Mbps → 4.375 MB/s
  2. Manjaro → 3 MB/s → 24 Mbps

So ~54Mbps in total if both run with 802.11g on the same network.

:question:

Should I enable my ethernet?

How do I uninstall r8169?

Yesterday I was getting 3 MB/s but now I am getting 84 Mb/s/ And similar reading on my IPhone. Any reason why this is happening. I had restarted my computer multiple times yesterday.

Upps other way around… it is r8168 and r8169 is included in the kernel :man_facepalming:

Normally with Manjaro Settings (GUI) or mhwd:

sudo mhwd --remove pci network-r8168

And reboot or just load the driver:

# Unload the driver
sudo modprobe -rv r8168
# Load the driver
sudo modprobe -v r8169

Check if it is in use:

inxi -Nazy

Bad signal? Too many interferences?

It’s still not clear if you’re using a cable connection or wifi.

Agree with @mithrial :

The OP is trying to install a wifi driver for an ethernet controller… weird. Does he know the difference between lan and wireless lan?

Anyway… wifi is working :man_shrugging:

I am using WIFI

Do I need a seperate driver for my wifi card?

Yes and no…

  • Each controller needs a separate module (driver).
  • Both modules are there and are loaded.

So everything is fine? If yes, then why is my WiFi unstable?

Only thing what could make it “unstable” is the power saving mode of the card what can be disabled. Other than that it is the router.

Maybe try this:

sudo systemctl stop NetworkManager
sudo modprobe -rv rtl8188ee
sudo modprobe -v rtl8188ee fwlps=0 aspm=0 swenc=1
sudo systemctl start NetworkManager && journalctl --boot 0 --unit NetworkManager --follow

:notebook: That is only temporary and not permanent.

Thanks! That works. Any way that I can always run this on startup? or maybe in my xinitrc.

echo "options rtl8188ee fwlps=0 aspm=0 swenc=1" | sudo tee /etc/modprobe.d/rtl8188ee.conf

That creates a config file which will load the driver with that specific options on startup.

Thanks

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.