Re: [OpenWrt-Devel] [PATCH] swconfig: support setting SWITCH_TYPE_LINK attributes

2016-01-05 Thread Stefan Rompf
Hi Rafał, > Supported syntax is inspired by ethtool. Example usage: > swconfig dev switch0 port 2 set link "duplex half speed 100 autoneg off" > > Signed-off-by: Rafał Miłecki I think that's the way to go, will try implementing set_port_link() for my good old 1043ND. Ack for this and the kern

[OpenWrt-Devel] [PATCH] ar8327: add IGMP Snooping support

2016-01-05 Thread Álvaro Fernández Rojas
This add support for IGMP Snooping on atheros switches (enabled by default), which avoids flooding the network with multicast data. Tested on TL-WDR4300: disabling IGMP Snooping results in multicast flooding on each specific port, enabling it back again prevents each port from receiving all multic

Re: [OpenWrt-Devel] SDK vs. Toolchain+

2016-01-05 Thread Bastian Bittorf
* Daniel Dickinson [05.01.2016 18:48]: > The problem is that I find, at least with ar71xx, that even with a an > already compile toolchain that target/linux/compile takes an annoying > amount of time (even though nothing is being compiled, there is a lot > of stuff that still gets done), and, > >

Re: [OpenWrt-Devel] New "Security" wiki page. Improvements/corrections appreciated

2016-01-05 Thread Eric Schultz
Brian, I think your page did a great job of going through the opportunities for improvement and clarifications in OpenWrt security. prpl's members have bringing up some of these topics as well. I'm happy to help bring myself and prpl into this effort. I also think a consideration of automatic upd

Re: [OpenWrt-Devel] SDK vs. Toolchain+

2016-01-05 Thread Felix Fietkau
On 2016-01-05 17:40, Daniel Dickinson wrote: > On 05/01/16 11:32 AM, Emmanuel Deloget wrote: >> Hello, >> >> On Tue, Jan 5, 2016 at 5:25 PM, Daniel Dickinson >> mailto:open...@daniel.thecshore.com>>wrote: >> >> On 05/01/16 11:22 AM, Daniel Dickinson wrote: >> >> It's actually target/lin

Re: [OpenWrt-Devel] SDK vs. Toolchain+

2016-01-05 Thread Daniel Dickinson
On 05/01/16 11:32 AM, Emmanuel Deloget wrote: Hello, On Tue, Jan 5, 2016 at 5:25 PM, Daniel Dickinson mailto:open...@daniel.thecshore.com>>wrote: On 05/01/16 11:22 AM, Daniel Dickinson wrote: It's actually target/linux that's the major issue when it comes to allowing not re

Re: [OpenWrt-Devel] SDK vs. Toolchain+

2016-01-05 Thread Emmanuel Deloget
Hello, On Tue, Jan 5, 2016 at 5:25 PM, Daniel Dickinson < open...@daniel.thecshore.com> wrote: > On 05/01/16 11:22 AM, Daniel Dickinson wrote: >> >> It's actually target/linux that's the major issue when it comes to >> allowing not rebuilding every time to be a useful answer. >> > > This does, ho

Re: [OpenWrt-Devel] SDK vs. Toolchain+

2016-01-05 Thread Daniel Dickinson
On 05/01/16 11:22 AM, Daniel Dickinson wrote: On 05/01/16 10:49 AM, Joris de Vries wrote: On 05 Jan 2016, at 16:04, Daniel Dickinson mailto:open...@daniel.thecshore.com>> wrote: am of two minds about how to deal with the issue that having to build the toolchain for an SDK before being able us

Re: [OpenWrt-Devel] SDK vs. Toolchain+

