Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for Redwave RW2458N

2012-01-05 Thread Gabor Juhos
2012.01.05. 23:12 keltezéssel, Gabor Juhos írta: > 2012.01.05. 22:45 keltezéssel, Cezary Jackiewicz írta: >> Dnia 2012-01-05, o godz. 22:09:11 >> Gabor Juhos napisał(a): >> >> [...] >>> Please remove the ar71xx_eth{0,1}_data.* initialization. Those values are >>> configured automatically for AR724

Re: [OpenWrt-Devel] IPTABLES web gui

2012-01-05 Thread Olipro
On Monday 02 Jan 2012 19:14:16 Wesley Heydlauff wrote: > So what is the best way to use the isp's static addresses? There is no > real good information on how to allow the router to pass multiple public > addresses to the system on the public network. Is there any good > documentation to get this d

Re: [OpenWrt-Devel] Makefile: problem with configurable library dependency

2012-01-05 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. Use "DEPENDS:=+CONFIG_MYPACKAGE_USES_LIBRARY:mylib" (the plus in front). That will also make the PKG_BUILD_DEPENDS unnecessary. Adding a plus in front of a dependency spec means your package selects the dependant package and it is also propagated

Re: [OpenWrt-Devel] kexec failure on G300NH

2012-01-05 Thread Peter Naulls
On 01/05/2012 09:43 AM, Florian Fainelli wrote: Hello, You should enable kernel debugging in your kexec'd kernel and see whether the serial port is being left with IRQs disabled from the original kernel. I turned on kernel debug, but I'm unsure what exactly I'm looking at. It may be that th

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for Redwave RW2458N

2012-01-05 Thread Gabor Juhos
2012.01.05. 22:45 keltezéssel, Cezary Jackiewicz írta: > Dnia 2012-01-05, o godz. 22:09:11 > Gabor Juhos napisał(a): > > [...] >> Please remove the ar71xx_eth{0,1}_data.* initialization. Those values are >> configured automatically for AR7240 since r29103. > > Yes, indeed. > > v1.1 > > Signed-

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for Redwave RW2458N

