Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] wlan problem
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
Miax
n00b
n00b


Joined: 11 Sep 2010
Posts: 11

PostPosted: Sat Sep 11, 2010 4:21 pm    Post subject: [SOLVED] wlan problem Reply with quote

hello, i'm pretty new to linux. my problem is so.

i have read the gentoo handbook and started installing gentoo linux x86 2.6.34-r6 using genkernel on my thinkpad x61, emerged wpa_supplicant(for WPA2-Personal), configured the bootloader and rebooted. but then the wlan device was not detected. ifconfig -a shows only eth0 and lo. what can i do? i write down my /etc/conf.d/net here.

/etc/conf.d/net
modules=( "wpa_supplicant" )
wpa_supplicant_wlan0="-Dwext"


Last edited by Miax on Sun Sep 12, 2010 10:55 am; edited 2 times in total
Back to top
View user's profile Send private message
Kobboi
l33t
l33t


Joined: 29 Jul 2005
Posts: 672
Location: Belgium

PostPosted: Sat Sep 11, 2010 5:04 pm    Post subject: Reply with quote

You first have to make sure the device is identified. Running wpa_supplicant and its configuration is just a later step. Please post your "lspci -n", you probably forgot to install the firmware.
Back to top
View user's profile Send private message
Miax
n00b
n00b


Joined: 11 Sep 2010
Posts: 11

PostPosted: Sat Sep 11, 2010 6:22 pm    Post subject: Reply with quote

thank you for the reply.

# lspci -n
-bash: lspci: command not found

but restart with livecd(livecd detects wlan0 already)

00:00.0 0600: 8086:2a00 (rev 0c)
00:02.0 0300: 8086:2a02 (rev 0c)
00:02.1 0380: 8086:2a03 (rev 0c)
00:19.0 0200: 8086:1049 (rev 0c)
.
.
.
05:00.2 0805: 1180:0822 (rev 21)

i think if i forgot to install the firmware i must reinstall it, right?

i didn't see the firmware-installation part in the gentoo handbook.
Back to top
View user's profile Send private message
Kobboi
l33t
l33t


Joined: 29 Jul 2005
Posts: 672
Location: Belgium

PostPosted: Sat Sep 11, 2010 7:21 pm    Post subject: Reply with quote

lspci is part of the sys-apps/pciutils package. Please provide the complete lspci output, probably can't tell anything else than what PCI bridge you are using. Firmware requirement depends on your specific wireless card and not all drivers need it, that's why it is not in the handbook.
Back to top
View user's profile Send private message
Miax
n00b
n00b


Joined: 11 Sep 2010
Posts: 11

PostPosted: Sat Sep 11, 2010 7:46 pm    Post subject: Reply with quote

ok. i didnt know that. here it is.

00:00.0 0600: 8086:2a00 (rev 0c)
00:02.0 0300: 8086:2a02 (rev 0c)
00:02.1 0380: 8086:2a03 (rev 0c)
00:19.0 0200: 8086:1049 (rev 03)
00:1a.0 0c03: 8086:2834 (rev 03)
00:1a.1 0c03: 8086:2835 (rev 03)
00:1a.7 0c03: 8086:283a (rev 03)
00:1b.0 0403: 8086:284b (rev 03)
00:1c.0 0604: 8086:283f (rev 03)
00:1c.1 0604: 8086:2841 (rev 03)
00:1d.0 0c03: 8086:2830 (rev 03)
00:1d.1 0c03: 8086:2831 (rev 03)
00:1d.7 0c03: 8086:2836 (rev 03)
00:1e.0 0604: 8086:2448 (rev f3)
00:1f.0 0601: 8086:2811 (rev 03)
00:1f.1 0101: 8086:2850 (rev 03)
00:1f.2 0106: 8086:2829 (rev 03)
00:1f.3 0c05: 8086:283e (rev 03)
02:00.0 0580: 8086:444e (rev 01)
03:00.0 0280: 8086:4230 (rev 61)
05:00.0 0607: 1180:0476 (rev ba)
05:00.1 0c00: 1180:0832 (rev 04)
05:00.2 0805: 1180:0822 (rev 21)

this laptop has intel wireless wifi link 4965agn card.
Back to top
View user's profile Send private message
Kobboi
l33t
l33t


Joined: 29 Jul 2005
Posts: 672
Location: Belgium

PostPosted: Sat Sep 11, 2010 7:58 pm    Post subject: Reply with quote

If you paste that output on this website, you can see if your hardware is supported by the kernel, and if so, by which driver/module, in your case the iwlagn driver. Do you have that driver enabled/loaded?
Back to top
View user's profile Send private message
Kobboi
l33t
l33t


Joined: 29 Jul 2005
Posts: 672
Location: Belgium

PostPosted: Sat Sep 11, 2010 8:37 pm    Post subject: Reply with quote

And if you have, you likely need the following:

Code:
* net-wireless/iwl4965-ucode
     Available versions: 
   (0)   ~4.44.1.18 4.44.1.20 228.57.1.21
   (1)   228.57.2.21 228.57.2.23 228.61.2.24
     Homepage:            http://intellinuxwireless.org/?p=iwlwifi
     Description:         Intel (R) Wireless WiFi Link 4965AGN ucode
Back to top
View user's profile Send private message
Miax
n00b
n00b


Joined: 11 Sep 2010
Posts: 11

PostPosted: Sat Sep 11, 2010 9:14 pm    Post subject: Reply with quote

thx.

i've emerged the firmware and now it is detected by ifconfig.

but i did

# wpa_supplicant -d -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -Dwext

then it doesn't terminate. (seems like infinite loop)
Back to top
View user's profile Send private message
Kobboi
l33t
l33t


Joined: 29 Jul 2005
Posts: 672
Location: Belgium

PostPosted: Sun Sep 12, 2010 9:33 am    Post subject: Reply with quote

I don't usually run wpa_supplicant myself, I let the net.* scripts handle that.
If you worry that there still is a hardware related issue, try temporarily disabling your WLAN security
If you need wpa_supplicant support, someone else is probably more capable to help you than I am :)
Back to top
View user's profile Send private message
Miax
n00b
n00b


Joined: 11 Sep 2010
Posts: 11

PostPosted: Sun Sep 12, 2010 10:53 am    Post subject: Reply with quote

problem solved. i ignore the infinite loop and added net.wlan0 to the default runlevel

and it worked.

thank you kobboi. :P
Back to top
View user's profile Send private message
Kobboi
l33t
l33t


Joined: 29 Jul 2005
Posts: 672
Location: Belgium

PostPosted: Sun Sep 12, 2010 10:58 am    Post subject: Reply with quote

I also don't see why wpa_supplicant should terminate. Certain security mechanisms require rekeying, which appears to be done, in userspace, by wpa_supplicant.
Glad to have been of help :wink:
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