Re: [LEDE-DEV] [PATCH] mt7621: add support for WeVO W2914NS v2

2016-11-17 Thread Mathias Kresin
17.11.2016 03:11, perillamint: Hi, Mathias Kresin. It seems its Ethernet LEDs are directly hooked into switch chip. It flashes without defining them in DTB. I dunno about where WLAN LEDs are hooked. I failed to drive them with sysfs gpio driver. It might be that they are driven directly by the

Re: [LEDE-DEV] [PATCH] scripts/getver.sh: use --count for git rev-list to count commits

2016-11-17 Thread Jo-Philipp Wich
Hi Rafal, do you happen to know whether rev-list --count is available in all Git versions? ~ Jo signature.asc Description: OpenPGP digital signature ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/le

Re: [LEDE-DEV] [PATCH] scripts/getver.sh: use --count for git rev-list to count commits

2016-11-17 Thread Rafał Miłecki
On 17 November 2016 at 09:57, Jo-Philipp Wich wrote: > do you happen to know whether rev-list --count is available in all Git > versions? I found it mentioned in various posts from 2012 so it should be well settled. -- Rafał ___ Lede-dev mailing list

Re: [LEDE-DEV] [PATCH] scripts/getver.sh: use --count for git rev-list to count commits

2016-11-17 Thread Rafał Miłecki
On 17 November 2016 at 10:05, Rafał Miłecki wrote: > On 17 November 2016 at 09:57, Jo-Philipp Wich wrote: >> do you happen to know whether rev-list --count is available in all Git >> versions? > > I found it mentioned in various posts from 2012 so it should be well settled. More reliable source:

Re: [LEDE-DEV] FCC killing open platforms and inovations

2016-11-17 Thread Russell Senior
> "Simon" == Simon Wunderlich writes: Simon> You are right, the FCC doesn't explicitly requires to prevent Simon> third-party firmware loading anymore. However, they still require Simon> to explain how a vendor makes sure that US RF limits are not Simon> violated [1]. Since a third-party firm

Re: [LEDE-DEV] FCC killing open platforms and inovations

2016-11-17 Thread Simon Wunderlich
Hi Russell, On Thursday, November 17, 2016 1:32:23 AM CET Russell Senior wrote: > > "Simon" == Simon Wunderlich writes: > Simon> You are right, the FCC doesn't explicitly requires to prevent > Simon> third-party firmware loading anymore. However, they still require > Simon> to explain how a v

Re: [LEDE-DEV] [PATCH] scripts/getver.sh: use --count for git rev-list to count commits

2016-11-17 Thread Jonas Gorski
Hi, On 17 November 2016 at 10:10, Rafał Miłecki wrote: > On 17 November 2016 at 10:05, Rafał Miłecki wrote: >> On 17 November 2016 at 09:57, Jo-Philipp Wich wrote: >>> do you happen to know whether rev-list --count is available in all Git >>> versions? >> >> I found it mentioned in various post

Re: [LEDE-DEV] FCC killing open platforms and inovations

2016-11-17 Thread Petr Štetiar
Simon Wunderlich [2016-11-17 10:49:01]: Hi Simon, > No, firmware (at least in ath10k) doesn't solve the problem. You can still > set > a country code, DFS pattern matching is still done in the host-side driver > part (and not in the firmware), and you can still disable radar detection. pleas

Re: [LEDE-DEV] FCC killing open platforms and inovations

2016-11-17 Thread Simon Wunderlich
Hi Petr, On Thursday, November 17, 2016 11:07:17 AM CET Petr Štetiar wrote: > Simon Wunderlich [2016-11-17 10:49:01]: > > Hi Simon, > > > No, firmware (at least in ath10k) doesn't solve the problem. You can still > > set a country code, DFS pattern matching is still done in the host-side > > dr

Re: [LEDE-DEV] [PATCH] scripts/getver.sh: use --count for git rev-list to count commits

2016-11-17 Thread Rafał Miłecki
On 17 November 2016 at 10:56, Jonas Gorski wrote: > On 17 November 2016 at 10:10, Rafał Miłecki wrote: >> On 17 November 2016 at 10:05, Rafał Miłecki wrote: >>> On 17 November 2016 at 09:57, Jo-Philipp Wich wrote: do you happen to know whether rev-list --count is available in all Git

[LEDE-DEV] Project proposal: The GNUnet of autonomous Things

2016-11-17 Thread Daniel Golle
Hi! I want to suggest a project to be (partially) funded by prpl's OpenWrt project grant. Abstract: Implement a secure autotonomous IoT hub using OpenWrt/LEDE's ubus service and the GNUnet P2P framework. Introduction: Despite the ongoing hype about the so-called Internet of Things, the current p

[LEDE-DEV] [PATCH] mt7621: add support for WeVO W2914NS v2

