Pages

Saturday, April 6, 2013

Updating the SMILE's SSID

The SMILE out-of-the-box configuration sets the network name (SSID) to SMILE-xx:xx:xx:xx:xx:xx, where the xx's are the Wi-Fi adapter's MAC address. The default configuration is also non-secure, meaning that anyone can connect to your SMILE if the device is within range.

To change the SSID, use the following commands:
# iwconfig wdev0ap0 essid MyNetworkName
# iwconfig commit
That will change the SSID, but only until the next reboot. To change the values permanenty, you will need to edit the boot time /etc/rc.d/ap8x script. If you look at the script, you will find the following line, which sets the network name:
iwconfig wdev0ap0 essid SMILE-`ifconfig wdev0ap0 | egrep -o '([[:xdigit:]]{2}[:]){5}[[:xdigit:]]{2}'`
You can edit the file to set your own SSID, for example:
iwconfig wdev0ap0 essid MyNetworkName
I have tried to secure the link, for example by using the iwconfig key commands, but was not successful:
# iwconfig wdev0 key 12346F64796D6D6F6A796D6DBF
# iwconfig wdev0 commit
Error for wireless request "Commit changes" (8B00) :
SET failed on device wdev0 ; Invalid argument.
I am getting the same error when trying to iwconfig wdep0ap0 as well.

No comments:

Post a Comment