You are not logged in.

#1 2006-10-21 04:00:26

davidwillis
Member
Registered: 2006-09-19
Posts: 51

atheros wifi

I can't get my wifi working.  it is an atheros card on my laptop.

I tried following the wiki here http://wiki.archlinux.org/index.php/Wireless_Setup

But I don't seem to have my device set up or something.

here is my hwd -id output

# hwd -id
VENDOR & DEVICE IDs
Code    vend:dev  Description (module)
00:00.0 1002:cab3 Host bridge: ATI Technologies Inc.|RS250/RS250M AGP Bridge (ati-agp)
00:01.0 1002:7010 PCI bridge: ATI Technologies Inc.|PCI Bridge [IGP 340M] (unknown)
00:13.0 1002:4347 USB Controller: ATI Technologies Inc.|OHCI USB Controller #1 (unknown)
00:13.1 1002:4348 USB Controller: ATI Technologies Inc.|OHCI USB Controller #2 (unknown)
00:13.2 1002:4345 USB Controller: ATI Technologies Inc.|EHCI USB Controller (unknown)
00:14.0 1002:4353 SMBus: ATI Technologies Inc.|SMBus (i2c-piix4)
00:14.1 1002:4349 IDE interface: ATI Technologies Inc.|Dual Channel Bus Master PCI IDE Controller (atiixp)
00:14.3 1002:434c ISA bridge: ATI Technologies Inc.|IXP150/200 LPC Controller (unknown)
00:14.4 1002:4342 PCI bridge: ATI Technologies Inc.|IXP150/200 HUB Bridge (unknown)
00:14.5 1002:4341 Multimedia audio controller: ATI Technologies Inc.|IXP150/200 AC'97 Audio Controller (snd-atiixp)
00:14.6 1002:434d Modem: ATI Technologies Inc.|IXP AC'97 Modem (snd-atiixp-modem)
01:05.0 1002:4437 VGA compatible controller: ATI Technologies Inc.|Radeon Mobility 7000 IGP 4437 (vesa)
02:04.0 168c:0013 Ethernet controller: Atheros Communications Inc.|AR5213 802.11a/b/g Wireless Adapter (ath_pci)
02:06.0 104c:ac50 CardBus bridge: Texas Instruments|PCI1410 PC card Cardbus Controller (yenta_socket)
02:07.0 10ec:8139 Ethernet controller: Realtek Semiconductor|TTP-Monitoring Card V2.0 (8139too)
002:001 0000:0000 USB Hub: Virtual|Hub (hub)
003:001 0000:0000 USB Hub: Virtual|Hub (hub)
001:001 0000:0000 USB Hub: Virtual|Hub (hub)
---:--- ----:---- Mouse: Generic PS/2 Wheel Mouse [/dev/psaux] (msintellips/2)


here is the last part of my dmesg output

ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
wlan: 0.8.4.2 (0.9.2)
ath_rate_sample: 1.2 (0.9.2)
ath_pci: 0.9.4.5 (0.9.2)
atiixp: no codec available
piix4_smbus 0000:00:14.0: Found 0000:00:14.0 device
ACPI: PCI Interrupt 0000:02:04.0[A] -> GSI 17 (level, low) -> IRQ 17
Synaptics Touchpad, model: 1, fw: 5.9, id: 0xa56eb1, caps: 0x804713/0x0
synaptics: Toshiba Satellite A65 detected, limiting rate to 40pps.
input: SynPS/2 Synaptics TouchPad as /class/input/input2
wifi%d: unable to collect channel list from hal; regdomain likely 100 country code 840
ACPI: PCI Interrupt 0000:00:14.6[B] -> GSI 17 (level, low) -> IRQ 17
MC'97 1 converters and GPIO not ready (0xf000)
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp 0000:02:07.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
8139cp 0000:02:07.0: Try the "8139too" driver instead.
8139too Fast Ethernet driver 0.9.27
ACPI: PCI Interrupt 0000:02:07.0[A] -> GSI 18 (level, low) -> IRQ 19
eth0: RealTek RTL8139 at 0xcca04000, 00:a0:d1:d9:fa:d2, IRQ 19
eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
Yenta: CardBus bridge found at 0000:02:06.0 [1179:ff10]
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:02:06.0, mfunc 0x01111122, devctl 0x64
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
Yenta: ISA IRQ mask 0x0c78, PCI irq 16
Socket status: 30000006
Yenta: Raising subordinate bus# of parent bus (#02) from #02 to #06
pcmcia: parent PCI bridge I/O window: 0xa000 - 0xbfff
cs: IO port probe 0xa000-0xbfff: clean.
pcmcia: parent PCI bridge Memory window: 0xd0000000 - 0xdfffffff
pcmcia: parent PCI bridge Memory window: 0x90000000 - 0x9fffffff
cs: IO port probe 0x100-0x3af: excluding 0x300-0x307 0x310-0x317
cs: IO port probe 0x3e0-0x4ff: clean.
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: excluding 0xc00-0xc07 0xc10-0xc17 0xc50-0xc57 0xc68-0xc6f 0xcd0-0xcd7
cs: IO port probe 0xa00-0xaff: clean.
Real Time Clock Driver v1.12ac
ts: Compaq touchscreen protocol output
lp0: using parport0 (interrupt-driven).
ppdev: user-space parallel port driver
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 377516k swap on /dev/hda3.  Priority:-1 extents:1 across:377516k
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
eth0: no IPv6 routers present
pcmcia: Detected deprecated PCMCIA ioctl usage from process: lshwd.
pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools.
pcmcia: see http://www.kernel.org/pub/linux/utils/k … cmcia.html for details.
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: no IPv6 routers present
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: no IPv6 routers present
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: no IPv6 routers present

here is my rc.conf

lo="lo 127.0.0.1"

eth0="dhcp"
ath0="dhcp"
INTERFACES=(lo eth0 ath0)

#eth0="dhcp"
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
#INTERFACES=(lo eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

and my wireless

wlan_wlan0="ath0 mode managed essid FishersOfMen MyEssid key xxxxxxxxxx"
WLAN_INTERFACES=(ath0)


I have used madwifi on this laptop with other linux distributions, and I always use ath0 for the divice.  But I don't see it in dmesg.  I am not sure what to do at this point.

Thanks.  And sorry this post is so long.

Offline

#2 2006-10-22 00:36:36

davidwillis
Member
Registered: 2006-09-19
Posts: 51

Re: atheros wifi

Do I have to run makemenuconfig or something?  I didn't think I would have to do that, but I guess I could try.

Offline

#3 2006-10-22 05:46:53

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: atheros wifi

make:
wlan_wlan0

wlan_ath0

Offline

#4 2006-10-22 10:26:44

benplaut
Member
Registered: 2006-06-13
Posts: 383

Re: atheros wifi

.

Last edited by benplaut (2021-06-25 12:37:02)

Offline

#5 2006-10-22 15:11:00

davidwillis
Member
Registered: 2006-09-19
Posts: 51

Re: atheros wifi

make:
wlan_wlan0

wlan_ath0

I am not sure how to do that.  Do you mean to run make wlan_wlan0?  I tried that, and it gave me:

