View previous topic :: View next topic |
Author |
Message |
augustin_meaulnes Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 21 Oct 2010 Posts: 97 Location: France
|
Posted: Sun Nov 07, 2010 6:54 am Post subject: Wifi Cardbus Adapter TL-WN610G not recognized |
|
|
Hi
I have Gentoo installed on Dell Inspiron 9100. I would like to start the wifi using a PTP-LINK TL-WN610G Wireless Cardbus Adapter.
I have installed the madwifi driver but when launching the Gnome Network Manager the wireless card is marked "Unknown Interface (dummy0).
What can I do?
Hereafter is some information about my config.
lspci output:
Quote: | 02:00.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
02:01.0 CardBus bridge: Texas Instruments PCI4510 PC card Cardbus Controller (rev 02)
02:01.1 FireWire (IEEE 1394): Texas Instruments PCI4510 IEEE-1394 Controller
03:00.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01) |
Quote: | # cat /etc/modules.autoload.d/kernel-2.6
snd-intel8x0
snd-ac97-codec
snd-page-alloc
snd-pcm
snd-mixer-oss
snd-pcm-oss
snd-seq-device
snd-seq
snd-timer
ac97_bus
scsi_wait_scan
crc7
crc16
crc-ccitt
libcrc32c
fuse
cfg80211
ath
madwifi-ng |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chithanh Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/3210501551dc02a09eeb8.png)
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Sun Nov 07, 2010 7:48 pm Post subject: |
|
|
Quote: | 03:00.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01) | Enable the ath5k driver in menuconfig for this. Verify with "lspci -k" that the driver is correctly loaded by the kernel afterwards. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
augustin_meaulnes Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 21 Oct 2010 Posts: 97 Location: France
|
Posted: Mon Nov 08, 2010 5:44 am Post subject: |
|
|
Thank you.
I think I enabled atheros drivers. The only module I got is ath (the one before last in /etc/modules.autoload.d/kernel-2.6 )
I"ll have a second look at this. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
augustin_meaulnes Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 21 Oct 2010 Posts: 97 Location: France
|
Posted: Mon Nov 08, 2010 7:13 am Post subject: |
|
|
I had a second look
Quote: | Device drivers -> [*] Netwok devices support -> [*] Wireless Lan -> <M> Atheros Wireless Cards -> [*] Atheros wireless debugging (there is nothing left to select)
Bus Option -PCI etc) -> [*] PCI support -> <*> PCCards (PCMCIA/Cardbus) suport ->
<*>16 bit PCMCIA support
- Load CIS Update
-*- 32 bit Cardbus support
***-*** PC Card bridge ***
<*> Cardbus Yenta Compatible bridge support
<*> Cirrus PD6729 Compatible bridge support
< >i82092 Compatible bridge support | One additional info
at boot ath is loaded correctly but the madwifi driver I emerged later on is not.
I emerged the madwifi drivers following an advice I found in the archives (in French)
Quote: | jaaf-laptop jaaf # lspci -k
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
Subsystem: Dell Device 0159
Kernel driver in use: agpgart-intel
00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02)
00:06.0 System peripheral: Intel Corporation 82865G/PE/P Processor to I/O Memory Interface (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
Subsystem: Dell Device 0159
Kernel driver in use: uhci_hcd
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
Subsystem: Dell Device 0159
Kernel driver in use: uhci_hcd
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
Subsystem: Dell Device 0159
Kernel driver in use: uhci_hcd
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
Subsystem: Dell Device 0159
Kernel driver in use: uhci_hcd
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
Subsystem: Dell Device 0159
Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
Subsystem: Dell Device 0159
Kernel driver in use: ata_piix
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
Subsystem: Dell Device 0159
Kernel driver in use: Intel ICH
Kernel modules: snd-intel8x0
00:1f.6 Modem: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Modem Controller (rev 02)
Subsystem: Broadcom Corporation Device 4d64
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
Subsystem: Dell Device 5102
Kernel driver in use: radeonfb
02:00.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
Subsystem: Dell Device 8127
Kernel driver in use: b44
02:01.0 CardBus bridge: Texas Instruments PCI4510 PC card Cardbus Controller (rev 02)
Subsystem: Dell Device 0159
Kernel driver in use: yenta_cardbus
02:01.1 FireWire (IEEE 1394): Texas Instruments PCI4510 IEEE-1394 Controller
Subsystem: Dell Device 0159
03:00.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)
Subsystem: Atheros Communications Inc. EZ Connect g 802.11g 108Mbps Wireless PCI Adapter
jaaf-laptop jaaf # |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
augustin_meaulnes Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 21 Oct 2010 Posts: 97 Location: France
|
Posted: Mon Nov 08, 2010 7:29 am Post subject: |
|
|
In fact madwifi was not emerged at all. her is the message I got
Quote: | * madwifi-ng-0.9.4.4119.20100201 requires CONFIG_WIRELESS_EXT selected by some Wireless LAN drivers (e.g CONFIG_IPW2100)
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* Once you have satisfied these options, please try merging
* this package again.
* ERROR: net-wireless/madwifi-ng-0.9.4.4119.20100201 failed:
* Incorrect kernel configuration options
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chithanh Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/3210501551dc02a09eeb8.png)
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Mon Nov 08, 2010 8:56 am Post subject: |
|
|
You should use the in-kernel ath5k driver instead of madwifi. It should be enough to set CONFIG_ATH5K=y. If you cannot find the option, then maybe dependencies are missing. Press / in menuconfig to search for ATH5K and enable all dependencies. Only if "lspci -k" shows ath5k then your kernel is configured correctly. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
augustin_meaulnes Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 21 Oct 2010 Posts: 97 Location: France
|
Posted: Mon Nov 08, 2010 2:16 pm Post subject: |
|
|
I cannot manage to set CONFIG_ATH5K=Y
I never arrive on such a select item
Here is CNFIG_ATH5K search result
Quote: | Symbol: ATH5K_DEBUG [=n]
Prompt: Atheros 5xxx debugging
Defined at drivers/net/wireless/ath/ath5k/Kconfig:21
Depends on: NETDEVICES [=y] && WLAN [=y] && ATH_COMMON [=y] && ATH5K[=n]
Location:
-> Device Drivers
-> Network device support (NETDEVICES [=y])
-> Wireless LAN (WLAN [=y])
-> Atheros Wireless Cards (ATH_COMMON [=y])
-> Atheros 5xxx wireless cards support (ATH5K [=n])
Symbol: ATH5K [=n]
Prompt: Atheros 5xxx wireless cards support
Defined at drivers/net/wireless/ath/ath5k/Kconfig:1
Depends on: NETDEVICES [=y] && WLAN [=y] && ATH_COMMON [=y] && PCI [=y] && MAC80211[=n]
Location:
-> Device Drivers
-> Network device support (NETDEVICES [=y])
-> Wireless LAN (WLAN [=y])
-> Atheros Wireless Cards (ATH_COMMON [=y])
Selects: MAC80211_LEDS [=n] && LEDS_CLASS [=n] && NEW_LEDS [=n] |
and here the selection screen for Atheros
Quote: | Atheros Wireless Cards
Arrow keys navigate the menu. <Enter> selects submenus --->. Highlighted letters are hotkeys. Pressing <Y> includes, <N> excludes, <M> modularizes features. Press <Esc><Esc> to exit, <?> for Help, </> for Search. Legend: [*] built-in [ ] excluded <M> module < > module capable
--- Atheros Wireless Cards
[*] Atheros wireless debugging
|
I think I have no problem with dependencies except MAC80211
Quote: | Symbol: MAC80211 [=n]
Prompt: Generic IEEE 802.11 Networking Stack (mac80211)
Defined at net/mac80211/Kconfig:1
Depends on: NET [=y] && WIRELESS [=y] && CFG80211 [=y]
Location:
-> Networking support (NET [=y])
-> Wireless (WIRELESS [=y])
Selects: CRYPTO [=y] && CRYPTO_ECB [=y] && CRYPTO_ARC4 [=y] && CRYPTO_AES [=y] && CRC32 [=y] |
If I diselect the first line hereafter in Networking support -> Wireless
Quote: | --- Wireless
<*> cfg80211 - wireless configuration API
[ ] nl80211 testmode command
[ ] enable developer warnings
[ ] cfg80211 regulatory debugging
[ ] enable powersave by default
[ ] cfg80211 DebugFS entries
[ ] cfg80211 wireless extensions compatibility
[ ] Wireless extensions sysfs files
{*} Common routines for IEEE802.11 drivers
[ ] lib80211 debugging messages
< > Generic IEEE 802.11 Networking Stack (mac80211)
*** Some wireless drivers require a rate control algorithm *** |
I no longer have any Atheros entry in Devices drivers ->Network devices support ->Wireless lan |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chithanh Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/3210501551dc02a09eeb8.png)
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Mon Nov 08, 2010 6:32 pm Post subject: |
|
|
Quote: | < > Generic IEEE 802.11 Networking Stack (mac80211) | That needs to be enabled |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
augustin_meaulnes Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 21 Oct 2010 Posts: 97 Location: France
|
Posted: Mon Nov 08, 2010 7:47 pm Post subject: |
|
|
OK.
I need to open my eyes a little bit more. Now it's OK but I still have to understand how to configure it.
I can now see a wlan0 entry in the Network Manager but it is inactive.
I try to use wpa_supplicant but when i use
I get
Quote: |
wlan0 interface doesn't support scanning |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|