Hi,
I just installed fedora workstation 35 on an ASUS laptop F555D intell i5 and
Problem:
the available wireless networks don’t show automatically.
I checked that the BIOS settings for the wireless network are on.
when running the nmcli d show command shows
the following:
GENERAL.DEVICE: lo
GENERAL.TYPE: loopback
GENERAL.STATE: 10 (unmamaged)
…
IP4.address[1]: 127.0.0.1
The broadcom driver is visible but not in use for some reason (can’t remember the command showing this though)
Any idea what may be causing this and how to fix it?
That is the actual chipset on that adapter. It seems you do not have the driver loaded, and this is one of the sites that came up with a search for the driver with fedora. https://www.cyberciti.biz/faq/fedora-linux-install-broadcom-wl-sta-wireless-driver-for-bcm43228/
Don’t know if it is the right one since I have no broadcom card to test it with, but you can search for other possibilities if that does not help.
If you have not already done so you should do a full upgrade sudo dnf upgrade then reboot and try again before you download anything that may be out-of-tree.
Thanks @computersavvy I did sudo dnf upgrade, but thgis didn’t make wireless active
I looked into the provided link but the some of the commands they use there don’t seem to be available in my version of Fedora (workstation 35) and I don’t even know if they are useful here. So not sure how to proceed. I guess I should look for the right controller/driver in the ASUS repository
Hi, also would you like to post the result file /lib/modules/$(uname -r)/build from the terminal? At least for me, most of the time it because the installed kernel-devel version mismatch with current installed kernel version (kernel currently uses).
Hi @oprizal , thanks for asking. Here is the result:
lib/modules/5.16.5-200.fc35.x86_64/build: broken symbolic link to /usr/src/kernels/5.16.5-200.fc35.x86_64
There seems to be a broken link there, but I am not sure how that affects the wireless function.
However I’m not sure I totally understand what you said about the kernels. I should have installed a kernel and not a kernel -devel (at least that is what I thought Fedora Workstation 35 was) but I am a total beginner (or almost) with linux and Fedora, so I guess there must be much more to this that I do not know about.
For custom wireless driver like broadcom (I have one in my 2013 Samsung laptop), we need same kernel-devel version with our current kernel to build the driver. You can install the specifik kernel-devel version with sudo dnf install kernel-devel-5.16.5-200.fc35.
If you already follow the tutorial shared by @computersavvy, at least until succesfully install:
Would you like to try sudo modprobe wl? If it not give error message from terminal, please post the result of lsmod | grep wl, may be we need to blacklist other modules listed there.
Just so you are aware.
The kernel-devel version should always match the latest installed kernel version and it usually is not necessary to specify the version when doing the install since dnf will automatically install the matching versions of all the kernel packages. What I do to make certain everything is in sync with the kernel packages is this. sudo dnf reinstall kernel*.
Also, while it seems weird, you may see that the kernel-headers package version does not always match the installed kernel version. That is because when there are no changes in that package it is not rebuilt for every kernel release.
Just for note: couple days ago I install Fedora Workstation on 2013 Samsung laptop without performing upgrade and directly install kernel-devel and the weird things the dnf give me the newest kernel-devel instead of matching version with my fresh install Fedora Workstation kernel version (if I remember correctly 5.14.x). That’s is why I ask the check the symlink of build file above. May be the safest way is to performing dnf upgrade before installing kernel-devel and custom driver.
So I am a bit confused now.
According to @oprizal I should disable the Bios secure boot first
According to @computersavvy it may be useful to do sudo dnf reinstall kernel*
In the latest post it is said “May be the safest way is to performing dnf upgrade before installing kernel-devel and custom driver.”
So what do you guys think is the correct path to action now?
Should all of these steps be completed and if yes, what is the correct sequence?
If not which ones surely must be?
This will first upgrade everything to the latest versions in the repos, then show all kernel packages currently installed. If all the kernel packages have matching versions then things are usually good.
Note here that for every kernel version I have installed each package has a matching version (except for the kernel-headers package, which is not required for the kernel itself). This is from my F34 system, though my F35 system is the same.
The reinstall I suggested was just in case something had gotten corrupted, and would fix those issues. It is harmless if nothing is corrupted.
The bios secure boot usually prevents the kernel from loading unsigned modules and could be the issue with that module, so disabling that is an easy troubleshooting step. You may be able to review the output of dmesg and see if secure boot is enabled or disabled (at the very beginning) and also if loading the driver is blocked by secure boot.
oK, problem solved now, apparently!
I disabled the secure boot and upon restarting I saw the WI-FI up and running!
By the way, I run again the sudo dnf list installed kernel*command and the output is again the same as above, that is there is just one kernel-devel.x86_64 item.
is this normal?
It is very normal. The kernel-devel package is not installed by default. You seem to have upgraded to the 5.16.5 kernel before you installed the kernel-devel package so it would not be there for the version where you did not deliberately install it.
With future updates that package will be updated with each kernel update.