Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
livebox:hah [2011/12/18 19:34] – brett | livebox:hah [2011/12/18 19:37] – brett | ||
---|---|---|---|
Line 64: | Line 64: | ||
All components use the file / | All components use the file / | ||
- | |||
- | ====== WebServer ====== | ||
- | |||
- | The webserver is written in C using | ||
- | * embedded web server from [[http:// | ||
- | * [[http:// | ||
- | |||
- | The web server listens on PORT 80 from here you can control most of the Home Automation controller features. | ||
- | |||
- | {{: | ||
- | |||
- | To access any other page but **info** you will need to authenticate. | ||
- | |||
- | {{: | ||
- | |||
- | [[hah_webserver|More screenshots]] | ||
- | |||
- | |||
- | ===== Settings ===== | ||
- | |||
- | There are several settings in the / | ||
- | ==== Network / Services ==== | ||
- | |||
- | The network section defines what additional services will be enabled and the ports used, whether DHCP or STATIC IP configuration is setup, if the two Ethernet ports should be bridged together into a Switch configuration or addressed individually, | ||
- | |||
- | {{setup1.PNG}} | ||
- | |||
- | < | ||
- | [network] | ||
- | lan_proto=dhcp | ||
- | hostname=hahbox | ||
- | config_bridge=1 | ||
- | ether_0=00: | ||
- | ether_1=00: | ||
- | domain= | ||
- | ntp_host=uk.pool.ntp.org | ||
- | </ | ||
- | |||
- | The power LED indicator, although it appears on the SETUP page, has its own section. | ||
- | < | ||
- | [hardware] | ||
- | power=0 | ||
- | </ | ||
- | |||
- | These network entries allow in-built services such as SSH, TELNET and FTP to be enabled/ | ||
- | |||
- | {{services.PNG}} | ||
- | |||
- | < | ||
- | [network] | ||
- | telnet_enable=0 | ||
- | telnet_port=23 | ||
- | ssh_enable=1 | ||
- | ssh_port=22 | ||
- | </ | ||
- | |||
- | ==== Access Security ==== | ||
- | |||
- | Access to various pages in the HAH controller can be controlled in the [security] section. | ||
- | |||
- | < | ||
- | [security] | ||
- | user=demo | ||
- | passwd=secret | ||
- | demo=automation, | ||
- | </ | ||
- | |||
- | Will create a login user called " | ||
- | |||
- | Up to 10 additional user accounts can be created. | ||
- | < | ||
- | [security] | ||
- | user=demo, | ||
- | passwd=secret, | ||
- | demo=automation, | ||
- | foo=automation, | ||
- | </ | ||
- | |||
- | The page names are derived from the names of the pages as defined in the URL. For example the page setup.kl1 will be " | ||
- | |||
- | There are two other entries that appear in the security section that are update-able via the webserver\\ | ||
- | {{admin.PNG}} | ||
- | |||
- | < | ||
- | info_protect=0 | ||
- | admin_passwd=21232f297a57a5a743894a0e4a801fc3 | ||
- | </ | ||
- | |||
- | Info protect controls whether the INFO page is displayed without needing to authenticate as a valid user. The admin_password is an MD5 hash of the special user " | ||
- | |||
- | If you forget the " | ||
- | |||
- | ==== Wake on LAN ==== | ||
- | |||
- | Wake on LAN is a great way to save power by keeping your PC on ' | ||
- | \\ | ||
- | \\ | ||
- | More details of regarding WOL can be found [[http:// | ||
- | |||
- | \\ | ||
- | {{wol.png}} | ||
{{tag> | {{tag> | ||
~~DISCUSSION: | ~~DISCUSSION: |