2012-01-05 Thread Cezary Jackiewicz
Dnia 2012-01-05, o godz. 22:09:11 Gabor Juhos napisał(a): [...] > Please remove the ar71xx_eth{0,1}_data.* initialization. Those values are > configured automatically for AR7240 since r29103. Yes, indeed. v1.1 Signed-off-by: Cezary Jackiewicz --- --- target/linux/ar71xx/config-2.6.37 (wers

[OpenWrt-Devel] Makefile: problem with configurable library dependency

2012-01-05 Thread Jan Chybiak
Hello, I have a problem defining a library dependency in the Makefile of a project. - First of all I defined a Config.in file like so: config MYPACKAGE_USES_LIBRARY bool "Use library" depends PACKAGE_mypackage && PACKAGE_mylib default n help bla... - included it in the Mak

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for Redwave RW2458N

2012-01-05 Thread Gabor Juhos
2012.01.05. 9:34 keltezéssel, Cezary Jackiewicz írta: > Update patches https://dev.openwrt.org/ticket/9568 > > Tested on r29664 > > Signed-off-by: Cezary Jackiewicz > > --- > --- target/linux/ar71xx/config-2.6.37 (wersja 27297) > +++ target/linux/ar71xx/config-2.6.37 (kopia robocza) > @@ -33,6

Re: [OpenWrt-Devel] kexec failure on G300NH

2012-01-05 Thread Florian Fainelli
Hello, On 01/05/12 18:36, Peter Naulls wrote: I'm trying to use kexec as a fallback/flash mechanism. But something is going wrong: http://pastebin.com/0uvNnMQd So the device halts after/during the serial port setup, and returns to boot loader. Anyone want to suggest what might be going wrong,

[OpenWrt-Devel] kexec failure on G300NH

2012-01-05 Thread Peter Naulls
I'm trying to use kexec as a fallback/flash mechanism. But something is going wrong: http://pastebin.com/0uvNnMQd So the device halts after/during the serial port setup, and returns to boot loader. Anyone want to suggest what might be going wrong, or where to start looking?

[OpenWrt-Devel] [PATCH] scripts: Add git submodule support for within env profiles

2012-01-05 Thread Linus Lüssing
If one or more directories of an env profile consist of a git submodule, they will be checked out automatically now when switching to the according profile with 'scripts/env switch'. Signed-off-by: Linus Lüssing --- scripts/env |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --g

Re: [OpenWrt-Devel] [PATCH 1/2] dnsmasq: direct address return option for uci config

2012-01-05 Thread Linus Lüssing
On Mon, May 09, 2011 at 10:51:50PM +0200, John Crispin wrote: > On 09/04/11 07:00, Linus Lüssing wrote: > > hi, > > you should simply symlink /etc/resolv.conf to /tmp/resolv.conf.auto in > this case > > thx, > John Hi John, Ah, yes, you're right, that's easier, didn't think of that before. Sor

[OpenWrt-Devel] [PATCH] packages_10.03.1: asterisk-1.8.x wav handling, inotify

2012-01-05 Thread Hans Zandbelt
this patch corrects Asterisk 1.8.7.1 behaviour regarding endianness-related wav and inotify features in Backfire 10.03.1 please apply, or even better, provide me maintenance access to the Backfire packages branch Hans. Index: packages/net/asterisk-1.8.x/patches/500-format_wav-endianness.patch

[OpenWrt-Devel] [PATCH] dnsmasq: direct address return option for uci config

2012-01-05 Thread Linus Lüssing
With this commit the --address option of dnsmasq, directly returning ip addresses for certain domains instead of querying the dns server, can be configured in the dhcp uci configuration file. See the dnsmasq manpage for further details of this option. Signed-off-by: Linus Lüssing --- package/dns

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

2012-01-05 Thread Michael Büsch
On Thu, 05 Jan 2012 10:42:53 + Bastian Bittorf wrote: > > > # call this in cron.minutely > > > watchdogger -d /dev/watchdog --kick > > > > > > # do all checks with cron-called scripts > > > > > > if cron fails, the watchdog will reboot the device. > > > if you are more conservative, use timeo

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

2012-01-05 Thread Bastian Bittorf
> kernel.panic = 3 means that the kernel will reboot 3 seconds after > > getting a panic. OOM is not a condition to trigger a panic by > default, > unless you set panic_on_oom=1. So if you get the following > situation : > > OOM will cause a panic > panic will cause a reboot in 3 seconds. > > k

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

2012-01-05 Thread Bastian Bittorf
> An OOM is not considered to be a panic by default afaik. yes, it's only a seldom behaviour > Regarding your cronjob idea; won't work imo. Many (most?) watchdog > drivers do not support >= 60 second intervals. thats the smallest problem: #!/bin/sh watchdogger -d /dev/watchdog --kick sleep 30 w

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

2012-01-05 Thread Jo-Philipp Wich
An OOM is not considered to be a panic by default afaik. Regarding your cronjob idea; won't work imo. Many (most?) watchdog drivers do not support >= 60 second intervals. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.

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

2012-01-05 Thread Bastian Bittorf
> > # call this in cron.minutely > > watchdogger -d /dev/watchdog --kick > > > > # do all checks with cron-called scripts > > > > if cron fails, the watchdog will reboot the device. > > if you are more conservative, use timeout 900 > > What about just using panic_on_oom? then we are busted 8-) se

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

2012-01-05 Thread Florian Fainelli
Hello, On 01/05/12 10:02, Bastian Bittorf wrote: would'nt it be senseful to adjust "START=01" to /etc/init.d/watchdog and place something like this? pid="$( pidof watchdog )" echo "1000">/proc/$pid/oom_score_adj yeah, could do this. I did this on my boxes, but it does not help. Again a de

Re: [OpenWrt-Devel] IPTV over wifi (ath9k driver + OpenWrt)

2012-01-05 Thread Viktar Palstsiuk
Hello Gioacchino But it's written at http://wiki.openwrt.org/doc/uci/wireless: mcast_rate: Sets the fixed multicast rate, measured in kb/s. Only supported by madwifi, and mac80211 (for type adhoc in trunk) madwifi does not support 802.11n so it's not an option. How can I configure mcast_rate usi

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

2012-01-05 Thread Bastian Bittorf
> > would'nt it be senseful to adjust "START=01" to > /etc/init.d/watchdog > > and place something like this? > > > > pid="$( pidof watchdog )" > > echo "1000" >/proc/$pid/oom_score_adj > > yeah, could do this. I did this on my boxes, but it does not help. Again a device is _pingable_, but all

[OpenWrt-Devel] [PATCH] ar71xx: add support for Redwave RW2458N

2012-01-05 Thread Cezary Jackiewicz
Update patches https://dev.openwrt.org/ticket/9568 Tested on r29664 Signed-off-by: Cezary Jackiewicz --- --- target/linux/ar71xx/config-2.6.37 (wersja 27297) +++ target/linux/ar71xx/config-2.6.37 (kopia robocza) @@ -33,6 +32,7 @@ CONFIG_AR71XX_MACH_PB92=y CONFIG_AR71XX_MACH_RB4XX=y CONFI