Re: [OpenWrt-Devel] init script runs after S99sysctl?

2013-12-01 Thread Aleksandr Kolesnik
http://wiki.openwrt.org/doc/techref/hotplug 2013/12/2 John Crispin > On 02/12/13 08:02, Le Tran Dat wrote: > >> Hi Aleksandr, >> >> Many thanks for your help, I added my script to /etc/rc.local and it >> works like a cham. I haven't known about this script before. >> >> I don't know this too, I

Re: [OpenWrt-Devel] init script runs after S99sysctl?

2013-12-01 Thread John Crispin
On 02/12/13 08:02, Le Tran Dat wrote: Hi Aleksandr, Many thanks for your help, I added my script to /etc/rc.local and it works like a cham. I haven't known about this script before. I don't know this too, I will check it later. or if you need change iptables everytime after some interface

Re: [OpenWrt-Devel] init script runs after S99sysctl?

2013-12-01 Thread Le Tran Dat
Hi Aleksandr, Many thanks for your help, I added my script to /etc/rc.local and it works like a cham. I haven't known about this script before. I don't know this too, I will check it later. > or if you need change iptables everytime after some interface (ex WAN) > going up, you can easily create

Re: [OpenWrt-Devel] [PATCH] minidlna: create /dev/inotify when necessary.

2013-12-01 Thread John Crispin
On 02/12/13 04:58, Yousong Zhou wrote: On ar71xx platform, /dev/inotify is not created by default. Create it when inotify is enabled. This should close ticket #10711. Signed-off-by: Yousong Zhou --- multimedia/minidlna/files/minidlna.init |3 +++ 1 files changed, 3 insertions(+), 0 delet

Re: [OpenWrt-Devel] init script runs after S99sysctl?

2013-12-01 Thread Aleksandr Kolesnik
Hi Dat, Why you cannot add yours script to run in /etc/rc.local? or if you need change iptables everytime after some interface (ex WAN) going up, you can easily create script in /etc/hotplug.d/iface/ directory where add : [ ifup = "$ACTION" ] && [ "$INTERFACE" = "WAN" ] && { #here add yours iptab

[OpenWrt-Devel] [PATCH] minidlna: create /dev/inotify when necessary.

2013-12-01 Thread Yousong Zhou
On ar71xx platform, /dev/inotify is not created by default. Create it when inotify is enabled. This should close ticket #10711. Signed-off-by: Yousong Zhou --- multimedia/minidlna/files/minidlna.init |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/multimedia/minidlna/

[OpenWrt-Devel] init script runs after S99sysctl?

2013-12-01 Thread Le Tran Dat
Hi all, I am trying to run a script after the S99sysctl. I tried to use START=100 but it does not work. I don't want to extent the sysctl to call my script. for example: cat " /etc/init.d/myscript.sh start" >> /etc/init.d/sysctl I want to do so because my application needs to change iptables con

Re: [OpenWrt-Devel] [PATCH] [v3] util-linux: add host build for libuuid

2013-12-01 Thread Andy Leiserson
On Wed, Nov 27, 2013 at 04:51:25PM +0100, Felix Fietkau wrote: > On 2013-11-27 07:03, Andy Leiserson wrote: > > This patch adds a host build for util-linux to make libuuid available in > > the host environment. > > > > libuuid is needed as a build dependency of gupnp, which needs a host > > build

[OpenWrt-Devel] [PATCH] [(kernel|brcm2708)] Kernel update 3.12.2 for target brcm2708 with fixes to many problems on brcm2708

2013-12-01 Thread Oskari Rauta
From: Oskari Rauta Sorry for posting similar patches twice.. But decided to do it right this time. OpenWRT's kernel for brcm2708/raspberry pi is partially broken. It runs, but not very well, biggest concern is mmc drivers that: - cause errors - root filesystem might suddenly go to read-only mod

Re: [OpenWrt-Devel] [PATCH] brcm47xx: use "firmware" partition name

2013-12-01 Thread Hauke Mehrtens
On 12/01/2013 03:18 PM, Rafał Miłecki wrote: > Some time ago, after switching to the mainline bcm47xxpart driver > following patch has been applied: > > commit 03cef8725d2062335ffc3de50fc037b294fd458c > Author: hauke > Date: Sat Apr 6 22:22:26 2013 + > > brcm47xx: use old partition nam

[OpenWrt-Devel] [PATCH] [(kernel|brcm2708)] Kernel update 3.12.2 for target brcm2708 with fixes to many problems on brcm2708

2013-12-01 Thread Oskari Rauta
From: Oskari Rauta Sorry for posting similar patches twice.. But decided to do it right this time. OpenWRT's kernel for brcm2708/raspberry pi is partially broken. It runs, but not very well, biggest concern is mmc drivers that: - cause errors - root filesystem might suddenly go to read-only mod

[OpenWrt-Devel] [PATCH] [(kernel|brcm2708)] Kernel update 3.12.2 for target brcm2708 with fixes to many problems on brcm2708

2013-12-01 Thread Oskari Rauta
Sorry for posting similar patches twice.. But decided to do it right this time. OpenWRT's kernel for brcm2708/raspberry pi is partially broken. It runs, but not very well, biggest concern is mmc drivers that: - cause errors - root filesystem might suddenly go to read-only mode - usually after

[OpenWrt-Devel] [PATCH] brcm47xx: use "firmware" partition name

2013-12-01 Thread Rafał Miłecki
Some time ago, after switching to the mainline bcm47xxpart driver following patch has been applied: commit 03cef8725d2062335ffc3de50fc037b294fd458c Author: hauke Date: Sat Apr 6 22:22:26 2013 + brcm47xx: use old partition names again for kernel 3.8 This fixes sysupgrade. The parti

Re: [OpenWrt-Devel] USB instabilities on Atheros AR9344

2013-12-01 Thread Kristian Evensen
Hi again, On Fri, Nov 29, 2013 at 6:21 PM, Michel Stempin wrote: > > What happens if you turn off the WiFi during this time? When looking through the config, I just noticed that wifi has always been turned off. -Kristian ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] USB instabilities on Atheros AR9344

