NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: problems using NetBSD as accesspoint with non-netbsd clients




Am 22.06.2009 um 15:02 schrieb Jukka Salmi:

David Wetzel --> netbsd-users (2009-06-22 10:33:59 +0200):
Hi,

does somebody use netbsd 5 (ath) as AP and uses clients like Nokia
phones or Macs?

I'm running a NetBSD/i386 4.0_STABLE system with an ath(4) and
hostapd(8) (WPA2) as an AP.  Seems to work fine with MacBooks.


On my mac, I do have connectivity, everything is fine until the
antenna logo still shows all bars but I cannot reach the internet.

After how long does this happen?

sometimes after some hours. sometimes less than an hour.

If I disable/enable the wlan on the mac it works again.
The Nokia stops being able to register on SIP the only thing that
seems to help is to restart hostapd.

I am using WPA2. This is the same behaviour if I am 10 meters away or 2.

Did you check the hostapd logs?

Jun 22 14:10:56 alix hostapd: ath0: STA 00:22:fd:0f:25:38 IEEE 802.11: deauthenticated due to local deauth request Jun 22 14:10:56 alix hostapd: ath0: STA 00:22:fd:0f:25:38 IEEE 802.11: deassociated Jun 22 14:11:42 alix hostapd: ath0: STA 00:22:fd:0f:25:38 IEEE 802.11: associated Jun 22 14:11:45 alix hostapd: ath0: STA 00:22:fd:0f:25:38 IEEE 802.11: deauthenticated due to local deauth request Jun 22 14:11:45 alix hostapd: ath0: STA 00:22:fd:0f:25:38 IEEE 802.11: deassociated Jun 22 14:12:10 alix hostapd: ath0: STA 00:22:fd:0f:25:38 IEEE 802.11: associated Jun 22 14:12:13 alix hostapd: ath0: STA 00:22:fd:0f:25:38 IEEE 802.11: deauthenticated due to local deauth request Jun 22 14:12:13 alix hostapd: ath0: STA 00:22:fd:0f:25:38 IEEE 802.11: deassociated Jun 22 14:12:38 alix hostapd: ath0: STA 00:22:fd:0f:25:38 IEEE 802.11: associated Jun 22 14:12:38 alix hostapd: ath0: STA 00:22:fd:0f:25:38 WPA: pairwise key handshake completed (RSN)
Jun 22 14:12:40 alix dhcpd: DHCPDISCOVER from 00:22:fd:0f:25:38 via ath0
Jun 22 14:12:40 alix dhcpd: DHCPOFFER on 172.16.0.19 to 00:22:fd:0f: 25:38 via ath0
Jun 22 14:12:40 alix dhcpd: DHCPDISCOVER from 00:22:fd:0f:25:38 via ath0
Jun 22 14:12:40 alix dhcpd: DHCPOFFER on 172.16.0.19 to 00:22:fd:0f: 25:38 via ath0 Jun 22 14:12:40 alix dhcpd: DHCPREQUEST for 172.16.0.19 (172.16.0.1) from 00:22:fd:0f:25:38 via ath0 Jun 22 14:12:40 alix dhcpd: DHCPACK on 172.16.0.19 to 00:22:fd:0f: 25:38 via ath0 Jun 22 14:12:40 alix dhcpd: DHCPREQUEST for 172.16.0.19 (172.16.0.1) from 00:22:fd:0f:25:38 via ath0 Jun 22 14:12:40 alix dhcpd: DHCPACK on 172.16.0.19 to 00:22:fd:0f: 25:38 via ath0 Jun 22 14:12:42 alix hostapd: ath0: STA 00:22:fd:0f:25:38 IEEE 802.11: deassociated Jun 22 14:12:43 alix hostapd: ath0: STA 00:22:fd:0f:25:38 IEEE 802.11: associated Jun 22 14:12:46 alix hostapd: ath0: STA 00:22:fd:0f:25:38 IEEE 802.11: deauthenticated due to local deauth request Jun 22 14:12:46 alix hostapd: ath0: STA 00:22:fd:0f:25:38 IEEE 802.11: deassociated Jun 22 14:13:17 alix hostapd: ath0: STA 00:22:fd:0f:25:38 IEEE 802.11: associated Jun 22 14:13:18 alix hostapd: ath0: STA 00:22:fd:0f:25:38 WPA: pairwise key handshake completed (RSN)
Jun 22 14:13:20 alix dhcpd: DHCPDISCOVER from 00:22:fd:0f:25:38 via ath0
Jun 22 14:13:20 alix dhcpd: DHCPOFFER on 172.16.0.19 to 00:22:fd:0f: 25:38 via ath0
Jun 22 14:13:20 alix dhcpd: DHCPDISCOVER from 00:22:fd:0f:25:38 via ath0
Jun 22 14:13:20 alix dhcpd: DHCPOFFER on 172.16.0.19 to 00:22:fd:0f: 25:38 via ath0 Jun 22 14:13:20 alix dhcpd: DHCPREQUEST for 172.16.0.19 (172.16.0.1) from 00:22:fd:0f:25:38 via ath0 Jun 22 14:13:20 alix dhcpd: DHCPACK on 172.16.0.19 to 00:22:fd:0f: 25:38 via ath0 Jun 22 14:13:20 alix dhcpd: DHCPREQUEST for 172.16.0.19 (172.16.0.1) from 00:22:fd:0f:25:38 via ath0 Jun 22 14:13:20 alix dhcpd: DHCPACK on 172.16.0.19 to 00:22:fd:0f: 25:38 via ath0

The same cards work for me on a > 4 km link using 2 NetBSD 4 machines. Even if it snows or rains.

David



Home | Main Index | Thread Index | Old Index