@ -82,6 +82,14 @@ to configure `supervisord`, and restart it
Now you should have access to a basic info web page (on port `80`) and to `supervisord` web interface (on port `9001`).
The "Further info and configuration" webpage, as well as access to `supervisord`, is password protected (don't feel protected by this, it's not really secure). The name:pass is `admin:muflon`. If you want to change this, you need to edit two places: `/etc/supervisor/conf.d/daemons.conf` and `/opt/gps-timekeep/auth`. They need to match!
If you want to remove the password protection:
+ Edit `/etc/supervisor/conf.d/daemons.conf` and remove the two lines (`username` and `password`).
+ Remove `/opt/gps-timekeep/auth`.
+ Edit `/opt/gps-timekeep/configs/lighttpd.conf` and comment out the `auth.require` block.
## Optional extras
Some actions from the web interface require privilege escalation (I couldn't convince `lighttpd` to run as root), so:
@ -123,10 +131,6 @@ Similarly, if you want to be able to reboot from the web interface, you need to
+ `supervisord` runs its own web interface on port 9001.
+ One python CGI script is provided (`serverconfig.py`), which gives more system info, and lets you edit `/etc/network/interfaces` and reboot the Pi (see "Optional Extras" for what's needed to make this work).
#### Warning
The setup is completely insecure: everything is accessible, no attempt has been done to lock things down. So, please, **don't** put a Pi set up like this on the net (or baaad things will happen)!
#### Other notes (about configuration, etc...)
+ `gpsd` parameters should contain `-n`. This is so that gpsd starts listening to the GPS device even before a client (like cgps or such) asks for it. we need this so that the timekeeping starts right away on boot.