Re: [LEDE-DEV] ar71xx: Need advice on parsing specific board config data on TP-Link TL-WR942N

2017-02-20 Thread Piotr Dymacz
Hello Sergey, 2017-02-21 0:00 GMT+01:00 Sergey Studzinski : > I'm currently working on LEDE port for TP-Link TL-WR942N v1 N450 router. > Hardware is mostly like Archer C59 QCA9561 platform but no 5GHz ac > radio and two USB2.0 ports. > Most work is already done against

Re: [LEDE-DEV] need help / info [httpd/apache]

2017-02-20 Thread Bastian Bittorf
* Denis Periša [21.02.2017 06:44]: > Thank you Bastian. I've come to realize it could be possible :) > Only thing that lacks is apaches nice way of redirecting 404 page to > php, here if I do that it sends php file as html, without execution. this should work. Have you set

Re: [LEDE-DEV] [PATCH] build: unsilence move command

2017-02-20 Thread Rafał Miłecki
On 20 February 2017 at 17:48, Thomas Reifferscheid wrote: > The @ sign in front of the "mv" command was significantly suppressing > output to stdout. When reviewing the make/build logs it was tricking > me a whole lot and it mad me lose time. Removing the @ sign will get

Re: [LEDE-DEV] Identifying kernel version (major) during build (.mk file)

2017-02-20 Thread Rafał Miłecki
On 20 February 2017 at 20:03, Mauro Mozzarelli wrote: > There is in some cases where kernel drivers have changed. As you might see > in the ip_vs patch I posted, kernel drivers differ in Kernel 3 and 4 Jonas is correct. Such a change could happen between 3.18 and 3.19 as

[LEDE-DEV] s25fl064k w25q64 and UBNT PBE-M5-620

2017-02-20 Thread Joe Ayers
Was there ever a conclusion to the different NOR chips returning the same JEDEC ID? reference: http://lists.infradead.org/pipermail/linux-mtd/2016-March/066333.html Looks like the issue still exists in 17.01-SNAPSHOT, r3202-4d1ab84 on the PBE-M5-620 using the Rocket-xw image. Was this the

[LEDE-DEV] [PATCH, v2] kmodloader: fix not being able to find some modules

2017-02-20 Thread Nathan Hintz
kmodloader is using slightly different criteria for ordering the AVL tree versus what it uses to traverse it. This sometimes results in not being able to find some modules. Reference: https://bugs.lede-project.org/index.php?do=details_id=443 Signed-off-by: Nathan Hintz ---

Re: [LEDE-DEV] [PATCH] kmodloader: fix not being able to find some modules

2017-02-20 Thread Yousong Zhou
On 21 February 2017 at 01:54, Nathan Hintz wrote: > kmodloader is using slightly different criteria for ordering the AVL tree > versus what it uses to traverse it. This sometimes results in not being > able to find some modules. > > Reference:

Re: [LEDE-DEV] [PATCH] procd: update modprobe path

2017-02-20 Thread Yousong Zhou
On 21 February 2017 at 04:39, Nathan Hintz wrote: > Commit 81aeba9b7f619ee1af1a64f355ae8001fa147d03 in LEDE source.git moved > modprobe to the "/sbin" directory. Update procd with the new path. > > Signed-off-by: Nathan Hintz > --- > initd/zram.c | 10

[LEDE-DEV] Mikrotik sysupgrade install not working on sxt lite2.

2017-02-20 Thread Alen Opacic
On sxt lite 2 (older version with 128mb nand flash) using lede-17.01.0-rc2-r3131-42f3c1f-ar71xx-mikrotik-vmlinux-initramfs.elf image, than sysupgrade to lede-17.01.0-rc2-r3131-42f3c1f-ar71xx-mikrotik-nand- large-squashfs-sysupgrade.bin. After reboot sxt is in a boot loop state, boots allways from

[LEDE-DEV] ar71xx: Need advice on parsing specific board config data on TP-Link TL-WR942N

2017-02-20 Thread Sergey Studzinski
I'm currently working on LEDE port for TP-Link TL-WR942N v1 N450 router. Hardware is mostly like Archer C59 QCA9561 platform but no 5GHz ac radio and two USB2.0 ports. Most work is already done against 17.01-rc2 and there is working factory and sysupgrade images. Special thanks to Henryk Heisig

[LEDE-DEV] [PATCH] ar71xx: WNDR4300: Fix switch HW controlled LEDs

2017-02-20 Thread Daniel Gonzalez Cabanelas
The Netgear WNDR4300, equipped with an Atheros AR8327 Gigabit Switch, has two LEDs on each port for monitoring LAN activity, but it currently only uses one. Fix the configuration to use both. The patch provides this new configuration: - green LED: 1 Gbps link, 4Hz blink frequency - amber LED:

Re: [LEDE-DEV] [PATCH] BT Home Hub 5A: configure Red Ethernet as DMZ interface (FS#490) and fix Red Ethernet switch port (FS#390)

2017-02-20 Thread Mathias Kresin
18.02.2017 19:05, Felix Fietkau: On 2017-02-18 16:57, Mathias Kresin wrote: @Felix: Would you please do a review of my changes. You added the function in question with c536da3 "lantiq: add VLAN handling fixes to xrx200 ethernet driver" but unfortunately without commit message. I'm not sure

[LEDE-DEV] [PATCH] procd: update modprobe path

2017-02-20 Thread Nathan Hintz
Commit 81aeba9b7f619ee1af1a64f355ae8001fa147d03 in LEDE source.git moved modprobe to the "/sbin" directory. Update procd with the new path. Signed-off-by: Nathan Hintz --- initd/zram.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

Re: [LEDE-DEV] [PATCH] Add ip_vs kernel netfilter modules to enable load balancing capabilities

2017-02-20 Thread Jonas Gorski
On 20 February 2017 at 10:47, Jonas Gorski wrote: > On 19 February 2017 at 13:01, Mauro Mozzarelli wrote: >> Author: Mauro Mozzarelli >> Date: Sun Feb 19 11:33:23 2017 + >> >> IPVS (IP Virtual Server) implements

Re: [LEDE-DEV] Identifying kernel version (major) during build (.mk file)

2017-02-20 Thread Jonas Gorski
Hi, please don't top-post. On 20 February 2017 at 20:03, Mauro Mozzarelli wrote: > Jonas, > > > There is in some cases where kernel drivers have changed. As you might see > in the ip_vs patch I posted, kernel drivers differ in Kernel 3 and 4 and > thus it is necessary to

Re: [LEDE-DEV] [PATCH] Add ip_vs kernel netfilter modules to enable load balancing capabilities

2017-02-20 Thread Felix Fietkau
On 2017-02-20 20:08, Mauro Mozzarelli wrote: > Hello John, > > Thank you for reviewing the patch. I extracted it with "git show" which > added the tabs, but I can always edit the patch file manually and remove > them if it helps. > > Please could you clarify what is the problem with line

Re: [LEDE-DEV] [PATCH] Add ip_vs kernel netfilter modules to enable load balancing capabilities

2017-02-20 Thread Mauro Mozzarelli
Hello John, Thank you for reviewing the patch. I extracted it with "git show" which added the tabs, but I can always edit the patch file manually and remove them if it helps. Please could you clarify what is the problem with line wrapping? It is there for better readability, would you like

Re: [LEDE-DEV] Identifying kernel version (major) during build (.mk file)

2017-02-20 Thread Mauro Mozzarelli
Jonas, There is in some cases where kernel drivers have changed. As you might see in the ip_vs patch I posted, kernel drivers differ in Kernel 3 and 4 and thus it is necessary to know which kernel I am building for to select the appropriate kernel configuration. If the granularity requires

[LEDE-DEV] [wiki]Table of packages is officially live!

2017-02-20 Thread Alberto Bursi
The wiki feature showing what packages are in LEDE (and some information about them) is now complete! Hooray! :) https://lede-project.org/packages/start The packages in the table/indexes are updated automatically from sources every sunday. It is currently tracking Snapshot, will also track

Re: [LEDE-DEV] [PATCH] ar71xx: fix vlan settings for some boards

2017-02-20 Thread John Crispin
On 20/02/2017 19:31, Piotr Dymacz wrote: > Hello, > > 2017-02-20 13:11 GMT+01:00 Conor O'Gorman : >> On 18/02/17 14:32, Weijie Gao wrote: >>> >>> For AR71XX devices, GMAC1 always connects port 0 of the built-in switch, >>> as the CPU port. >>> >>> This patch sets correct

Re: [LEDE-DEV] [LEDE DEV][wiki] Login with github

2017-02-20 Thread Thomas Endt
Hi Baptiste, jow already fixed this issue with a workaround (see comments in your linked bug report). To get this fixed in the OAuth plugin, I created a bug report https://github.com/cosmocode/dokuwiki-plugin-oauth/issues/45 Regards, Thomas > -Ursprüngliche Nachricht- > von Baptiste

[LEDE-DEV] [PATCH] kmodloader: fix not being able to find some modules

2017-02-20 Thread Nathan Hintz
kmodloader is using slightly different criteria for ordering the AVL tree versus what it uses to traverse it. This sometimes results in not being able to find some modules. Reference: https://bugs.lede-project.org/index.php?do=details_id=443 Signed-off-by: Nathan Hintz ---

[LEDE-DEV] ./scripts/feeds install modules.mk not included

2017-02-20 Thread Mehrtens, Hauke
When I install a target from a feed the kernel packages from the modules.mk of the target are not automatically available in LEDE. I have to remove this file tmp/info/.packageinfo-kernel_linux , then it gets regenerated in the next make run and it contains the new packages for the target's

[LEDE-DEV] [PATCH] build: unsilence move command

2017-02-20 Thread Thomas Reifferscheid
The @ sign in front of the "mv" command was significantly suppressing output to stdout. When reviewing the make/build logs it was tricking me a whole lot and it mad me lose time. Removing the @ sign will get stdout and logs right about what happened when. Signed-off-by: Thomas Reifferscheid

[LEDE-DEV] [PATCH] [17.01] dnsmasq: Add upstream patch fixing SERVFAIL issues with multiple servers

2017-02-20 Thread Baptiste Jonglez
From: Baptiste Jonglez This fixes FS#391 for lede-17.01 Signed-off-by: Baptiste Jonglez --- .../patches/000-fix-servfail-handling.patch| 130 + 1 file changed, 130 insertions(+) create mode 100644

Re: [LEDE-DEV] [PATCH] dnsmasq: Add upstream patch fixing SERVFAIL issues with multiple servers

2017-02-20 Thread Baptiste Jonglez
Sorry, I forgot to add the 17.01 tag. I am resending it with the proper tag. On Mon, Feb 20, 2017 at 04:48:49PM +0100, Baptiste Jonglez wrote: > From: Baptiste Jonglez > > This fixes FS#391 for lede-17.01 > > Signed-off-by: Baptiste Jonglez >

[LEDE-DEV] [PATCH] dnsmasq: Add upstream patch fixing SERVFAIL issues with multiple servers

2017-02-20 Thread Baptiste Jonglez
From: Baptiste Jonglez This fixes FS#391 for lede-17.01 Signed-off-by: Baptiste Jonglez --- .../patches/000-fix-servfail-handling.patch| 130 + 1 file changed, 130 insertions(+) create mode 100644

Re: [LEDE-DEV] kmod-ebtables: install fails

2017-02-20 Thread yanosz
Hello, Am 02/20/2017 um 04:09 PM schrieb Baptiste Jonglez: > On Sun, Feb 19, 2017 at 01:48:04PM +0100, yanosz wrote: >> Hello, >> >> I've some trouble installing kmod-ebtables on lede 17.01 rc2. >> >> root@Node-2:/etc/config# opkg install kmod-ebtables >> Package kmod-ebtables (4.4.47-1)

[LEDE-DEV] image-commands.mk: remove at-sign for mv

2017-02-20 Thread Thomas Reifferscheid
This is my first post to lede-dev, so hi everybody! Please submit the attached patch. The @ sign in front of the "mv" command was significantly delaying the output to stdout. When reviewing the make/build logs it was tricking me a whole lot and it mad me lose time. Removing the @ sign will get

