Re: [OpenWrt-Devel] Trac anti-spam measures

2011-12-28 Thread Victor Seva
Hi, 2011/12/24 Mitar : > Hi! > I am unable to add to this ticket: > https://dev.openwrt.org/ticket/8293 > My comment: > > This will probably help also OpenWrt support: > [http://www.h-online.com/open/news/item/Android-drivers-to-be-included-in-Linux-3-3-kernel-1400996.html > Android Drivers to be

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

2011-12-28 Thread Bastian Bittorf
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 watchdog-petting on, so the device is running, but in fact lost. A better w

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 watchdog-petting

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 wh

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 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 the watchdog-petting

[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 --- libs/srtp/Makefile | 63 + .../1003_fix_mips_namespace_collision.patch| 59

[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 simultaneous

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 hours

[OpenWrt-Devel] Panic in mac80211 on x86

2011-12-28 Thread Philip Prindeville
I'm running trunk: $ svn info Path: . URL: svn://svn.openwrt.org/openwrt/trunk Repository Root: svn://svn.openwrt.org/openwrt Repository UUID: 3c298f89-4303-0410-b956-a3cf2f4a3e73 Revision: 29617 Node Kind: directory Schedule: normal Last Changed Author: juhosg Last Changed Rev: 29617 Last Changed

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 wrote: > i'm trying to get serial on dgn3500 > > i used the following pinout > > https://plus.google.com/photos/104120246985218478488/albums/5689759450555999777?b

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 wrote: > 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 wrote: > >> i'm

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 : > 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 asterisk with SRTP support enabl

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-checkin