Any tips troubleshooting wifi issues with Realtek and latest fedora25 kernels?
After the last couple of kernel updates obtained through Software Install, wifi on my laptop has stopped working. I didn't notice immediately because I've had the laptop at my desk connected to an ethernet cable. But yesterday I tried working elsewhere and noticed I couldn't connect using wifi.
The symptoms are:
Wifi sometimes appears to be connected after boot up (little wifi signal icon in the top right hand corner of the Gnome GUI looks normal). But I cannot ping anything on my local network, and nslookup fails.
Sometimes, after a restart, the Wifi icon is replaced by a question mark.
It doesn't work with my guest network either.
Rebooted into an older kernel, and wifi worked fine.
Modules probably related to wifi:
rtl8192ce, rtl8192c_common, rtlwifi
(i.e. Realtek) Bad kernel(s) obtained through Software Install updates: 4.9.5-200.fc25.x8664 and 4.9.4--201.fc25.x8664 Last good kernel on my system: 4.8.15-300.fc25.x86_64
I'm not sure if it's the kernel or if it's the modules. I'm just saying "bad kernel" or "good kernel" because those are the kernel versions in grub that I boot into.
Not sure if this is relevant, but here is the output of route -n:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 600 0 0 wlp3s0
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
192.168.1.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp3s0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
I noticed someone else posted a problem with their Realtek wifi a few days ago, too. Is there anything else I can try to get to the bottom of this? It's been awhile since I've recompiled a kernel, but I'm not adverse to trying it out if there is some indication this is a known issue that may have been fixed.
Thanks in advance!
Update
Thanks for the suggestions. Power down doesn't work any better, unfortunately. Tried it a few times. Once, I got a console open and was able to ping my router, but ping stopped working after a few seconds. Other times, power down just doesn't help at all.
As an aside, power down takes over 5 minutes when the network is not working. It's like fedora is trying to "phone home" one last time. Of course wifi is not working properly, so it times out eventually.
Just to add to this: I have the same problem with FC24 but when I reboot and select kernel 4.8.16-200 Wifi works fine.
Is it because it "senses" it is in airplane mode? I never got wifi to work with F25, even after two months of trying everything.
I completely powered down my laptop then powered up and now the WiFi is working. Give that a try?
What is the output of
lspci | grep -i wire
? It's not an "airplane mode" issue because you do get an IP address. For now, make sure you are running the "good" kernel when you do updates, so that dnf doesn't remove it.I have the same problem with the 4.9.x kernels on my Fedora 24 machine using the RTL8188CE chip.
BTW: the command of @Samuel_Sieb above needs to be adjusted:
lspci | grep -i Wi
: