[OpenWrt-Devel] How to keep disabled services disabled after sysupgrade

2015-06-18 Thread Stefan Tomanek
Whenever I update my OpenWrt system using sysupgrade, unwanted services pop up; I am using one of my devices as a simple AP, so it must not start dnsmasq, odhcpd or the firewall service. Running sysupgrade however reinstates the links in /etc/rc.d/ removed by '/etc/init.d/foo disable'. I was

Re: [OpenWrt-Devel] fixed a ubusd.c segment fault problem

2015-06-18 Thread Rafał Miłecki
oOn 18 June 2015 at 13:18, yangchao yangcha...@live.com wrote: hi gays : this is a patch for ubusd.c Please resend as a proper patch, using text/plain (not text/html), with a proper subject and commit message. See https://dev.openwrt.org/wiki/SubmittingPatches for details. -- Rafał

[OpenWrt-Devel] broken feeds/packages in 15.05-rc2

2015-06-18 Thread John Crispin
Hi, the following packages are still broken in CC-rc2 ERROR: package/feeds/packages/zmq failed to build. ERROR: package/feeds/packages/lzmq failed to build. ERROR: package/feeds/packages/umurmur failed to build (build variant: polarssl). ERROR: package/feeds/packages/tmux failed to

[OpenWrt-Devel] [PATCH] [package] ubus: fixed a segent fault problem

2015-06-18 Thread yangcha...@live.com
HI, allthis is a patch try to fix Signed-off-by:Yang Chao yangchao1p at live.comdiff --git a/ubusd.c b/ubusd.c index 8903105..ecf5bea 100644 --- a/ubusd.c +++ b/ubusd.c @@ -241,7 +241,7 @@ retry: fd_buf.fd = -1; - iov.iov_base = cl-hdrbuf + offset; +

Re: [OpenWrt-Devel] How to keep disabled services disabled after sysupgrade

2015-06-18 Thread Hannu Nyman
I first looked into this 4 years ago and finally figured it out 2 years ago ;-) https://forum.openwrt.org/viewtopic.php?pid=189700#p189700 There is no built-in way to keep those services installed but disabled. But there is a go-around that is used e.g. by luci-app-miniupnpd for miniupnpd:

Re: [OpenWrt-Devel] How to keep disabled services disabled after sysupgrade

2015-06-18 Thread Bastian Bittorf
* Stefan Tomanek stefan.tomanek+open...@wertarbyte.de [18.06.2015 15:39]: Can anyone supply any different ideas or provide some feedback? maybe: disabled services are stored during sysupgrade in e.g. /lib/upgrade/keep.d/services_disabled and this file will be read line by line during

[OpenWrt-Devel] [PATCH openwrt 3/3] kernel: bridge, multicast-to-unicast: assign src after pskb_may_pull()

2015-06-18 Thread Linus Lüssing
A call to pskb_may_pull() might reallocate skb-data. Therefore we should only assign the src-pointer after any potential reallocations. Signed-off-by: Linus Lüssing linus.luess...@c0d3.blue --- .../645-bridge_multicast_to_unicast.patch | 45 +++-

[OpenWrt-Devel] [PATCH netifd 1/2] bridge: Fix multicast_to_unicast feature by hairpin+isolate

