airMAX - Enabling the HTTP Server / Service via SSH / CLI


Overview


This article describes how to enable once again the HTTP services to regain access to the airMAX devices via webUI. This access is enabled by default; it is only necessary to follow this guide if it has been disabled for some reason.


Table of Contents


  1. Introduction
  2. Steps: How to Re-enable the HTTP Server / Service
  3. Related Articles

Introduction


Back to Top

The HTTP/HTTPS services are what allow users to configure airMAX units from the web browser (GUI). If these services are disabled by mistake, users can be temporarily locked out of the radio until they regain access via SSH. Follow the steps below to re-enable the HTTP service via SSH. 


Steps: How to Re-enable the HTTP Server / Service


Back to Top

  1. Verify that access is not possible through both http://<ip_of_radio> and https://<ip_of_radio>, in case only one of the two web servers was disabled.
  2. If access is still prohibited, connect to the units via SSH.
  3. Now edit /tmp/system.cfg using vi (text editor):
    vi /tmp/system.cfg
  4. Once the file is open, press the insert key on the keyboard, find the line "httpd.status=disabled" and change to:
    httpd.status=enabled
  5. To save these changes, press the escape key, type :wq and press the enter key like so:
    :wq
  6. To make these changes persistent and remain after reboot, issue these commands:
    cfgmtd -f /tmp/system.cfg -w
  7. Power-cycle the unit or type:
    reboot
NOTE: Alternatively, WinSCP can be used to download /tmp/system.cfg from the radio and edit the file locally. After that, it can be uploaded to /tmp/ where it will overwrite the existing system.cfg file. Then continue from Step 6.

Related Articles


Back to Top

How to Establish a Connection Using SSH


We're sorry to hear that!