HTTP Server

From Sharpfin
Jump to navigation Jump to search

HTTP Server

The HTTP Server is installed using an application called 'busybox', which has been renamed to 'sharpfin' and installed alongside the radio's own busybox program. This same executable program provides the telnet server so that you can login.

The HTTP server is installed at the same time as the login server using the patchfile which is found on the Enabling Login page.

Configuring

The HTTP server files are installed onto the debug partition, and can be found in /opt/webserver. The http config file is found in /opt/etc/httpd.conf

The HTTP server (and telnet server) automatically starts when the radio is booted. As they both use the same executable program, they are extremely efficient in their memory usage.

If you have previously installed the ssh server, it is recommended that you start using the telnet mechanism to login to you radio due to these efficiencies. Furthermore, it is important to ensure enough memory remains for the Reciva application. At its worst, it takes 90% of the memory. ssh takes 9% and the httpd/telnetd combination takes 2-4%.

We recommend uninstalling the ssh server before applying the sharpfin patch.

We also recommend uninstalling the sharpfin patch before upgrading the reciva application firmware (from Reciva).'

Features

The HTTP server provides the following menu features:

Menu

  • Home - Radio Homepage
  • Sharpfin Project - Link to the Sharpfin Website

Info

  • File Explorer - Browse the filesystem
  • Installed Apps - See what packages are installed
  • Radio Info - Various bits of radio info, including processes and memory usage

Install

  • Change Firmware - Very Advanced: Read Changing Firmware first
  • Debug Application - Download and run an application in /tmp
  • Install Addon - Install / upgrade a sharpfin package

Tools

  • Feedback - Provide us with vital feedback
  • Run Program - Run any unix command from the webserver, e.g. 'ls'
Sharpfin-radio.jpg