Re: [OpenWrt-Devel] /dev/watchdog from shell script

2011-12-28 Thread Florian Fainelli
Hello Bastian, On 12/28/11 11:39, Bastian Bittorf wrote: hi devs, for having a better way not to lost a router i like to use /dev/watchdog from a shell script. the reason is this: Sometimes the oom-killer removes important tasks like ssh + httpd + routing + cron but leaves the

Re: [OpenWrt-Devel] /dev/watchdog from shell script

2011-12-28 Thread Manuel Munz
On 28.12.2011 12:21, Florian Fainelli wrote: I do not think this will work better. If crond is not killed by the OOM killer, then the watchdog keeps being kept alive, and you end up in the same situation. Rather I think we need some kind of software monitoring by a daemon like upstart which

Re: [OpenWrt-Devel] /dev/watchdog from shell script

2011-12-28 Thread Michael Büsch
On Wed, 28 Dec 2011 10:39:33 + Bastian Bittorf bitt...@bluebottle.com wrote: for having a better way not to lost a router i like to use /dev/watchdog from a shell script. the reason is this: Sometimes the oom-killer removes important tasks like ssh + httpd + routing + cron but leaves

[OpenWrt-Devel] [PATCH] Add srtp lib package

2011-12-28 Thread Victor Seva
This patch adds support for the Secure Real-time Transport Protocol (SRTP) library libsrtp. This is needed for closing #8915 ticket. Signed-off-by: Victor Seva linuxman...@torreviejawireless.org --- libs/srtp/Makefile | 63 +

[OpenWrt-Devel] Buffalo WZR-HP-G300NH2 support

2011-12-28 Thread Victor Khimenko
For anyone who's not been following, this means that WZR-HP-G300NH, WZR-HP-G300NH2 and WZR-HP-AG300N are supported in a single image. How is it supposed to work? I've just spent about six hours trying to revive my WZR-HP-AG300N after upgrade. Took so much time because upgrade simultaneously

Re: [OpenWrt-Devel] [PATCH] Add srtp lib package

2011-12-28 Thread Philip Prindeville
This is useful, but it would be nice if it could be made to use the OpenSSL AES implementation instead of its own, which just duplicates functionality and adds to image size... -Philip On 12/28/11 5:23 AM, Victor Seva wrote: This patch adds support for the Secure Real-time Transport Protocol

Re: [OpenWrt-Devel] Buffalo WZR-HP-G300NH2 support

2011-12-28 Thread Peter Naulls
On 12/28/2011 11:09 AM, Victor Khimenko wrote: [Try and retain attributions if you can] For anyone who's not been following, this means that WZR-HP-G300NH, WZR-HP-G300NH2 and WZR-HP-AG300N are supported in a single image. How is it supposed to work? I've just spent about six

Re: [OpenWrt-Devel] netgear dgn3500

2011-12-28 Thread Yakov Zaytsev
The correct pinout for this model is as follows from left to right it is RX 3,3V TX GND On Sun, Dec 25, 2011 at 1:51 AM, Yakov Zaytsev ya...@illumos-mips.orgwrote: i'm trying to get serial on dgn3500 i used the following pinout

Re: [OpenWrt-Devel] netgear dgn3500

2011-12-28 Thread Yakov Zaytsev
..if you place the board in front of you with the eth ports facing away from you. On Thu, Dec 29, 2011 at 4:59 AM, Yakov Zaytsev ya...@illumos-mips.orgwrote: The correct pinout for this model is as follows from left to right it is RX 3,3V TX GND On Sun, Dec 25, 2011 at 1:51 AM, Yakov

Re: [OpenWrt-Devel] /dev/watchdog from shell script

2011-12-28 Thread Bastian Bittorf
I think jow wrote something like this already, see: http://luci.subsignal.org/trac/browser/luci/trunk/contrib/package/freifunk-watchdog Interesting, but has the same design-issue like already mentioned: if the oom-killer is working it will likely kill the freifunk-watchdog and crond, so to

Re: [OpenWrt-Devel] [PATCH] Add srtp lib package

2011-12-28 Thread Victor Seva
Hi Philip, 2011/12/29 Philip Prindeville philipp_s...@redfish-solutions.com: This is useful, but it would be nice if it could be made to use the OpenSSL AES implementation instead of its own, which just duplicates functionality and adds to image size... I've packaged srtp in order to build

Re: [OpenWrt-Devel] /dev/watchdog from shell script

2011-12-28 Thread Bastian Bittorf
A better way would be IMHO to use a cron.minutely which fire's an ioctl to /dev/watchdog. if crond is removed, the device should reboot. so i need a way to invoke an ioctl from shellscript. I think this doesn't work. in our special case it would work, because all daemon-checking is done