[SOLVED] TLP messed with my Wifi

I installed TLP, but soon found I could not access the internet anymore. So I uninstalled it again, and also did systemctl disable tlp.service. However, I still cannot access.

The Wifi signal is strong and picked up by EnOS.
What can I do?

Usually it doesn’t do anything like that, but in cases like that with some specific devices, like your wi-fi module, you may need to whitelist it or disable it’s powersaving functionality, to make it easier install tlpui and see those tabs:

  • Network
  • Radio
  • Radio wizard

P.S. To apply settings don’t forget to press Save button on top right :wink:

So, now that I have uninstalled TLP entirely, I should reinstall it, but the tlpui instead of the tlp unit. Correct?

Installing tlpui should automatically install dependencies of it.
Just install tlpui.

1 Like

Like @mrvictory said, tlpui is just a gui to easily control config file of tlp and it will automatically pull tlp as dependency when you install.

I only recommended tlpui because sometimes it might be overwhelming, if you’re not very familiar with tlp when searching for some options, but you can use it directly by changing /etc/tlp.conf, you can read more about it’s options at https://linrunner.de/tlp/settings.

I am still not clear about this.

Since I uninstalled TLP, there should not be any more obstructions to the WiFi device. Am I wrong?

Oh wait, i misunderstood your post - if you have uninstalled tlp and rebooted (just in case), and after that wi-fi still doesn’t work - then it’s certainly not tlp that is causing your problem.

Can you give us

inxi -Faz

and

journalctl -p3 -xb
1 Like

In this reply you’ll find inxi -Faz, in the next reply journalctl.

$ inxi -Faz
System:
  Kernel: 5.18.10-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-linux
    root=UUID=3a0684f9-871b-4c62-aa88-4418bb62d10b rw
    resume=UUID=d1fd324d-93f6-460c-a015-f406df0168a3 loglevel=3 nowatchdog
    nvme_load=YES
  Desktop: Cinnamon v: 5.4.2 tk: GTK v: 3.24.34 vt: 7 dm: LightDM v: 1.30.0
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 81FL v: Lenovo ideapad 330-17ICH
    serial: <superuser required> Chassis: type: 10 v: Lenovo ideapad 330-17ICH
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN
    serial: <superuser required> UEFI: LENOVO v: 7ZCN29WW date: 10/24/2018
Battery:
  ID-1: BAT0 charge: 29.9 Wh (80.8%) condition: 37.0/45.0 Wh (82.3%)
    volts: 11.9 min: 11.3 model: SMP L17M3PB1 type: Li-poly serial: <filter>
    status: discharging
