I am using raspberry pi 3B with Jessie OS. I connect it to wifi by changing the network setting inside the /etc/network/interfaces
the file. The setting looks like something like:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
iface eth0 inet manual
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid iPhone
wpa-psk test123
The raspberry pi connects to the iPhone
network without any problem. However, when I change the SSID name to iPhone_Test
, it won't connect. The new /etc/network/interfaces
file looks something like this
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
iface eth0 inet manual
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid iPhone_Test
wpa-psk test123
Does anyone know why it is sensitive to the SSID name and how can I tackle this issue? I did try different variation of names and it seems sensitive to some of the names.
Also, in case someone suggesting "why bothering with such SSID?". I would say this: I have a raspberry pi inside a device and our customers connect the device to their home wifi via raspberry pi so I don't have power over SSID names. That's why I'd like to figure this out so that it can work with different SSIDs.