Re: [OpenWrt-Devel] uhttpd / startup-error without a message

2015-05-11 Thread Jo-Philipp Wich
Hi, this is already fixed in trunk. The uhttpd stderr is relayed to syslog there. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] uhttpd / startup-error without a message

2015-05-11 Thread Bastian Bittorf
today I was searching for a non-running uhttpd and recognized, that there are no error messages anymore if something goes wrong. in 62ff68fb / r38023 # procd: convert various packages to procd style init.d scripts # Signed-off-by: John Crispin blo...@openwrt.org the debug-output was commented

Re: [OpenWrt-Devel] uhttpd / startup-error without a message

2015-05-11 Thread Bastian Bittorf
* Jo-Philipp Wich j...@openwrt.org [11.05.2015 10:29]: this is already fixed in trunk. The uhttpd stderr is relayed to syslog there. thank you - i see: this is not very intuitive. can this be send to console when user is interactive? (like: loggger -s message) bye, bastian

Re: [OpenWrt-Devel] uhttpd / startup-error without a message / procd interactive logging

2015-05-11 Thread Bastian Bittorf
* Jo-Philipp Wich j...@openwrt.org [11.05.2015 11:47]: this is not very intuitive. can this be send to console when user is interactive? (like: loggger -s message) Not easily as it is procd logging the services stderr. One can implement a test or debug start action though which would

Re: [OpenWrt-Devel] uhttpd / startup-error without a message / procd interactive logging

2015-05-11 Thread Jo-Philipp Wich
it think thats too special - there should be a generic way to get direct feedback on the commandline when something fails without doing magic. what if we e.g. 'export INTERACTIVE=1' via /etc/profile so procd / a called script is aware of this? Whats too special with /etc/init.d/$SERVICE debug

Re: [OpenWrt-Devel] uhttpd / startup-error without a message

2015-05-11 Thread Jo-Philipp Wich
Hi. thank you - i see: this is not very intuitive. can this be send to console when user is interactive? (like: loggger -s message) Not easily as it is procd logging the services stderr. One can implement a test or debug start action though which would calculate the commandline and start the

Re: [OpenWrt-Devel] [PATCH 1/3] [rpcd][v2] file: add support for base64

2015-05-11 Thread Felix Fietkau
On 2015-05-11 00:26, Luka Perkov wrote: Signed-off-by: Luka Perkov l...@openwrt.org --- = changes in v2: Use new libubox base64 provided API. file.c | 118 +++-- 1 file changed, 107 insertions(+), 11 deletions(-) diff

Re: [OpenWrt-Devel] uhttpd / startup-error without a message / procd interactive logging

2015-05-11 Thread Bastian Bittorf
* Jo-Philipp Wich j...@openwrt.org [11.05.2015 12:34]: it think thats too special - there should be a generic way to get direct feedback on the commandline when something fails without doing magic. what if we e.g. 'export INTERACTIVE=1' via /etc/profile so procd / a called script is aware

[OpenWrt-Devel] [RESEND][PATCH] Fix uninitialised variable causing 1-wire to not bind to GPIO

2015-05-11 Thread Andrew McDonnell
--- package/kernel/w1-gpio-custom/src/w1-gpio-custom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/package/kernel/w1-gpio-custom/src/w1-gpio-custom.c b/package/kernel/w1-gpio-custom/src/w1-gpio-custom.c index fc2f842..2018f58 100644 ---

Re: [OpenWrt-Devel] [PATCH] ar71xx: Add support for the Meraki MR12 MR16

2015-05-11 Thread Christian Mehlis
Am 09.05.2015 um 18:26 schrieb Chris Blake: This patch is to add support for the Meraki MR12 and MR16 Access Points. Currently everything is working, minus the 2nd NIC interface on the MR12 which is built into the SoC. Signed-off-by: Chris R Blake chrisrblak...@gmail.com Your patch is line

Re: [OpenWrt-Devel] [PATCH] netifd: Support for configurable default packet steering

2015-05-11 Thread Hans Dedecker
On Mon, May 11, 2015 at 9:17 PM, Steven Barth cy...@openwrt.org wrote: Fine with me in principle, howeverI find the name force_ps to be misleading since the option does not override or enforce anything. Maybe default_ps would be a more suitable name? OK will change the name into default_ps in

[OpenWrt-Devel] [PATCH] lantiq: Fix PCIe bus when PCI is also enabled.

2015-05-11 Thread Martin Blumenstingl
The PCIe bus seems to require a hack/workaround when PCI is enabled as well. Unfortunately this is guarded by an CONFIG_IFX_PCI ifdef, which is only defined in lantiq's BSP code. The config symbol for the upstream lantiq PCI driver is CONFIG_PCI_LANTIQ. Signed-off-by: Martin Blumenstingl

Re: [OpenWrt-Devel] [PATCH] netifd: Support for configurable default packet steering