2013-12-01 Thread Kristian Evensen
Hi Vittorio, Thank you very much for your detailed replies :) On Fri, Nov 29, 2013 at 6:56 PM, Vittorio G (VittGam) wrote: > Have you tried with stable AA? I have the same router but with AA, and I've > attached quite a lot of USB devices to it (one 32GB Cruzer Fit pendrive as > extroot, 2 power

Re: [OpenWrt-Devel] USB instabilities on Atheros AR9344

2013-12-01 Thread Kristian Evensen
Hi Michel, Thank you very much for a quick reply and sorry for my late reply. I was without internet and access to the device yesterday. On Fri, Nov 29, 2013 at 6:21 PM, Michel Stempin wrote: > Are your devices and hubs enumerated as full or high-speed? They are all enumerated as high-speed. >

[OpenWrt-Devel] [patch openwrt RFC 4/4] firmware-utils/mkplinkfw: add TL-WA801ND v2 support

2013-12-01 Thread Jiri Pirko
Signed-off-by: Jiri Pirko --- tools/firmware-utils/src/mktplinkfw.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c index 195d169..1c3f49d 100644 --- a/tools/firmware-utils/src/mktplinkfw.c +++ b/tools/firmwa

[OpenWrt-Devel] [patch openwrt RFC 3/4] ar71xx: add profile for the WA801ND v2

2013-12-01 Thread Jiri Pirko
Patch to add the profile for the TP-LINK WA801ND v2 Signed-off-by: Jiri Pirko --- target/linux/ar71xx/image/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 8511bba..2c470b4 100644 --- a/

[OpenWrt-Devel] [patch openwrt RFC 1/4] ar71xx: add kernel support for the TL-WA801ND v2 board

2013-12-01 Thread Jiri Pirko
Patch to add kernel support for the TP-LINK WA801ND v2 Signed-off-by: Jiri Pirko --- .../files/arch/mips/ath79/mach-tl-wr841n-v8.c | 54 ++ .../636-MIPS-ath79-add-TL-WA801NDv2-suport.patch | 10 2 files changed, 56 insertions(+), 8 deletions(-) create mode 100644

[OpenWrt-Devel] [patch openwrt RFC 2/4] ar71xx: add user space support for the TL-WA801ND v2

2013-12-01 Thread Jiri Pirko
Patch to add the user space support for the TL-WA801ND v2 Signed-off-by: Jiri Pirko --- target/linux/ar71xx/base-files/etc/diag.sh | 1 + target/linux/ar71xx/base-files/etc/uci-defaults/01_leds| 5 + target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 1 + target

[OpenWrt-Devel] [patch openwrt RFC 0/4] Add support for TL-WA801ND v2 boar

2013-12-01 Thread Jiri Pirko
Jiri Pirko (4): ar71xx: add kernel support for the TL-WA801ND v2 board ar71xx: add user space support for the TL-WA801ND v2 ar71xx: add profile for the WA801ND v2 firmware-utils/mkplinkfw: add TL-WA801ND v2 support target/linux/ar71xx/base-files/etc/diag.sh | 1 + .../ar71xx/base

Re: [OpenWrt-Devel] [PATCH 1/2] ar71xx: sysupgrade for My Net Wi-Fi Range Extender

2013-12-01 Thread Gabor Juhos
2013.11.30. 20:14 keltezéssel, Christian Lamparter írta: >> I have applied the patches except the last one. On the WRT160NL, the >> preinit fixup is needed when the *-factory.bin image is flashed >> from the original web UI. > Ok, so the factory web update did something with the trx header in > th