cancel
Showing results for 
Search instead for 
Did you mean: 

Command line batch DPSK generation

william_fowler_
New Contributor III
Is there a way to generate batch DPSKs via command line?

Thanks
8 REPLIES 8

vincent_larue
New Contributor
One way to do that is to use Ruckus Wireless secure hotspot solution.

Enable the API interface in the /Configure/System/Network Management menu

You can then use a curl command to generated a DPSK, here is a sample:

curl -k -d "ruckus1231.0" https://192.168.120.240/admin/_portal...

keith_redfield
Valued Contributor II

keith_redfield
Valued Contributor II
(there is, we're running into trouble posting the answer because it contains a code example that's being interpreted as HTML - stay tuned)

vincent_larue
New Contributor
William,

You cannot do it directly from the SSH CLI interface, but you can use the Northbound Portal Interface.

To enable the Northbound Portal Interface, go into /configure/sytem/Network Management/Northbound Portal interface.

You can then use the curl command from Linux or MacOS shell in order to generate DPSKs. Below is a sample of such command.

curl -k -d "ruckus1231.0" https://192.168.120.240/admin/_portalintf.jsp