I read the OP's first message and it states he used PUTTY, which is fine if it's a SERIAL connection.
In the tutorial Vonger states you can't use SSH for doing this but must be done via SERIAL UART so my first question would be; is that being done?
Secondly, in the tutorial it is mentioned that the use of quotes to encapsulate the values since sometimes UCI does not do them properly. I have gotten into the habit, when modifying UCI files via SERIAL, to use a set of double quotes to make sure things 'stick' such as:
- Code: Select all
uci set wireless.sta.encryption="psk2"
I used to not use quotes or single quotes and it *seemed* to work but values would not be read properly. As soon as I started doing them with double quotes, again via SERIAL; things worked.
Lastly, are commits being made using UCI after commands are entered? I've gotten into the habit of doing two commits (overkill, I know) but I have done them and between reboots they've not 'stuck'. After doing a few commands or in a script you must commit to save the changes and persist them in the /etc/config/<config_name> file.
- Code: Select all
uci commit
Just a few things after reading the first page that came to mind. You may have already discussed this so if they were recommended; I apologize.