cacack
New Around Here
SOLVED: N66U Set WPA PSK Via Commandline
Hi All,
I am running Merlin's 3.0.0.4.374.34 build on an RT-N66U. Is there a way to set my PSK using the commandline? The goal is to implement a rolling PSK for one of my guest wireless instances. I would like the router to randomly generate a new passphrase, set it, then email myself the new key.
I tried using nvram. I grepped for the key I set in the GUI, then tried changing it using the following, but it didn't work.
I tried searching the forums, and Google, without any luck. Hopefully this can be done. Any help would be greatly appreciated!
-Chris
Hi All,
I am running Merlin's 3.0.0.4.374.34 build on an RT-N66U. Is there a way to set my PSK using the commandline? The goal is to implement a rolling PSK for one of my guest wireless instances. I would like the router to randomly generate a new passphrase, set it, then email myself the new key.
I tried using nvram. I grepped for the key I set in the GUI, then tried changing it using the following, but it didn't work.
Code:
nvram set wl0.1_wpa_psk="This is a test."
I tried searching the forums, and Google, without any luck. Hopefully this can be done. Any help would be greatly appreciated!
-Chris
Last edited: