Re: [OpenWrt-Devel] nftables development and support in openwrt

2014-12-14 Thread Steven Barth
Hi Tomer, Regarding the firewall package - its probably a dumb question, but isn't this the reason for nftables' compatibility layer? (http://git.netfilter.org/iptables-nftables/) afaik - and please correct me if I'm wrong - that works only for the iptables CLI command, however our firewal

Re: [OpenWrt-Devel] rootfs_data on separated flash

2014-12-14 Thread John Crispin
On 14/12/2014 21:37, Rafał Miłecki wrote: > 1) I've modified DT to create "ubi" MTD partition on NAND > 2) Wrote a simple preinit_main script creating "rootfs_data2" UBI volume > 3) Modified fstools to prefer rootfs_data2 over rootfs_data if it exists i dont like that bit at all. its a work arou

Re: [OpenWrt-Devel] nftables development and support in openwrt

2014-12-14 Thread Tomer Eliyahu
Hi Steven, Thanks for answering so quickly - I'll try to play with nft and help with testing. Regarding the firewall package - its probably a dumb question, but isn't this the reason for nftables' compatibility layer? ( http://git.netfilter.org/iptables-nftables/) Best Regards, Tomer On Dec 14,

Re: [OpenWrt-Devel] Please remove me from spam list

2014-12-14 Thread yangbo
On 12 Dec 2014 11:36, John Crispin wrote: >On 12/12/2014 11:26, yangbo wrote: >> Hi, Please remove me from spam list. Maybe I send similar mail to >> offen... Thank you. ___ >> openwrt-devel mailing list openwrt-devel@lists.openwrt.org >> https://lists

[OpenWrt-Devel] Zyxcel's OpenWrt code now available for Zyxel NBG6616

2014-12-14 Thread Owen Brotherwood
https://forum.openwrt.org/viewtopic.php?pid=257695#p257695 Br Owen (oxo) Brotherwood https://www.linkedin.com/pulse/new-wireless-router-owen-brotherwood?trk=mp-reader-card ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.ope

[OpenWrt-Devel] [PATCH] add "preinit_regular" diag.sh set_state argument

2014-12-14 Thread Rafał Miłecki
This new argument is used right after starting regular preinit (which happens if failsafe wasn't triggered). The main purpose of "preinit" argument is to indicate that failsafe can be triggered, however we were missing a way to inform user that we don't wait for a trigger anymore. With this change

Re: [OpenWrt-Devel] [PATCH][ar71xx] Mikrotik Routerboard RB2011 switch fix

2014-12-14 Thread Soren Harward
On Sat, Dec 13, 2014 at 1:22 PM, Chris Green wrote: > This patch is the same as the Routerboard 951G fix, I've built this > and tested it on my rb-2011uias-2hnd. However we should check that it > also works on other/older RB2011 routers which did work OK with the > unpatched code. I'll do that s

Re: [OpenWrt-Devel] rootfs_data on separated flash

2014-12-14 Thread Rafał Miłecki
On 14 December 2014 at 19:55, John Crispin wrote: > gregley sent a extroot ubi support patch. > > with this in place 2 scenarios are possible. > > 1) install rootfs on your spi and with a extroot default config that > will copy the whole content over to the ubi. magic markers might be > required h

Re: [OpenWrt-Devel] [PATCH][ar71xx] Routerboard 951G Switch Fix

2014-12-14 Thread David Hutchison
Hello, I don't think this is related to the kernel. This issue was also in Barrier Breaker ( 3.10 ). The CPU was changed in the Routerboard 951G's from an ar9344 rev. 2 to a ar9344 rev. 3. I am wondering if the processor revision change had anything to do with it. Here is the OpenWRT Bug confirmin

Re: [OpenWrt-Devel] [PATCH] [packages] python: file conflicts

2014-12-14 Thread Gergely Kiss
Hi Steven, thanks for the information. I'm going to send this as a pull request then along with the other packages I'm working on. Regards, Gergely On 12/14/2014 07:51 PM, Steven Barth wrote: > Hi Gergely, > > this is the wrong place to post package-related patches and issues. > > Please do

Re: [OpenWrt-Devel] [PATCH][ar71xx] Routerboard 951G Switch Fix

2014-12-14 Thread John Crispin
Hi, thanks for the info, i found my poe injector, a cisco cable and my keyspan. i will look into this during the coming days. sorry for the delay, i want to double check that the fix is correct. what strikes me as odd is that this used to work on older kernels. it might be related to the enforced

Re: [OpenWrt-Devel] rootfs_data on separated flash

2014-12-14 Thread John Crispin
Hi, gregley sent a extroot ubi support patch. with this in place 2 scenarios are possible. 1) install rootfs on your spi and with a extroot default config that will copy the whole content over to the ubi. magic markers might be required here. currently extroot write a magic file to the external

Re: [OpenWrt-Devel] [PATCH] [packages] python: file conflicts

2014-12-14 Thread Steven Barth
Hi Gergely, this is the wrong place to post package-related patches and issues. Please do a pull requests here instead https://github.com/openwrt/packages/pulls and for issues please use: https://github.com/openwrt/packages/issues Cheers, Steven _

Re: [OpenWrt-Devel] [PATCH] kirkwood: enable EA4500 switch on 3.18

2014-12-14 Thread John Crispin
On 14/12/2014 19:11, Luka Perkov wrote: > Hi Claudio, > > On Thu, Dec 11, 2014 at 10:48:00AM -0500, Claudio Leite wrote: >> Signed-off-by: Claudio Leite >> --- >> target/linux/kirkwood/patches-3.18/160-ea4500.patch | 13 - >> 1 file changed, 12 insertions(+), 1 deletion(-) > > I s