2016-11-17 Thread perillamint
Signed-off-by: Yong-hyu Ban --- target/linux/ramips/base-files/etc/board.d/01_leds | 3 + .../linux/ramips/base-files/etc/board.d/02_network | 1 + target/linux/ramips/base-files/lib/ramips.sh | 3 + .../ramips/base-files/lib/upgrade/platform.sh | 1 + target/linux/ramips/dts/W

Re: [LEDE-DEV] [PATCH] mt7621: add support for WeVO W2914NS v2

2016-11-17 Thread perillamint
Hi Mathias. Thanks for that script. However, that script does not blink WiFi LEDs. Also, I tried to blink GPIO in range 0 to 96 but it does not blink either. Anyway, I fixed stuffs from your comment and re-submited patch to list. Thanks. ___ Lede-dev

[LEDE-DEV] [PATCH odhcpd 1/5] config: Support infinite as DHCP pool leasetime value

2016-11-17 Thread Hans Dedecker
Add support for infinite leasetime value; this can be done by specifying "infinite" as leasetime value which is similar to dnsmasq infinite leasetime support. Specifying "infinite" as leasetime is valid for both the host and dhcp uci sections. A DHCPv4/DHCPv6 assignment is now considered infinite i

[LEDE-DEV] [PATCH odhcpd 3/5] ubus: Fix displayed valid paramater for both DHCPv4 and DHCPv6 lease

2016-11-17 Thread Hans Dedecker
Fix ubus valid parameter being displayed as a negative number; also display infinite lifetime as INT32_MAX Signed-off-by: Hans Dedecker --- src/ubus.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/ubus.c b/src/ubus.c index 14d0a5f..425abe4 100644 --- a/src/ub

[LEDE-DEV] [PATCH odhcpd 2/5] dhcpv4: Keep DHCPv4 assignment lifetime value in sync with assigned leasetime

2016-11-17 Thread Hans Dedecker
Keep the valid_until assignment parameter in sync with the leasetime assigned to the DHCP client when handling DHCP request message. This guarantees the contents of the ubus dhcp ipv4leases valid parameter is in sync with the client leasetime Signed-off-by: Hans Dedecker --- src/dhcpv4.c | 11 ++

[LEDE-DEV] [PATCH odhcpd 5/5] dhcpv4: Adding DHCP client leasetime request support

2016-11-17 Thread Hans Dedecker
Add support for DHCPv4 clients proposing a leasetime; proposed leasetime will be accepted if it does not exceed either the pool or configured lease leastime. Further rework the duplicated leasetime logic which was in place. Signed-off-by: Hans Dedecker --- src/dhcpv4.c | 34 -

[LEDE-DEV] [PATCH odhcpd 4/5] dhcpv6-ia: Display infinite lifetime as INT32_MAX in state file

2016-11-17 Thread Hans Dedecker
Signed-off-by: Hans Dedecker --- src/dhcpv6-ia.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c index 597bc74..852af97 100644 --- a/src/dhcpv6-ia.c +++ b/src/dhcpv6-ia.c @@ -247,7 +247,8 @@ void dhcpv6_write_statefile(void)

Re: [LEDE-DEV] FCC killing open platforms and inovations [Was: Re: [PATCH] ar71xx: Add usable, inactive LEDs on OpenMesh devices]

2016-11-17 Thread Dave Taht
The linked document below is the same document we attacked, I thought successfully, last year, http://www.computerworld.com/article/2993112/security/vint-cerf-and-260-experts-give-fcc-a-plan-to-secure-wi-fi-routers.html with the ultimate response from the fcc being https://www.fcc.gov/news-event

Re: [LEDE-DEV] FCC killing open platforms and inovations [Was: Re: [PATCH] ar71xx: Add usable, inactive LEDs on OpenMesh devices]

2016-11-17 Thread David Lang
On Wed, 16 Nov 2016, Simon Wunderlich wrote: Hi David, On Tuesday, November 15, 2016 4:49:40 PM CET David Lang wrote: Well, we are. We can't change the fact that the devices need to be locked to be sold in the US. But if you google a little, you will find a lot of patches for various Open Sour

[LEDE-DEV] [PATCH] openvpn: update to 2.3.13

2016-11-17 Thread Magnus Kroken
Changelog: https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn23#OpenVPN2.3.13 Signed-off-by: Magnus Kroken --- No patches need refreshing. Compile-tested on mips/ar71xx. package/network/services/openvpn/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/p

Re: [LEDE-DEV] [PATCH 0/2] include: Switch git clone to git DownloadMethod

2016-11-17 Thread Florian Fainelli
On 11/09/2016 09:34 AM, Florian Fainelli wrote: > This switches the semi manual git clone process for the kernel to use the git > Download method which packs the sources at the end, and therefore avoids > repeated clones on the same git tree if iterating through make > target/linux/{clean,prepare}

Re: [LEDE-DEV] [wiki] Permalinks to page sections

