Re: [OpenWrt-Devel] [PATCH] opkg: Extend 'opkg list' command to optionally display package size

2015-09-01 Thread Hannu Nyman
I created a Luci implementation that utilises this opkg change to show the .ipk size to the user in GUI: https://github.com/openwrt/luci/issues/19#issuecomment-136397807 On 30.8.2015 17:37, Hannu Nyman wrote: ... Luci might be extended to utilize the new options to e.g. answer https://github.c

[OpenWrt-Devel] Fwd: AR9344 OpenWrt (Scanning Device)

2015-09-01 Thread John kerry
I am using openwrt + luci 0.11.1 [image: Inline image 1] When we do scan Its takes too much time to display the scanning device list and some times its fail to display On Tue, Sep 1, 2015 at 4:38 PM, Bruno Randolf wrote: > Hello John, > > Not sure what exactly you are referring to with scanni

Re: [OpenWrt-Devel] ubus: potential regression in request processing

2015-09-01 Thread Zefir Kurtisi
On 08/31/2015 07:19 PM, Felix Fietkau wrote: > On 2015-08-31 19:02, Zefir Kurtisi wrote: >> On 08/27/2015 02:17 PM, Felix Fietkau wrote: >>> [...] >>> This change (mostly untested) might fix the issue while still preserving >>> processing of pending notifications, what do you think? >>> >>> [...] >

[OpenWrt-Devel] [PATCH 1/6] ppp: cleanup fetching values for several parameters

2015-09-01 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- package/network/services/ppp/files/ppp.sh |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package/network/services/ppp/files/ppp.sh b/package/network/services/ppp/files/ppp.sh index a6389a8..b970f29 100755 --- a/package/network/services/p

[OpenWrt-Devel] [PATCH 2/6] util-linux: add prlimit command.

2015-09-01 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- package/utils/util-linux/Makefile | 17 + 1 file changed, 17 insertions(+) diff --git a/package/utils/util-linux/Makefile b/package/utils/util-linux/Makefile index cf80012..f037e6a 100644 --- a/package/utils/util-linux/Makefile +++ b/package/uti

[OpenWrt-Devel] [PATCH 3/6] base-files: set kernel.core_pattern in sysctl.conf

2015-09-01 Thread Yousong Zhou
Move the pattern setting from netifd's service script to /etc/sysctl.conf. Put the timestamp component '%t' just after executable name '%e' for more natural order from output of ls command. Signed-off-by: Yousong Zhou --- package/base-files/files/etc/sysctl.conf |2 ++ package

[OpenWrt-Devel] [PATCH 5/6] target.mk: add optimization flags for MIPS 24Kc.

2015-09-01 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- include/target.mk |1 + 1 file changed, 1 insertion(+) diff --git a/include/target.mk b/include/target.mk index 3e7f17d..119f88c 100644 --- a/include/target.mk +++ b/include/target.mk @@ -212,6 +212,7 @@ ifeq ($(DUMP),1) CPU_CFLAGS_mips32 = -mips32 -mtune

[OpenWrt-Devel] [PATCH 4/6] generic: fix unrecognized opcode wsbh when building for MIPS16.

2015-09-01 Thread Yousong Zhou
The issue was found and reported by hynman [1] when compiling reaver for ar71xx (Big Endian MIPS). {standard input}: Assembler messages: {standard input}:79: Error: unrecognized opcode `wsbh $2,$2' {standard input}:90: Error: unrecognized opcode `wsbh $3,$17' {standard input}:208:

[OpenWrt-Devel] [PATCH 6/6] malta: set CPU_TYPE:=24kc.

