How to troubleshoot why ath0 can't connect to a passwordless wireless network?

Paul B. Mahol onemda at gmail.com
Thu Feb 12 04:17:07 PST 2009


On 2/10/09, Yuri <yuri at rawbw.com> wrote:
> Quoting "Sam Leffler" <sam at freebsd.org>:
>
>> You seem to say your network is open (no security).  If not you need
>> to show your network configuration.
>
> That's right, network is open (no security).
>
>> tcpdump can be used to tap traffic at 3 layers: 802.3, 802.11, and
>> driver.  It can be used to identify where packets are lost in the
>> hierarchy (if at all).
>
> 'tcpdump -vv -i ath0' shows nothing when I run 'dhclient ath0' or
> 'dhcping -s 255.255.255.255'. dhclient always fails, dhcping
> says "no answer".
> But tcpdump shows traffic between other hosts on the same network.
>
>> Assuming packets are going out but not coming back you can sniff
>> from a 3rd station to look for traffic in the air but not received.
>
> No, now packets don't seem to go out at all. I said before that packets
> went out when interface in fact was in 'monitor' mode.

Really?
Try wlandebug(8) to see what 802.11 code is doing vs ath driver.

>> Given how little info you posted it's virtually impossible to advise
>> you what is wrong.  When in doubt c&p real output; describing a
>> problem often causes useful info to be left out.
>
> There is no "real output" from tcpdump, this is a problem.
>
> How to find out for example why 'sendto' call from dhcping doesn't
> result in any packets on ath0 interface which is 'UP' and 'associated'?
>
> I used this same system to connect to other open WiFi networks without
> the problem. So it seems to be network-specific. And it fails only for
> certain networks.
>
> Yuri
>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>


-- 
Paul


More information about the freebsd-hackers mailing list