View previous topic :: View next topic |
Author |
Message |
Miax n00b
Joined: 11 Sep 2010 Posts: 11
|
Posted: Sat Sep 11, 2010 4:21 pm Post subject: [SOLVED] wlan problem |
|
|
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 |
|
|
Kobboi l33t
Joined: 29 Jul 2005 Posts: 672 Location: Belgium
|
Posted: Sat Sep 11, 2010 5:04 pm Post subject: |
|
|
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 |
|
|
Miax n00b
Joined: 11 Sep 2010 Posts: 11
|
Posted: Sat Sep 11, 2010 6:22 pm Post subject: |
|
|
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 |
|
|
Kobboi l33t
Joined: 29 Jul 2005 Posts: 672 Location: Belgium
|
Posted: Sat Sep 11, 2010 7:21 pm Post subject: |
|
|
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 |
|
|
Miax n00b
Joined: 11 Sep 2010 Posts: 11
|
Posted: Sat Sep 11, 2010 7:46 pm Post subject: |
|
|
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 |
|
|
Kobboi l33t
Joined: 29 Jul 2005 Posts: 672 Location: Belgium
|
Posted: Sat Sep 11, 2010 7:58 pm Post subject: |
|
|
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 |
|
|
Kobboi l33t
Joined: 29 Jul 2005 Posts: 672 Location: Belgium
|
Posted: Sat Sep 11, 2010 8:37 pm Post subject: |
|
|
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 |
|
|
Miax n00b
Joined: 11 Sep 2010 Posts: 11
|
Posted: Sat Sep 11, 2010 9:14 pm Post subject: |
|
|
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 |
|
|
Kobboi l33t
Joined: 29 Jul 2005 Posts: 672 Location: Belgium
|
Posted: Sun Sep 12, 2010 9:33 am Post subject: |
|
|
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 |
|
|
Miax n00b
Joined: 11 Sep 2010 Posts: 11
|
Posted: Sun Sep 12, 2010 10:53 am Post subject: |
|
|
problem solved. i ignore the infinite loop and added net.wlan0 to the default runlevel
and it worked.
thank you kobboi. |
|
Back to top |
|
|
Kobboi l33t
Joined: 29 Jul 2005 Posts: 672 Location: Belgium
|
Posted: Sun Sep 12, 2010 10:58 am Post subject: |
|
|
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 |
|
Back to top |
|
|
|