Wireless Access

Reply
Occasional Contributor II
Posts: 19
Registered: ‎03-14-2016

How to clear buildings from campus not using WebUI ?

Hi,

I've entered the building name using polish national characters. Now building's name looks: Mokotów NOVA 

I can't delete this building, nothing happens when I check that building and click "Delete buildings".

When I try to enter link to this building, I've got the alert "Can't load building: request building doesn't exists"

I restored default factory settings on my Controller (W-3200), but the campus and buildings remaining :-(

 

Could anyone help me?

Mariusz

MVP
Posts: 463
Registered: ‎11-04-2011

Re: How to clear buildings from campus not using WebUI ?

Mariusz,

 

I had a similar issue once, with an & sign, but that is probably very similar, and documented the solution:

 

If you create a Campus named: Q&A, the WebUI will translate this into Q&A. When you try to delete is, it shows an error that the campus name does not exists.

 

From this point there are three solutions:

  1. write erase all; wiping out ALL config (please record your licenses, because those will be gone as well!)
  2. wms reinit-db; will wipe out all data in the WMS database, including all Campusses, Buildings, Floors you already have
  3. directly access the API-URL.

For the last option you need to find out the URL that the WebUI sends to delete the Campus or Building. You can do this in Firefox with the extension Tamper Data, or in Google Chrome with the developer tools (Ctrl-Shift-I then Network tab) but other tools will probably do the same.

You can find out that when you select the campus Q&A, it requests the following URL:

 https://192.168.32.1:4343/screens/wms/wms.cgi?opcode=delete-campus&campus-name=Q%26amp%3BA

Get the amp%3B out, and put the URL in your browser (that is already logged into the controller):

 https://192.168.32.1:4343/screens/wms/wms.cgi?opcode=delete-campus&campus-name=Q%26A

It will respond in XML with:

 <aruba>
  <status>OK</status> 
</aruba>

... and the Campus is gone!

--
If you have urgent issues, please contact your Aruba partner or Aruba TAC.
Occasional Contributor II
Posts: 19
Registered: ‎03-14-2016

Re: How to clear buildings from campus not using WebUI ?

Thx!

I choose firts option, "wirte erase all" and whole camous disappear :-)

Thank you very much

Mariusz

Search Airheads
Showing results for 
Search instead for 
Did you mean: