Connect to iphone access point from raspberry pi

Currently, I can connect from raspberry (raspbian) to my home Wi-Fi, but when I try to connect to iphone (4s), I cannot. Iphone is WPA2 Personal, and my home network is WPA / WPA2 Personal. I suspect that something is wrong with my configuration, but I really cannot find what. Here's the relevant part in /etc/wpa_supplicant/wpa_supplicant.conf .

 network={ ssid="iPhone" psk="pass" proto=RSN key_mgmt=WPA-PSK pairwise=CCMP auth_alg=OPEN } 

For reference, here is the configuration (working) for my home network (in the same file):

 network={ ssid="wifi name" psk="pass" # Protocol type can be: RSN (for WP2) and WPA (for WPA1) proto=WPA # Key management type can be: WPA-PSK or WPA-EAP (Pre-Shared or Enterprise) key_mgmt=WPA-PSK # Pairwise can be CCMP or TKIP (for WPA2 or WPA1) pairwise=TKIP #Authorization option should be OPEN for both WPA1/WPA2 (in less commonly used are SHARED and LEAP) auth_alg=OPEN } 
+7
iphone networking wifi raspberry-pi
source share
1 answer

I think your network does not have the same configuration as you, (for proto / pairwise ). You can configure your network as follows:

 network={ ssid="iPhone" psk="pass" key_mgmt=WPA-PSK } 

wpa_supplicant will find the correct configuration on its own.

+14
source share

All Articles