2016-01-05 Thread Daniel Dickinson
On 05/01/16 10:49 AM, Joris de Vries wrote: On 05 Jan 2016, at 16:04, Daniel Dickinson mailto:open...@daniel.thecshore.com>> wrote: am of two minds about how to deal with the issue that having to build the toolchain for an SDK before being able use the SDK is rather painful (or at least it tes

Re: [OpenWrt-Devel] SDK vs. Toolchain+

2016-01-05 Thread Joris de Vries
> On 05 Jan 2016, at 16:04, Daniel Dickinson > wrote: > > am of two minds about how to deal with the issue that having to build the > toolchain for an SDK before being able use the SDK is rather painful (or at > least it tests my patience; don't know about other people). To be honest, it is m

Re: [OpenWrt-Devel] SDK vs. Toolchain+

2016-01-05 Thread Daniel Dickinson
On 04/01/16 05:40 AM, Felix Fietkau wrote: I'd like to suggest a simpler one, which is in line with the current naming in OpenWrt: The SDK is what builds software for an already running system. It doesn't have to build images, it doesn't have to be used to build full systems, it's just what you

[OpenWrt-Devel] configurable opkg repos patch not needed

2016-01-05 Thread Daniel Dickinson
Hi all, The patch for allowing user to configure their own opkg repos is not as necessary once the 'flavour' configuration patch gets applied (although that will require reworking the patch series it's part of), because if you use the /%f as the tail of the configured packages path you get the

[OpenWrt-Devel] [PATCH 2/2] lldpd: add /lib/lldpd.unconf file for reload

2016-01-05 Thread Alexandru Ardelean
Looks like we need to call 'unconfigure' options lldpd has to offer to do a proper (more complete) reload. And while we're doing reload, we need to pause lldpd's execution to prevent it sending unconfigured data/TLVs to the other side ( which could confuse the other side ). Signed-off-by: Alexand

[OpenWrt-Devel] [PATCH 1/2] lldpd: fix reload function for when interfaces change

2016-01-05 Thread Alexandru Ardelean
From: Alexandru Ardelean The problem is that interfaces are specified at start as command line arguments, making them unchange-able via reload. That means, we have to move (since lldpd allows this) the interfaces-match-pattern option to be in a config file and reload the configuration. It's eith

Re: [OpenWrt-Devel] [PATCH] ramips: set mips16 support

2016-01-05 Thread Felix Fietkau
On 2016-01-05 13:18, José Vázquez wrote: > 2016-01-04 13:02 GMT+01:00, Cristian Morales Vega : >> Signed-off-by: Cristian Morales Vega >> --- >> target/linux/ramips/Makefile | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/target/linux/ramips/Makefile b/target/linux/ram

Re: [OpenWrt-Devel] [PATCH] ramips: set mips16 support

2016-01-05 Thread José Vázquez
2016-01-04 13:02 GMT+01:00, Cristian Morales Vega : > Signed-off-by: Cristian Morales Vega > --- > target/linux/ramips/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/target/linux/ramips/Makefile b/target/linux/ramips/Makefile > index 9d7bb5b..378e2f5 100644 > --

Re: [OpenWrt-Devel] [PATCH] add UCI option for leasetime per static host

2016-01-05 Thread Hannu Nyman
Felix Fietkau wrote at Sun Jan 3 21:19:20 CET 2016: > On 2015-12-30 06:28, ufomanfred at freaktose.net wrote: > > Hi guys, > > > > I wanted to use this feature and decided to figure out how to commit to the > > ... > Patch is still broken (line wrapped). > Also, the subject should have a proper p

[OpenWrt-Devel] [PATCH] dnsmasq: add host-specific lease time option for static hosts

2016-01-05 Thread Hannu Nyman
Enable setting a host-specific lease time for static hosts. The new option is called "leasetime" and the format is similar as for the default lease time: e.g. 12h, 3d, infinite Default lease time is used for all hosts for which there is no host-specific definition. The option is added to /etc/con

Re: [OpenWrt-Devel] Need help with Makefile error *** missing separator

2016-01-05 Thread Jo-Philipp Wich
Each line in Make is started in a new shell. Your added lines are executed as (simplified): bash -c 'if [ -f "./files/luci/i18n/$(2).zh-cn.lmo" ]; then' bash -c '$(INSTALL_DIR) $(1)/usr/lib/lua/luci/i18n' bash -c '$(INSTALL_DATA) ./files/luci/i18n/$(2).zh-cn.lmo $(1)/usr/lib/lua/luci/i18n' bash

Re: [OpenWrt-Devel] [PATCH] [ar71xx] Support for Ubiquiti UniFi AP AC LITE

2016-01-05 Thread Felix Fietkau
On 2016-01-05 10:37, p.wa...@gmx.at wrote: >> On 2016-01-03 22:30, Felix Fietkau wrote: >> The additions to the mach file in the patch seem to be free of >> dependencies on definitions from other ubnt boards - please move them to >> a new mach-*.c file instead of patching them in. >> >> - Felix >>

Re: [OpenWrt-Devel] Need help with Makefile error *** missing separator

2016-01-05 Thread Yousong Zhou
Hi On 5 January 2016 at 17:41, Andy Wong wrote: > Hi.I not quite understand.I've change the install part as below: > > define Package/openwrt-dist-luci/install > #!/bin/sh > $(INSTALL_DIR) $(1)/usr/lib/lua/luci/controller > $(INSTALL_DATA) ./files/luci/controller/$(2).lua > $(1)/usr/lib/lua/luci

Re: [OpenWrt-Devel] Need help with Makefile error *** missing separator

2016-01-05 Thread Andy Wong
Hi.I not quite understand.I've change the install part as below: define Package/openwrt-dist-luci/install #!/bin/sh $(INSTALL_DIR) $(1)/usr/lib/lua/luci/controller $(INSTALL_DATA) ./files/luci/controller/$(2).lua $(1)/usr/lib/lua/luci/controller/$(2).lua $(INSTALL_DIR) $(1)/usr/lib/lua/luci/mode

Re: [OpenWrt-Devel] [PATCH] [ar71xx] Support for Ubiquiti UniFi AP AC LITE

2016-01-05 Thread p . wassi
> On 2016-01-03 22:30, Felix Fietkau wrote: > The additions to the mach file in the patch seem to be free of > dependencies on definitions from other ubnt boards - please move them to > a new mach-*.c file instead of patching them in. > > - Felix > Ah, ok. Then where should the changes to the mach

Re: [OpenWrt-Devel] [PATCH] use NTP server received via DHCP

2016-01-05 Thread Jo-Philipp Wich
Hi, please do not use uci state for new features, we consider uci state variables to be deprecated. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] procd: emit events for sound subsystem

2016-01-05 Thread Bastian Bittorf
Useful e.g. for plugable USB-soundcards. With this change an event/hotplug-call looks like: ACTION: add DEVNAME: snd/timer DEVPATH: /devices/virtual/sound/timer SUBSYSTEM: sound ACTION: add DEVNAME: DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0 SUBSYSTEM: sound ACTION: a

Re: [OpenWrt-Devel] [PATCH] use NTP server received via DHCP

2016-01-05 Thread Amine Aouled Hamed
Happy new year! Thanks for the explanation, I will be sending a new patch today. Regards, Amine. On Wed, Dec 30, 2015 at 2:14 PM, Yousong Zhou wrote: > Hi, > > On 30 December 2015 at 20:12, Amine Aouled Hamed > wrote: > > > > Hi, > > Can you elaborate more on why you prefer uci state? I am just

[OpenWrt-Devel] [PATCH] samba36: add three CVE patches from 2015-12-16

2016-01-05 Thread Jan Čermák
This is a patch for CVE-2015-5252, CVE-2015-5296 and CVE-2015-5299. A patchset for these vulnerabilities was published on 16th December 2015. Signed-off-by: Jan Čermák --- package/network/services/samba36/Makefile | 2 +- .../samba36/patches/010-patch-cve-2015-5252.patch | 43 ++