Dominik
--
You received this message because you are subscribed to the Google Groups "WebIOPi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webiopi+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
The long story: starting with: unmodified /etc/webiopi/config the ip-address from DHCP ( ...100 - ...149 ) on a cabled network it works fine ( great tool !!) and stops with ctrl-c login as: pi p...@192.168.1.103's password: Linux raspberrypi 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat May 4 17:23:43 2013 [info] Mijn pi-aliassen zijn gedefineerd pi@raspberrypi ~ $ sudo python -m webiopi 2013-05-04 17:25:31 - WebIOPi - INFO - Starting WebIOPi/0.6.0/Python2.7 2013-05-04 17:25:31 - WebIOPi - INFO - GPIO - Native mapped to REST API /GPIO 2013-05-04 17:25:31 - WebIOPi - WARNING - Access unprotected 2013-05-04 17:25:31 - WebIOPi - INFO - HTTP Server binded on http://192.168.1.103:8000/ 2013-05-04 17:25:31 - WebIOPi - INFO - CoAP Server binded on coap://224.0.1.123:5683/ (MULTICAST) 2013-05-04 17:25:31 - WebIOPi - INFO - CoAP Server binded on coap://192.168.1.103:5683/ ^C2013-05-04 17:25:56 - WebIOPi - INFO - Stopping... 2013-05-04 17:25:57 - WebIOPi - INFO - HTTP Server stopped 2013-05-04 17:25:57 - WebIOPi - INFO - CoAP Server stopped use script to go to 192.168.1.11 ( add ip=192.168.1.11 in /boot/cmdline.txt ) and reboot pi@raspberrypi ~ $ bash ipwissel.sh Huidig IP Adres : 192.168.1.103 Selectie IP Addres toekenning : Automatisch IP Address Vast IP Addres op 192.168.1.11 Blauw IP Addres op 192.168.30.11 Grijs IP Addres op 192.168.30.10 maak uw keuze (a/v/b/g/-)? v gezet op 192.168.1.11 kaar om herop te starten ? login as: pi p...@192.168.1.11's password: Linux raspberrypi 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat May 4 17:25:16 2013 from 192.168.1.101 [info] Mijn pi-aliassen zijn gedefineerd pi@raspberrypi ~ $ sudo python -m webiopi 2013-05-04 17:28:37 - WebIOPi - INFO - Starting WebIOPi/0.6.0/Python2.7 2013-05-04 17:28:37 - WebIOPi - INFO - GPIO - Native mapped to REST API /GPIO 2013-05-04 17:28:37 - WebIOPi - WARNING - Access unprotected 2013-05-04 17:28:37 - WebIOPi - INFO - HTTP Server binded on http://localhost:8000/ 2013-05-04 17:28:37 - WebIOPi - ERROR - [Errno 19] No such device Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/WebIOPi-0.6.0-py2.7-linux-armv6l.egg/webiopi/__main__.py", line 73, in <module> main(sys.argv) File "/usr/local/lib/python2.7/dist-packages/WebIOPi-0.6.0-py2.7-linux-armv6l.egg/webiopi/__main__.py", line 67, in main server = Server(port=port, configfile=configfile) File "/usr/local/lib/python2.7/dist-packages/WebIOPi-0.6.0-py2.7-linux-armv6l.egg/webiopi/server.py", line 153, in __init__ self.coap_server.enableMulticast() File "/usr/local/lib/python2.7/dist-packages/WebIOPi-0.6.0-py2.7-linux-armv6l.egg/webiopi/protocols/coap.py", line 469, in enableMulticast self.socket.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, mreq) File "/usr/lib/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args) error: [Errno 19] No such device 2013-05-04 17:28:37 - WebIOPi - INFO - CoAP Server binded on coap://localhost:5683/ ^C^Z [1]+ Gepauzeerd sudo python -m webiopi pi@raspberrypi ~ $ sudo kill 1 pi@raspberrypi ~ $ pi@raspberrypi ~ $ sudo nano /etc/webiopi/config pi@raspberrypi ~ $ stop Broadcast message from root@raspberrypi (pts/0) (Sat May 4 17:37:11 2013): The system is going down for system halt NOW! pi@raspberrypi ~ $ as you can see I get an errorlist but the website is working !!! to stop, ctrl-c is not working use ctrl-z and kill /etc/webiopi/config was: [COAP] # CoAP Server configuration enabled = true port = 5683 # Enable CoAP multicast multicast = true /etc/webiopi/config modif.: [COAP] # CoAP Server configuration enabled = false port = 5683 # Enable CoAP multicast multicast = false reboot else re-use-error login as: pi p...@192.168.1.11's password: Linux raspberrypi 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat May 4 17:28:19 2013 from 192.168.1.101 [info] Mijn pi-aliassen zijn gedefineerd pi@raspberrypi ~ $ sudo python -m webiopi 2013-05-04 17:38:17 - WebIOPi - INFO - Starting WebIOPi/0.6.0/Python2.7 2013-05-04 17:38:17 - WebIOPi - INFO - GPIO - Native mapped to REST API /GPIO 2013-05-04 17:38:17 - WebIOPi - WARNING - Access unprotected 2013-05-04 17:38:17 - WebIOPi - INFO - HTTP Server binded on http://localhost:8000/ 2013-05-04 17:38:17 - WebIOPi - ERROR - [Errno 19] No such device Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/WebIOPi-0.6.0-py2.7-linux-armv6l.egg/webiopi/__main__.py", line 73, in <module> main(sys.argv) File "/usr/local/lib/python2.7/dist-packages/WebIOPi-0.6.0-py2.7-linux-armv6l.egg/webiopi/__main__.py", line 67, in main server = Server(port=port, configfile=configfile) File "/usr/local/lib/python2.7/dist-packages/WebIOPi-0.6.0-py2.7-linux-armv6l.egg/webiopi/server.py", line 153, in __init__ self.coap_server.enableMulticast() File "/usr/local/lib/python2.7/dist-packages/WebIOPi-0.6.0-py2.7-linux-armv6l.egg/webiopi/protocols/coap.py", line 469, in enableMulticast self.socket.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, mreq) File "/usr/lib/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args) error: [Errno 19] No such device 2013-05-04 17:38:17 - WebIOPi - INFO - CoAP Server binded on coap://localhost:5683/ ^C^Z [1]+ Gepauzeerd sudo python -m webiopi pi@raspberrypi ~ $ sudo kill 1 pi@raspberrypi ~ $ bash ipwissel.sh Huidig IP Adres : 192.168.1.11 Selectie IP Addres toekenning : Automatisch IP Address Vast IP Addres op 192.168.1.11 Blauw IP Addres op 192.168.30.11 Grijs IP Addres op 192.168.30.10 maak uw keuze (a/v/b/g/-)? a gezet op DHCP kaar om herop te starten ? y Herstart Broadcast message from root@raspberrypi (pts/0) (Sat May 4 17:40:00 2013): The system is going down for reboot NOW! pi@raspberrypi ~ $ as you can see it is the same problem now restart with ip from DHCP login as: pi p...@192.168.1.103's password: Linux raspberrypi 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat May 4 17:41:33 2013 [info] Mijn pi-aliassen zijn gedefineerd pi@raspberrypi ~ $ sudo python -m webiopi 2013-05-04 17:45:02 - WebIOPi - INFO - Starting WebIOPi/0.6.0/Python2.7 2013-05-04 17:45:02 - WebIOPi - INFO - GPIO - Native mapped to REST API /GPIO 2013-05-04 17:45:02 - WebIOPi - WARNING - Access unprotected 2013-05-04 17:45:02 - WebIOPi - INFO - HTTP Server binded on http://192.168.1.103:8000/ 2013-05-04 17:45:02 - WebIOPi - INFO - CoAP Server binded on coap://224.0.1.123:5683/ (MULTICAST) 2013-05-04 17:45:02 - WebIOPi - INFO - CoAP Server binded on coap://192.168.1.103:5683/ ^C2013-05-04 17:46:36 - WebIOPi - INFO - Stopping... 2013-05-04 17:46:36 - WebIOPi - INFO - HTTP Server stopped 2013-05-04 17:46:36 - WebIOPi - INFO - CoAP Server stopped pi@raspberrypi ~ $ now its running without error but I cant't see influance of the modif. CoAP settings in config ! I hope Eric, you can clear-up some things for us ? Thank you in advance. Marnix