systemctl disable connman.servicefeb 10 21:58:25 beaglebone systemd[1]: Started wifidog gateway Service.
feb 10 21:58:25 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:25 2017][24590](conf.c:651) Reading configuration file '/etc/wifidog.conf'
feb 10 21:58:25 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:25 2017][24590](gateway.c:362) Setting started_time
feb 10 21:58:25 beaglebone wifidog_server[24588]: [5][Fri Feb 10 21:58:25 2017][24590](gateway.c:395) Creating web server on 192.168.8.1:2060
feb 10 21:58:25 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:25 2017][24590](util.c:313) Closing ICMP socket
feb 10 21:58:25 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:25 2017][24590](firewall.c:248) Removing Firewall rules
feb 10 21:58:26 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:26 2017][24590](util.c:297) Creating ICMP socket
feb 10 21:58:26 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:26 2017][24590](firewall.c:203) Initializing Firewall
feb 10 21:58:26 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:26 2017][24590](util.c:258) get_ext_iface(): Detected wlan0 as the default interface after trying 1
feb 10 21:58:28 beaglebone wifidog_server[24588]: [5][Fri Feb 10 21:58:28 2017][24590](gateway.c:444) Waiting for connections
feb 10 21:58:28 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:28 2017][24590](wd_util.c:69) ONLINE status became ON
feb 10 21:58:28 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:28 2017][24590](firewall.c:227) Clearing the authservers list
feb 10 21:58:28 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:28 2017][24590](firewall.c:236) Setting the authservers list
feb 10 21:58:28 beaglebone wifidog_server[24588]: [3][Fri Feb 10 21:58:28 2017][24590](centralserver.c:161) Failed to connect to any of the auth servers
feb 10 21:58:32 beaglebone wificonfig[24586]: > wificonfig@0.1.5 start /usr/local/lib/node_modules/wificonfig
feb 10 21:58:32 beaglebone wificonfig[24586]: > NODE_ENV=production nodejs ./bin/www
feb 10 21:58:45 beaglebone wificonfig[24586]: info: Starting bonescript autorun service
feb 10 21:58:46 beaglebone wificonfig[24586]: info: startWifiDog
feb 10 21:58:46 beaglebone wifidog_server[24588]: [5][Fri Feb 10 21:58:46 2017][24590](wdctl_thread.c:280) Will restart myself
feb 10 21:58:46 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:46 2017][24795](util.c:313) Closing ICMP socket
feb 10 21:58:46 beaglebone wifidog_server[24588]: [5][Fri Feb 10 21:58:46 2017][24795](wdctl_thread.c:345) Re-executing myself (/usr/bin/wifidog)
feb 10 21:58:46 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:46 2017][24795](conf.c:651) Reading configuration file '/etc/wifidog.conf'
feb 10 21:58:46 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:46 2017][24795](gateway.c:116) Connecting to parent to download clients
feb 10 21:58:46 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:46 2017][24590](wdctl_thread.c:331) Sent all existing clients to child. Committing suicide!
feb 10 21:58:46 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:46 2017][24590](gateway.c:264) Handler for termination caught signal 2
feb 10 21:58:46 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:46 2017][24590](gateway.c:271) Cleaning up and exiting
feb 10 21:58:46 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:46 2017][24590](gateway.c:274) Flushing firewall rules...
feb 10 21:58:46 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:46 2017][24590](util.c:313) Closing ICMP socket
feb 10 21:58:46 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:46 2017][24590](firewall.c:248) Removing Firewall rules
feb 10 21:58:46 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:46 2017][24795](gateway.c:138) Connected to parent. Downloading clients
feb 10 21:58:46 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:46 2017][24795](gateway.c:229) Client list downloaded successfully from parent
feb 10 21:58:46 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:46 2017][24795](gateway.c:522) Waiting for parent PID 24590 to die before continuing loading
feb 10 21:58:47 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:47 2017][24590](gateway.c:283) Explicitly killing the fw_counter thread
feb 10 21:58:47 beaglebone wifidog_server[24588]: /usr/bin/wifidog_server: riga 3: 24590 Ucciso /usr/bin/wifidog -f
feb 10 21:58:47 beaglebone systemd[1]: wifidog-gateway.service: Main process exited, code=exited, status=137/n/a
feb 10 21:58:47 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:47 2017][24795](gateway.c:264) Handler for termination caught signal 2
feb 10 21:58:47 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:47 2017][24795](gateway.c:271) Cleaning up and exiting
feb 10 21:58:47 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:47 2017][24795](gateway.c:274) Flushing firewall rules...
feb 10 21:58:47 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:47 2017][24795](util.c:313) Closing ICMP socket
feb 10 21:58:47 beaglebone wifidog_server[24588]: [6][Fri Feb 10 21:58:47 2017][24795](firewall.c:248) Removing Firewall rules
feb 10 21:58:47 beaglebone wificonfig[24586]: info: last pid:24918
feb 10 21:58:47 beaglebone wificonfig[24586]: info: pid:24918
feb 10 21:58:47 beaglebone wificonfig[24586]: info: hostapd start
feb 10 21:58:47 beaglebone wificonfig[24586]: hostapd start
feb 10 21:58:47 beaglebone wificonfig[24586]: info:
feb 10 21:58:47 beaglebone kernel: wlcore: down
feb 10 21:58:47 beaglebone wificonfig[24586]: Configuration file: SoftAp0-hostapd.conf
feb 10 21:58:47 beaglebone wificonfig[24586]: SoftAp0: interface state UNINITIALIZED->COUNTRY_UPDATE
feb 10 21:58:48 beaglebone wifidog_server[24588]: [5][Fri Feb 10 21:58:48 2017][24795](gateway.c:291) Exiting...
feb 10 21:58:48 beaglebone systemd[1]: wifidog-gateway.service: Unit entered failed state.
feb 10 21:58:48 beaglebone systemd[1]: wifidog-gateway.service: Failed with result 'exit-code'.
feb 10 21:58:48 beaglebone wificonfig[24586]: info: ConnMan init ....
feb 10 21:58:48 beaglebone wificonfig[24586]: info: scanWifi ...
feb 10 21:58:48 beaglebone wificonfig[24586]: /usr/local/lib/node_modules/wificonfig/node_modules/connman-simplified/lib/WiFi.js:140
feb 10 21:58:48 beaglebone wificonfig[24586]: self.iface.scan(function(err) {
feb 10 21:58:48 beaglebone wificonfig[24586]: ^
feb 10 21:58:48 beaglebone wificonfig[24586]: TypeError: Cannot read property 'scan' of null
feb 10 21:58:48 beaglebone wificonfig[24586]: at WiFi.scan (/usr/local/lib/node_modules/wificonfig/node_modules/connman-simplified/lib/WiFi.js:140:15)
feb 10 21:58:48 beaglebone wificonfig[24586]: at WiFi.getNetworks (/usr/local/lib/node_modules/wificonfig/node_modules/connman-simplified/lib/WiFi.js:93:8)
feb 10 21:58:48 beaglebone wificonfig[24586]: at Object.exports.on (/usr/local/lib/node_modules/wificonfig/lib/connman.js:27:18)
feb 10 21:58:48 beaglebone wificonfig[24586]: at EventEmitter.<anonymous> (/usr/local/lib/node_modules/wificonfig/lib/wifi.js:60:17)
feb 10 21:58:48 beaglebone wificonfig[24586]: at EventEmitter.emit (events.js:104:17)
feb 10 21:58:48 beaglebone wificonfig[24586]: at /usr/local/lib/node_modules/wificonfig/lib/wifi.js:89:19
feb 10 21:58:48 beaglebone wificonfig[24586]: at /usr/local/lib/node_modules/wificonfig/lib/connman.js:14:17
feb 10 21:58:48 beaglebone wificonfig[24586]: at /usr/local/lib/node_modules/wificonfig/node_modules/connman-simplified/lib/index.js:50:5
feb 10 21:58:48 beaglebone wificonfig[24586]: at WiFi.init (/usr/local/lib/node_modules/wificonfig/node_modules/connman-simplified/lib/WiFi.js:58:19)
feb 10 21:58:48 beaglebone wificonfig[24586]: at ConnmanSimplified.initWiFi (/usr/local/lib/node_modules/wificonfig/node_modules/connman-simplified/lib/index.js:49:9)
feb 10 21:58:48 beaglebone wificonfig[24586]: at /usr/local/lib/node_modules/wificonfig/lib/connman.js:12:21
feb 10 21:58:48 beaglebone wificonfig[24586]: at /usr/local/lib/node_modules/wificonfig/node_modules/connman-simplified/lib/index.js:39:20
feb 10 21:58:48 beaglebone wificonfig[24586]: at /usr/local/lib/node_modules/wificonfig/node_modules/connman-api/lib/connman.js:41:21
feb 10 21:58:48 beaglebone wificonfig[24586]: at /usr/local/lib/node_modules/wificonfig/node_modules/connman-api/node_modules/dbus/lib/bus.js:126:5
feb 10 21:58:48 beaglebone wificonfig[24586]: at /usr/local/lib/node_modules/wificonfig/node_modules/connman-api/node_modules/dbus/lib/bus.js:101:6
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR! Linux 4.4.30-ti-r64
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR! node v0.12.18
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR! npm v2.15.11
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR! code ELIFECYCLE
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR! wificonfig@0.1.5 start: `NODE_ENV=production nodejs ./bin/www`
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR! Exit status 1
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR!
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR! Failed at the wificonfig@0.1.5 start script 'NODE_ENV=production nodejs ./bin/www'.
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR! This is most likely a problem with the wificonfig package,
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR! not with npm itself.
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR! Tell the author that this fails on your system:
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR! NODE_ENV=production nodejs ./bin/www
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR! You can get information on how to open an issue for this project with:
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR! npm bugs wificonfig
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR! Or if that isn't available, you can get their info via:
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR!
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR! npm owner ls wificonfig
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR! There is likely additional logging output above.
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR! Please include the following file with any support request:
feb 10 21:58:48 beaglebone wificonfig[24586]: npm ERR! /usr/local/lib/node_modules/wificonfig/npm-debug.log
feb 10 21:58:48 beaglebone systemd[1]: wificonfig.service: Main process exited, code=exited, status=1/FAILURE
feb 10 21:58:48 beaglebone kernel: wlcore: down
feb 10 21:58:48 beaglebone systemd[1]: wificonfig.service: Unit entered failed state.
feb 10 21:58:48 beaglebone systemd[1]: wificonfig.service: Failed with result 'exit-code'.