Maintaining RADIUS and WiFi list

Anna has requested that we provide a list of user logins (for Cypress Glen Resident) and WiFi passwords.

There are no direct export options for either, unfortunately, so some manual data manipulation is necessary.

https://docs.google.com/spreadsheets/d/1H7bgpRSGsaSJee7hTifeP_kEPzaFm3A6mUYdtv1l9uA/edit?usp=sharing

Export RADIUS users

  1. Connect to the Cypress Glen Unifi Controller session in ScreenConnect
  2. Open the Unifi Radius Manager web page (it's probably already open in Chrome)

    1. if you don't see it, look at Chrome's history to find the most recent access of that page)
    2. It's not currently set for a static IP so if you bookmark it, it might change
  3. Login (test/asdf)
  4. Go to the RADIUS tab
  5. Expand the table to show the maximum number of entries per page
  6. Using the table search feature, search for "cg"
  7. Do a simple copy/paste of all the rows - highlight all the rows and CTRL+C then paste them into an empty spreadsheet
  8. Do this for each page of results
  9. Clean up the spreadsheet: Remove all columns except the username, VLAN, and password columns.
  10. Move the cleaned up data into the master spreadsheet linked at the top of this page

Export WiFi list

  1. Connect to the Cypress Glen Unifi Controller session in ScreenConnect
  2. Open Explorer and go to the C: drive
  3. Open the "Unifi-API-browser-##" folder
  4. Shift+Right click any empty space in this folder and "Open PowerShell Window here"
  5. Run the command php -S localhost:90
  6. An HTTP server will begin running at port 90 and you will get confirmation of this in the console window
  7. In Chrome, go to http://localhost:90
  8. Select Cypress Glen as the Controller and Cypress Glen as the site
  9. Select Collections -> Configuration -> "list wlan configuration"
  10. Use the copy button in the top right of the WLAN list output to copy it all
  11. Paste it into Notepad and save it in the Documents folder as "wlan.json"
  12. Navigate to Documents in Explorer
  13. Shift + Right click any empty space in this folder and "Open PowerShell Window here"
  14. Run python .\wlan_scrape.py
  15. Copy the comma delimited output
  16. Paste it into the WLAN sheet on the spreadsheet linked above
  17. Use the little paste icon that appears immediately after pasting to "split values into columns"
Discard
Save
Was this article helpful?

On this page

Review Changes ← Back to Content
Message Status Space Raised By Last update on