[OpenWrt-Devel] Patch to fix broken DHCP renewals with metric for AA

2015-03-13 Thread Joseph Marlin
Below is a patch to fix a bug I ran into on Attitude Adjustment. When a DHCP interface with a metric assigned to it attempted to renew its lease, the default route was removed and not re-added. However, removing the metric from the interface would result in the default route correctly being

[OpenWrt-Devel] [PATCH 3/3] ipq806x: fix AP148 boot from NOR

2015-03-13 Thread Mathieu Olivari
This patch allows AP148 to boot from NOR flash. As we're using a FIT image as kernel (which includes kernel bin + DTB) we enable the MTD_SPLIT_FIT_FW kernel option, which will detect the FIT image and automatically split the firmware partition into 2 MTD parts (kernel + rootfs). The rootfs will

[OpenWrt-Devel] [PATCH 2/3] ipq806x: add ap148 bootargs to DT

2015-03-13 Thread Mathieu Olivari
Only one bootargs is really needed: the tty port. All the other information will use the OpenWrt mechanisms. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- .../ipq806x/patches/020-add-ap148-bootargs.patch | 46 ++ 1 file changed, 46 insertions(+) create mode

Re: [OpenWrt-Devel] [PATCH] x86: update to kernel 3.18

2015-03-13 Thread Felix Fietkau
On 2015-03-14 00:50, Russell Senior wrote: John == John Crispin blo...@openwrt.org writes: John Hi Russel, can you also send a boot log of the failing soekris so John we can see if we have an idea on how to fix it ? The failure is on Soekris net48xx (I am testing net4826, specifically).

Re: [OpenWrt-Devel] [PATCH] x86: update to kernel 3.18

2015-03-13 Thread Russell Senior
John == John Crispin blo...@openwrt.org writes: John Hi Russel, can you also send a boot log of the failing soekris so John we can see if we have an idea on how to fix it ? The failure is on Soekris net48xx (I am testing net4826, specifically). Typically, the boot either hangs or resets

[OpenWrt-Devel] [PATCH] kernel: Support kernel options required by systemd

2015-03-13 Thread Jeff Waugh
These are all likely to be widely useful in this modern age, but my interest is primarily in systemd support. :-) c.f. http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/systemd/systemd-.ebuild?view=markup#l118 Adapted from a patch by Adam Porter. Signed-off-by: Jeff Waugh

Re: [OpenWrt-Devel] I'd like to donate a Linksys WRT300N V1

2015-03-13 Thread Rafał Miłecki
On 13 March 2015 at 07:38, Alex Henrie alexhenri...@gmail.com wrote: I have a spare Linksys WRT300N V1, and according to the wiki, OpenWrt does not yet fully support it: http://wiki.openwrt.org/toh/linksys/wrt300n1 http://wiki.openwrt.org/toh/linksys/wrt300n I would be happy to mail this

[OpenWrt-Devel] I'd like to donate a Linksys WRT300N V1

2015-03-13 Thread Alex Henrie
Hi, I have a spare Linksys WRT300N V1, and according to the wiki, OpenWrt does not yet fully support it: http://wiki.openwrt.org/toh/linksys/wrt300n1 http://wiki.openwrt.org/toh/linksys/wrt300n I would be happy to mail this router to anyone who is willing to work on support for it. Thanks for

Re: [OpenWrt-Devel] I'd like to donate a Linksys WRT300N V1

2015-03-13 Thread Alex Henrie
2015-03-13 0:50 GMT-06:00 Rafał Miłecki zaj...@gmail.com: I work on both Broadcom targets, brcm47xx and bcm53xx: http://git.openwrt.org/?p=openwrt.gita=searchh=HEADst=authors=rmilecki (History goes back to September only, previously Hauke was accepting my patches) I'm actually quite missing

Re: [OpenWrt-Devel] 回复: How toCustom admin page on openwrt ?

