Slackware Atheros AR5007 configuration(?) problem and Wifi issues
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Slackware Atheros AR5007 configuration(?) problem and Wifi issues
I think I've finally reached the point where I've exhausted all of my options. I'm running a Compaq A945US laptop with Slackware 12.1 (KDE 3.5), and I'm having some serious issues with my wireless. I finally dug up some information on the card (why does everyone insist on keeping it a secret?) and it's an Atheros AR5007 (or at least according to the very general specifics at HP.com). The lspci shows it as an Atheros AR242x chipset, which narrowed it down to the AR5006EGS or the AR5007. So I hope the AR5007 model is right. Anyway, I've been installing and modprobing like crazy to try and get this thing to work and I think I might have finally gotten it close to a working point. Hopefully someone can tell me where I need to fix something or if I'm completely off track. I've tried both ndiswrapper and madwifi, the lastest madwifi snapshot seems to have the best support and it modprobes nicely (ath_pci), but as far as the wifi being detected, that's just about all that happens. I can use iwconfig to change things like the essid and whatnot, but I can't connect to my network. If someone could help me out with this, I would really appreciate it. Here's my iwconfig and lspci -v.
Code:
root@Yrahcaz:~# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wifi0 no wireless extensions.
ath0 IEEE 802.11g ESSID:"tesnet" Nickname:"Yrahcaz"
Mode:Managed Frequency:2.437 GHz Access Point: 00:1D:7E:56:C3:85
Bit Rate=54 Mb/s Tx-Power=16 dBm Sensitivity=1/1
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=0/70 Signal level=-96 dBm Noise level=-96 dBm
Rx invalid nwid:1018 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Code:
root@Yrahcaz:~# lspci -v
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
Subsystem: Hewlett-Packard Company Unknown device 30d9
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information <?>
Kernel driver in use: agpgart-intel
Kernel modules: intel-agp
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Unknown device 30d9
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at d1000000 (64-bit, non-prefetchable) [size=1M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
I/O ports at 30d0 [size=8]
Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [d0] Power Management version 3
Kernel modules: intelfb
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
Subsystem: Hewlett-Packard Company Unknown device 30d9
Flags: bus master, fast devsel, latency 0
Memory at d1100000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [d0] Power Management version 3
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
Subsystem: Conexant Unknown device 5051
Flags: bus master, fast devsel, latency 0, IRQ 22
Memory at d2400000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel <?>
Capabilities: [130] Root Complex Link <?>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: d1300000-d23fffff
Prefetchable memory behind bridge: 00000000d0000000-00000000d0ffffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [90] Subsystem: Hewlett-Packard Company Unknown device 30d9
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel <?>
Capabilities: [180] Root Complex Link <?>
Kernel driver in use: pcieport-driver
Kernel modules: shpchp
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company Unknown device 30d9
Flags: bus master, medium devsel, latency 0, IRQ 21
I/O ports at 3080 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company Unknown device 30d9
Flags: bus master, medium devsel, latency 0, IRQ 20
I/O ports at 3060 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company Unknown device 30d9
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at 3040 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Unknown device 30d9
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at d2404800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
I/O behind bridge: 00001000-00001fff
Memory behind bridge: d1200000-d12fffff
Capabilities: [50] Subsystem: Hewlett-Packard Company Unknown device 30d9
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
Subsystem: Hewlett-Packard Company Unknown device 30d9
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information <?>
Kernel modules: iTCO_wdt
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03) (prog-if 8a [Master SecP PriP])
Subsystem: Hewlett-Packard Company Unknown device 30d9
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at 01f0 [size=8]
I/O ports at 03f4 [size=1]
I/O ports at 0170 [size=8]
I/O ports at 0374 [size=1]
I/O ports at 30a0 [size=16]
Kernel driver in use: PIIX_IDE
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03) (prog-if 01 [AHCI 1.0])
Subsystem: Hewlett-Packard Company Unknown device 30d9
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 17
I/O ports at 30b8 [size=8]
I/O ports at 30dc [size=4]
I/O ports at 30b0 [size=8]
I/O ports at 30d8 [size=4]
I/O ports at 3020 [size=32]
Memory at d2404000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/2 Enable-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA <?>
Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
Subsystem: Hewlett-Packard Company Unknown device 30d9
Flags: medium devsel, IRQ 19
Memory at d2404c00 (32-bit, non-prefetchable) [size=256]
I/O ports at 3000 [size=32]
Kernel driver in use: i801_smbus
Kernel modules: i2c-i801
01:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
Subsystem: Hewlett-Packard Company Unknown device 137a
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at d1300000 (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
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Virtual Channel <?>
Kernel driver in use: ath_pci
Kernel modules: ath5k, ath_pci
02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Hewlett-Packard Company Unknown device 30d9
Flags: bus master, medium devsel, latency 64, IRQ 16
I/O ports at 1000 [size=256]
Memory at d1200000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Kernel driver in use: 8139too
Kernel modules: 8139too, 8139cp
I can post just about anything else you need. Thanks!
Ok, so I finally played around with it enough that I got it working, with a little help from my brother. So for all you sports fans out there who have the same problem: here's what solved it for me.
I'm guessing by now you've followed the plethora of madwifi links and have finally achieved that wonderful detection of your hardware, so I'll pick up where that leaves off. It should work just dandy for WEP, but for those of us who have brothers who write articles about wireless security, we use WPA.
So here's what you have to do:
1. add the passphrase into your wpa suplicant conf:
$bash: wpa_passphrase SSID 'yourkey' >> /etc/wpa_supplicant.conf
2. run wpa_supplicant:
$bash: wpa_supplicant -B -iath0 -Dwext -c/etc/wpa_supplicant.conf
3. after that's done, you'll need to get an ip from the dhcp (if that's the way you roll...)
$bash: dhcpcd -n ath0
and you should be good to go. Hope this helps another poor soul who ended up in my boat!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.