[OpenWrt-Devel] Fwd: [PATCH] nodogsplash crashes when rdir parameter is missing

2012-05-30 Thread John Crispin
CC'ing the nodogsplash people ... could they comment on the patch ? looks like a remote DoS exploit Original Message Subject: [OpenWrt-Devel] [PATCH] nodogsplash crashes when rdir parameter ismissing Date: Wed, 30 May 2012 23:41:00 +0200 From: Moritz Warning Reply-To:

[OpenWrt-Devel] [PATCH] nodogsplash crashes when rdir parameter is missing

2012-05-30 Thread Moritz Warning
nodogsplash-0.9_beta9.9.6 crashes if it receives an authentication URL which has no "redir" or "tok" parameter set. That's why wget on the splash page crashes nodogsplash. :[ Signed-off-by: Moritz Warning Attached is the patch created by quilt. An inline patch would omit the file name. --- a/sr

Re: [OpenWrt-Devel] [PATCH 3/4] kirkwood: add user-space for the ALL6000

2012-05-30 Thread Luka Perkov
On Wed, May 30, 2012 at 11:18:30AM +0300, Daniel Golle wrote: > This adds userspace support for the ALL6000. > I'll add sysupgrade, and firstboot/preinit in the next days, so things will > work smoothly with UBIFS as (rom) rootfs. > > Signed-off-by: Daniel Golle > > diff --git a/target/linux/kir

[OpenWrt-Devel] trunk openwrt + batman-adv 2012.1.0

2012-05-30 Thread Pedro Nuno Costa Rodrigues
First of all i would like thank's to all of you that somehow helped me. I solved my problem. I made a openwrt build that works fine with batman-adv. The definitions saved in the batman-adv configuration file, boots in the startup, and it works perfect for my needs. I also tryed with 2 gatew

Re: [OpenWrt-Devel] [OpenWrt-Commits] collectd/libmodbus (was r31938 - packages/utils/collectd)

2012-05-30 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 30.05.2012 08:17, Daniel Golle wrote: > I agree, back-porting support for recent versions of libmodbus into > collectd-4 is quite a hassle and it makes more sense to update to > collectd-5. Well, I'll try these days.. > However, I don't know why li

Re: [OpenWrt-Devel] [PATCH 1/4] kirkwood: add support for Allnet ALL6000 board

2012-05-30 Thread Gabor Juhos
2012.05.30. 14:14 keltezéssel, Jonas Gorski írta: > Hi, > > some small nit-picks > > On 30 May 2012 10:08, Daniel Golle wrote: >> This adds support for the Allnet ALL6000 board to the Kernel. >> See >> http://www.allnet.de/entwicklungsplatformen.html?&L=0 >> >> Signed-off-by: Daniel Golle >>

[OpenWrt-Devel] [PATCH] 1/1: OLA - new package olad

2012-05-30 Thread Michael Markstaller
Adds new packages for OLA (Open Lightning Architecture): http://code.google.com/p/linux-lighting/ Based on works in: git://github.com/mmm444/ola-openwrt-feed.git Signed-off-by: Michael Markstaller --- cut --- Index: packages/utils/ola/patches/01-remove_root_check.patch

[OpenWrt-Devel] [PATCH] 1/1: protobuf split -lite and remove uneeded libprotoc

