cannot get IP working between associated ath0 & AP, what to do?

Bryan White m0laria at gmail.com
Sat Nov 19 03:54:53 GMT 2005


Ok... looks like add route default got it to work.  Thanks a ton.

Matt Emmerton wrote:

>[ top-posting corrected ]
>
>  
>
>>Matt Emmerton wrote:
>>
>>    
>>
>>>>>Hi,
>>>>>
>>>>>I have an SMC PCMCIA wireless adapter, model SMCWCB-G, based on an
>>>>>Atheros 5212 chipset, in a laptop running a fresh install of FreeBSD
>>>>>6.0-RC1.
>>>>>
>>>>>The card associates fine, but then fails to send any IP packets in
>>>>>the air, or at least that's what I presume is going on. I cannot
>>>>>ping the AP, I cannot get a lease using DHCP, basically the only
>>>>>thing I can do is associate. I think it does associate because when
>>>>>I set an invalid wep key, t# Wireless NIC cards
>>>>>          
>>>>>
>
>  
>
>>>>I type in:
>>>>
>>>># ifconfig ath0 channel 7 ssid gibsons wepmode on
>>>># ifconfig ath0 weptxkey *****etc.
>>>># ifconfig ath0 up
>>>># ifconfig ath0
>>>>ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>>>>       inet6 fe80::213:46ff:fe0f:3f66%ath0 prefixlen 64 scopeid 0x4
>>>>       ether 00:13:46:0f:3f:66
>>>>       media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps)
>>>>       status: associated
>>>>       ssid gibsons channel 7 bssid 00:0c:41:a0:2c:46
>>>>       authmode OPEN privacy ON deftxkey UNDEF txpowmax 38 protmode CTS
>>>>       bintval 100
>>>># ifconfig ath0 inet 192.168.107.15
>>>># ping 192.168.107.1
>>>>
>>>>I am unable to ping my router. (linksys bewfs42)
>>>>
>>>>It seems like i'm missing something really simple here...anyone able to
>>>>help point me in the right direction?  Thanks.
>>>>        
>>>>
>>>Maybe deftxkey needs to be set?
>>>      
>>>
>
>  
>
>>Tried it...I think i've tried almost every combination of weptxkey and
>>deftxkey and starting up things in different orders...  However, when I
>>disabled WEP on my router I can connect to my router and get an IP, but
>>no internet.
>>    
>>
>
>When you ping, do you see "ping: sendto: Host is down" errors or "ping:
>sendto: No route to host" errors, or just nothing at all from ping?
>
>If it's either of the latter two options, then perhaps setting a default
>route (route add default 192.168.107.1) is what you need.
>
>--
>Matt Emmerton
>
>
>  
>


More information about the freebsd-questions mailing list