|
Post by kc9zmy on Nov 26, 2015 16:21:26 GMT -7
I have a wifi hotspot who's SSID is set by the vendor and it has a space in the name. I can not find a way to enter the ssid into the config file to get it so I can switch it with the radio. Is there a way to enter the SSID with a space in it? I tried "'s which I figured out is not good. I tried using \ to get it in that did not work. Is there a secret to get the command file to accept a space in the SSID so I can use the Radio to switch which WiFI is used?
73, Donald L. Gover KC9ZMY
|
|
|
Post by W6KD on Nov 26, 2015 23:59:31 GMT -7
No direct way to do that in the configuration, but there is a workaround.
Run the DStarConfig.exe program, and enter the SSID without the space. Access the pi after it boots and configures itself (you should hear "not linked" when the Pi finishes its config passes and is up and running). You can access the Raspbian desktop either using a VNC client on a tablet or PC (via ethernet or a different wifi connection) or directly with a monitor/keyboard/mouse.
In a terminal window, run this command to open the nano editor with the wifi config file: sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
Find the line with the SSID by scrolling with the down arrow key...it should look like ssid="YourSSIDwithoutSpaces" and add the space(s) in the appropriate place(s). Make sure it's all between the quotes on the line.
Save the file with Control-O followed by the enter key
Reboot the pi by typing sudo reboot, and the WiFi config should be available for selection via the WIFICFGx command after the reboot.
Regards
|
|