Fixed wifimanager to handle single quotes
-
I found that I could not connect to my wireless network with the Omega2+. My SSID is
Shadow's Wireless IV
. I investigated how thewifimanager
script works and the problem is that it usesxargs
(which cannot handle the'
character) anduci show
rather thanuci get
(which have the same problem with'
and is also used for the password).I've fixed
wifimanager
by removing these issues. I would request that the next firmware update include a script that can handle more special characters. (Either this version or another fixed version.) I don't have permissions to upload a file, so I have provided a copy here.
-
@administrators look at this :)!
-
@administrators Please!? It's been over a year since this problem and a proposed solution have been pointed out.
-
@Jeremy-Shubert
Which firmware are you running? In the latest builds (b176 and up) we've done an overhaul of the wifi driver and thewifisetup
script. You can install the latest firmware by runningoupgrade --latest
Also, everyone who identifies and tests fixes for code is welcome and encouraged to fork our repos on GitHub and submit pull requests.
Here's where you can find thewifisetup
script: https://github.com/OnionIoT/OpenWRT-Packages/blob/master/wifi-warp-core/bin/wifi-setup.sh