From owner-freebsd-wireless@FreeBSD.ORG Sun Nov 4 17:53:49 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B4C54E7 for ; Sun, 4 Nov 2012 17:53:49 +0000 (UTC) (envelope-from onyx@z-up.ru) Received: from mx.z-up.ru (mx.z-up.ru [92.50.244.44]) by mx1.freebsd.org (Postfix) with ESMTP id 258AC8FC14 for ; Sun, 4 Nov 2012 17:53:46 +0000 (UTC) Received: from onyx-y550p.loc (unknown [10.178.237.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.z-up.ru (Postfix) with ESMTPSA id 472D811464 for ; Sun, 4 Nov 2012 21:43:56 +0400 (GMT-4) From: Dmitry Kolosov To: freebsd-wireless@freebsd.org Subject: Replacing wireless nic on my router Date: Sun, 4 Nov 2012 21:44:08 +0400 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; i386; ; ) MIME-Version: 1.0 X-KMail-Markup: true Message-Id: <201211042144.08807.onyx@z-up.ru> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: onyx@z-up.ru List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2012 17:53:49 -0000 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: 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.