Re: [leaf-user] prevent Iot from the net

2016-11-27 Thread jean-roch blais
Hello again List, I just revised my calculations for the power, it turns
out assuming the current pulse is square add too much error, I integrated
the pulse manually on the scope using 18 samples separated by 0.1 mSec,
adding all that and spreading it over 8 mSec (= 1/60 cycles / 2 ), the
current pulse becomes equivalent to 460 ma. So the power consumed is now =
55.3 watts. This is slightly better than the previous figure of 81 watts.
At 7ยข a kwatt-hours this gives 34 canadian $. Ok I won't bug you'all with
that any longer...
jrb.
--

>
> 
> leaf-user mailing list: leaf-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/
>
>
--

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] dnsmasq does not start on boot with Bering-uClibc 6.0.0

2016-11-27 Thread Erich Titl

Hi Sven

Am 27.11.2016 um 14:43 schrieb Sven Kirmess:

Nov 27 14:25:32 firewall dnsmasq[6248]: cannot create ICMPv6 socket:
Address family not supported by protocol
Nov 27 14:25:32 firewall dnsmasq[6248]: FAILED to start up





And save the modified file in the config:
# echo etc/init.d/dnsmasq >> /var/lib/lrpkg/local.local


It might be easier to just add the modules to /etc/modules. They are 
also referenced at start up.


cheers

ET




smime.p7s
Description: S/MIME Cryptographic Signature
--

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[leaf-user] dnsmasq does not start on boot with Bering-uClibc 6.0.0

2016-11-27 Thread Sven Kirmess
Nov 27 14:25:32 firewall dnsmasq[6248]: cannot create ICMPv6 socket:
Address family not supported by protocol
Nov 27 14:25:32 firewall dnsmasq[6248]: FAILED to start up

But after boot up you can easily start it with
# /etc/init.d/dnsmasq start

Looks like dnsmasq needs the ipv6 kernel module which is not yet loaded.

The following workaround works for me:

Edit /etc/init.d/dnsmasq to mount modules during the start command

case "$1" in
  start)
   echo -n "Starting $DESC: "
   [ -x /usr/sbin/mount_modules ] && /usr/sbin/mount_modules
   start-stop-daemon --start --quiet --pidfile \
/var/run/$NAME.pid --exec $DAEMON
   [ -x /usr/sbin/umount_modules ] && /usr/sbin/umount_modules
   echo "$NAME."
   ;;

And save the modified file in the config:
# echo etc/init.d/dnsmasq >> /var/lib/lrpkg/local.local
--

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/