View previous topic :: View next topic |
Author |
Message |
r420r n00b
Joined: 03 Sep 2006 Posts: 38
|
Posted: Thu Sep 20, 2007 11:13 am Post subject: AR5006EG 802.11 b/g Wireless doesnt work at gentoo |
|
|
i cant connect with wireless to internet
04:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 01)
h4x0r isaac # ifconfig -a
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx//i hide my eternet
inet addr:192.168.1.36 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: xxx::xxx:xxx:xxx:xxx/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:96440 errors:0 dropped:0 overruns:0 frame:0
TX packets:14606 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17201934 (16.4 Mb) TX bytes:2213157 (2.1 Mb)
Interrupt:18 Base address:0xc000
ip6tnl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:1460 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)
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)
h4x0r isaac #
------------------------
h4x0r isaac # iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
ip6tnl0 no wireless extensions.
h4x0r isaac #
-------------------------
h4x0r isaac # lsmod
Module Size Used by
i915 18944 2
drm 55700 3 i915
snd_seq_oss 22912 0
snd_seq_midi_event 4480 1 snd_seq_oss
snd_seq 32336 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 5516 2 snd_seq_oss,snd_seq
snd_pcm_oss 30624 0
snd_mixer_oss 13056 1 snd_pcm_oss
rtc 9880 0
ath_pci 72352 0
wlan 141892 1 ath_pci
snd_hda_intel 196632 0
ath_hal 176976 1 ath_pci
snd_pcm 44420 2 snd_pcm_oss,snd_hda_intel
snd_timer 15108 2 snd_seq,snd_pcm
snd 30436 8 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer
snd_page_alloc 7048 2 snd_hda_intel,snd_pcm
yenta_socket 19340 0
rsrc_nonstatic 9984 1 yenta_socket
pcmcia_core 24212 2 yenta_socket,rsrc_nonstatic
intelfb 28324 0
i2c_algo_bit 5124 1 intelfb
tifm_7xx1 6144 0
tifm_core 6404 1 tifm_7xx1
sdhci 13708 0
mmc_core 18180 1 sdhci
i2c_i801 7184 0
i2c_core 14336 3 intelfb,i2c_algo_bit,i2c_i801
intel_agp 18068 1
agpgart 19796 4 drm,intelfb,intel_agp
tg3 90244 0
e1000 93120 0
nfs 90944 0
lockd 47496 1 nfs
sunrpc 114812 2 nfs,lockd
jfs 144748 0
dm_mirror 16768 0
dm_mod 37824 1 dm_mirror
scsi_wait_scan 1792 0
pdc_adma 6788 0
sata_mv 14472 0
ata_piix 10884 0
ahci 15748 0
sata_qstor 7172 0
sata_vsc 6788 0
sata_uli 5764 0
sata_sis 7172 0
pata_sis 9988 1 sata_sis
sata_sx4 10372 0
sata_nv 14468 0
sata_via 8964 0
sata_svw 6020 0
sata_sil24 11012 0
sata_sil 8456 0
sata_promise 9348 0
libata 77620 16 pdc_adma,sata_mv,ata_piix,ahci,sata_qstor,sata_vsc,sata_uli,sata_sis,pata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil24,sata_sil,sata_promise
sbp2 17416 0
ohci1394 28208 0
ieee1394 56632 2 sbp2,ohci1394
sl811_hcd 10112 0
usbhid 21088 0
ohci_hcd 16644 0
uhci_hcd 18956 0
usb_storage 59840 0
ehci_hcd 24332 0
usbcore 86024 7 sl811_hcd,usbhid,ohci_hcd,uhci_hcd,usb_storage,ehci_hcd
h4x0r isaac #
h4x0r isaac # uname -a
Linux h4x0r 2.6.22-gentoo-r5 #1 SMP Wed Sep 19 01:24:18 GMT 2007 i686 Genuine Intel(R) CPU T2130 @ 1.86GHz GenuineIntel GNU/Linux
h4x0r isaac #
Best Regards,
r420r _________________ hexbox ~ # uname -a
Linux hexbox 2.6.17-gentoo-r8 #2 SMP Fri Sep 22 04:47:26 EEST 2006 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GNU/Linux |
|
Back to top |
|
|
dr_cerebro n00b
Joined: 20 Sep 2007 Posts: 5
|
Posted: Thu Sep 20, 2007 5:54 pm Post subject: Same problem |
|
|
Same problem here, same devices. _________________ Everything is gonna be fine, just don´t press <Enter>, Ok? |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9882 Location: almost Mile High in the USA
|
Posted: Thu Sep 20, 2007 6:08 pm Post subject: |
|
|
ifconfig ath0 ?
what's showing up in dmesg dealing with detection when that atheros (madwifi?) driver gets insmodded? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
Hara Apprentice
Joined: 25 Jan 2004 Posts: 162
|
Posted: Thu Sep 20, 2007 6:28 pm Post subject: |
|
|
For me I solved this problem by turning on the switch for wireless on my laptop and then reloading module ath_pci. The light was always on so I assumed it was already on, apparently, that wasn't true.
My problem is my wireless config is not working right on boot. I have to type "ifconfig ath0 up" or else in the end, dhcpcd ath0 up won't work in the end. _________________ Hara
(Mandrake->Slackware->LFS(Never Finished)->Gentoo) |
|
Back to top |
|
|
r420r n00b
Joined: 03 Sep 2006 Posts: 38
|
Posted: Thu Sep 20, 2007 8:19 pm Post subject: |
|
|
eccerr0r wrote: | ifconfig ath0 ?
what's showing up in dmesg dealing with detection when that atheros (madwifi?) driver gets insmodded? |
h4x0r isaac # ifconfig ath0
ath0: error fetching interface information: Device not found
h4x0r isaac #
dmesg says notihing about that _________________ hexbox ~ # uname -a
Linux hexbox 2.6.17-gentoo-r8 #2 SMP Fri Sep 22 04:47:26 EEST 2006 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GNU/Linux |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9882 Location: almost Mile High in the USA
|
Posted: Thu Sep 20, 2007 11:59 pm Post subject: |
|
|
So there's absolutely no indication of atheros driver and ath0 in your dmesg?
starting to smell like the driver doesn't know about your card...odd... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
Monkeh Veteran
Joined: 06 Aug 2005 Posts: 1656 Location: England
|
Posted: Fri Sep 21, 2007 7:26 am Post subject: |
|
|
r420r wrote: | dmesg says notihing about that |
That's not possible if you have ath_pci loaded. Just paste the whole output. |
|
Back to top |
|
|
sebastian1234 n00b
Joined: 24 Aug 2007 Posts: 4
|
Posted: Fri Sep 21, 2007 7:48 am Post subject: |
|
|
Did you make a symbolic link to net.lo in /etc/init.d ?
If not, try it:
Code: | #ln -s /etc/init.d/net.lo /etc/init.d/net.ath0 |
And paste your /etc/conf.d/net please. |
|
Back to top |
|
|
Monkeh Veteran
Joined: 06 Aug 2005 Posts: 1656 Location: England
|
Posted: Fri Sep 21, 2007 7:55 am Post subject: |
|
|
sebastian1234 wrote: | Did you make a symbolic link to net.lo in /etc/init.d ?
If not, try it:
Code: | #ln -s /etc/init.d/net.lo /etc/init.d/net.ath0 |
And paste your /etc/conf.d/net please. |
There isn't an ath0 for the net script to work with. Please read before posting.. |
|
Back to top |
|
|
StringCheesian l33t
Joined: 21 Oct 2003 Posts: 887
|
|
Back to top |
|
|
r420r n00b
Joined: 03 Sep 2006 Posts: 38
|
Posted: Sun Sep 23, 2007 7:30 pm Post subject: |
|
|
04:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
Subsystem: Askey Computer Corp. Unknown device 7128
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 16
Region 0: Memory at d8000000 (64-bit, non-prefetchable) [disabled] [size=64K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Address: 00000000 Data: 0000
Capabilities: [60] Express Legacy Endpoint IRQ 0
Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
Device: Latency L0s <512ns, L1 <64us
Device: AtnBtn- AtnInd- PwrInd-
Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
Device: MaxPayload 128 bytes, MaxReadReq 512 bytes
Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s L1, Port 0
Link: Latency L0s <512ns, L1 <64us
Link: ASPM Disabled RCB 128 bytes CommClk- ExtSynch-
Link: Speed 2.5Gb/s, Width x1
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Vector table: BAR=0 offset=00000000
PBA: BAR=0 offset=00000000
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel _________________ hexbox ~ # uname -a
Linux hexbox 2.6.17-gentoo-r8 #2 SMP Fri Sep 22 04:47:26 EEST 2006 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GNU/Linux |
|
Back to top |
|
|
r420r n00b
Joined: 03 Sep 2006 Posts: 38
|
Posted: Sun Sep 23, 2007 7:43 pm Post subject: |
|
|
Monkeh wrote: | r420r wrote: | dmesg says notihing about that |
That's not possible if you have ath_pci loaded. Just paste the whole output. |
h4x0r ~ # tail -f /var/log/messages &
h4x0r ~ # lsmod|grep ath
ath_pci 73376 0
wlan 142916 1 ath_pci
ath_hal 178000 1 ath_pci
h4x0r ~ # ifconfig ath0
ath0: error fetching interface information: Device not found
h4x0r ~ #
it telling nothing... _________________ hexbox ~ # uname -a
Linux hexbox 2.6.17-gentoo-r8 #2 SMP Fri Sep 22 04:47:26 EEST 2006 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GNU/Linux |
|
Back to top |
|
|
mike_DC n00b
Joined: 27 Aug 2007 Posts: 7
|
Posted: Mon Sep 24, 2007 12:07 am Post subject: |
|
|
I found that the order of module loading was important. Try loading ath_pci last. That is, after all other wlan and ath modules that you want. Don't worry about hal, it is a dependancy. I'll post my order when I next get a chance if you still need help.
EDIT: Here is the order I have mine in. Kernel 2.6.22-r5
tux ~ # cat /etc/modules.autoload.d/kernel-2.6
# /etc/modules.autoload.d/kernel-2.6: kernel modules to load when system boots.
#
# Note that this file is for 2.6 kernels.
#
# Add the names of modules that you'd like to load when the system
# starts into this file, one per line. Comments begin with # and
# are ignored. Read man modules.autoload for additional details.
# For example:
# aic7xxx
snd
snd-pcm
snd-seq
snd-seq-device
snd-seq-oss
snd-pcm-oss
snd-mixer-oss
snd-ens1371
#for the wireless
ath-rate-sample
wlan-scan-sta
wlan-ccmp
ath-pci
#EOF
Mike |
|
Back to top |
|
|
Monkeh Veteran
Joined: 06 Aug 2005 Posts: 1656 Location: England
|
Posted: Mon Sep 24, 2007 11:03 am Post subject: |
|
|
Sigh.
Paste the output of the command dmesg. |
|
Back to top |
|
|
r420r n00b
Joined: 03 Sep 2006 Posts: 38
|
Posted: Fri Sep 28, 2007 10:55 am Post subject: |
|
|
Monkeh wrote: | Sigh.
Paste the output of the command dmesg. |
ath_hal: disagrees about version of symbol struct_module
wlan: disagrees about version of symbol struct_module
ath_pci: disagrees about version of symbol struct_module
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
wlan: 0.8.4.2 (0.9.3.2)
ath_pci: no version for "ieee80211_encap" found: kernel tainted.
ath_pci: 0.9.4.5 (0.9.3.2)
ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 17 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:04:00.0 to 64
wifi%d: unable to attach hardware: 'Hardware revision not supported' (HAL status 13) _________________ hexbox ~ # uname -a
Linux hexbox 2.6.17-gentoo-r8 #2 SMP Fri Sep 22 04:47:26 EEST 2006 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GNU/Linux |
|
Back to top |
|
|
Monkeh Veteran
Joined: 06 Aug 2005 Posts: 1656 Location: England
|
Posted: Fri Sep 28, 2007 12:30 pm Post subject: |
|
|
Your card isn't supported. |
|
Back to top |
|
|
r420r n00b
Joined: 03 Sep 2006 Posts: 38
|
Posted: Sat Sep 29, 2007 4:33 pm Post subject: |
|
|
Monkeh wrote: | Your card isn't supported. |
you think when it will suppot it? _________________ hexbox ~ # uname -a
Linux hexbox 2.6.17-gentoo-r8 #2 SMP Fri Sep 22 04:47:26 EEST 2006 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GNU/Linux |
|
Back to top |
|
|
Monkeh Veteran
Joined: 06 Aug 2005 Posts: 1656 Location: England
|
Posted: Sat Sep 29, 2007 9:39 pm Post subject: |
|
|
r420r wrote: | Monkeh wrote: | Your card isn't supported. |
you think when it will suppot it? |
How should I know? |
|
Back to top |
|
|
r420r n00b
Joined: 03 Sep 2006 Posts: 38
|
Posted: Sat Sep 29, 2007 10:06 pm Post subject: |
|
|
Monkeh wrote: | r420r wrote: | Monkeh wrote: | Your card isn't supported. |
you think when it will suppot it? |
How should I know? |
=) ok _________________ hexbox ~ # uname -a
Linux hexbox 2.6.17-gentoo-r8 #2 SMP Fri Sep 22 04:47:26 EEST 2006 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GNU/Linux |
|
Back to top |
|
|
r420r n00b
Joined: 03 Sep 2006 Posts: 38
|
Posted: Sun Sep 30, 2007 4:19 pm Post subject: |
|
|
hi again
i try ndiswrapper it doesnt work..
h4x0r isaac # ndiswrapper -i ar5211.sys
installing ar5211.sys ...
couldn't find SourceDisksFiles section - continuing anyway...
couldn't get manufacturer section - installation may be incomplete
h4x0r isaac #
h4x0r isaac # ndiswrapper -l
ar5211.sys : invalid driver!
---------------------------------- _________________ hexbox ~ # uname -a
Linux hexbox 2.6.17-gentoo-r8 #2 SMP Fri Sep 22 04:47:26 EEST 2006 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GNU/Linux |
|
Back to top |
|
|
StringCheesian l33t
Joined: 21 Oct 2003 Posts: 887
|
Posted: Sun Sep 30, 2007 8:44 pm Post subject: |
|
|
You're supposed to run ndiswrapper like that on an .inf file, with any other files the inf came with (like maybe that .sys file) in the same directory. |
|
Back to top |
|
|
Tatewaki n00b
Joined: 13 Jun 2005 Posts: 38 Location: Denmark
|
Posted: Sun Sep 30, 2007 9:25 pm Post subject: |
|
|
okay i got some of the same problem with my Atheros card.
lspci gives: 05:08.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01) and that is a netgear wpn311
i got ath_pci loaded with modprobe and it dose not giv me a error.
I know one that has the exact same card and it works, the only diffrens we found was that he was using gentoo-sources 2.6.22-gentoo-r5 and i was using r7
what can the problem be? If anyone wanna have more info (dmesg etc.) then please say so. i got this card to make a wireless access point so i like to get this to work. _________________ Do we watch anime to live or do we live to watch anime? |
|
Back to top |
|
|
r420r n00b
Joined: 03 Sep 2006 Posts: 38
|
|
Back to top |
|
|
StringCheesian l33t
Joined: 21 Oct 2003 Posts: 887
|
Posted: Mon Oct 01, 2007 7:17 pm Post subject: |
|
|
Try one from here: http://www.atheros.cz/
Somebody linked there in a madwifi ticket. I'm using one from that site and it seems to be working perfectly, but that's as far as I can vouch for that site's trustworthiness. For all I know they could've been tampered with, so beware.
If you have Windows installed, you can probably find the driver in WINDOWS/system32, probably named "net5211.*" or somthing like that. |
|
Back to top |
|
|
r420r n00b
Joined: 03 Sep 2006 Posts: 38
|
Posted: Wed Oct 03, 2007 10:25 am Post subject: |
|
|
StringCheesian wrote: |
Try one from here: http://www.atheros.cz/
Somebody linked there in a madwifi ticket. I'm using one from that site and it seems to be working perfectly, but that's as far as I can vouch for that site's trustworthiness. For all I know they could've been tampered with, so beware.
If you have Windows installed, you can probably find the driver in WINDOWS/system32, probably named "net5211.*" or somthing like that. |
i got only that
isaac@h4x0r /windows/c/WINDOWS/system32 $ find -name *5211.*
./drivers/ar5211.sys
isaac@h4x0r /windows/c/WINDOWS/system32 $
that is only sys file... _________________ hexbox ~ # uname -a
Linux hexbox 2.6.17-gentoo-r8 #2 SMP Fri Sep 22 04:47:26 EEST 2006 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GNU/Linux |
|
Back to top |
|
|
|