2016-11-17 Thread Baptiste Jonglez
On Wed, Nov 16, 2016 at 07:23:02PM +0100, Thomas Endt wrote: > > There is a small usability issue with the wiki: there is no easy way to > > get a permalink to a page section (i.e. a link that includes an > > anchor). > > > > First, it would be nice to have a small clickable permalink just beside

[LEDE-DEV] Some Broadcom wifi chipset datasheets released by Cypress

2016-11-17 Thread Alberto Bursi
Some broadcom wifi chipsets datasheets are being released free of NDA by a company called Cypress that acquired the IoT division of Broadcom. original article from here http://www.phoronix.com/scan.php?page=news_item&px=Cypress-Publishing-Broadcom datasheets here http://www.cypress.com/search/

Re: [LEDE-DEV] [PATCH] mt7621: add support for WeVO W2914NS v2

2016-11-17 Thread Mathias Kresin
17.11.2016 14:50, perillamint: Signed-off-by: Yong-hyu Ban Hi, I will set this patch to "changes requested" in patchwork. As you already noticed by yourself, not all changes that I've requested for v1 are addressed properly. Please use the --annotate option of git send mail and edit the "

Re: [LEDE-DEV] ar71xx: Fix switch config on Mikrotik RB450/G

2016-11-17 Thread Mathias Kresin
Hey João, both patches you have send are whitespace mangled by your mail program and do not apply: $ git am LEDE-DEV-ar71xx-enable-serial-console-on-mikrotik-devices.patch Applying: ar71xx: enable serial console on mikrotik devices error: patch failed: target/linux/ar71xx/patches-4.4/701-MIP

Re: [LEDE-DEV] Some Broadcom wifi chipset datasheets released by Cypress

2016-11-17 Thread Rafał Miłecki
On 17 November 2016 at 21:41, Alberto Bursi wrote: > Some broadcom wifi chipsets datasheets are being released free of NDA by > a company called Cypress that acquired the IoT division of Broadcom. > > (...) > > datasheets here > http://www.cypress.com/search/all?f[0]=meta_type%3Atechnical_document

[LEDE-DEV] [LEDE-DEV, v2] ar71xx: enable serial console on mikrotik devices

2016-11-17 Thread João Chaínho
Sorry about the malformed patch. Hope it applies now. This patch enables the serial console on some Mikrotik devices (RB450, RB450G, RB493G, RB750UP). Signed-off-by: João Chaínho --- diff --git a/target/linux/ar71xx/patches-4.4/701-MIPS-ath79-add-routerboard-detection.patch b/target/linux/ar7

Re: [LEDE-DEV] [PATCH odhcpd 1/5] config: Support infinite as DHCP pool leasetime value

2016-11-17 Thread Karl Palsson
Hans Dedecker wrote: > Add support for infinite leasetime value; this can be done by > specifying "infinite" as leasetime value which is similar to > dnsmasq infinite leasetime support. Specifying "infinite" as > leasetime is valid for both the host and dhcp uci sections. A > DHCPv4/DHCPv6 assign

Re: [LEDE-DEV] [PATCH odhcpd 3/5] ubus: Fix displayed valid paramater for both DHCPv4 and DHCPv6 lease

2016-11-17 Thread Karl Palsson
Hans Dedecker wrote: > Fix ubus valid parameter being displayed as a negative number; > also display infinite lifetime as INT32_MAX Really? Why not 0 or -1? You dont' specify an infinite lease as INT32_MAX, why would I want to receive an infinite lease as some magic number that only programmer n

Re: [LEDE-DEV] ar71xx: Fix switch config on Mikrotik RB450/G

2016-11-17 Thread João Chaínho
Hi Mathias, Sorry about the malformed patch. You’re right about the RouterStation Pro. I was wrongly changing it too. It has a different switch config from RB450G. I will split them and leave the RouterStation Pro unchanged. Please let me test it first before resubmit the patch. > On 17 Nov 2016,

Re: [LEDE-DEV] [PATCH odhcpd 1/5] config: Support infinite as DHCP pool leasetime value

2016-11-17 Thread Hans Dedecker
On Thu, Nov 17, 2016 at 11:13 PM, Karl Palsson wrote: > > Hans Dedecker wrote: >> Add support for infinite leasetime value; this can be done by >> specifying "infinite" as leasetime value which is similar to >> dnsmasq infinite leasetime support. Specifying "infinite" as >> leasetime is valid for

Re: [LEDE-DEV] [PATCH odhcpd 3/5] ubus: Fix displayed valid paramater for both DHCPv4 and DHCPv6 lease

2016-11-17 Thread Hans Dedecker
On Thu, Nov 17, 2016 at 11:15 PM, Karl Palsson wrote: > > Hans Dedecker wrote: >> Fix ubus valid parameter being displayed as a negative number; >> also display infinite lifetime as INT32_MAX > > Really? Why not 0 or -1? You dont' specify an infinite lease as > INT32_MAX, why would I want to rece