Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]: WiFi gone after kernel upgrade
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2772

PostPosted: Thu Jul 21, 2016 3:46 am    Post subject: [SOLVED]: WiFi gone after kernel upgrade Reply with quote

Hi,
I recently updated my system and also updated my kernel from 3.12 to 4.1 (both gentoo-sources).

Unfortunately after the kernel upgrade I did lost the WiFi.

But when I rebooted to the old kernel (3.12), I got WiFi access again.

So, here are my logs:

Old dmesg can be found here
New dmesg can be found here

Does anyone see any differences?

Thank you.


Last edited by ONEEYEMAN on Sat Jul 23, 2016 11:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hieronymus Bosch
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2015
Posts: 75
Location: 31°45′33.14″N 106°29′24.63″W

PostPosted: Thu Jul 21, 2016 5:32 am    Post subject: Reply with quote

Check your kernel configuration for both versions, maybe in 4.1 some options of the3.12 version are selected.
_________________
Details fueled any investigation ...
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7093
Location: Saint Amant, Acadiana

PostPosted: Fri Jul 22, 2016 2:12 am    Post subject: Reply with quote

Both your links display 404 error.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2772

PostPosted: Fri Jul 22, 2016 11:48 am    Post subject: Reply with quote

New kernel config can be found here.
Old kernel config can be found here.

I tried to preserve the configuration wherever possible.

See any relevant differences?

Thank you.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Fri Jul 22, 2016 12:03 pm    Post subject: Reply with quote

Maybe you can be a bit more specific than "lost the wifi".
Do you mean that the wifi adapter has disappeared from "lspci -k" or "ifconfig -a"?
Or do you just mean that legacy wireless extension tools like wicd don't recognize it as wifi any longer (this could be due to CONFIG_CFG80211_WEXT)
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2772

PostPosted: Fri Jul 22, 2016 1:47 pm    Post subject: Reply with quote

Hi, chithanh,
No, "lspci -v" still shows the driver. However, "ifconfig" does not show an IP for wlan0, not even an APIPA one (but I guess that's expected).
And I don't have a GUI yet - working on it as well with dantrell.
Also, like I said, rebooting into the old kernel - network access works fine.

Thank you.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Fri Jul 22, 2016 2:27 pm    Post subject: Reply with quote

"no wifi" or "no network access", which one is it?

If wlan0 exists in "ifconfig -a" this usually means that your kernel has the correct driver. From "lspci -k" the "kernel driver in use" is important.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2772

PostPosted: Fri Jul 22, 2016 3:50 pm    Post subject: Reply with quote

chithanh,
wlan0 does exist. "lspci -k" does show the same driver - "ath9k".
Also, are "no wifi" and "no network access" not the same?

I will repost the dmesg output when I come home from work tonight.

Thank you.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Fri Jul 22, 2016 4:11 pm    Post subject: Reply with quote

"no wifi" would imply in my understanding that the wlan0 interface disappeared for whatever reason. :)
Please also describe which method you use to connect to the wireless network.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2772

PostPosted: Fri Jul 22, 2016 4:35 pm    Post subject: Reply with quote

chithanh,
Ok, I guess it does make sense.
I am connecting with "wpa_supplicant" which is set to run during the boot time.

Like I said before all I have right now is a Terminal. I am working to make working GNOME 3. So until this is resolved all I have is a nice black screen. ;-)

Thank you.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Fri Jul 22, 2016 4:37 pm    Post subject: Reply with quote

wpa_supplicant mean you use /etc/init.d/net.wlan0 /etc/wpa_supplicant/wpa_supplicant.conf and /etc/conf.d/net ? If so please post the latter here.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2772

PostPosted: Fri Jul 22, 2016 4:40 pm    Post subject: Reply with quote

Yes, using all 3 of them.
Will post later when I'm at home.

Also, I would guess that they are all OK, since booting up the old kernel works fine and the connection is established.

Thank you.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2772

PostPosted: Sat Jul 23, 2016 2:12 am    Post subject: Reply with quote

Old dmesg.log can be found here
New dmesg.log can be found here
/etc/init.d/net.wlan0 can be found here
/etc/wpa_supplicant/wpa_supplicant.conf can be found here
/etc/conf.d/net can be found here

Hopefully all those will be good along with kernel configurations I posted earlier

Thank you.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Sat Jul 23, 2016 10:20 pm    Post subject: Reply with quote

Code:
wpa_supplicant_wlan0="-Dwext -c/etc/wpa_supplicant/wpa_supplicant.conf"

That is your problem. You tell wpa_supplicant to use legacy wireless extensions through -Dwext, but your new kernel does not support them because you disabled CONFIG_CFG80211_WEXT.
You should switch to the modern cfg80211 framework by changing that to -Dnl80211
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2772

PostPosted: Sat Jul 23, 2016 11:28 pm    Post subject: Reply with quote

Thank you.
Switching to nl80211 resolved it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum