[OpenWrt-Devel] detecting USB sd card removal ("block info")

2016-01-28 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Given that OpenWrt doesn't have a daemon like udisks to mount/umount things automatically, I was trying to build it myself by something like "block info" in a crontab. "block info" correctly identifies when I insert an sd card into slot on a fixed USB

[OpenWrt-Devel] [CC 15.05] php: Security update (7 CVEs)

2016-01-28 Thread jow
The php package has been rebuilt and was uploaded to the Chaos Calmer 15.05 repository due to multiple security issues. VERSION 5.6.8-1 => 5.6.17-1 CHANGELOG [Sun, 24 Jan 2016 21:47:52 +0100 18d121b] Update to 5.6.17 Fixes CVE-2016-1903. [Wed, 23 Dec 2015 16:00:14 -0500 766cfcc] Update to

[OpenWrt-Devel] [CC 15.05] prosody: Security update (2 CVEs)

2016-01-28 Thread jow
The prosody package has been rebuilt and was uploaded to the Chaos Calmer 15.05 repository due to multiple security issues. VERSION 0.9.8-1 => 0.9.9-1 CHANGELOG [Mon, 25 Jan 2016 13:31:29 +0100 bb23089] fixes: * path traversal vulnerability in mod_http_files (CVE-2016-1231) * use of weak P

Re: [OpenWrt-Devel] Build error for IPQ806X

2016-01-28 Thread Tathagata Das
I have further debugged it and noticed that if CONFIG_PACKAGE_kmod-ath10k is selected then only I am getting this error. Also selecting D7800 doesn't select wireless drivers automatically. Regards, Tathagata -Original Message- From: Tathagata Das [mailto:tathag...@alumnux.com] Sent: 28

Re: [OpenWrt-Devel] detecting USB sd card removal ("block info")

2016-01-28 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel Golle wrote: > Hi Karl, > > On Thu, Jan 28, 2016 at 09:31:14AM -, Karl Palsson wrote: > > Given that OpenWrt doesn't have a daemon like udisks to > > mount/umount things automatically, I was trying to build it > > myself by something like

Re: [OpenWrt-Devel] detecting USB sd card removal ("block info")

2016-01-28 Thread Daniel Golle
Hi Karl, On Thu, Jan 28, 2016 at 09:31:14AM -, Karl Palsson wrote: > Given that OpenWrt doesn't have a daemon like udisks to > mount/umount things automatically, I was trying to build it > myself by something like "block info" in a crontab. Well, there is mountd which can be used to maintain

Re: [OpenWrt-Devel] [PATCH v3] base-files: For sysfixtime use hwclock if RTC available

2016-01-28 Thread Bastian Bittorf
* Petr Štetiar [28.01.2016 11:06]: > Like following? > > deps_ok && $HWCLOCK -s -f $RTC_DEV && exit 0 && return just: deps_ok && $HWCLOCK -s -f $RTC_DEV && return bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https

Re: [OpenWrt-Devel] [PATCH] iproute2: ip_tiny.patch: Don't filter CAN support

2016-01-28 Thread Bastian Bittorf
* Pushpal Sidhu [28.01.2016 11:06]: > Adds < 4k to ipk. can you explain your usecase? how much does the binary grow? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-

[OpenWrt-Devel] [CC 15.05] php: Security update (CVE-2016-1903)

2016-01-28 Thread jow
The php package has been rebuilt and was uploaded to the Chaos Calmer 15.05 repository due to a reported security issue. VERSION 5.6.16-1 => 5.6.17-1 CHANGELOG [Sun, 24 Jan 2016 21:47:52 +0100 18d121b] Update to 5.6.17 Fixes CVE-2016-1903. CHANGES lang/php5/Makefile |6 +++--- 1 fil

[OpenWrt-Devel] [CC 15.05] prosody: Security update (2 CVEs)

2016-01-28 Thread jow
The prosody package has been rebuilt and was uploaded to the Chaos Calmer 15.05 repository due to multiple security issues. VERSION 0.9.8-1 => 0.9.9-1 CHANGELOG [Mon, 25 Jan 2016 13:31:29 +0100 bb23089] fixes: * path traversal vulnerability in mod_http_files (CVE-2016-1231) * use of weak P

[OpenWrt-Devel] [CC 15.05] pcre: Security update (18 CVEs)

2016-01-28 Thread jow
The pcre package has been rebuilt and was uploaded to the Chaos Calmer 15.05 repository due to multiple security issues. VERSION 8.37-2 => 8.38-1 CHANGELOG [Mon, 25 Jan 2016 14:08:12 +0100 560cb22] fixes: * CVE 2015-2327 CVE 2015-2328 CVE 2015-8380 CVE 2015-8381 CVE * 2015-8382 * CVE 2015

