[OpenWrt-Devel] [PATCH][package] make ltq-dsl-app compile with an eglibc-based toolchain

2012-11-22 Thread Frank Meerkötter
Hi, i had problems building the ltq-dsl-app when switching from uclibc to eglibc. This patch is adding a needed include, adds a configure test to figure out where clock_gettime() is located and runs autoreconfigurer afterwards. Please review/apply. Signed-Off-By: Frank Meerkötter

[OpenWrt-Devel] [PATCH][netifd] fix error checking of asprintf

2012-11-22 Thread Frank Meerkötter
Hi, while building with -D_FORTIFY_SOURCE i noticed a small problem in how netifd is using asprintf(). To check if an allocation by asprintf() worked or not the return value must be checked. Checking the pointer argument is undefined. Please review and apply (for now i have created a patch

[OpenWrt-Devel] [PATCH] Initial support for AirLive AIR3GII

2012-11-22 Thread Cezary Jackiewicz
AirLive AIR3GII is Ralink RT5350F based device with 100Mbps switch, USB port, 4MB flash and 32MB ram. Works: ethernet (LAN WAN), wps button, led, USB, sysupgrade Does not work: wifi (chip RT5350), reset button [ 13.39] phy0 - rt2800_init_eeprom: Error - Invalid RT chipset 0x5350

[OpenWrt-Devel] [PATCH] netifd: call /etc/udhcp.user from the netifd dhcp.script

2012-11-22 Thread Helmut Schaa
This was done previously when dhcp was handled by the network scripts. So netifd should behave the same. Signed-off-by: Helmut Schaa helmut.sc...@googlemail.com --- .../config/netifd/files/lib/netifd/dhcp.script |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git

[OpenWrt-Devel] [PATCH] scripts/feeds: return 1 to the shell if any of the feeds fail to update

2012-11-22 Thread Jonh Wendell
Currently the feeds script always exit with the status 0, even if it fails to update a feed. This patch changes this behaviour, returning 1 to the shell if any of the feeds fail to update. This keeps the current behaviour, i.e., try to update all feeds even when one of them fails. Signed-off-by:

Re: [OpenWrt-Devel] [PATCH v2 1/1] atheros: Revert Add leds back after migration to sysfs

2012-11-22 Thread Hanno Schupp
Hi Jonathan Will this fix the Engenius boot issue? Will non-Engenius still boot? And what about LEDs? Will they stop working on some or all devices? Please advise Kind Regards Hanno Schupp On 22/11/2012, at 11:29 AM, Jonathan Bither jonbit...@gmail.com wrote: Karl, I remember attitude

[OpenWrt-Devel] milliseconds time measurements

2012-11-22 Thread Gabriel
Hi, I'm using TP-Link WR741ND routers with openwrt, and I want to log some debug files, to know for example how many packets have been transmitted in a period of time. For that purpose I use while loops and log the results. The problem is that I couldn't find how to use a good time reference

Re: [OpenWrt-Devel] milliseconds time measurements

2012-11-22 Thread Luiz Angelo Daros de Luca
Just (ab)use any other time function like time tic() { TICFILE=$(mktemp); rm $TICFILE; mkfifo $TICFILE; ((TIME=$(time cat $TICFILE 21 | sed -rne '/real/{s/^real[[:blank:]]*//;p}'); echo $TIME$TICFILE ) )2/dev/null; } toc() { echo -n $TICFILE; awk BEGIN { print $(cat $TICFILE | sed -e 's/m/ * 60