Hi there! I'm a new Garuda user and I have to start off by saying I am thuroughly impressed. I've hopped to many distros throughout the year and Garuda (KDE Dr460nized)is the first that has simply just worked out of the box on my late 2015 dell xps 13 (with one exception).
The exception: I have to manually disconnect and reconnect to any WiFi network after hibernate/sleep/reboot/power cycle. While this isnt the end of the world it would be nice to just open up my laptop and whamo flawless network connection without issue.
Out of the box WiFI worked (was very surprised) with my pesky Broadcom BCM4352 wireless chip. I ran lcpci -k and confirmed that I was running the appropriate kernel module for my chip which is the broadcom-wl module. I am using NetworkManager as my preferred network manger and connected to my WiFi network the easy way via the Network icon at the top right corner of the desktop (a bit of a change from ways the manual way of getting NetworkManager setup in cases like a fresh Arch install). Furthermore, I've connected to both my home wireless networks (2.4g & 5G) and gave them the priority 1 and 0 respectively.
The error is the same upon hibernate/sleep/reboot/power cycle. The wheel layed over the WiFi signal icon spins. If I click it says its trying to connect to my 5G network and after 2 minutes I receive a notification that the network could not connect and then it retries and will result in the same notification message until I disconnect from the network while its attempting to connect and then I have to reconnect.
Any thoughts or suggestions on where to begin with looking at this? I haven't had this issue in other distros when using NetworkManager so i'm a bit confused as to where to start.
Hi there, welcome!
Although the issue is clearly described, please include always your detailed system specs, with the output of inxi -Fza as text with 3 ~ before and after the text block, for formatting reasons.
In this way, many other details will be available.
Maybe you could use the forum search field with your network driver.
Also your precise laptop model could be useful in the search engine of the arch wiki, which contains useful info for a lot of model, with eg sometimes known issues.
Apart from that, in the meanwhile, my only suggestion is to check other kernels.
Something you could try is to disable mac address randomization in the Garuda network assistant, then reboot router and laptop.
If I remember correctly (tech-free holiday ), there is also a WiFi powersafe option that you may want to change/test.
This is a problem that usually easily resolved by writing a systemd suspend service. I have written numerous posts over the years detailing how this is done. A thorough search online should turn up lots of information, but here is my Cole's Notes on how it is done.
This service is condensed into only one unit, so it is very easy to create the service.
Combined network restart service unit:
Create the following file with a root text editor:
/etc/systemd/system/network-restart.service
Add the following contents to the file:
#/etc/systemd/system/network-restart.service
#sudo systemctl enable network-restart.service
#sudo systemctl start network-restart.service
#systemctl status network-restart.service
#sudo systemctl daemon-reload
[Unit]
Description=Broadcom WiFi Restart Service
Before=sleep.target
StopWhenUnneeded=yes
[Service]
User=root
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/sudo -u $USER /bin/bash -lc 'nmcli networking off'
ExecStart=/usr/bin/sleep 1
ExecStart=/usr/bin/systemctl stop NetworkManager
ExecStart=/usr/bin/ip link set wlp2s0 down
ExecStart=/usr/bin/modprobe -r wl
ExecStop=/usr/bin/sleep 5
ExecStop=/usr/bin/modprobe wl
ExecStop=/usr/bin/sleep 3
ExecStop=/usr/bin/ip link set wlp2s0 up
ExecStop=/usr/bin/sleep 2
ExecStop=/usr/bin/systemctl start NetworkManager
ExecStop=/usr/bin/sleep 1
ExecStop=/usr/bin/sudo -u $USER /bin/bash -lc 'nmcli networking on'
ExecStop=/usr/bin/sleep 1
ExecStop=/usr/bin/sudo -u $USER /bin/bash -lc 'nmcli r wifi off'
ExecStop=/usr/bin/sleep 1
ExecStop=/usr/bin/sudo -u $USER /bin/bash -lc 'nmcli r wifi on'
[Install]
WantedBy=sleep.target
The sleep units in the service may be reduced, (or eliminated) if you do not like the delay it creates. Be aware though, that doing so may reduce the reliability of the service.
Once you have created and saved the service file, enable the service:
sudo systemctl enable network-restart.service
Then reboot the computer.
For the benefit of others wishing to adapt this service to their installation (if different than above):
If your adapter's designation is different than wlp2s0 you will need to substitute you own adapter’s ID into the service file.
If you are using a different driver module you will also need to substitute it in place of “wl”.