[OpenWrt-Devel] uhttpd improvement/new feature ?

2016-01-28 Thread Sébastien Noel
Hi everyone, I'm in need of a feature in uhttpd, and i would like advice from you guys how to implement this change correctly. In attachment you will find my current "implementation" (well it's more like a PoC, i'm not fluent in C, but it worked for the 3 sec i tested it) The story behind this ch

Re: [OpenWrt-Devel] DD: CONFIG_BUSYBOX_DEFAULT_WGET is not set

2016-01-28 Thread Felix Fietkau
On 2016-01-25 20:26, Arjen de Korte wrote: > Citeren Felix Fietkau : > >> On 2016-01-25 19:14, Arjen de Korte wrote: >>> Citeren Felix Fietkau : >>> On 2016-01-24 17:35, Felix Fietkau wrote: > On 2016-01-24 13:06, Christian Schoenebeck wrote: >> I'm currently looking on ddns-scripts a

[OpenWrt-Devel] memory leak in procd

2016-01-28 Thread Kenneth Johansson
when using rpcd and updating config files using the ubus interface there is a memory leak in procd. here is a script that shows the error. #!/bin/sh touch /etc/config/playapp while true do ubus call uci add '{"config":"playapp","type":"blabla"}' ubus call uci commit '{"c

Re: [OpenWrt-Devel] memory leak in procd

2016-01-28 Thread Felix Fietkau
On 2016-01-28 15:39, Kenneth Johansson wrote: > when using rpcd and updating config files using the ubus interface there > is a memory leak in procd. > > here is a script that shows the error. > > > > #!/bin/sh > > touch /etc/config/playapp > > while true > do > ubus call uc

[OpenWrt-Devel] Monitoring Downlink Queue

2016-01-28 Thread Nimantha Baranasuriya
Hi, I am new to OpenWRT and I am working on a research project for which I need to monitor and log the number of frames in the downlink queue of the WiFi interface of the router every so often. Can someone please help me to get this done? Thank you, Nimantha ___

Re: [OpenWrt-Devel] Monitoring Downlink Queue

2016-01-28 Thread Javier Domingo Cansino
That is a linux thing, I mean, you need to know how to do that in standard linux. Openwrt is just a normal linux system. The only difference is that you are provided with a toolchain to generate customized images. On Thu, Jan 28, 2016 at 5:10 PM Nimantha Baranasuriya wrote: > Hi, > > I am new t

Re: [OpenWrt-Devel] Monitoring Downlink Queue