Re: [LEDE-DEV] [LEDE DEV][wiki] Login with github

2017-02-20 Thread Baptiste Jonglez
Hi Thomas, Is the github login integration supposed to work? There is a bug reported about a 404 error when trying to login: https://bugs.lede-project.org/index.php?do=details_id=531 Thanks! Baptiste On Sat, Oct 01, 2016 at 05:25:54PM +0200, Thomas Endt wrote: > IIRC it was Martin who

Re: [LEDE-DEV] kmod-ebtables: install fails

2017-02-20 Thread Baptiste Jonglez
On Sun, Feb 19, 2017 at 01:48:04PM +0100, yanosz wrote: > Hello, > > I've some trouble installing kmod-ebtables on lede 17.01 rc2. > > root@Node-2:/etc/config# opkg install kmod-ebtables > Package kmod-ebtables (4.4.47-1) installed in root is up to date. It looks like kmod-ebtables is already

[LEDE-DEV] [PATCH] ar71xx: WNDR4300: Fix network vlan IDs

2017-02-20 Thread Daniel Gonzalez Cabanelas
The Netgear WNDR4300 has the VLAN IDs flipped in LuCi, fix it. Signed-off-by: Daniel Gonzalez Cabanelas diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index e08d7dd..a55e50a 100755 ---

Re: [LEDE-DEV] [PATCH] ar71xx: fix vlan settings for some boards

2017-02-20 Thread Conor O'Gorman
On 18/02/17 14:32, Weijie Gao wrote: For AR71XX devices, GMAC1 always connects port 0 of the built-in switch, as the CPU port. This patch sets correct vlan for some devices with wrong settings: a) mark port 0 as CPU port, tagged b) reverse port order, marking these ports untagged This change

[LEDE-DEV] [PATCH] procd.sh: use parrameterized respawn values

2017-02-20 Thread Claudiu Brasovean
Signed-off-by: Claudiu Brasovean --- package/system/procd/files/procd.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh index 6347de5..9fbf47e 100644 ---

[LEDE-DEV] [PATCH packages] lighttpd: update to 1.4.45

2017-02-20 Thread Rafał Miłecki
From: Rafał Miłecki Update to 1.4.42 introduced a problem with starting lighttpd as OpenWrt/LEDE service. It was stopping whole init process at sth like: 783 root 1124 S{S50lighttpd} /bin/sh /etc/rc.common /etc/rc.d/S50lighttpd boot 799 root 1164 S

Re: [LEDE-DEV] need help / info [httpd/apache]

2017-02-20 Thread Bastian Bittorf
* Denis Periša [20.02.2017 09:06]: > Is there any other httpd that supports php and 404 error pages? the "builtin" server 'uhttpd' supports both. read the wiki about uci/uhttpd. bye, bastian ___ Lede-dev mailing list

Re: [LEDE-DEV] [PATCH] Add ip_vs kernel netfilter modules to enable load balancing capabilities

2017-02-20 Thread Jonas Gorski
On 19 February 2017 at 13:01, Mauro Mozzarelli wrote: > Author: Mauro Mozzarelli > Date: Sun Feb 19 11:33:23 2017 + > > IPVS (IP Virtual Server) implements transport-layer load balancing > inside the Linux kernel, so called Layer-4 switching.

Re: [LEDE-DEV] Identifying kernel version (major) during build (.mk file)

2017-02-20 Thread Jonas Gorski
On 19 February 2017 at 12:50, Mauro Mozzarelli wrote: > Thanks to those who provided directions. > > I will settle with checking on LINUX_3_18. > > I am not sure who manages build variables, but in future it would be useful > to be able to identify which kernel major version

Re: [LEDE-DEV] [PATCH] Add ip_vs kernel netfilter modules to enable load balancing capabilities

2017-02-20 Thread John Crispin
Hi, comments inline On 19/02/2017 13:01, Mauro Mozzarelli wrote: > Author: Mauro Mozzarelli > Date: Sun Feb 19 11:33:23 2017 + > > IPVS (IP Virtual Server) implements transport-layer load balancing ^ stray tab > inside the Linux kernel, so called Layer-4