Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Can't seem to find wireless interface
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
xank
n00b
n00b


Joined: 20 Jun 2017
Posts: 2

PostPosted: Tue Jun 20, 2017 2:54 pm    Post subject: [SOLVED] Can't seem to find wireless interface Reply with quote

Hello.
I'm installing gentoo for the first time on a T420 laptop. I know from previous debian installations that I need firmware to get the wireless working. On debian, the package is is iwlwifi.

During this install, I initially followed the handbook all the way through and got something that seems mostly functional, with the possible exception that I perhaps should comment "" line 166 in rc.conf because I keep seeing it in logs.

I thus proceeded to fetch other common utilities before attempting to get wireless working. A few google searched later, I followed instructions from http://www.thinkwiki.org/wiki/Installing_Gentoo_on_a_ThinkPad_T420 & https://wiki.gentoo.org/wiki/Lenovo_Thinkpad_T420: added some options in kernel via menuconfig, recompiled it, added rtl8192ce in /etc/conf.d/modules & rebooted.

Currently, as far as I can tell, the module is loaded (it shows up when doing a lsmod), but the interface doesn't show up. Likewise, iwconfig just tells me the three interfaces he sees don't have wireless extensions.

ip a show the loop (l0), wired (enp0s25), and a third interface I don't know what it is: sit0
Code:

3: sit0@NONE <NOARP> mtu 1480 qdisc noop state down group default qlen 1
    lin/sit 0.0.0.0 brd 0.0.0.0

Interestingly, ifconfig only shows the lopp and wired interfaces.

I strongly suspect that last interface comes from another kernel option, on that is unrelated to wireless networking.

Ah, and I emerged wicd but, perhaps unsurprisingly, he can't find anything for wireless.

What did I do wrong?

[Moderator edit: added [code] tags to preserve output layout. -Hu]


Last edited by xank on Thu Jun 29, 2017 5:26 am; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Tue Jun 20, 2017 3:58 pm    Post subject: Reply with quote

The module/driver you need appears to be iwlwifi based on thinkpad T420 identification.
run lspci | grep -i network and see if your T420 laptop uses a Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] [8086:0085] (rev 34) NIC like your references or something else. rtl8192ce is a realtek chipset.

If chipset is intel 6205; menuconfig needs:
Quote:
Device Drivers --->
[*] Network device support --->
[*] Wireless LAN --->
[*] Intel devices
<M> Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi)

recompile kernel
emerge linux-firmware to get firmware
reboot
ifconfig -a should show interface if driver was assigned
ifconfig will show interface if it is up
if not done wpa_supplicant must be emerged and configured
_________________
Defund the FCC.


Last edited by DONAHUE on Tue Jun 20, 2017 4:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Tue Jun 20, 2017 4:08 pm    Post subject: Reply with quote

And see dmesg, if anything goes wrong with hardware initialization it will be there.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Thu Jun 22, 2017 11:53 am    Post subject: Reply with quote

sit0 is some sort of ipv6 over ipv4 tunnelling device, and can be ignored.
To get a full list of network interfaces use 'ifconfig -a', and if some sort
of wireless driver doesn't show up it hasn't been built either within the
kernel or as a module.

At a guess, lspci will give you the name of the card (among a list of all
pci devices) and you can use that to find the kernel module name.

Will
Back to top
View user's profile Send private message
xank
n00b
n00b


Joined: 20 Jun 2017
Posts: 2

PostPosted: Thu Jun 29, 2017 5:26 am    Post subject: Reply with quote

DONAHUE wrote:
The module/driver you need appears to be iwlwifi based on thinkpad T420 identification.
run lspci | grep -i network and see if your T420 laptop uses a Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] [8086:0085] (rev 34) NIC like your references or something else. rtl8192ce is a realtek chipset.

If chipset is intel 6205; menuconfig needs:
Quote:
Device Drivers --->
[*] Network device support --->
[*] Wireless LAN --->
[*] Intel devices
<M> Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi)


if not done wpa_supplicant must be emerged and configured


Thank you! That was it, the 6205 card needs iwldvm under iwlwifi to be <M> or <Y> in kernel to load the firmware.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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