Skip to main content
Fix the single quote char to the Unicode one as actually used in iPhone's SSID name. Add a command to do hex encode in shell.
Source Link

You can take the ssid, in this case "My Name'sName’s iPhone" (without the quotes), and convert to hex using https://www.browserling.com/tools/text-to-hex.

Take the result, in this case 4d 79 20 4e 61 6d 65 27e2 80 99 73 20 69 50 68 6f 6e 65 and remove the spaces.

Or in bash

    $ echo -n $'My Name\xE2\x80\x99s iPhone' | od -t x1 -A n -w100000 | tr -d ' '
    4d79204e616d65e2809973206950686f6e65

Update /etc/wpa_supplicant/wpa_supplicant.conf:

network = {
    ssid=4d79204e616d652773206950686f6e65# Hex encoded 'My Name\xE2\x80\x99s iPhone', NO quotes in ssid=...
    ssid=4d79204e616d65e2809973206950686f6e65
    psk="your passphrase"
    key_mgmt=WPA-PSK
}

Then exit the editor, and in the terminal:

$ sudo ifdown wlan0
$ sudo ifup wlan0

If you have no errors, try to connect. Should work. Just make sure your ssid hex value is NOT in quotations, and doesn't contain spaces.

Cheers!

You can take the ssid, in this case "My Name's iPhone" (without the quotes), and convert to hex using https://www.browserling.com/tools/text-to-hex.

Take the result, in this case 4d 79 20 4e 61 6d 65 27 73 20 69 50 68 6f 6e 65 and remove the spaces.

Update /etc/wpa_supplicant/wpa_supplicant.conf:

network = {
    ssid=4d79204e616d652773206950686f6e65
    psk="your passphrase"
    key_mgmt=WPA-PSK
}

Then exit the editor, and in the terminal:

$ sudo ifdown wlan0
$ sudo ifup wlan0

If you have no errors, try to connect. Should work. Just make sure your ssid hex value is NOT in quotations, and doesn't contain spaces.

Cheers!

You can take the ssid, in this case "My Name’s iPhone" (without the quotes), and convert to hex using https://www.browserling.com/tools/text-to-hex.

Take the result, in this case 4d 79 20 4e 61 6d 65 e2 80 99 73 20 69 50 68 6f 6e 65 and remove the spaces.

Or in bash

    $ echo -n $'My Name\xE2\x80\x99s iPhone' | od -t x1 -A n -w100000 | tr -d ' '
    4d79204e616d65e2809973206950686f6e65

Update /etc/wpa_supplicant/wpa_supplicant.conf:

network = {
    # Hex encoded 'My Name\xE2\x80\x99s iPhone', NO quotes in ssid=...
    ssid=4d79204e616d65e2809973206950686f6e65
    psk="your passphrase"
    key_mgmt=WPA-PSK
}

Then exit the editor, and in the terminal:

$ sudo ifdown wlan0
$ sudo ifup wlan0

If you have no errors, try to connect. Should work. Just make sure your ssid hex value is NOT in quotations, and doesn't contain spaces.

Cheers!

Source Link

You can take the ssid, in this case "My Name's iPhone" (without the quotes), and convert to hex using https://www.browserling.com/tools/text-to-hex.

Take the result, in this case 4d 79 20 4e 61 6d 65 27 73 20 69 50 68 6f 6e 65 and remove the spaces.

Update /etc/wpa_supplicant/wpa_supplicant.conf:

network = {
    ssid=4d79204e616d652773206950686f6e65
    psk="your passphrase"
    key_mgmt=WPA-PSK
}

Then exit the editor, and in the terminal:

$ sudo ifdown wlan0
$ sudo ifup wlan0

If you have no errors, try to connect. Should work. Just make sure your ssid hex value is NOT in quotations, and doesn't contain spaces.

Cheers!