Hi.
I've got an Asus ax58U running Merlin as my main router and an N56U as an AP running Padavan.
I'm doing a bit of hacking around guest networks - Using Alexa to enable the Guest network and the ax58
When it does enable the network I have a script (/jffs/scripts/service-event-end) which tests to see if the Guest network is up and if so it uses SSH to execute a command on the on the N56 to bring up the guest network there (and to do the reverse when the Guest on the ax58 is disabled.
The problem is on the ax58 whereby the SSID is generated by the router and a changing password is used. I want the details to match what's on the N56
So the following works on the ax58:
However I can't seem to change the pass phrase. I thought this would do the trick:
I get a wl: Unsupported response.
Does anyone know how to set the pass phrase via script/command-line?
Conversely is there any way to force the router to use a pre-defined passphrase when Alexa enables the guest.
I've got an Asus ax58U running Merlin as my main router and an N56U as an AP running Padavan.
I'm doing a bit of hacking around guest networks - Using Alexa to enable the Guest network and the ax58
When it does enable the network I have a script (/jffs/scripts/service-event-end) which tests to see if the Guest network is up and if so it uses SSH to execute a command on the on the N56 to bring up the guest network there (and to do the reverse when the Guest on the ax58 is disabled.
The problem is on the ax58 whereby the SSID is generated by the router and a changing password is used. I want the details to match what's on the N56
So the following works on the ax58:
Bash:
wl -a wl1.3 ssid="MyGuestSSID"
wl -a wl0.3 ssid="MyGuestSSID"
However I can't seem to change the pass phrase. I thought this would do the trick:
Bash:
wl -a wl1.3 set_pmk MyPassPhrase
wl -a wl0.3 set_pmk MyPassPhrase
Does anyone know how to set the pass phrase via script/command-line?
Conversely is there any way to force the router to use a pre-defined passphrase when Alexa enables the guest.