Re: [LEDE-DEV] [PATCH] [17.01] Kernel: bump to 4.4.51

2017-02-23 Thread Stijn Segers
Hi Rafal, I talked this through with jow, a lot of targets have already dropped 4.4 support in trunk, which makes backporting 4.4 updates to 17.01 non-trivial. He was OK with me sending in a patch just for 17.01. Cheers Stijn Op do, 23 feb 2017 om 10:44 , schreef Rafał Miłecki : On 23 Fe

Re: [LEDE-DEV] MikroTik RB493G supported?

2017-02-23 Thread Thomas Endt
RB493G hasn't been removed AFAICS, but was never listed as supported. If you know which firmware files are needed for installation, you can update the dataentry accordingly [1]. Datafields to be updated: Firmware LEDE Install URL Firmware LEDE Upgrade URL LEDE Supported Current Rel If you know

[LEDE-DEV] MikroTik RB493G supported?

2017-02-23 Thread John Ricardo
I noticed that the MikroTik RB493G has been removed from the list of supported devices.  Why was that?  What would it take to add it back?  I have serial access so I can pull logs.  I don't want to risk installing 17.01 after reading the thread: MikroTik RB411AH sysupgrade issues. _

Re: [LEDE-DEV] [PATCH] libubox: Fix calloc_a() to return mem aligned pointers

2017-02-23 Thread Ted Hess
Yousong - As a side note to your side note - If you examine the actual mechanics of the allocation, the memory block is indeed size aligned to (4*sizeof(size_t)), but the actual pointer returned is offset of (2*sizeof(size_t)) within the block. As in CHUNK_TO_MEM... Peace, /ted (sorry for the

Re: [LEDE-DEV] automated signed firmware upgrades / hide a secret in image

2017-02-23 Thread Michael Richardson
Bastian Bittorf wrote: > * Michael Richardson [23.02.2017 07:57]: >> Yes, use an asymmetric key, and distribute the public part only. > thanks people, for all the input and your ideas. our approach is now > this: we hook into the 'usign' sourcecode and "hide" a secret there: 2

[LEDE-DEV] [PATCH 3/3] ubox: fix possible address alignment issue

2017-02-23 Thread Yousong Zhou
Fixes FS#544 3dc78a4 kmodloader: don't store aliases info in struct module Signed-off-by: Yousong Zhou --- package/system/ubox/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/system/ubox/Makefile b/package/system/ubox/Makefile index c3eb442..ff8dead 10

[LEDE-DEV] [PATCH 2/3] ppp: ppp6-up: add executable permission bit

2017-02-23 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- package/network/services/ppp/files/lib/netifd/ppp6-up | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 package/network/services/ppp/files/lib/netifd/ppp6-up diff --git a/package/network/services/ppp/files/lib/netifd/ppp6-up b/pa

[LEDE-DEV] [PATCH 1/3] mac80211: hwsim: select DRIVER_11AC_SUPPORT and DRIVER_11W_SUPPORT

2017-02-23 Thread Yousong Zhou
This is required for default wireless configuration of malta target to work out of the box again. Fixes "77ece30e: hostapd: Add ability to specify that that wireless driver supports 802.11ac" Signed-off-by: Yousong Zhou --- package/kernel/mac80211/Makefile | 2 +- 1 file changed, 1 insertion(+)

Re: [LEDE-DEV] [PATCH] libubox: Fix calloc_a() to return mem aligned pointers

2017-02-23 Thread Yousong Zhou
On 24 February 2017 at 08:30, Ted Hess wrote: > > > -Original Message- From: Yousong Zhou > Sent: Thursday, February 23, 2017 7:15 PM > To: Ted Hess > Cc: lede-dev > Subject: Re: [LEDE-DEV] [PATCH] libubox: Fix calloc_a() to return mem > aligned pointers > > > On 24 February 2017 at 05:20,

Re: [LEDE-DEV] [PATCH] libubox: Fix calloc_a() to return mem aligned pointers

2017-02-23 Thread Ted Hess
-Original Message- From: Yousong Zhou Sent: Thursday, February 23, 2017 7:15 PM To: Ted Hess Cc: lede-dev Subject: Re: [LEDE-DEV] [PATCH] libubox: Fix calloc_a() to return mem aligned pointers On 24 February 2017 at 05:20, Ted Hess wrote: The current implementation of calloc_a() re

Re: [LEDE-DEV] [PATCH] kmodloader: don't store aliases info in struct module

2017-02-23 Thread Yousong Zhou
On 23 February 2017 at 21:58, Felix Fietkau wrote: >> I actually thought about patching calloc_a to make sizeof_long-aligned >> allocation as the comment in libubox/utils.h says the func should "allocate a >> block of memory big enough to hold multiple aligned objects." >> >> But that's too corase

Re: [LEDE-DEV] [PATCH] libubox: Fix calloc_a() to return mem aligned pointers

2017-02-23 Thread Yousong Zhou
On 24 February 2017 at 05:20, Ted Hess wrote: > The current implementation of calloc_a() returns packed pointers for the extra > arguments. These packed, unaligned, pointers are OK for a lot of > architectures, > but not all. This patch will aligned the pointers returned in a manner > congruent

[LEDE-DEV] Broken emails and SPF (Was: [PATCH] This patch adds support for the Actiontec R1000H gateway to the brcm63xx targets.)

2017-02-23 Thread Baptiste Jonglez
On Thu, Feb 23, 2017 at 09:48:10PM +0100, David Woodhouse wrote: > On Thu, 2017-02-23 at 21:35 +0100, Rafał Miłecki wrote: > > On 12 February 2017 at 14:48, Anthony Sepa via Lede-dev > > wrote: > > > > > > The sender domain has a DMARC Reject/Quarantine policy which disallows > > > sending mailin

Re: [LEDE-DEV] [PATCH] This patch adds support for the Actiontec R1000H gateway to the brcm63xx targets.

2017-02-23 Thread Rafał Miłecki
On 23 February 2017 at 23:01, Anthony Sepa wrote: > Is there anything I can do to fix it? I can switch to my gmail account? I > was using my yahoo out of habit. I was posting using git send-mail, is that > causing the problem? Should I change to just using email? Well, using GMail will for sure l

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

2017-02-23 Thread Baptiste Jonglez
On Mon, Feb 20, 2017 at 06:52:15PM +, Alberto Bursi wrote: > The wiki feature showing what packages are in LEDE (and some information > about them) is now complete! Hooray! :) > > https://lede-project.org/packages/start Great, thanks Alberto! Here are a few questions and comments: - what i

Re: [LEDE-DEV] [PATCH] [17.01] Kernel: bump to 4.4.51

2017-02-23 Thread Rafał Miłecki
On 23 February 2017 at 22:35, Stijn Segers wrote: > Updates the 17.01 kernel to .51. > > Compile-tested on: > * ar71xx > * ramips/mt7621 > * x86/64 > > Run-tested on: > * ar71xx > * ramips/mt7621 > > Signed-off-by: Stijn Segers Why not the common way? Update kernel in master & cherry-pick to led

[LEDE-DEV] [PATCH] [17.01] Kernel: bump to 4.4.51

2017-02-23 Thread Stijn Segers
Updates the 17.01 kernel to .51. Compile-tested on: * ar71xx * ramips/mt7621 * x86/64 Run-tested on: * ar71xx * ramips/mt7621 Signed-off-by: Stijn Segers --- include/kernel-version.mk | 4 ++-- .../901-Revert-bcma-switch-GPIO-portions-to-use-GPIOLIB_

[LEDE-DEV] [PATCH netifd] system-linux: add VXLAN support

2017-02-23 Thread Matthias Schiffer
VXLAN shares many attributes with the tunnel devices, so it is implemented as a new tunnel type. The 'remote' attribute can be used for an unicast peer or a multicast group. The IANA-assigned port 4789 is used by default, instead of the non-standard port Linux defaults to. Signed-off-by: Matthias

[LEDE-DEV] [PATCH] libubox: Fix calloc_a() to return mem aligned pointers

2017-02-23 Thread Ted Hess
The current implementation of calloc_a() returns packed pointers for the extra arguments. These packed, unaligned, pointers are OK for a lot of architectures, but not all. This patch will aligned the pointers returned in a manner congruent with malloc(). I do not believe the extra padding overhead

Re: [LEDE-DEV] [PATCH] This patch adds support for the Actiontec R1000H gateway to the brcm63xx targets.

2017-02-23 Thread Rafał Miłecki
On 23 February 2017 at 21:48, David Woodhouse wrote: > On Thu, 2017-02-23 at 21:35 +0100, Rafał Miłecki wrote: >> On 12 February 2017 at 14:48, Anthony Sepa via Lede-dev >> wrote: >> > >> > The sender domain has a DMARC Reject/Quarantine policy which disallows >> > sending mailing list messages u

Re: [LEDE-DEV] [PATCH] This patch adds support for the Actiontec R1000H gateway to the brcm63xx targets.

2017-02-23 Thread David Woodhouse
On Thu, 2017-02-23 at 21:35 +0100, Rafał Miłecki wrote: > On 12 February 2017 at 14:48, Anthony Sepa via Lede-dev > wrote: > > > > The sender domain has a DMARC Reject/Quarantine policy which disallows > > sending mailing list messages using the original "From" header. > > > > To mitigate this p

Re: [LEDE-DEV] [PATCH] utils/busybox: prevent weak root passwords

2017-02-23 Thread Rafał Miłecki
On 17 February 2017 at 11:42, danrl wrote: > We are trying to make passwords on LEDE a tiny bit more secure by refusing > weak or short (read: less than 6 characters) passwords. > > Please see related discussion over here, where the inconsistencies were > discovered: > https://github.com/openwrt

Re: [LEDE-DEV] [PATCH] This patch adds support for the Actiontec R1000H gateway to the brcm63xx targets.

2017-02-23 Thread Rafał Miłecki
On 12 February 2017 at 14:48, Anthony Sepa via Lede-dev wrote: > The sender domain has a DMARC Reject/Quarantine policy which disallows > sending mailing list messages using the original "From" header. > > To mitigate this problem, the original message has been wrapped > automatically by the maili

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

2017-02-23 Thread Alen Opacic
Sxt LIte2(sxt2ndr2) boot log: [0.00] Linux version 4.4.49 (buildbot@builds) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3511-04c4b6f) ) #0 Mon Feb 20 09:21:42 2017 [0.00] bootconsole [early0] enabled [0.00] CPU0 revision is: 0001974c (MIPS 74Kc) [0.00] SoC: Atheros AR9344 r

Re: [LEDE-DEV] [OpenWrt-Devel] Using kdump... persistent logs, etc.

2017-02-23 Thread Philip Prindeville
Thanks for that. > On Feb 22, 2017, at 11:44 PM, Syrone Wong wrote: > > According to LEDE's source code: > > config KERNEL_CRASHLOG > bool "Crash logging" > depends on !(arm || powerpc || sparc || TARGET_uml || i386 || x86_64) > default y > > https://github.com/lede-project/source/blob/mas

Re: [LEDE-DEV] Compile error on Raspberri Pi 3

2017-02-23 Thread Álvaro Fernández Rojas
Hello, That's weird because neither the buildbot nor my local setup are failing. Could you try again with a clean checkout of LEDE? Which distro are you using? Regards, Álvaro. El 23/02/2017 a las 13:35, Perry Couprie escribió: > Hi, > > Ik compiled lede for raspberri pi 2 and it compiled. > >

Re: [LEDE-DEV] automated signed firmware upgrades / hide a secret in image

2017-02-23 Thread Michael Richardson
Eric Schultz wrote: > prpl member IntrinsicID has physically unclonable function technology > which allows a key to be generated at bootup based upon the physical > characteristics of the device. It's the same key generated everytime > but it isn't actually stored in flash. Their

Re: [LEDE-DEV] [PATCH] kmodloader: don't store aliases info in struct module

2017-02-23 Thread Felix Fietkau
On 2017-02-23 04:25, Yousong Zhou wrote: > This also fixes FS#544 as the allocation causing possible address alignment > issue should now disappear > > Size comparison on x86_64 system > > function old new delta > alloc_module

Re: [LEDE-DEV] QCA Dakota support

2017-02-23 Thread Christian Mehlis
Hi Christian, do you plan to integrate the IPQ40XX support for Asus, ZyXEL and AVM from https://github.com/chunkeey/LEDE-IPQ40XX/commits/staging in the next days? I can provide support for Compex WPJ428 afterwards. Best, Christian Am 2017-02-17 19:22, schrieb John Crispin: On 17/02/2017 17

Re: [LEDE-DEV] [PATCH] kmodloader: don't store aliases info in struct module

2017-02-23 Thread Ted Hess
On Thu, 2017-02-23 at 11:25 +0800, Yousong Zhou wrote: > This also fixes FS#544 as the allocation causing possible address alignment > issue should now disappear > > Size comparison on x86_64 system > > function old new   delta > alloc_m

[LEDE-DEV] Compile error on Raspberri Pi 3

2017-02-23 Thread Perry Couprie
Hi, Ik compiled lede for raspberri pi 2 and it compiled. When i try to compile it for raspberri pi 3, it get the following compile error: What can i do to fix this ? Perry CHK include/generated/asm-offsets.h UPD include/generated/asm-offsets.h CALLscripts/checksyscalls.sh

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

2017-02-23 Thread Felix Fietkau
On 2017-02-21 00:29, Alen Opacic wrote: > 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 rebo

Re: [LEDE-DEV] multi-function buttons

2017-02-23 Thread Piotr Dymacz
Hello, 2017-02-20 9:11 GMT+01:00 Mathias Kresin : > 19.02.2017 14:31, Piotr Dymacz: > > This is more like offtopic, but there is another one problem with > > similar devices. Lets forget now about "Wi-Fi enabled or not enabled > > by default" issue and assume we have a device which: > > - does

Re: [LEDE-DEV] Is there a Image for TP-Link TL-WA854RE (WiFi Range Extender) ?

2017-02-23 Thread Ufo
On 22.02.2017 18:37, Dennis Schneck wrote: Thanks, the image work on my TP-Link TL-WA854RE v1 ok. if you want to use newer or self-compiled firmwares on that device you can use/flash the 850v1-Image. (same hardware) with sysupgrade you might once need option "-F" to force it, and after that t

Re: [LEDE-DEV] [PATCH RFC 2/2] ramips: dts: add precompiler macro for VLAN defaults

2017-02-23 Thread Daniel Golle
Hi Florian, On Wed, Feb 22, 2017 at 03:54:23PM -0800, Florian Fainelli wrote: > > > On 02/22/2017 08:21 AM, Daniel Golle wrote: > > Add new dt-bindings precompiler include to replace numerical default > > VLAN assignments with more meaningful descriptive values, such that > > 0x3f -> VLAN_CONFIG_