2015-05-11 Thread Steven Barth
Fine with me in principle, howeverI find the name force_ps to be misleading since the option does not override or enforce anything. Maybe default_ps would be a more suitable name? Cheers, Steven On 11.05.2015 18:30, Hans Dedecker wrote: Default packet steering behavior can be configured

[OpenWrt-Devel] [PATCH 3/3] [rpcd] file: be consistent with string termination character

2015-05-11 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file.c b/file.c index fe1bc39..64e7c28 100644 --- a/file.c +++ b/file.c @@ -247,7 +247,7 @@ rpc_file_read(struct ubus_context *ctx, struct ubus_object *obj,

Re: [OpenWrt-Devel] [PATCH 1/3] [rpcd][v2] file: add support for base64

2015-05-11 Thread Luka Perkov
Hi Felix, On Mon, May 11, 2015 at 11:36:46AM +0200, Felix Fietkau wrote: On 2015-05-11 00:26, Luka Perkov wrote: Signed-off-by: Luka Perkov l...@openwrt.org --- = changes in v2: Use new libubox base64 provided API. file.c | 118

Re: [OpenWrt-Devel] [PATCH 1/3] [rpcd][v2] file: add support for base64

2015-05-11 Thread Felix Fietkau
On 2015-05-11 23:26, Luka Perkov wrote: Hi Felix, On Mon, May 11, 2015 at 11:36:46AM +0200, Felix Fietkau wrote: On 2015-05-11 00:26, Luka Perkov wrote: Signed-off-by: Luka Perkov l...@openwrt.org --- = changes in v2: Use new libubox base64 provided API. file.c | 118

[OpenWrt-Devel] [PATCH] ar71xx: Add pll_1000 value for eth0

2015-05-11 Thread Roger Pueyo Centelles
This patch adds the pll_1000 value for eth0 interface. This makes the Rocket M XW image compatible with other Ubiquiti devices with similar hardware with a Gigabit Ethernet port. --- .../ar71xx/patches-3.18/903-MIPS-ath79-ubnt-rocket-m-xw-support.patch | 3 ++- 1 file changed, 2 insertions(+), 1

[OpenWrt-Devel] [PATCH] ar71xx: Add pll_1000 value for eth0 to Ubiquiti Rocket M XW

2015-05-11 Thread Roger Pueyo Centelles
This patch adds the pll_1000 value for eth0 interface. This makes the Rocket M XW image compatible with other Ubiquiti devices with similar hardware with a Gigabit Ethernet port. Signed-off-by: Roger Pueyo Centelles roger.pu...@guifi.net ---

[OpenWrt-Devel] [PATCH 1/3] file: add support for base64

2015-05-11 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- = changes in v2: Use new libubox base64 provided API. = changes in v3: * optimize base64 related code in read and write callback file.c | 90 ++ 1 file changed, 79 insertions(+), 11

[OpenWrt-Devel] [PATCH 2/3] file: add support for setting mode when writing files

2015-05-11 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- = changes in v2: Return umask() to previous value after temporary changing it. file.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/file.c b/file.c index d39dccb..fe1bc39 100644 --- a/file.c +++ b/file.c @@ -93,6

[OpenWrt-Devel] [PATCH 1/3][rpcd][v4] file: add support for base64

2015-05-11 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- = changes in v2: Use new libubox base64 provided API. = changes in v3: * optimize base64 related code in read and write callback = changes in v4: * tweak if block in file read function file.c | 90

[OpenWrt-Devel] [PATCH] ar71xx: Add support for the Meraki MR12 MR16

2015-05-11 Thread Chris Blake
This patch is to add support for the Meraki MR12 and MR16 Access Points. Currently everything is working, minus the 2nd NIC interface on the MR12 which is built into the SoC. Signed-off-by: Chris R Blake chrisrblake93 at gmail.com -- diff --git a/target/linux/ar71xx/base-files/etc/diag.sh

[OpenWrt-Devel] [PATCH 1/1] Fix bridge-utils file offset handling

2015-05-11 Thread Nikolay Martynov
Make sure brctl build uses appropriate defines (_FILE_OFFSET_BITS) that match uClibc settings. Without this patch running brctl leads to 'unresolved alphasort symbol' message. Signed-off-by: Nikolay Martynov mar.ko...@gmail.com --- net/bridge-utils/Makefile | 2 ++ 1 file changed, 2

[OpenWrt-Devel] [PATCH] netifd: Support for configurable default packet steering

2015-05-11 Thread Hans Dedecker
Default packet steering behavior can be configured via the parameter force_ps in the global section; the default value is true to keep backwards compatibility. Device packet steering (rps/xps) config can still be used to override the default behavior. This allows you to disable packet steering

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for the UniFi AP Outdoor Plus

2015-05-11 Thread Matthias Schiffer
On 03/21/2015 10:16 AM, Stefan Rompf wrote: Hi Sergey, You should be a wizard to reveal hw protocol without touching hw :) I cannot say 'Mischief managed!' by now, but it's slowly making progress ;-) Unlikely that iwconfig changes something directly, I would bet on the driver.