The original script below will only show the first part of your SSID if you have spaces: (Below)

/sbin/iwconfig wlan0 | grep ‘SSID:"’ | awk ‘{print $4}’ | cut -d" -f2;

If you remove the double quote from the grep and remove the awk altogether it will show your entire SSID.

/sbin/iwconfig wlan0 | grep ‘SSID:’ | cut -d" -f2;

There is a caveat to this though, if the name is really long it will not display correctly on the LCD… so maybe this was all by design :). Just thought I would put it out there if anyone was curious. In retrospect I should have never put spaces in my SSID and have known better.


Thank you @blase116
Spaces in the SSID are a bad idea not fully supported by many manufacturers. Just google it and you will see many people not being able to connect. So it was by design to only show the first part. If anyone gets stuck, your edit seems to do the work :wink: