ath card problem
kalin mintchev
kalin at el.net
Sun Jul 25 21:12:56 PDT 2004
hi Geoff..
thanks. your recipe worked. except the server i used to ping while doing
all the tests - my mail server (and only my mail server) - is no longer
accessible from my laptop?! - host is down (down my ...!). and only from
the laptop. and only with the ath0. i'm replying from another machine on
the same network with an ip one behind my laptop that reaches my mail
server interface just fine.
apparently the atheros driver for freebsd has a lot to improve still. i
probably could've bought another card and spare me the 12 or so hours of
agony of recompiling kernel and ifconfig/wicontrol/ath hell.
i'm used to do all this stuff but not for such a long time to get one wifi
card to see every machine on the internet except my mail server...
thank you, i really appreciate your help...
> I had this same problem on my laptop with an rl card and the ath as a
> pcmcia card, if I use the rc.conf to setup the ath0 card and not do
> anything with the rl0 then all is fine.
> When you take the xl0 down, you will also need to redefine your default
> gateway route as that seems to get associated with a particular card, so
> what I would have to do is take the rl0 card down with ifconfig, then
> bring the ath0 up and set its ip, netmask, ssid, wepkey and so on then
> modify the default route entry by
> route change default <ipaddress of router>
>
> if that doesnt work then
> route flush
> route add default <ipaddress of router>
>
> you can see the default route by entering
> netstat -rn
> It should be called default and have a G as one of its flags.
>
> Hope that helps
> - Geoff
>
> kalin mintchev wrote:
>> now this is what i do:
>> both cards come up;
>> i turn xl0 down - if i don't and try to associate ath0 i get:
>> ifconfig: ioctl (SIOCAIFADDR): File exists ;
>> with the xl0 down i do:
>> ifconfig ath0 inet 192.168.1.21 netmask 255.255.255.0 ssid apname; ping
>> to
>> 192.168.1.1 works;
>> ping to anywhere outside does NOT work i get:
>> ping: sendto: Network is down
>> !?!?
>> i don't know why..
>>
>> then i bring the xl0 up ping outside works fine with it.
>>
>> help?!
>>
>>
>>
>>>some additional information from the log
>>> kernel: arp: 192.168.1.3 is on ath0 but got reply from
>>
>> 00:0b:5f:32:72:48
>>
>>>on xl0
>>>Jul 24 18:39:50 host kernel: ath0: hardware error; resetting
>>>Jul 24 18:39:50 host kernel: ath0: ath_reset: unable to reset hardware;
>>
>> hal status 3
>>
>>>Jul 24 18:39:53 host kernel: arp: 192.168.1.3 is on ath0 but got reply
>>
>> from 00:0b:5f:32:72:48 on xl0
>>
>>>Jul 24 18:40:23 host last message repeated 4 times
>>>Jul 24 18:42:23 host last message repeated 17 times
>>>output from arp -a returns only:
>>>? (192.168.1.1) at 00:0f:66:8b:60:13 on xl0 [ethernet]
>>>and arp -i ath0 -a returns nothing
>>>both cards have the same irq 11 at boot. i took 11 out of the
>>
>> pccard.conf
>>
>>>but it still comes up as 11
>>>can anybody help please...
>>>thanks
>>>more:
>>>about xl0 from dmesg:
>>>xl0: <3Com 3c556B Fast Etherlink XL> port 0x1800-0x18ff mem
>>>0xe8101000-0xe810107f,0xe8101400-0xe810147f irq 11 at device 3.0 on pci0
>>
>> xl0: chip is in D3 power mode -- setting to D0
>>
>>>xl0: Ethernet address: 00:00:86:43:54:46
>>>miibus0: <MII bus> on xl0
>>>about ath0 from dmesg:
>>>ath0: <Atheros 5212> mem 0x88000000-0x8800ffff irq 11 at device 0.0 on
>>
>> cardbus0
>>
>>>ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
>>>ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
>>
>> ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
>>
>>>ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
>>
>> 24Mbps 36Mbps 48Mbps 54Mbps
>>
>>>ath0: turbo rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
>>
>> ath0: 802.11 address: 00:80:c8:16:eb:4b
>>
>>>>hi all..
>>>>i'm having trouble getting an ath card to work properly
>>>>ifconfig output:
>>>>ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>>>> inet6 fe80::280:c8ff:fe16:eb4b%ath0 prefixlen 64 scopeid 0x4
>>>> ether 00:80:c8:16:eb:4b
>>>> media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps)
>>>> status: associated
>>>> ssid accesspoint 1:accesspoint
>>>> channel 6 authmode OPEN powersavemode OFF powersavesleep 100
>>>> wepmode OFF weptxkey 1
>>>>output of wicontrol:
>>>>C serial number: [ ]
>>>>Station name: [ myhost ]
>>>>SSID for IBSS creation: [ accesspoint ]
>>>>Current netname (SSID): [ accesspoint ]
>>>>Desired netname (SSID): [ accesspoint ]
>>>>Current BSSID: [ 00:0f:66:8b:60:13 ]
>>>>Channel list: [ ffe 0 1510 1515 1 0 0 0 0 2320 23 ]
>>>>IBSS channel: [ 6 ]
>>>>Current channel: [ 6 ]
>>>>Comms quality/signal/noise: [ 0 32 0 ]
>>>>Promiscuous mode: [ Off ]
>>>>Intersil-Prism2 based card: [ 1 ]
>>>>Port type (1=BSS, 3=ad-hoc): [ 1 ]
>>>>MAC address: [ 00:80:c8:16:eb:4b ]
>>>>TX rate (selection): [ 0 ]
>>>>TX rate (actual speed): [ 11 ]
>>>>RTS/CTS handshake threshold: [ 2312 ]
>>>>Create IBSS: [ Off ]
>>>>Access point density: [ 1 ]
>>>>Power Mgmt (1=on, 0=off): [ 0 ]
>>>>Max sleep time: [ 100 ]
>>>>WEP encryption: [ Off ]
>>>>TX encryption key: [ 1 ]
>>>>Encryption keys: [ ][ ][ ][ ]
>>>>it dies see the router because it has status: associated and the
>>
>> channel
>>
>>>>setting is the one off the accesspoint.
>>>>when i turn the nic off and try to ping out i get:
>>>>ping: sendto: Network is down.
>>>>network is not down because if i turn the nic on again i can do the
>>>> ping.
>>>>the router is common syslink one and the wireless setup is the
>>>>basic/default one with no wep yet.
>>>>i should say that the card was able to ping th router when the nic card
>>
>> didn't come up - that happens sometimes on this machine - t20 thinkpad.
>> freebsd 5.2.1
>>
>>>>is it an irq thing between the two cards?
>>>>what else needs to be done in order to get the card working?
>>>>thanks...
>>>>_______________________________________________
>>>>freebsd-mobile at freebsd.org mailing list
>>>>http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
>>>>To unsubscribe, send any mail to
>>>>"freebsd-mobile-unsubscribe at freebsd.org"
>>>
>>>_______________________________________________
>>>freebsd-mobile at freebsd.org mailing list
>>>http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
>>>To unsubscribe, send any mail to
>>
>> "freebsd-mobile-unsubscribe at freebsd.org"
>>
>>
>> --
>> Software is like sex: It's better when it's free. (Linus Torvalds)
>>
>>
>>
>> _______________________________________________
>> freebsd-mobile at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
>> To unsubscribe, send any mail to
>> "freebsd-mobile-unsubscribe at freebsd.org"
>>
>>
>>
>
--
Software is like sex: It's better when it's free. (Linus Torvalds)
More information about the freebsd-mobile
mailing list