Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Nov 2012 21:44:08 +0400
From:      Dmitry Kolosov <onyx@z-up.ru>
To:        freebsd-wireless@freebsd.org
Subject:   Replacing wireless nic on my router
Message-ID:  <201211042144.08807.onyx@z-up.ru>

next in thread | raw e-mail | index | archive | help
I have wireless environment:
1. FreeBSD 8.2-STABLE wireless router
2. FreeBSD 9-STABLE wireless client
3. FreeBSD 8-STABLE wireless client
4. WinXP wireless client on same hardware as for 3
5. Cell wireless clients (Nokia N900, Touchpad)

I have replaced wireless card on 1). Previously it was 11b/g ath-based pci 
card, now it is 11b/g/n ath-based pci card:

ath0: <Atheros 9280> mem 0xff9f0000-0xff9fffff irq 21 at device 0.0 on pci5
ath0: AR9280 mac 128.2 RF5133 phy 13.0

ath0@pci0:5:0:0:        class=0x028000 card=0x3a781186 chip=0x0029168c 
rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    class      = network

Configuration on 1) does not changed at all, i.e. ssid, mode, channel and 
hostapd settings are the same. Actually, it means that bssid of my software AP 
is changed. Clients 2), 4) and 5) are OK with that, and working just fine! But 
3)... 
Laptop 3) is successfuly associating with my 1) (as for ifconfig wlan0), but 
when it tries to get dhcp settings from 1) - it fails. I have turned on isc-
dhcpd logging on 1) and i have see that 3) sends DHCPDISCOVER and it reaches 
1):
DHCPDISCOVER from 00:1f:3a:52:47:e2 (laptop3) via wlan0
More, 1) answering to 3) with:
DHCPOFFER on 192.168.15.130 to 00:1f:3a:52:47:e2 (laptop3) via wlan0
BUT the answer never reaches 3) and dhclient on 3) starting to discover again 
and it looks like this:
DHCPDISCOVER from 00:1f:3a:52:47:e2 (laptop3) via wlan0
DHCPOFFER on 192.168.15.130 to 00:1f:3a:52:47:e2 (laptop3) via wlan0
DHCPDISCOVER from 00:1f:3a:52:47:e2 (laptop3) via wlan0
DHCPOFFER on 192.168.15.130 to 00:1f:3a:52:47:e2 (laptop3) via wlan0
DHCPDISCOVER from 00:1f:3a:52:47:e2 (laptop3) via wlan0
DHCPOFFER on 192.168.15.130 to 00:1f:3a:52:47:e2 (laptop3) via wlan0
and so on and it never ends. 3) failed to get dhcp settings.

After that, i have got my tcpdump. Even if i configure wlan0 on 3) manually 
with ifconfig and start pinging 1) - 3) sends ARP who-has request, it reaches 
1) and 1) answering with correct ARP reply to 3) - BUT this packet never 
reaches 3) and it sends ARP who-has again and again.

Some facts:
* 3) can send requests via wireless, and they will reach 1) and other clients 
* everyone can see wireless traffic from 3) and can answer to it BUT
* 3) NEVER recieved a single wireless packet from 1) or other clients,
* 3) can associate with 1)


Same time, all other client, and some new, working ok with this AP.
Please help, it's so weird.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211042144.08807.onyx>