View previous topic :: View next topic |
Author |
Message |
Leander89 n00b
Joined: 13 Jul 2008 Posts: 58
|
Posted: Tue Jul 29, 2008 3:56 pm Post subject: Wireless Atheros 5006EG doesn't work |
|
|
Hi everyone,
I've done my best efforts to get my wireless device, the Atheros 5006EG, working, but no success (yet).
I'm using my notebook for school and they supply internet by wireless network, so I really need to get this working.
I did this command to install the wireless driver as root:
Quote: | emerge -av madwifi-ng |
First it didn't compile right, complaining about some kernel settings (config_kmod). I managed to change
the kernel settings and it did correctly compile & install now, (assuming the installing is also automatically done).
I created a symbolic link in the network directory of net.ath0 to net.lo. then I tried to start it up, but it complains:
Quote: |
Gentoo / # /etc/init.d/net.ath0 start
* Starting ath0
* Configuration not set for ath0 - assuming DHCP
* Bringing up ath0
* dhcp
* network interface ath0 does not exist
* Please verify hardware or kernel module (driver) |
output of iwconfig gives:
Gentoo / # iwconfig
Quote: | lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions. |
output of ifconfig gives:
Quote: | ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1D:60:07:0D:BF
inet addr:145.99.122.146 Bcast:145.99.122.151 Mask:255.255.255.248
inet6 addr: fe80::21d:60ff:fe07:dbf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1784 errors:0 dropped:0 overruns:0 frame:0
TX packets:1575 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1977299 (1.8 Mb) TX bytes:299676 (292.6 Kb)
Interrupt:218 Base address:0xa000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) |
lsmod gives this output:
Quote: |
Gentoo / # lsmod
Module Size Used by
ath_pci 71328 0
wlan 145648 1 ath_pci
ath_hal 191568 1 ath_pci
fglrx 1673684 25 |
output of ifconfig ath0 up gives this:
Quote: | ifconfig ath0 up
ath0: unknown interface: No such device |
Anyone knows how i can fix this?
Leander89 |
|
Back to top |
|
|
StringCheesian l33t
Joined: 21 Oct 2003 Posts: 887
|
|
Back to top |
|
|
Leander89 n00b
Joined: 13 Jul 2008 Posts: 58
|
Posted: Tue Jul 29, 2008 5:29 pm Post subject: |
|
|
I compiled and installed it, but still did not work. My computer doesn't recognize the ath0 device.
It does compile and install without problems
lspci -v says this about my wireless network:
Quote: |
07:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
Subsystem: Atheros Communications, Inc. Unknown device 3065
Flags: fast devsel, IRQ 19
Memory at fe9f0000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Kernel modules: ath_pci
|
Maybe it's the ath_pci kernel module that does not work, it's not detecting anything, when I enter iwconfig only lo, eth0, sit0 show up?? I really don't know why it doesn't work.. |
|
Back to top |
|
|
Leander89 n00b
Joined: 13 Jul 2008 Posts: 58
|
Posted: Tue Jul 29, 2008 8:08 pm Post subject: |
|
|
I found more info about my problem.
When I type dmesg I found:
MadWifi: unable to attach hardware: 'Hardware didn't respond as expected' (HAL status 3)
I found this on:
http://madwifi.org/wiki/UserDocs/Troubleshooting
Quote: | "HAL Status 3" and ath5k
The pure ath5k driver is generally present in newer kernels and is auto-loaded. Unfortunately, with some hardware, it tries to initialise the Atheros hardware and fails. The HAL is then unable to initialise the hardware properly, or to reset the hardware, giving a "HAL Status 3" message. To prevent this, the ath5k must be stopped from loading and the computer must be rebooted (eww). |
Only thing I need to know at this point, How can I prevent ath5k from loading? |
|
Back to top |
|
|
Leander89 n00b
Joined: 13 Jul 2008 Posts: 58
|
Posted: Wed Jul 30, 2008 12:31 pm Post subject: |
|
|
I found out how to blacklist the ath5k module, but it still seems to be loading at the beginning when loading the kernel.
These are a couple of lines out of dmesg
Quote: |
ath5k_pci 0000:07:00.0: registered as 'phy0'
ath5k phy0: failed to resume the MAC Chip
ACPI: PCI interrupt for device 0000:07:00.0 disabled
ath5k_pci: probe of 0000:07:00.0 failed with error -5 |
Anyone any idea how to prevent it from loading at the beginning or doesn't this show that is loading.
I really did add the "blacklist ath5k" line to the blacklist file I was supposed to add it to. |
|
Back to top |
|
|
mimosinnet l33t
Joined: 10 Aug 2006 Posts: 717 Location: Barcelona, Spain
|
Posted: Tue Aug 05, 2008 11:28 pm Post subject: |
|
|
Leander89 wrote: | I found out how to blacklist the ath5k module, but it still seems to be loading at the beginning when loading the kernel |
You probably have the module defined in your kernel. I also have an atheros card, and I have followed this article in the gentoo wiki, which suggests to disable the kernel module and to use a particular version of madwifi-ng.
Cheers! |
|
Back to top |
|
|
|