1

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.

RAS
  • 169
  • 8

1 Answers1

0

Most routers recommend SSID consist of up to 32 alphanumeric characters, but there is nothing to prevent any string of zero to 32 octets (32 bytes) being used. Indeed iPhones typically use Unicode character U+2019 "single right quotation mark" in the SSID - which is legal, if very inconvenient.

If you ACTUALLY setup the Pi networking following the normal recommended method in wpa_supplicant.conf "iPhone_Test" should be acceptable.

See How to set up networking/WiFi

Milliways
  • 62,573
  • 32
  • 113
  • 225