2015-09-01 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- target/linux/malta/Makefile |1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/malta/Makefile b/target/linux/malta/Makefile index 9352dfa..0cce15e 100644 --- a/target/linux/malta/Makefile +++ b/target/linux/malta/Makefile @@ -8,6 +8,7 @@ include $(

Re: [OpenWrt-Devel] [PATCH 1/6] ppp: cleanup fetching values for several parameters

2015-09-01 Thread Felix Fietkau
On 2015-09-01 14:14, Yousong Zhou wrote: > Signed-off-by: Yousong Zhou > --- > package/network/services/ppp/files/ppp.sh |4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/package/network/services/ppp/files/ppp.sh > b/package/network/services/ppp/files/ppp.sh > index

Re: [OpenWrt-Devel] [PATCH 1/6] ppp: cleanup fetching values for several parameters

2015-09-01 Thread Yousong Zhou
On 1 September 2015 at 20:22, Felix Fietkau wrote: > On 2015-09-01 14:14, Yousong Zhou wrote: >> Signed-off-by: Yousong Zhou >> --- >> package/network/services/ppp/files/ppp.sh |4 +--- >> 1 file changed, 1 insertion(+), 3 deletions(-) >> >> diff --git a/package/network/services/ppp/files/pp

Re: [OpenWrt-Devel] [PATCH 6/6] malta: set CPU_TYPE:=24kc.

2015-09-01 Thread Florian Fainelli
Le 1 sept. 2015 05:22, "Yousong Zhou" a écrit : > > Signed-off-by: Yousong Zhou > --- > target/linux/malta/Makefile |1 + > 1 file changed, 1 insertion(+) > > diff --git a/target/linux/malta/Makefile b/target/linux/malta/Makefile > index 9352dfa..0cce15e 100644 > --- a/target/linux/malta/Mak

[OpenWrt-Devel] [PATCH 1/2] netifd : Apply device settings when existing device becomes external

2015-09-01 Thread Hans Dedecker
Make sure device settings are applied when existing device becomes external Signed-off-by: Hans Dedecker --- device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/device.c b/device.c index 4a8db70..0d73138 100644 --- a/device.c +++ b/device.c @@ -446,6 +446,7 @@ device_get(const char *nam

[OpenWrt-Devel] [PATCH 2/2] netifd: Don't call set_state for external device in device_claim

2015-09-01 Thread Hans Dedecker
The function set_state disable is not called for external devices in device_release which means for external vlan/macvlan devices they won't be deleted. As a result of this the set_state enable call for external devices by device_claim fails as vlan/macvlan devices cannot be created since the dev

Re: [OpenWrt-Devel] [PATCH 4/6] generic: fix unrecognized opcode wsbh when building for MIPS16.

2015-09-01 Thread Florian Fainelli
Le 1 sept. 2015 05:22, "Yousong Zhou" a écrit : > > The issue was found and reported by hynman [1] when compiling reaver for ar71xx > (Big Endian MIPS). > > {standard input}: Assembler messages: > {standard input}:79: Error: unrecognized opcode `wsbh $2,$2' > {standard input}:90: Error

Re: [OpenWrt-Devel] [PATCH 2/2] netifd: Don't call set_state for external device in device_claim

2015-09-01 Thread Felix Fietkau
On 2015-09-01 14:43, Hans Dedecker wrote: > The function set_state disable is not called for external devices in > device_release > which means for external vlan/macvlan devices they won't be deleted. > As a result of this the set_state enable call for external devices by > device_claim fails > a

Re: [OpenWrt-Devel] [PATCH 4/6] generic: fix unrecognized opcode wsbh when building for MIPS16.

2015-09-01 Thread Yousong Zhou
On 1 September 2015 at 20:46, Florian Fainelli wrote: > Le 1 sept. 2015 05:22, "Yousong Zhou" a écrit : >> >> The issue was found and reported by hynman [1] when compiling reaver for >> ar71xx >> (Big Endian MIPS). >> >> {standard input}: Assembler messages: >> {standard input}:79: Error:

Re: [OpenWrt-Devel] [PATCH 2/2] netifd: Don't call set_state for external device in device_claim

2015-09-01 Thread Hans Dedecker
On Tue, Sep 1, 2015 at 2:49 PM, Felix Fietkau wrote: > On 2015-09-01 14:43, Hans Dedecker wrote: > > The function set_state disable is not called for external devices in > device_release > > which means for external vlan/macvlan devices they won't be deleted. > > As a result of this the set_state

[OpenWrt-Devel] [PATCH] mvebu: add config and patches for kernel 4.1

2015-09-01 Thread Daniel Golle
Signed-off-by: Daniel Golle --- target/linux/mvebu/config-4.1 | 368 + .../patches-4.1/002-add_mamba_powertables.patch| 105 + .../mvebu/patches-4.1/003-add_mamba_switch.patch | 21 + .../patches-4.1/005-build_linksys_a385_dts.patch | 13 + ...-m

[OpenWrt-Devel] [PATCH procd] hotplug: add BUTTON to environment vars for timeout action

2015-09-01 Thread Günther Kelleter
as done in pressed and released actions Signed-off-by: Günther Kelleter --- plug/hotplug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plug/hotplug.c b/plug/hotplug.c index 0c97e4d..b5ebd07 100644 --- a/plug/hotplug.c +++ b/plug/hotplug.c @@ -399,6 +399,7 @@ static void handle_button_tim

[OpenWrt-Devel] [PATCH] hostapd: Add eapol_version config option

2015-09-01 Thread Helmut Schaa
Add eapol_version to the openwrt wireless config ssid section. Only eapol_version=1 and 2 will get passed to hostapd, the default in hostapd is 2. This is only useful for really old client devices that don't accept eapol_version=2. Signed-off-by: Helmut Schaa --- package/network/services/hostap

Re: [OpenWrt-Devel] [PATCH 6/6] malta: set CPU_TYPE:=24kc.

2015-09-01 Thread Yousong Zhou
On Sep 1, 2015 8:44 PM, "Florian Fainelli" wrote: > > Le 1 sept. 2015 05:22, "Yousong Zhou" a écrit : > > > > Signed-off-by: Yousong Zhou > > --- > > target/linux/malta/Makefile |1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/target/linux/malta/Makefile b/target/linux/malta/Ma

[OpenWrt-Devel] [PATCH] ramips: enable external amplifier for Xiaomi MiWiFi Mini

2015-09-01 Thread D . Andrei Măceș
Attempt to boost the 2.4 GHz signal, currently very low. Signed-off-by: D. Andrei Măceș --- target/linux/ramips/dts/MIWIFI-MINI.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/target/linux/ramips/dts/MIWIFI-MINI.dts b/target/linux/ramips/dts/MIWIFI-MINI.dts index fa9846c..dad99c3 1

Re: [OpenWrt-Devel] [PATCH 4/4] mac80211: ath9k: enable hw manual peak calibration for QCA9561

2015-09-01 Thread Matthias Schiffer
On 09/01/2015 06:21 AM, miaoq...@qti.qualcomm.com wrote: > From: Miaoqing Pan > > This patch fix https://lists.openwrt.org/pipermail/openwrt-devel/ > 2015-August/034979.html. As the peak detect calibration is set > incorrectly. > > Signed-off-by: Miaoqing Pan Tested-by: Matthias Schiffer Tha

[OpenWrt-Devel] [BB 14.07] libevent: Security update (CVE-2014-6272)

2015-09-01 Thread jow
The libevent package has been rebuilt and was uploaded to the Barrier Breaker 14.07 repository due to a reported security issue. VERSION 1.4.14b-2 => 1.4.15-1 CHANGELOG [Tue, 1 Sep 2015 19:56:29 +0200 a77f672] This update fixes CVE-2014-6272. Change of source URL was needed, because the olde

[OpenWrt-Devel] [CC 15.05-rc3] libevent: Security update (CVE-2014-6272)

2015-09-01 Thread jow
The libevent package has been rebuilt and was uploaded to the Chaos Calmer 15.05 Release Candicate 3 repository due to a reported security issue. VERSION 1.4.14b-2 => 1.4.15-1 CHANGELOG [Tue, 1 Sep 2015 19:55:47 +0200 b721a1d] This update fixes CVE-2014-6272. Change of source URL was needed,

[OpenWrt-Devel] [PATCH] dnsmasq: support hostid ipv6 address suffix option

2015-09-01 Thread Kevin Darbyshire-Bryant
Add support for hostid dhcp config entry to dnsmasq. This allows specification of dhcpv6 hostid suffix and works in the same way as odhcpd. Entries in auto generated dnsmasq.conf should conform to: dhcp-host=mm:mm:mm:mm:mm:mm,IPv4addr,[::V6:su:ff:ix],hostname example based on sample config/dhcp

[OpenWrt-Devel] Ubus request through AJAX issue

2015-09-01 Thread Lazar Demin
Hi, I have a site running on my openwrt device, and I am using AJAX to make ubus calls to my custom rpcd ubus scripts. The issue I'm seeing is that some of my ubus ajax calls work, but one particular method doesn't work at all, it doesn't get run on my device and the ajax call returns an array wi

Re: [OpenWrt-Devel] Ubus request through AJAX issue

2015-09-01 Thread Jo-Philipp Wich
Hi, the number 2 corresponds to "UBUS_STATUS_INVALID_ARGUMENT" so your AJAX call is submitting invalid data. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] dnsmasq: support hostid ipv6 address suffix option

2015-09-01 Thread Kevin Darbyshire-Bryant
Please ignore the patch. Just woken in middle of night and realised I've done something mind numbingly stupid. Will fix tomorrow! -- Cheers, ke...@darbyshire-bryant.me.uk Sent from my phone, apologies for brevity, spelling & top posting > On 1 Sep 2015, at 21:03, Kevin Darbyshire-Bryant > w

[OpenWrt-Devel] [PATCH] uci: add import call

2015-09-01 Thread Alexander Couzens
similiar to import from uci cli. import removes all old configs and import the new config. example: ubus call uci import \ '{"config": "dhcp", "values": { "srv": { ".type": "host", ".name": "srv", "mac": "00:11:22:33:44:55", "ip": "192.168.1.2" } } }' --- uci.c | 152 ++

[OpenWrt-Devel] [PATCH] kernel: bridge, multicast-to-unicast: fix echoes on STA

2015-09-01 Thread Linus Lüssing
Currently, multicast packets from an STA are sent to any according multicast listener directly through the bridge multicast-to-unicast feature. Unfortunately, so far this includes the originating STA, too, resulting in multicast packets being echo'ed back to the originating STA if it itself is a mu

Re: [OpenWrt-Devel] [PATCH] kernel: bridge, multicast-to-unicast: fix echoes on STA

2015-09-01 Thread Steven Barth
Am 02.09.2015 um 05:17 schrieb Linus Lüssing: > Currently, multicast packets from an STA are sent to any according > multicast listener directly through the bridge multicast-to-unicast > feature. Unfortunately, so far this includes the originating STA, too, > resulting in multicast packets being e