# make wlan_wlan0
make: *** No rule to make target `wlan_wlan0'.  Stop.

here are the iwconfig, and ifconfig outputs:

# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.

# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:A0:D1:D9:FA:D2
          inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::2a0:d1ff:fed9:fad2/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:498 errors:0 dropped:0 overruns:0 frame:0
          TX packets:244 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:335336 (327.4 Kb)  TX bytes:29418 (28.7 Kb)
          Interrupt:19 Base address:0x4000

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:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:600 (600.0 b)  TX bytes:600 (600.0 b)

sit0      Link encap:UNSPEC  HWaddr 00-00-00-00-31-00-00-00-00-00-00-00-00-00-00-00
          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)

Offline

#6 2006-10-22 15:32:37

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: atheros wifi

davidwillis wrote:

make:
wlan_wlan0

wlan_ath0

I am not sure how to do that.  Do you mean to run make wlan_wlan0?  I tried that, and it gave me:

He means change

wlan_wlan0="ath0 mode managed essid FishersOfMen MyEssid key xxxxxxxxxx"
WLAN_INTERFACES=(ath0)

into

wlan_ath0="ath0 mode managed essid FishersOfMen MyEssid key xxxxxxxxxx"
WLAN_INTERFACES=(ath0)

Offline

#7 2006-10-22 19:43:55

davidwillis
Member
Registered: 2006-09-19
Posts: 51

Re: atheros wifi

Ok, that was dumb of me.  Anyway, I changed it, but I am still getting the same results.

Offline

#8 2006-10-22 20:01:59

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: atheros wifi

what's the output of

lsmod | grep ath

You might also want to set up a network profile for it - they're in /etc/network-profiles/

Copy the template, give it a name, fill it out, and add it to NET_PROFILES in /etc/rc.conf - this is how I set up my madwifi card on my gf's PC and it worked well.

Offline

#9 2006-10-22 20:41:50

benplaut
Member
Registered: 2006-06-13
Posts: 383

Re: atheros wifi

.

Last edited by benplaut (2021-06-25 12:36:45)

Offline

#10 2006-10-23 00:04:46

god
Member
Registered: 2004-12-01
Posts: 25

Re: atheros wifi

I've been using the MadWiFi drivers for my ThinkPad T43 with Arch flawlessly for over a year, now. I chose to update a few days ago, though, and now I'm suffering from issues as well.

I can `ifconfig ath0 up && iwconfig ath0 essid MyEssid channel 6 mode managed key xxxxxxxxxx` just fine. I can't get an address, though. I've tried absolutely everything. I can see every AP in my neighborhood. I can set up the connection and even occasionally get associated. But DHCP will not work.

I've tried using dhclient, I've reconfigured my AP, I've even manually written the routes and guessed at IP addresses I can use... to no avail. I've tried everything I can think of and I'm positive someone else has to be suffering, too.

Help?

Thanks.

Offline

#11 2006-10-23 01:44:31

davidwillis
Member
Registered: 2006-09-19
Posts: 51

Re: atheros wifi

Cerebral wrote:

what's the output of

lsmod | grep ath

You might also want to set up a network profile for it - they're in /etc/network-profiles/

Copy the template, give it a name, fill it out, and add it to NET_PROFILES in /etc/rc.conf - this is how I set up my madwifi card on my gf's PC and it worked well.

# lsmod | grep ath
ath_pci                87328  0
ath_rate_sample        13440  1 ath_pci
wlan                  185308  2 ath_pci,ath_rate_sample
ath_hal               190032  2 ath_pci,ath_rate_sample

I will give the rest a try tomorrow, but it looks like it just doesn't see my card.

Offline

#12 2006-10-23 10:36:42

once
Member
From: Taiwan
Registered: 2006-09-12
Posts: 268

Re: atheros wifi

in my case

wlan_ath0="ath0 mode managed essid FishersOfMen MyEssid key xxxxxxxxxx"
#WLAN_INTERFACES=(ath0)

Offline

#13 2006-10-24 22:28:31

subatomic
Member
From: Berlin
Registered: 2005-06-26
Posts: 180

Re: atheros wifi

just did an kernel update and can't load ath_pci (although I've updated quite often since 2.6.10)

anyway I just read this on madwifi.org

**important on kernel versions greater than 2.6.10 you need to set pci=routeirq parameter to the kernel otherwise it would not possible to load station (client) otherwise you cannot connect to any wifi network. (24.10.2006)

maybe someone can explain this message?

edit: after this post I just reinstalled 0.9.2-2 and loaded the module w/o problem

Offline

#14 2007-02-02 13:51:21

fingerpicker
Member
From: germany
Registered: 2007-01-11
Posts: 14

Re: atheros wifi

i got quiet the same issue, got a IBM thinkpad t41, aetheron 5212 and installed yesterday the arch 0.8 preview version (cause i had issues with kernel panic with my ibm thinkcentre with the other version)
well hwd -id tells me device ought to be athX but it doesn't detect it...

Offline

#15 2007-02-02 18:22:25

colnago
Member
From: Victoria, BC
Registered: 2004-03-25
Posts: 438

Re: atheros wifi

I would try compiling the madwifi driver rather than using the arch version.  I think this was required for some cards in the past, but I am on 64 bit so maybe it was something about that.

Offline

#16 2007-02-02 22:26:54

fingerpicker
Member
From: germany
Registered: 2007-01-11
Posts: 14

Re: atheros wifi

would be something to try... so gonna do that, gonna report if it solved my problem

Offline

#17 2007-02-04 17:42:34

colnago
Member
From: Victoria, BC
Registered: 2004-03-25
Posts: 438

Re: atheros wifi

Hi,

I notice that I am using madwifi-ng-r1850-20061209, I remember I tried madwifi-ng-r1871-20061229 but there were compile errors (kernel26 2.6.19.2-1 on arch 64).

To get this going I removed the arch madwifi package.  I downloaded the source here:  http://snapshots.madwifi.org/madwifi-ng/  and then tar -vxf madwifi-ng... ; cd madwifi-ng... ; make; make install.

Then changed /etc/rc.conf:  ... MODULES=(ath_pci) ... ath0="ath0 192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255" ... INTERFACES=(lo ath0)

Also, the usual wireless config changes.  wlan_ath0="ath0 essid ...

Maybe you know about this already, just in case it helps.

Edit: I just tried the newest build (madwifi-ng-r2069-20070203.tar.gz) and it seems to work.

Last edited by colnago (2007-02-04 17:48:19)

Offline

#18 2007-02-06 22:14:39

fingerpicker
Member
From: germany
Registered: 2007-01-11
Posts: 14

Re: atheros wifi

I tried to install the madwifi-ng drivers but its still the same problem... device not found hmm (gonne try the latestversion of the drivers tomorrow, today i used the r1871 20061229...)

but thx for the hint

Offline

#19 2007-02-23 23:27:06

saintshakajin
Member
Registered: 2005-04-13
Posts: 32

Re: atheros wifi

I've also an Atheros (AR5006X).
Issue:

wifi%d: unable to attach hardware: 'Hardware self-test failed' (HAL status 14)

But when I read some previous posts, I begin to understand (I think)

subatomic wrote:

just did an kernel update and can't load ath_pci (although I've updated quite often since 2.6.10)

anyway I just read this on madwifi.org

    **important on kernel versions greater than 2.6.10 you need to set pci=routeirq parameter to the kernel otherwise it would not possible to load station (client) otherwise you cannot connect to any wifi network. (24.10.2006)

maybe someone can explain this message?

edit: after this post I just reinstalled 0.9.2-2 and loaded the module w/o problem

Is it a way to specify the BUS?

Offline

Board footer

Powered by FluxBB