Re: [OpenWrt-Devel] [procd] How to redirect STDOUT/STDERR of a started service ?

2014-12-14 Thread John Crispin
On 14/12/2014 19:27, Christian Schoenebeck wrote: > Hi, I provided privoxy 3.0.22 package with scripts using procd to > run the service. When privoxy runs in foreground it never writes to > logfile. So it's required to redirect stdout and/or stderr of this > started service to a file. I asked the

[OpenWrt-Devel] [procd] How to redirect STDOUT/STDERR of a started service ?

2014-12-14 Thread Christian Schoenebeck
Hi, I provided privoxy 3.0.22 package with scripts using procd to run the service. When privoxy runs in foreground it never writes to logfile. So it's required to redirect stdout and/or stderr of this started service to a file. I asked the developers of privoxy how to fix this. I got a tip to cre

[OpenWrt-Devel] [PATCH] [packages] python: file conflicts

2014-12-14 Thread Gergely Kiss
From: Gergely Kiss Subject: [PATCH] [packages] python: fix file conflict between python and python-base packages Fix file conflicts between packages "python" and "python-base" Signed-off-by: Gergely Kiss Tested-by: Gergely Kiss --- Hi Alexandru, I found that a couple of built-in python libr

Re: [OpenWrt-Devel] [PATCH] kirkwood: enable EA4500 switch on 3.18

2014-12-14 Thread Luka Perkov
Hi Claudio, On Thu, Dec 11, 2014 at 10:48:00AM -0500, Claudio Leite wrote: > Signed-off-by: Claudio Leite > --- > target/linux/kirkwood/patches-3.18/160-ea4500.patch | 13 - > 1 file changed, 12 insertions(+), 1 deletion(-) I see that John merged your patch... Can you please send pa

Re: [OpenWrt-Devel] [package] shadow: unresolvable dependency with shadow-utils

2014-12-14 Thread Steven Barth
Hi Gergely, my name is Gergely Kiss, I have recently started creating patches for openwrt and I'm about to publish some packages to the packages repository (some ported from oldpackages, others are brand new). Sounds good, thanks. Please read and follow our guidelines when doing pull request

[OpenWrt-Devel] [PATCH fstools 2/2] libfstools: drop removed functions from the header file

2014-12-14 Thread Rafał Miłecki
Signed-off-by: Rafał Miłecki --- libfstools/libfstools.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/libfstools/libfstools.h b/libfstools/libfstools.h index df7e48b..b03e432 100644 --- a/libfstools/libfstools.h +++ b/libfstools/libfstools.h @@ -41,10 +41,7 @@ extern int find_overlay_mou

[OpenWrt-Devel] [PATCH fstools 1/2] libfstools: accept volume as argument in most calls

2014-12-14 Thread Rafał Miłecki
This optimizes code: drops unneeded calls to the volume_find and checks. Signed-off-by: Rafał Miłecki --- libfstools/jffs2.c | 44 libfstools/libfstools.h | 8 +--- libfstools/overlay.c| 18 -- libfstools/snapshot.c | 1

[OpenWrt-Devel] [package] shadow: unresolvable dependency with shadow-utils

2014-12-14 Thread Gergely Kiss
Hi Steven, my name is Gergely Kiss, I have recently started creating patches for openwrt and I'm about to publish some packages to the packages repository (some ported from oldpackages, others are brand new). However, one of the packages depends on shadow-useradd and this dependency seems to b

Re: [OpenWrt-Devel] nftables development and support in openwrt

2014-12-14 Thread Steven Barth
Hi Tomer, I am currently working on a kernel module which offloads traffic from the Networking stack. This is part of a project which optimizes IP forwarding for low end routers that have weak CPU and low on memory. Sounds interesting. Other approaches of speeding up forwarding are btw. also

[OpenWrt-Devel] nftables development and support in openwrt

2014-12-14 Thread Tomer Eliyahu
Hi, My name is Tomer and I'm a software engineer specializing in embedded linux kernel networking. I am currently working on a kernel module which offloads traffic from the Networking stack. This is part of a project which optimizes IP forwarding for low end routers that have weak CPU and low on

[OpenWrt-Devel] [PATCH v2] [package] fstools: make extroot functionality work with ubifs

2014-12-14 Thread Gergely Kiss
>From 730494a0accbc5b70e57d376ca11e81453868422 Mon Sep 17 00:00:00 2001 From: Gergely Kiss Date: Sun, 14 Dec 2014 14:23:05 +0100 Subject: [PATCH v2] [package] fstools: make extroot functionality work with ubifs Signed-off-by: Gergely Kiss Tested-by: Gergely Kiss --- Hi John, here's the new v

Re: [OpenWrt-Devel] kirkwood gcc/binutils woe?

2014-12-14 Thread Harald Geyer
nwf writes: > $ gcc -v -o hello hello.c [...] > /usr/lib/gcc/arm-openwrt-linux-uclibcgnueabi/4.8.3/collect2 > --eh-frame-hdr -dynamic-linker /lib/ld-uClibc.so.0 > -X -m armelf_linux_eabi -o hello > /usr/lib/gcc/arm-openwrt-linux-uclibcgnueabi/4.8.3/crt1.o > /usr/lib/gcc/arm-openwrt-linux-uclibcgnue

Re: [OpenWrt-Devel] [PATCH][ar71xx] Routerboard 951G Switch Fix

2014-12-14 Thread Chris Green
On Sat, Dec 13, 2014 at 04:42:03PM -0700, Davey Hutchison wrote: > The boot loader on these boards is routerboot. I do not know if routerboot > provides a md like command or not. > Here's the RouterBOOT menu on my RB2011:- RouterBOOT booter 3.18 RouterBoard 2011UiAS-2HnD CPU frequency: 600 M