2015-03-13 Thread Ben Mulvihill
On Thu, 2015-03-12 at 23:29 +0800, Tymon wrote: strange, how can the cgi or uhttp translate myrouter.site1 to gateway ip(i.e. your router, default is 192.168.1.1) ? I don't think cgi or uhttp translate anything. The computer running the browser (and all other computers on the local network)

[OpenWrt-Devel] [OpenWrt-Devel,kernel] wnr2200 gpio

2015-03-13 Thread Markus Kohls
Applied Patch from Ticket: #15267 --- target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c.old 2015-03-09 19:09:33.120104190 +0100 +++ target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c2015-03-09 19:11:17.091893461 +0100 @@ -1,4 +1,4 @@ -/* +/* * NETGEAR WNR2200 board

Re: [OpenWrt-Devel] [OpenWrt-Devel,kernel] wnr2200 gpio

2015-03-13 Thread Matthias Schiffer
There are still a few issues with this patch. The commit message wnr2200 gpio doesn't really say much. I'd recommend changing it to ar71xx: fix LED GPIO definitions for NETGEAR WNR2200 or something similar. The Signed-off-by line is still missing. The patch doesn't apply like this using

Re: [OpenWrt-Devel] DS-Lite interface is not coming up.

2015-03-13 Thread Steven Barth
config interface 'wan6' option proto 'static' option ifname 'eth1' option ip6addr '2001::50' config interface 'lq' option proto 'dslite' option ip6addr '2001::100' option peeraddr '2001::200' option tunlink 'wan6' In your dslite

Re: [OpenWrt-Devel] DS-Lite interface is not coming up.

2015-03-13 Thread Sekhar Avutu
Hi Steven, Thanks for the reply. Here is my /etc/config/network configuration. config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0' config interface 'lan' option ifname 'eth0'

Re: [OpenWrt-Devel] DS-Lite interface is not coming up.

2015-03-13 Thread Steven Barth
Please post: your complete /etc/config/network the output of ubus call network.interface dump so we can see what's going on on your system. Your problem description is not really exhaustive. Also note that dslite doesn't support ipaddr or netmask parameters since RFC6333 specifies fixed IPv4

Re: [OpenWrt-Devel] [PATCH] x86: update to kernel 3.18

2015-03-13 Thread John Crispin
Hi Russel, can you also send a boot log of the failing soekris so we can see if we have an idea on how to fix it ? John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] Xilinx Zynq zedboard integration

2015-03-13 Thread Roman Yeryomin
AFAIR, Xilinx code is pretty clean and after you merge all their patches they are not so big/bad in the end. I did it for a custom board before but I doubt I could remember what code did cause problems and what didn't by just looking at it because it was few years ago. And things may have changed

[OpenWrt-Devel] [PATCH v2] kernel: enable open by fhandle syscalls

2015-03-13 Thread Daniel Golle
This is needed by many services to function properly and as all modern distributions got it enabled, it starts to be a de-facto standard, i.e. user-space starts to silently depend on it. This also pulls in EXPORTFS, however, the kernel binary size increases only a little. On ARM systems comes

[OpenWrt-Devel] [PATCH] ar71xx: fix LED GPIO definitions for NETGEAR WNR2200

2015-03-13 Thread Markus Kohls
Signed-off-by: Markus Kohls mar...@kola.li Now with corrected whitespaces and signed --- .../ar71xx/files/arch/mips/ath79/mach-wnr2200.c| 77 ++ 1 file changed, 35 insertions(+), 42 deletions(-) diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c

Re: [OpenWrt-Devel] [PATCH] rules.mk: add newline definition

2015-03-13 Thread John Crispin
Hi Alexandru, what do you need this for ? John On 12/03/2015 20:14, Alexandru Ardelean wrote: To be used for stuff like $(subst $(space),$(newline),$(SOME_VAR)) Signed-off-by: Alexandru Ardelean ardeleana...@gmail.com --- rules.mk | 5 + 1 file changed, 5 insertions(+) diff