2016-01-28 Thread Nimantha Baranasuriya
Thanks, Javier for the quick response. I was thinking of tapping into OpenWRT where the code would process outgoing frames and queue them to be transmitted to the clients for which they are destined. Do you think I am better off using a tool like tc (http://linux.die.net/man/8/tc) rather than d

[OpenWrt-Devel] [CC 15.05] openssl: Security update (2 CVEs)

2016-01-28 Thread jow
The openssl package has been rebuilt and was uploaded to the Chaos Calmer 15.05 repository due to multiple security issues. VERSION 1.0.2e-1 => 1.0.2f-1 CHANGELOG [Thu, 28 Jan 2016 18:26:18 + 87e9837] Update to 1.0.2f (fixes CVE-2016-0701, CVE-2015-3197) CHANGES package/libs/openssl/

Re: [OpenWrt-Devel] [PATCH] iproute2: ip_tiny.patch: Don't filter CAN support

2016-01-28 Thread Pushpal Sidhu
Hi, On Thu, Jan 28, 2016 at 3:19 AM, Bastian Bittorf wrote: > * Pushpal Sidhu [28.01.2016 11:06]: >> Adds < 4k to ipk. > > can you explain your usecase? > how much does the binary grow? Usecase for iproute2 can support is to allow SocketCAN configuration through the 'ip' command. E.g. ip link

Re: [OpenWrt-Devel] Monitoring Downlink Queue

2016-01-28 Thread Michael Richardson
Nimantha Baranasuriya wrote: > Thanks, Javier for the quick response. > I was thinking of tapping into OpenWRT where the code would process outgoing > frames and queue them to be transmitted to the clients for which they The point of telling you that it's a linux system is to say th

Re: [OpenWrt-Devel] [PATCH] iproute2: ip_tiny.patch: Don't filter CAN support

2016-01-28 Thread Felix Fietkau
On 2016-01-28 22:34, Pushpal Sidhu wrote: > Hi, > > On Thu, Jan 28, 2016 at 3:19 AM, Bastian Bittorf > wrote: >> * Pushpal Sidhu [28.01.2016 11:06]: >>> Adds < 4k to ipk. >> >> can you explain your usecase? >> how much does the binary grow? > > Usecase for iproute2 can support is to allow Sock

[OpenWrt-Devel] [PATCHv3 5/8] ath9k: enable GPIO buttons

2016-01-28 Thread Michal
From: Michal Cieslakiewicz Enable platform-defined GPIO button support for ath9k device. Key poller is activated for attached platform buttons. Requires ath9k GPIO chip access. Signed-off-by: Michal Cieslakiewicz --- (Minor code cleanup - dummy init/deinit functions changed to static inline)

Re: [OpenWrt-Devel] [PATCH] vlandev: Add support for setting a unique MAC on a VLAN interface

2016-01-28 Thread Felix Fietkau
On 2016-01-24 20:47, André Valentin wrote: > There are cases where you need a different MAC on a VLAN interface, i.e. if > if have move than one connection to a switch. A later change of the MAC > is not possible on VLAN interfaces, so it has to be done on creation. > The new macaddr option allows

Re: [OpenWrt-Devel] [PATCH] iproute2: ip_tiny.patch: Don't filter CAN support

2016-01-28 Thread Pushpal Sidhu
On Thu, Jan 28, 2016 at 2:26 PM, Felix Fietkau wrote: > On 2016-01-28 22:34, Pushpal Sidhu wrote: >> Hi, >> >> On Thu, Jan 28, 2016 at 3:19 AM, Bastian Bittorf >> wrote: >>> * Pushpal Sidhu [28.01.2016 11:06]: Adds < 4k to ipk. >>> >>> can you explain your usecase? >>> how much does the bi

Re: [OpenWrt-Devel] [PATCH] iproute2: ip_tiny.patch: Don't filter CAN support

2016-01-28 Thread Felix Fietkau
On 2016-01-28 23:48, Pushpal Sidhu wrote: > On Thu, Jan 28, 2016 at 2:26 PM, Felix Fietkau wrote: >> On 2016-01-28 22:34, Pushpal Sidhu wrote: >>> Hi, >>> >>> On Thu, Jan 28, 2016 at 3:19 AM, Bastian Bittorf >>> wrote: * Pushpal Sidhu [28.01.2016 11:06]: > Adds < 4k to ipk. c

Re: [OpenWrt-Devel] [PATCH] package/config/netifd: Replace ifconfig/route with ip command

2016-01-28 Thread Felix Fietkau
On 2016-01-20 19:21, open...@daniel.thecshore.com wrote: > From: Daniel Dickinson > > v3: Drop comment thanking user who gave mask2cidr at their > request > : Fix echo had correct CIDR but actual command did not > : Fix style issue > : Use full -family in ip command line instead of -f >

[OpenWrt-Devel] Changeset 48456

2016-01-28 Thread Chris Marchesi
Hey there, I noticed changeset 48456, which reverts 48276, which I put in to get the full 128MB flash on a WNDR3700v4. Looks like the issue was the fact that it changed the location of caldata_backup. I had a few questions about this: 1) I did a bit more research and it looks like caldata is ac

Re: [OpenWrt-Devel] [OpenWrt] #8647: rb711 support

2016-01-28 Thread Jonas Heinrich
Yep thats the critical part. It looks like Wifi and ethernet is working so far. And the NAND initialisation functions are still missing in the source code for this model. So my next try would be to gather some informations about the flash layout. Eg. looking on the PCB, getting the NAND name or

[OpenWrt-Devel] Opkg automatically enable my service just after I install it?

2016-01-28 Thread Zhao Zhang
I'm writing some daemon scripts on OpenWrt trunk, and made a ipk to install. However, it seems OPKG automatically enable it and run it, even if the default value controlling enable/disable state of the service in /etc/config/myconfig is 0, means off. It's wired I never meet this problem on BB. Th

[OpenWrt-Devel] [PATCH] dnsmasq: add dhcp relay option

2016-01-28 Thread Bugnar Dan
From: dbugnar Signed-off-by: dbugnar --- package/network/services/dnsmasq/files/dnsmasq.init | 19 +++ 1 file changed, 19 insertions(+) diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index 3ef2b3d..ac45d1b

Re: [OpenWrt-Devel] Changeset 48456

2016-01-28 Thread Arjen de Korte
Citeren Chris Marchesi : I noticed changeset 48456, which reverts 48276, which I put in to get the full 128MB flash on a WNDR3700v4. Yup, this badly breaks the WNDR4300, which is almost the same hardware, but apparently has different boot code in it. Looks like the issue was the fact that