Apple devices having problem connecting to hostapd hotspot

Ranadeep B ranadeep.mobile at gmail.com
Tue Feb 24 04:58:35 EST 2015


Log from hostapd's stdout :

root at arm:/home/ubuntu# hostapd -t /etc/hostapd/sampleconf.conf
1423567840.173144: Configuration file: /etc/hostapd/sampleconf.conf
1423567840.202746: Using interface wlan0 with hwaddr 00:13:ef:70:2e:cf and
ssid "HUB234"
1423567840.353574: random: Cannot read from /dev/random: Resource
temporarily unavailable
1423567840.355572: random: Only 0/20 bytes of strong random data available
from /dev/random
1423567840.356901: random: Not enough entropy pool available for secure
operations
1423567840.358385: WPA: Not enough entropy in random pool for secure
operations - update keys later when the first station connects
1423567840.404354: wlan0: interface state UNINITIALIZED->ENABLED
1423567840.406378: wlan0: AP-ENABLED
1423567849.897591: 1423567849.897622: wlan0: STA 2c:f0:ee:1a:e5:5a IEEE
802.11: authenticated
1423567849.906751: 1423567849.906783: wlan0: STA 2c:f0:ee:1a:e5:5a IEEE
802.11: associated (aid 1)
1423567849.919651: random: Cannot read from /dev/random: Resource
temporarily unavailable
1423567849.923317: random: Only 0/20 bytes of strong random data available
from /dev/random
1423567849.925632: random: Not enough entropy pool available for secure
operations
1423567849.926074: WPA: Not enough entropy in random pool to proceed -
reject first 4-way handshake
1423567850.375713: 1423567850.375743: wlan0: STA 2c:f0:ee:1a:e5:5a IEEE
802.11: authenticated
1423567850.388893: 1423567850.388923: wlan0: STA 2c:f0:ee:1a:e5:5a IEEE
802.11: associated (aid 1)
1423567850.400293: random: Cannot read from /dev/random: Resource
temporarily unavailable
1423567850.404228: random: Only 0/20 bytes of strong random data available
from /dev/random
1423567850.406103: random: Not enough entropy pool available for secure
operations
1423567850.406540: WPA: Not enough entropy in random pool to proceed -
reject first 4-way handshake
1423567853.987188: 1423567853.987219: wlan0: STA 2c:f0:ee:1a:e5:5a IEEE
802.11: authenticated
1423567853.995932: 1423567853.995961: wlan0: STA 2c:f0:ee:1a:e5:5a IEEE
802.11: associated (aid 1)
1423567854.007381: random: Cannot read from /dev/random: Resource
temporarily unavailable
1423567854.010972: random: Only 0/20 bytes of strong random data available
from /dev/random
1423567854.012770: random: Allow operation to proceed based on internal
entropy
1423567854.080908: wlan0: AP-STA-CONNECTED 2c:f0:ee:1a:e5:5a
1423567854.085798: 1423567854.085830: wlan0: STA 2c:f0:ee:1a:e5:5a RADIUS:
starting accounting session 54D9EBE0-00000000
1423567854.091264: 1423567854.091298: wlan0: STA 2c:f0:ee:1a:e5:5a WPA:
pairwise key handshake completed (RSN)
1423567856.703080: wlan0: AP-STA-DISCONNECTED 2c:f0:ee:1a:e5:5a
1423567856.706900: 1423567856.706930: wlan0: STA 2c:f0:ee:1a:e5:5a IEEE
802.11: disassociated
1423567857.716982: 1423567857.717014: wlan0: STA 2c:f0:ee:1a:e5:5a IEEE
802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
1423567864.330095: 1423567864.330125: wlan0: STA 2c:f0:ee:1a:e5:5a IEEE
802.11: authenticated
1423567864.340560: 1423567864.340590: wlan0: STA 2c:f0:ee:1a:e5:5a IEEE
802.11: associated (aid 1)
1423567864.381004: wlan0: AP-STA-CONNECTED 2c:f0:ee:1a:e5:5a
1423567864.385871: 1423567864.385902: wlan0: STA 2c:f0:ee:1a:e5:5a RADIUS:
starting accounting session 54D9EBE0-00000001
1423567864.391197: 1423567864.391227: wlan0: STA 2c:f0:ee:1a:e5:5a WPA:
pairwise key handshake completed (RSN)
1423567866.714049: wlan0: AP-STA-DISCONNECTED 2c:f0:ee:1a:e5:5a
1423567866.717722: 1423567866.717753: wlan0: STA 2c:f0:ee:1a:e5:5a IEEE
802.11: disassociated
1423567867.725936: 1423567867.725969: wlan0: STA 2c:f0:ee:1a:e5:5a IEEE
802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)

And the config i am using is :

interface=wlan0
driver=nl80211
ssid=HUB234
hw_mode=g
channel=1
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
disassoc_low_ack=0

Android Wifi clients, wifi dongles, windows systems dont have any problem
connecting to the hotspot but only the apple devices have . I even tried
setting disassoc_low_ack=0 but it doesnt seem to work .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20150224/012d2500/attachment.htm>


More information about the HostAP mailing list