cancel
Showing results for 
Search instead for 
Did you mean: 

DPSK for guest wifi

ebi
New Contributor II

hello,
I'd like to use DPSK for a guest wifi on the cloud controller;

I cannot import a csv with the accounts, as it always tell me "Upload failed:"

here a minimal file failing the upload:
#Username,Number of devices,MAC Address,Passphrase,VLAN ID,Passphrase Expiration
guest1,,,v4GHmqReY,,
guest2,,,r3GrzqRrT,,

how can I debug the problem? why does it fail?

PS is there a way to create DPSK via API (on the cloud controller)?

PPS: (this is for the WISHLIST) for guest wifi it would be great to have DPSK credentials wich expire X hours after the FIRST USE of the key (and not after some time from the CREATION of the key)

1 ACCEPTED SOLUTION

abiel_bermudez
RUCKUS Team Member

Hi ebi, Thanks for your questions!

Please find the details below:

 

Upload failed when importing a csv with the DPSK Profiles

Make sure to follow the next formant in the .csv file:

abiel_bermudez_2-1677263396621.png

The first row has a # only, the second row contains the column's name, then you can add the DPSK details.

If the issue persists try to recreate the DPSK Network.

Also, make sure the Passphrase matches with the format (Keyboard Friendly / Numbers Only / Most Secured) and length of your DPSK WLAN Configuration.

 

Create DPSK Profile(s) via API

Please follow the next steps (with Postman):

1. Generate the Token for API-KEY authentication click here

1.1. Copy the Payload from the documentation and enter your Cloud credentials:abiel_bermudez_7-1677264892427.png

1.2. Once you send the POST, you'll get your tenantId and API-KEY values:abiel_bermudez_6-1677264660482.png

2. Create the DPSK Profile(s) click here

2.1. Setup the API path, change the parameter {tenantId} with the tenantId you got on step 1.abiel_bermudez_11-1677266186438.png

2.2. Go to Authentication, change the Type to API Key.

2.2.1 - In the Key section set Token.

2.2.2 - In the Value section set the API-KEY you got on step1 as well.abiel_bermudez_0-1677519227759.png

2.3. Go to Body, copy and past the Payload from the documentationabiel_bermudez_14-1677267378467.png

2.3.1 - Add the networkId in the Payload.

In order to know what the networkId is for your existing DPSK WLAN, you can use the API Get Networks click here

abiel_bermudez_0-1677269540755.png

Once the API path and Authentication is setup, send the GET. In the Results JSON format, find your SSID and below you'll see its networkId example:abiel_bermudez_4-1677271227520.png

2.3.2. Now that you know the networkId, add it to the Payload (step 2.3) and complete the rest details how you'd like to create the DPSK Profile(s). Then send the POST, example:abiel_bermudez_1-1677519699230.png

Finally, refresh your Cloud Portal and you'll see the DPSK Profile(s) created.

View solution in original post

3 REPLIES 3

abiel_bermudez
RUCKUS Team Member

Hi ebi, Thanks for your questions!

Please find the details below:

 

Upload failed when importing a csv with the DPSK Profiles

Make sure to follow the next formant in the .csv file:

abiel_bermudez_2-1677263396621.png

The first row has a # only, the second row contains the column's name, then you can add the DPSK details.

If the issue persists try to recreate the DPSK Network.

Also, make sure the Passphrase matches with the format (Keyboard Friendly / Numbers Only / Most Secured) and length of your DPSK WLAN Configuration.

 

Create DPSK Profile(s) via API

Please follow the next steps (with Postman):

1. Generate the Token for API-KEY authentication click here

1.1. Copy the Payload from the documentation and enter your Cloud credentials:abiel_bermudez_7-1677264892427.png

1.2. Once you send the POST, you'll get your tenantId and API-KEY values:abiel_bermudez_6-1677264660482.png

2. Create the DPSK Profile(s) click here

2.1. Setup the API path, change the parameter {tenantId} with the tenantId you got on step 1.abiel_bermudez_11-1677266186438.png

2.2. Go to Authentication, change the Type to API Key.

2.2.1 - In the Key section set Token.

2.2.2 - In the Value section set the API-KEY you got on step1 as well.abiel_bermudez_0-1677519227759.png

2.3. Go to Body, copy and past the Payload from the documentationabiel_bermudez_14-1677267378467.png

2.3.1 - Add the networkId in the Payload.

In order to know what the networkId is for your existing DPSK WLAN, you can use the API Get Networks click here

abiel_bermudez_0-1677269540755.png

Once the API path and Authentication is setup, send the GET. In the Results JSON format, find your SSID and below you'll see its networkId example:abiel_bermudez_4-1677271227520.png

2.3.2. Now that you know the networkId, add it to the Payload (step 2.3) and complete the rest details how you'd like to create the DPSK Profile(s). Then send the POST, example:abiel_bermudez_1-1677519699230.png

Finally, refresh your Cloud Portal and you'll see the DPSK Profile(s) created.

ebi
New Contributor II

your suggestion did solve my problem!
I did add the empty comment in the first line (it does not appare on the template we can download from the ruckus cloud interface) and I was able to import the file 🙂

I will switch to the API as soon as I will have time to implement them in our reception portal.

thanks!

abiel_bermudez
RUCKUS Team Member

Great! Glad to know your problem is solved 😉