iPhone 4 cannot connect to Hostapd AP

Apple Iphone 4 32gb black cell phone
October 26, 2010 at 04:38:38
Specs: Windows 7
Hi all,
I have a very similar problem to the one posted here:
http://www.computing.net/answers/ip...

I too run an access point powered by hostapd daemon on a Gentoo linux box.
I have numerous devices that are able to connect to this AP without any problems, including several laptops running various versions of windows, other brands of phone, blu-ray players etc....

I received a brand new iPhone 4 from my boss today as a work phone only to discover that when I tried to connect it to my AP, it asks me to enter a username and password! ?!
My network only requires a PSK. It does not need a username.

I have setting up the connection manually, specifying WPA2-PSK but the phone still cannot connect.

Anyone have any ideas?


See More: iPhone 4 cannot connect to Hostapd AP

Report •

#1
December 11, 2010 at 20:46:52
For anyone else who comes across this apparently very obscure problem. I have found a fix (that works for me at least).

Two settings are required in the /etc/hostapd/hostapd.conf file in order fo rthe iPhone to see the access point as wpa2-psk and not wpa2-enterprise.

ieee8021x=0
eap_server=0

Although these should be the default settings for the hostapd daemon if they are left unspecified, the apparently are not. I had to explicitly disable these features before my iPhone 4 (and for that matter my wifes new Galaxy GT-I9000) would see that access point as they should.


Report •
Related Solutions


Ask Question