Dangerous Prototypes

Other projects => Past projects => #twatch network LCD backpack => Topic started by: ian on November 07, 2009, 06:37:06 pm

Title: #twatch initial IP address (169.254.1.1)
Post by: ian on November 07, 2009, 06:37:06 pm
When the #twatch first powers on, it shows these network settings:
IP: 169.254.1.1
Subnet: 255.255.0.0
Gate and DNS: 169.254.1.1

Most home network IP addresses are in the 192.168.1.x range. The #twatch contacts the DHCP server on your network to get the correct settings.

We used these 'strange' (non-typical) default settings initially so that it's apparent when the #twatch has successfully contacted the DHCP server and acquired an IP address. It should also help diagnose DHCP issues should they occur (out of range IP addresses, bad subnet, gateway, or DNS settings, etc.).

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00962049304session_write_close ( )...(null):0
20.00992180896ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00992181672Database_MySQL->query( ).../DatabaseHandler.php:119
40.05512320400Database_MySQL->error( ).../Db-mysql.class.php:273