2012-05-30 Thread Michael Markstaller
- remove libprotoc.so* from package (AFAIK not needed for runtime on target) - split libprotobuf-lite.so* into separate package Signed-off-by: Michael Markstaller --- cut --- --- feeds/packages/libs/protobuf/Makefile (Revision 31678) +++ feeds/packages/libs/protobuf/Makefile (Arbei

Re: [OpenWrt-Devel] About the new netifd infrastructure

2012-05-30 Thread Felix Fietkau
On 2012-05-30 3:54 PM, Roberto Riggio wrote: > On 05/30/2012 03:12 PM, Felix Fietkau wrote: >> Please post the full script. What does 'ifstatus mesh' show? > > This is the skeleton of the script > > #!/bin/sh > > [ -n "$INCLUDE_ONLY" ] || { > . /etc/functions.sh > . ../netifd-p

Re: [OpenWrt-Devel] About the new netifd infrastructure

2012-05-30 Thread Roberto Riggio
On 05/30/2012 03:12 PM, Felix Fietkau wrote: Please post the full script. What does 'ifstatus mesh' show? This is the skeleton of the script #!/bin/sh [ -n "$INCLUDE_ONLY" ] || { . /etc/functions.sh . ../netifd-proto.sh init_proto "$@" } proto_wing_init_config() {

Re: [OpenWrt-Devel] About the new netifd infrastructure

2012-05-30 Thread Felix Fietkau
On 2012-05-30 12:27 PM, Roberto Riggio wrote: > Hi, > > I'm trying to adapt a package (wing, a routing protocol for WMN) to the > new netifd infrastructure. > > I defined a new protocol by adding a new script in /lib/netfid/proto > called wing.sh. The script (inspired by dhcp.sh) defines the fo

Re: [OpenWrt-Devel] [PATCH 2/4] kirkwood: kernel configuration for ALL6000

2012-05-30 Thread Daniel Golle
Hi Florian, thanks for reviewing! On 30/05/12 15:06, Florian Fainelli wrote: >> unset CONFIG_ARM_PATCH_PHYS_VIRT=y >> It's unneeded, impacts performance and makes PCIe behave dodgy... If I set >> CONFIG_PHYS_OFFSET=0x0 >> instead, things are better. > I don't see any PLAT_PHYS_OFFSET or PHYS_OFFS

Re: [OpenWrt-Devel] [PATCH 1/4] kirkwood: add support for Allnet ALL6000 board

2012-05-30 Thread Jonas Gorski
Hi, some small nit-picks On 30 May 2012 10:08, Daniel Golle wrote: > This adds support for the Allnet ALL6000 board to the Kernel. > See > http://www.allnet.de/entwicklungsplatformen.html?&L=0 > > Signed-off-by: Daniel Golle > > diff --git a/target/linux/kirkwood/patches-3.3/300-all6000.patch

Re: [OpenWrt-Devel] [PATCH 2/4] kirkwood: kernel configuration for ALL6000

2012-05-30 Thread Florian Fainelli
Hi Daniel, On Wednesday 30 May 2012 11:14:51 Daniel Golle wrote: > This enabled support for the ALL6000 in the kernel config. > The ALL6000 uses UBIFS. Besides the changes needed for that, I changed two more > things: > unset CONFIG_ARM_PATCH_PHYS_VIRT=y > It's unneeded, impacts performance and m

[OpenWrt-Devel] About the new netifd infrastructure

2012-05-30 Thread Roberto Riggio
Hi, I'm trying to adapt a package (wing, a routing protocol for WMN) to the new netifd infrastructure. I defined a new protocol by adding a new script in /lib/netfid/proto called wing.sh. The script (inspired by dhcp.sh) defines the following functions: proto_wing_init_config() proto_wing_

[OpenWrt-Devel] [PATCH 4/4] kirkwood: generate UBI image for the ALL6000

2012-05-30 Thread Daniel Golle
This adds image generation for the ALL6000. As U-Boot supports loading the kernel out of an UBIFS volume, I added a menu option which allows the user to choose to include the uImage in the rootfs. I got board-support for the ALL6000 to get into U-Boot as well, but it's for U-Boot 2012.04.01. So th

[OpenWrt-Devel] [PATCH 3/4] kirkwood: add user-space for the ALL6000

2012-05-30 Thread Daniel Golle
This adds userspace support for the ALL6000. I'll add sysupgrade, and firstboot/preinit in the next days, so things will work smoothly with UBIFS as (rom) rootfs. Signed-off-by: Daniel Golle diff --git a/target/linux/kirkwood/base-files/etc/uci-defaults/network b/target/linux/kirkwood/base-file

[OpenWrt-Devel] [PATCH 2/4] kirkwood: kernel configuration for ALL6000

2012-05-30 Thread Daniel Golle
This enabled support for the ALL6000 in the kernel config. The ALL6000 uses UBIFS. Besides the changes needed for that, I changed two more things: unset CONFIG_ARM_PATCH_PHYS_VIRT=y It's unneeded, impacts performance and makes PCIe behave dodgy... If I set CONFIG_PHYS_OFFSET=0x0 instead, things are

[OpenWrt-Devel] [PATCH 1/4] kirkwood: add support for Allnet ALL6000 board

2012-05-30 Thread Daniel Golle
This adds support for the Allnet ALL6000 board to the Kernel. See http://www.allnet.de/entwicklungsplatformen.html?&L=0 Signed-off-by: Daniel Golle diff --git a/target/linux/kirkwood/patches-3.3/300-all6000.patch b/target/linux/kirkwood/patches-3.3/300-all6000.patch new file mode 100644 index 0