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



Yuri wrote:
I have a several wireless networks without password that my linux box easily connects to.

On FreeBSD 'ifconfig ath0 up scan' command shows it. 'ifconfig ath0 ssid <my-ssid> up' brings interface to 'associated' state. But dhclient fails to set it up.

I have another device on the same system: ral0. It sometimes connects to these networks ok, sometimes has the same problem.

What can I do to understand what may be a problem with ath0 in my case?

I tried to use tcpdump. It shows outbound DHCP packets and nothing is inbound.

I asked similar question here before, somebody asked me to downgrade atheros driver to one particular lower version. But this didn't help.

Relevant dmesg lines are:
ath_hal: 0.9.30.13 (AR5210, AR5211, AR5212, AR5216, RF5111, RF5112, RF2413, RF5413, RF2133)
ath0: <Atheros 5212> mem 0xcffe0000-0xcffeffff irq 16 at device 5.0 on pci0
ath0: mac 7.8 phy 4.5 radio 5.6

I use 71-PRERELEASE

You seem to say your network is open (no security). If not you need to show your network configuration.

wlanstats shows statistics collected by the 802.11 layer. athstats show stats collected by the ath driver. Both are important tools for diagnosing problems.

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).

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.

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.

BTW hal version 0.9.30.13 was a test build; RELENG_7 has 0.9.20.3 and HEAD has source code for a much newer version.

Sam

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Max Packet Size in Kernel
    ... Do you mean that you're developing a driver for a network ... whose packets are limited to 256 bytes, or do you mean something else? ... > so setting MTU to 256 might be a violation of IP. ...
    (comp.os.linux.development.system)
  • Re: Getting started with a wlan driver
    ... with constrained hardware - namely the RT73 line of chips, ... is the solution for developing active network diagnostic tools on the ... the miniport driver can only receive packets based ...
    (microsoft.public.development.device.drivers)
  • Re: netif_stop_queue does not cause higher layers to suspend
    ... self-written network driver. ... interface) that wraps all incoming packets into UDP packets. ... stop of the TX queue to the upper network layers? ...
    (comp.os.linux.development.system)
  • Re: how to generate UDP packets within a Network Device Driver?
    ... > we have implemented a Network Device Driver and we want to generate ... > UDP packets from the DD and forward them using netif_rx to the User Space. ... file descriptor in user space to a network interface. ...
    (comp.os.linux.development.system)
  • Re: [opensuse] SuseFirewall IPv4 vs IPv6
    ... # network security threats. ... # Opening ports for LAN services in the external zone defeats the ... # this setting only works for packets destined for the local machine. ... # If the protocol is icmp then port is interpreted as icmp type ...
    (SuSE)