Apple devices having problem connecting to hostapd hotspot

Matt Nourse matthew
Mon Apr 27 06:46:23 PDT 2015


Jouni Malinen <j <at> w1.fi> writes:
> 
> This works fine in my tests with Apple devices. I would need to see a
> verbose debug log (-ddt on hostapd command line) and a wireless capture
> showing the frames exchanged between the AP and the station to be able
> to say much more about what could be the reason for the disconnection.
> 

I'm having a similar problem with Apple devices- have tried an iPhone 6, Mac
OS 10.9.5 and Mac OS 10.10.3.  Android connects OK.  I haven't found any
resolution to this problem on any mailing list or forum, is there a known
fix/config change?

I'm running Debian Jessie (8.0) which has hostapd 2.3.

The Apple devices connect successfully enough that dnsmasq assigns them an
IP address & they respond to pings for a few seconds, but not successfully
enough that they think they are connected. 

Below are the details.  Jouni, do you still want a wireless capture, and if
so what's your preferred method for me to do the capture?

Thanks for hostapd!

The details:

root at nucgw:~# lsusb | grep Realtek
Bus 001 Device 007: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS
802.11n WLAN Adapter

/etc/hostapd/hostapd.conf:
interface=wlan0
ssid=nucgw
hw_mode=g
channel=9
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
disassoc_low_ack=0
wpa=2
wpa_passphrase=my passphrase
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP


syslog fragment of iPhone 6 connection attempt (name=Lesandwich):
Apr 26 22:25:02 nucgw hostapd: wlan0: STA f0:24:75:72:e8:aa IEEE 802.11:
authenticated
Apr 26 22:25:02 nucgw hostapd: wlan0: STA f0:24:75:72:e8:aa IEEE 802.11:
associated (aid 1)
Apr 26 22:25:02 nucgw hostapd: wlan0: STA f0:24:75:72:e8:aa RADIUS: starting
accounting session 553CD905-00000000
Apr 26 22:25:02 nucgw hostapd: wlan0: STA f0:24:75:72:e8:aa WPA: pairwise
key handshake completed (RSN)
Apr 26 22:25:02 nucgw dnsmasq-dhcp[428]: DHCPREQUEST(wlan0) 192.168.8.112
f0:24:75:72:e8:aa
Apr 26 22:25:02 nucgw dnsmasq-dhcp[428]: DHCPACK(wlan0) 192.168.8.112
f0:24:75:72:e8:aa Lesandwich
Apr 26 22:25:07 nucgw hostapd: wlan0: STA f0:24:75:72:e8:aa IEEE 802.11:
disassociated
Apr 26 22:25:08 nucgw hostapd: wlan0: STA f0:24:75:72:e8:aa IEEE 802.11:
deauthenticated due to inactivity (timer DEAUTH/REMOVE)

output of hostapd -ddt /etc/hostapd/hostapd.conf:
http://pastebin.com/YWhUJtrz
(paste expires 1 week from today)

-- Matt





More information about the Hostap mailing list