2015-06-18 Thread Linus Lüssing
All IGMP and MLD versions suffer from a specific limitation (from a snooping switch perspective): Report suppression. Once a listener hears an IGMPv2/3 or MLDv1 report for the same group itself participates in then it might (if this listener is an IGMPv3 or MLDv2 listener) or will (if this is an

[OpenWrt-Devel] [PATCH] Fixes regarding bridge multicast-to-unicast feature

2015-06-18 Thread Linus Lüssing
Hi, Here are a few patches to fix the issues the multicast-to-unicast feature of the bridge has: IGMP/MLD report suppression could lead to multicast packet loss. Also see ticket #17625 [0]. As previously discussed on this mailing list, AP-isolation together with bridge-hairpinning is a way to

Re: [OpenWrt-Devel] How to keep disabled services disabled after sysupgrade

2015-06-18 Thread Stefan Tomanek
Dies schrieb Bastian Bittorf (bitt...@bluebottle.com): Can anyone supply any different ideas or provide some feedback? maybe: disabled services are stored during sysupgrade in e.g. /lib/upgrade/keep.d/services_disabled and this file will be read line by line during firstboot/uci-defaults

[OpenWrt-Devel] [PATCH netifd 2/2] bridge: Allow setting multicast_router option

2015-06-18 Thread Linus Lüssing
The multicast_router option of a bridge allows to control the forwarding behaviour of multicast packets independant of the listener state: * 0: Only forward if specific listener is present * 1 (default): Forward if specific listener or a multicast router was detected (currently only learned via

[OpenWrt-Devel] [PATCH openwrt 1/3] hostapd: Always isolate if brport-multicast_to_unicast is enabled

2015-06-18 Thread Linus Lüssing
For the multicast-to-unicast feature of a bridge to function correctly, it is necessary that all STAs are always isolated on the AP level. The bridge will take care of reflecting packets back to the AP interface if necessary and/or no STA isolation wanted by using the hairpin feature of the

[OpenWrt-Devel] [PATCH v3] base-files: add /etc/profile.d support

2015-06-18 Thread Hendrik Lüth
OpenWrt should support an optinal /etc/profile.d directory like most other Linux distributions. This allows packages to install their own scripts into /etc/profile.d/. This is the second version, which includes suggestions from the mailing-list. --- package/base-files/files/etc/profile | 10

[OpenWrt-Devel] [PATCH 3/4] swconfig: swlib.c: free portmaps in swlib_free()

2015-06-18 Thread Alexandru Ardelean
From: Alexandru Ardelean a...@ocedo.com Signed-off-by: Alexandru Ardelean ardeleana...@gmail.com --- package/network/config/swconfig/src/swlib.c | 13 + package/network/config/swconfig/src/swlib.h | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for tp-link wr740n v5.0 (EU)

2015-06-18 Thread Daniel Petre
On 06/18/2015 06:54 PM, valent.turko...@gmail.com wrote: Daniel thank you! Who will add V5 so it gets build? OpenWrt developers of course :) I tested my little patch, it works. Cheers, Valent. On 8 June 2015 at 17:47, Daniel Petre daniel.pe...@posteo.net wrote: TP-Link ships wr740n

[OpenWrt-Devel] [PATCH 3/3] ar71xx: add profile and build image for EnGenius EPG5000.

2015-06-18 Thread Christian Beier
Signed-off-by: Christian Beier c...@shoutrlabs.com --- target/linux/ar71xx/generic/profiles/engenius.mk | 12 target/linux/ar71xx/image/Makefile | 2 ++ 2 files changed, 14 insertions(+) diff --git a/target/linux/ar71xx/generic/profiles/engenius.mk

[OpenWrt-Devel] [PATCH 4/4] swconfig: swlib.c: free name and description of attributes

2015-06-18 Thread Alexandru Ardelean
From: Alexandru Ardelean a...@ocedo.com Signed-off-by: Alexandru Ardelean ardeleana...@gmail.com --- package/network/config/swconfig/src/swlib.c | 2 ++ package/network/config/swconfig/src/swlib.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git

Re: [OpenWrt-Devel] How to keep disabled services disabled after sysupgrade

2015-06-18 Thread Etienne Champetier
Hi guys, Le 18 juin 2015 17:18, Stefan Tomanek stefan.tomanek+open...@wertarbyte.de a écrit : Dies schrieb Bastian Bittorf (bitt...@bluebottle.com): Can anyone supply any different ideas or provide some feedback? maybe: disabled services are stored during sysupgrade in e.g.

[OpenWrt-Devel] [PATCH 2/4] swconfig: swlib.c: remove const qualifier for val.s since this is supposed to be free'd

2015-06-18 Thread Alexandru Ardelean
From: Alexandru Ardelean a...@ocedo.com Signed-off-by: Alexandru Ardelean ardeleana...@gmail.com --- package/network/config/swconfig/src/swlib.c | 2 +- package/network/config/swconfig/src/swlib.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[OpenWrt-Devel] [PATCH 1/3] ar71xx: add kernel support for EnGenius EPG5000.

2015-06-18 Thread Christian Beier
Signed-off-by: Christian Beier c...@shoutrlabs.com --- target/linux/ar71xx/config-3.18| 1 + .../ar71xx/files/arch/mips/ath79/mach-epg5000.c| 178 + .../718-MIPS-ath79-add-EPG5000-support.patch | 39 + 3 files changed, 218 insertions(+)

[OpenWrt-Devel] [PATCH 2/3] ar71xx: add user-space support for EnGenius EPG5000.

2015-06-18 Thread Christian Beier
Signed-off-by: Christian Beier c...@shoutrlabs.com --- target/linux/ar71xx/base-files/etc/diag.sh | 3 +++ target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 3 ++- target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++

[OpenWrt-Devel] [PATCH 1/4] swconfig: swlib.c: free device name and alias

2015-06-18 Thread Alexandru Ardelean
From: Alexandru Ardelean a...@ocedo.com Signed-off-by: Alexandru Ardelean ardeleana...@gmail.com --- package/network/config/swconfig/src/swlib.c | 2 ++ package/network/config/swconfig/src/swlib.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git

[OpenWrt-Devel] [PATCH 0/3] [RFC] ar71xx: Add support for EnGenius EPG5000

2015-06-18 Thread Christian Beier
Hi list, This patch series adds support for the EnGenius EPG5000, the successor of the ESR1750. That is, both devices are *very* similar internally, to the point that the EPG5000 works flawlessly with an ESR1750 image AFAICT. One important difference thought is the product id that's needed for

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for tp-link wr740n v5.0 (EU)

2015-06-18 Thread valent.turko...@gmail.com
Daniel thank you! Daniel can you please share firmware you have build so I can join in testing. I still don't see V5 images being build in trunk. Who will add V5 so it gets build? Cheers, Valent. On 8 June 2015 at 17:47, Daniel Petre daniel.pe...@posteo.net wrote: TP-Link ships wr740n v5.0 to

Re: [OpenWrt-Devel] How to keep disabled services disabled after sysupgrade

2015-06-18 Thread Saso Slavicic
Can anyone supply any different ideas or provide some feedback? I have solved this (or something similar) in my builds with an additional AUTOENABLE flags in init scripts. IMHO except for critical services (like network...) other packages should not be automatically enabled when installed since

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for tp-link wr740n v5.0 (EU)

2015-06-18 Thread valent.turko...@gmail.com
Daniel thank you for this patch, we are organising a wifi workshop for spreading free and open mesh network and without support for these affordable router we couldn't do it! So thanks a lot, and thanks a lot to all OpenWrt developers, all of you guys rock! On 18 June 2015 at 19:00, Daniel Petre

Re: [OpenWrt-Devel] [PATCH] b53 switch driver memory leak and reset gpio pin initialization fix

2015-06-18 Thread Jonas Gorski
Hi Fedor, please don't top post. On Sat, Jun 13, 2015 at 2:31 PM, blmink blm...@mink.su wrote: Hi, Jonas I inserted trace points (pr_info) at functions in b53_common and figured out that driver behave wrong. Please have a look at this: ~~~cut~~~ root@(none):/# uname -a Linux (none) 4.0.4

Re: [OpenWrt-Devel] Lantiq xrx200 - switch rtl8367rb controlled via builtin mdio (not gpio sck/sda!) in EasyBox 904xDSL

2015-06-18 Thread Jonas Gorski
Hi, On Sun, Jun 14, 2015 at 11:10 PM, Arnold Schulz arny...@gmx.net wrote: Hi everyone, for fun I have put efforts to solve some mysteries of the EasyBox 904xDSL. (here thank you Sylwester and Martin B. for feedback). Currently code in driver/net/phy/rtl8366_smi.c is used to control rtl836x

[OpenWrt-Devel] opkg.conf as preserved config file in sysupgrade is creating problems (especially after package signing)

2015-06-18 Thread Hannu Nyman
/etc/opkg.conf has been declared a config file and is thus preserved in an sysupgrade. https://dev.openwrt.org/browser/trunk/package/system/opkg/Makefile#L65 After the package list signing has been enabled, that is really hurting with upgrading: the old opkg.conf gets preseverd and points to

Re: [OpenWrt-Devel] lantiq DSL drivers / firmware info

2015-06-18 Thread Martin Blumenstingl
Hi Flo, On Thu, Jun 18, 2015 at 10:59 AM, Florian Eckert eckert.flor...@googlemail.com wrote: I have the new source packages for lantiq dsl stuffs. This are the new packages rom UGW-6.1. As far as I know these are the *latest* driver versions. Do you have a link to those packages (or a link to

Re: [OpenWrt-Devel] [PATCH] libusb-compat: fix build with musl

2015-06-18 Thread Jo-Philipp Wich
Hi Álvaro, I see. The proper place to fix it is flashrom, it needs to include sys/types.h before including libusb headers and its Makefile needs to define -D_GNU_SOURCE or -std=gnu99 Regards, Jow ___ openwrt-devel mailing list

[OpenWrt-Devel] lantiq DSL drivers / firmware info

2015-06-18 Thread Florian Eckert
Hello, I have the new source packages for lantiq dsl stuffs. This are the new packages rom UGW-6.1. I don´t know the differences in the new packages! Martin Blumenstingl [xdarklight] on github - UGW-6.1 lib_ifxos-1.5.14.tar.gz - lib_ifxos-1.5.19.tar.gz

Re: [OpenWrt-Devel] opkg.conf as preserved config file in sysupgrade is creating problems (especially after package signing)

2015-06-18 Thread Bastian Bittorf
* Hannu Nyman hannu.ny...@iki.fi [18.06.2015 11:06]: Other possibility could be divide opkg.conf into two: a build-specific default download repo list (to be overwritten in sysupgrade) and a user-specific config file with config options and possible additional download locations (to be