Hello, I just a bought a new laptop (the one mentioned in the title) and I have two really weird issues.
2 WiFi cards are recognized (wlan0 and wlp3s0) and my connectivity is unstable as a result. After suspsension WiFI works but can't connect to any network and after a while all the networks disappear.
My Firefox logins are resetted every time I shut the PC down.
Otherwise the machine works flawlessly but I would really like to make this my main driver so any help is appreciated, Thank you for this amazing distro! \o/
EDIT: The second issue is resolved. Firefox for some reason had the "Delete browsing history when Firefox closes" option enabled.
I wonder if your connection is skipping between the two cards. Try disabling one and see what happens.
How can I disable the wlan0 card?
From what I understand the Bluetooth Adapter is recognized as a second WiFi Adapter. Can I fix that?
Please post the output of the following command:
inxi -SMa; hwinfo --netcard --bluetooth | grep -Ei "(hotplug|speed|model|status|cmd|file|detected|driver:)" | grep -v "Config S" && echo "System install date $(head -n1 /var/log/pacman.log | cut -d " " -f1 | cut -c 2-11)"
Please post only text outputs, no pictures please.
I have resolved the two wireless adapters problem. It was just the proprietary drivers. The WiFi still can't find any networks after suspend though. Here is the output:
Host: qushy-A15 Kernel: 5.9.13-98-tkg-bmq x86_64 bits: 64 compiler: gcc
root=UUID=b0d456ef-0c78-4f1e-aaa6-8f7f4b0b3dce rw [email protected]
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
Desktop: KDE Plasma 5.20.4 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11
dm: SDDM Distro: Garuda Linux
Type: Laptop System: ASUSTeK product: TUF Gaming FA506IV_FA506IV v: 1.0
serial: <superuser/root required>
Mobo: ASUSTeK model: FA506IV v: 1.0 serial: <superuser/root required>
UEFI: American Megatrends v: FA506IV.309 date: 07/02/2020
Model: "Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter"
Device File: wlp3s0
Link detected: yes
Driver Status: rtw88_8822ce is active
Driver Activation Cmd: "modprobe rtw88_8822ce"
Model: "Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller"
Device File: enp2s0
Link detected: no
Driver Status: r8169 is active
Driver Activation Cmd: "modprobe r8169"
Model: "Lite-On Bluetooth Radio"
Speed: 12 Mbps
Driver Status: btusb is active
Driver Activation Cmd: "modprobe btusb"
System install date 2020-12-10
Generally if your WiFi isn't working after suspension then you can correct this by writing a service. The service unloads your network components prior to suspension, and then reloads them after resuming.
Create the service file:
With the following contents:
# cat /etc/systemd/system/network-restart.service
# systemctl enable --now network-restart.service
# systemctl start network-restart.service
# systemctl stop network-restart.service
# systemctl disable --now network-restart.service
# systemctl status network-restart.service
# systemctl daemon-reload
Description=Network Suspend/Resume Service
ExecStartPre=-/usr/bin/sudo -u $USER /bin/bash -lc 'nmcli networking off'
ExecStart=-/usr/bin/systemctl stop NetworkManager
ExecStart=-/usr/bin/ip link set wlp3s0 down
ExecStart=-/usr/bin/modprobe -r rtw88_8822ce
ExecStop=-/usr/bin/ip link set wlp3s0 up
ExecStop=-/usr/bin/systemctl start NetworkManager
ExecStop=-/usr/bin/sudo -u $USER /bin/bash -lc 'nmcli networking on'
ExecStop=-/usr/bin/sudo -u $USER /bin/bash -lc 'nmcli r wifi off'
ExecStop=-/usr/bin/sudo -u $USER /bin/bash -lc 'nmcli r wifi on'
Save the service file, then enable the service.
If you have any further questions, see:
Thank you so much! Works like a charm!
Your welcome, no trouble at all.
It took me all of 30 seconds to write that service from a template of many other suspend services I've written in the past.
Glad to be of assistance, and welcome to Garuda.
It's totally irrelevant to the topic.