CPU:
  Info: model: Intel Core i7-8750H bits: 64 type: MT MCP arch: Coffee Lake
    gen: core 8 built: 2018 process: Intel 14nm family: 6 model-id: 0x9E (158)
    stepping: 0xA (10) microcode: 0xF0
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 9 MiB desc: 1x9 MiB
  Speed (MHz): avg: 1256 high: 1997 min/max: 800/4100 scaling:
    driver: intel_pstate governor: powersave cores: 1: 1475 2: 1475 3: 1841
    4: 800 5: 1921 6: 800 7: 800 8: 1570 9: 800 10: 1997 11: 800 12: 800
    bogomips: 52815
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
    mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Lenovo
    driver: i915 v: kernel arch: Gen9.5 process: Intel 14nm built: 2016-20
    ports: active: eDP-1 empty: DP-1, HDMI-A-1, HDMI-A-2, HDMI-A-3
    bus-ID: 00:02.0 chip-ID: 8086:3e9b class-ID: 0300
  Device-2: Acer EasyCamera type: USB driver: uvcvideo bus-ID: 1-8:2
    chip-ID: 5986:210e class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.2 driver: X:
    loaded: intel unloaded: modesetting alternate: fbdev,vesa gpu: i915
    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: eDP-1 mapped: eDP1 model: LG Display 0x05b9 built: 2017
    res: 1920x1080 hz: 60 dpi: 128 gamma: 1.2 size: 380x210mm (14.96x8.27")
    diag: 438mm (17.3") ratio: 16:9 modes: 1920x1080
  OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2)
    v: 4.6 Mesa 22.1.3 direct render: Yes
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel
    v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:a348 class-ID: 0403
  Sound Server-1: ALSA v: k5.18.10-arch1-1 running: yes
  Sound Server-2: PulseAudio v: 16.1 running: no
  Sound Server-3: PipeWire v: 0.3.54 running: yes
Network:
  Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:a370 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 07:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp7s0 state: down mac: <filter>
  IF-ID-1: ipv6leakintrf0 state: unknown speed: N/A duplex: N/A
    mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
    driver: btusb v: 0.8 bus-ID: 1-14:3 chip-ID: 8087:0aaa class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 4 state: down bt-service: disabled
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 1.03 TiB used: 27.33 GiB (2.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Lenovo O.E.M.
    model: RPFTJ128PDD2EWX size: 119.24 GiB block-size: physical: 512 B
    logical: 512 B speed: 15.8 Gb/s lanes: 2 type: SSD serial: <filter>
    rev: 11.82 temp: 40.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM035-1RK172
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B
    speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter> rev: LCM2
    scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 type: USB model: USB NAND FLASH
    size: 125 MiB block-size: physical: 512 B logical: 512 B type: SSD
    serial: <filter> rev: 0.30 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 110.15 GiB size: 107.86 GiB (97.92%)
    used: 27.3 GiB (25.3%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 312 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 39.0 C pch: 40.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 346 Uptime: 1h 41m wakeups: 1 Memory: 7.64 GiB
  used: 2.05 GiB (26.9%) Init: systemd v: 251 default: graphical
  tool: systemctl Compilers: gcc: 12.1.0 clang: 14.0.6 Packages: pacman: 1079
  lib: 239 Shell: Bash v: 5.1.16 running-in: gnome-terminal inxi: 3.3.19
$ journalctl -p3 -xb
Jul 10 15:32:46 peter-81fl kernel: x86/cpu: SGX disabled by BIOS.
Jul 10 15:32:46 peter-81fl kernel: ACPI BIOS Error (bug): Failure creating name>
Jul 10 15:32:46 peter-81fl kernel: ACPI Error: AE_ALREADY_EXISTS, During name l>
Jul 10 15:32:46 peter-81fl kernel: ACPI BIOS Error (bug): Could not resolve sym>
Jul 10 15:32:46 peter-81fl kernel: ACPI Error: AE_NOT_FOUND, During name lookup>
Jul 10 15:32:46 peter-81fl kernel: ACPI BIOS Error (bug): Could not resolve sym>
Jul 10 15:32:46 peter-81fl kernel: ACPI Error: AE_NOT_FOUND, During name lookup>
Jul 10 15:32:46 peter-81fl kernel: ACPI BIOS Error (bug): Could not resolve sym>
Jul 10 15:32:46 peter-81fl kernel: ACPI Error: AE_NOT_FOUND, During name lookup>
Jul 10 15:32:46 peter-81fl kernel: ACPI BIOS Error (bug): Could not resolve sym>
Jul 10 15:32:46 peter-81fl kernel: ACPI Error: AE_NOT_FOUND, During name lookup>
Jul 10 15:32:46 peter-81fl kernel: ACPI BIOS Error (bug): Could not resolve sym>
Jul 10 15:32:46 peter-81fl kernel: ACPI Error: AE_NOT_FOUND, During name lookup>
Jul 10 15:32:46 peter-81fl kernel: ACPI BIOS Error (bug): Could not resolve sym>
Jul 10 15:32:46 peter-81fl kernel: ACPI Error: AE_NOT_FOUND, During name lookup>
Jul 10 15:32:46 peter-81fl kernel: ACPI BIOS Error (bug): Could not resolve sym>
Jul 10 15:32:46 peter-81fl kernel: ACPI Error: AE_NOT_FOUND, During name lookup>
Jul 10 15:32:46 peter-81fl kernel: ACPI BIOS Error (bug): Could not resolve sym>
Jul 10 15:32:46 peter-81fl kernel: ACPI Error: AE_NOT_FOUND, During name lookup>
Jul 10 15:32:46 peter-81fl kernel: ACPI BIOS Error (bug): Could not resolve sym>
Jul 10 15:32:46 peter-81fl kernel: ACPI Error: AE_NOT_FOUND, During name lookup>
Jul 10 15:32:46 peter-81fl kernel: ACPI BIOS Error (bug): Failure creating name>
Jul 10 15:32:46 peter-81fl kernel: ACPI Error: AE_ALREADY_EXISTS, During name l>

Have you tried removing and re-adding the connection to Network Manager?

1 Like

I just did that now, to no avail.

Now, there is 1 odd thing: in one of the browsers I have installed the Hide Me proxy. When it is disabled I cannot access internet, when I enable it, I can access internet!

However, with none of the other browsers, which don’t have Hide Me, I cannot access internet.

Sounds like a DNS issue. Check the contents of /etc/resolv.conf, and whether you can ping an IP address, e.g.

ping -c3 8.8.8.8

This also sounds completely unrelated to TLP.

1 Like

TLP-DOC, Note:
Power saving mode can cause an unstable Wi-Fi link.

Check your TLP config file, according to this site:
https://linrunner.de/tlp/settings/network.html

Here are my notes (protocol I wrote myself) of installing TLP / TLPUI, because I just wanted to be able to revert things correctly, in case I need to uninstall:

Summary
  • Installed TLP:
    dnf install tlp tlp-rdw

  • Removed conflicting daemon:
    dnf remove power-profiles-daemon

  • Enabled service:
    systemctl enable tlp.service

  • Masked 2 conflicting units:
    systemctl mask systemd-rfkill.service systemd-rfkill.socket

  • See https://linrunner.de/tlp/usage/index.html

  • Installed TLPUI:
    git clone https://github.com/d4nj1/TLPUI
    cd TLPUI

  • To start TLPUI:
    cd TLPUI
    python3 -m tlpui


  • Config-file:
    /etc/tlp.conf

Contents of /etc/resolv.conf:

#Generated by NetworkManager
nameserver ::1

Yes, pinging that address worked.

If it is unrelated to TLP, how come I did not have this problem before TLP was installed?

So, this implies you are not getting a DNS resolver from your router via DHCP. Check your network settings, and check your router.

You may have changed something else at the same time.

Below is a screenshot of the settings. There was no DNS address, so I tried to add one. But even putting the numbers in the box, the Apply button remains greyed out.

My router is fine because I am having this conversation with you via my Mac that uses the same router.

As long as you have automatic DNS enabled, you cannot at the same time add another DNS address.

So, what does Jonathon mean by

and what should I check then, and how?

That’s not correct - the additional resolver will be used in addition to any received from DHCP.

Did you press the Plus icon to add the IP address?

Yes, I did. It just adds a 2nd box below for the next DNS address, but the Apply button remains greyed out.

1 Like