Connect to iphone hotspot from raspberry pi
20,582
Solution 1
I think your network has not the same configuration as you set (for proto
/ pairwise
). You might configure your network this way:
network={
ssid="iPhone"
psk="pass"
key_mgmt=WPA-PSK
}
The wpa_supplicant will find the correct configuration by itself.
Solution 2
Remove inverted commas & spaces from your iphone’s Name this will solve the problem
Author by
scc
Updated on July 09, 2022Comments
-
scc almost 2 years
Currently, i can connect from the raspberry (raspbian) to my home wifi but when i try to connect to iphone (4s) hotspot i can't. Iphone is WPA2 Personal while my home network is WPA/WPA2 Personal. I suspect there's something wrong with my config but i really can't 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's the config (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 }