New Member
Posts: 35
Registered: ‎02-10-2016
Kudos: 2
Solutions: 3
Accepted Solution

turned off Web service

Hi I was reconfiguring my Nanotation. I think I turned off the Web service. I cannot contact the station using WEB. I can ping the station. Any way (or tool) to remote reconfigure the station?


Accepted Solutions
SuperUser
Posts: 11,675
Registered: ‎10-28-2009
Kudos: 3957
Solutions: 370

Re: turned off Web service

[ Edited ]

vi /tmp/system.cfg
scroll to find the following lines:
httpd.https.port=443
httpd.https.status=enabled
httpd.port=80
httpd.session.timeout=3600
httpd.status=enabled

Make sure httpd.status and httpd.https.status=enabled.

If either or both are disabled, push 'i' to insert, delete the 'disabled' and change to enabled on each line, verify your ports are correct, then hit 'ESC' and ":x". This will write your changes to the file.  Then, issue 'save && reboot' to save the config file changes and reboot the radio.

Tony Pierro
CTO - Wireless Internet Services, Inc.

View solution in original post

New Member
Posts: 35
Registered: ‎02-10-2016
Kudos: 2
Solutions: 3

Re: turned off Web service

Thanx finally got it working :-)

 

View solution in original post


All Replies
SuperUser
Posts: 11,675
Registered: ‎10-28-2009
Kudos: 3957
Solutions: 370

Re: turned off Web service

ssh to the unit, edit your /tmp/system.cfg and enable http and https ports, save, and reboot. You should then be able to access the Web UI.
Tony Pierro
CTO - Wireless Internet Services, Inc.
New Member
Posts: 35
Registered: ‎02-10-2016
Kudos: 2
Solutions: 3

Re: turned off Web service

tried to ssh to the ip adress, it asks for a password. The password that I use in WEB isn't working. Is there another password in SSH?

SuperUser
Posts: 11,675
Registered: ‎10-28-2009
Kudos: 3957
Solutions: 370

Re: turned off Web service

[ Edited ]

No, it is the same password used for the web service. If you're locked out, I'd recommend factory resetting the unit by holding the reset button on the unit or power injector for ~10 seconds (assuming the unit is powered on and booted up), then releasing. Connect to the radio again at 192.168.1.20 after factory reset. If the unit does not come back, please follow the instructions here to reset using TFTP recovery: https://help.ubnt.com/hc/en-us/articles/204911324-airMAX-How-to-Reset-Your-Device-with-TFTP-Firmware...

Tony Pierro
CTO - Wireless Internet Services, Inc.
New Member
Posts: 35
Registered: ‎02-10-2016
Kudos: 2
Solutions: 3

Re: turned off Web service

Hi I was able to contact the station using Putty. But I don't know any Unix commands. Can you list commands to reach the directory, edit the file and save?

 

New Member
Posts: 35
Registered: ‎02-10-2016
Kudos: 2
Solutions: 3

Re: turned off Web service

also need comands to reboot. 

Thanx in advance

 

SuperUser
Posts: 11,675
Registered: ‎10-28-2009
Kudos: 3957
Solutions: 370

Re: turned off Web service

[ Edited ]

vi /tmp/system.cfg
scroll to find the following lines:
httpd.https.port=443
httpd.https.status=enabled
httpd.port=80
httpd.session.timeout=3600
httpd.status=enabled

Make sure httpd.status and httpd.https.status=enabled.

If either or both are disabled, push 'i' to insert, delete the 'disabled' and change to enabled on each line, verify your ports are correct, then hit 'ESC' and ":x". This will write your changes to the file.  Then, issue 'save && reboot' to save the config file changes and reboot the radio.

Tony Pierro
CTO - Wireless Internet Services, Inc.
Highlighted
New Member
Posts: 35
Registered: ‎02-10-2016
Kudos: 2
Solutions: 3

Re: turned off Web service

Hi, thank you very much, I was able to edit and save the file, but how do I reboot the station?

New Member
Posts: 35
Registered: ‎02-10-2016
Kudos: 2
Solutions: 3

Re: turned off Web service

getting this error:
:s expression missing delimiters
New Member
Posts: 35
Registered: ‎02-10-2016
Kudos: 2
Solutions: 3

Re: turned off Web service

Thanx finally got it working :-)

 

SuperUser
Posts: 11,675
Registered: ‎10-28-2009
Kudos: 3957
Solutions: 370

Re: turned off Web service

Great! Please mark my answer as the solution, so it may help others who come across this thread in the future.
Tony Pierro
CTO - Wireless Internet Services, Inc.