Re: [OpenWrt-Devel] [Patch v2] [dnsmasq] backport --tftp-no-fail to ignore missing tftp root

2015-04-01 Thread John Crispin
Hi, please don't use [dnsmasq]. use dnsmasq: instead. otherwise git am does not pick it up. i fixed this manually now so you dont need to send a v3 John On 01/04/2015 01:11, Stefan Tomanek wrote: This patch backports the option --tftp-no-fail to dnsmasq and prevents the service from

Re: [OpenWrt-Devel] [PATCH] spi-ks8995: switch to upstream

2015-04-01 Thread Sergey Ryazanov
2015-04-01 12:02 GMT+03:00 John Crispin blo...@openwrt.org: Hi, did you runtime test this ? No I did not. I do not have hw with this switch. Only compile tested. spi_ks8995.c from 3.18.9 kernel differ from sources in spi-ks8995 package in several lines: register size made dynamic in upstream.

Re: [OpenWrt-Devel] [PATCH] spi-ks8995: switch to upstream

2015-04-01 Thread John Crispin
Hi, did you runtime test this ? John On 01/04/2015 01:50, Sergey Ryazanov wrote: This driver is upstream since 2012 (commit: a8e510f682f), so switch to it and remove own sources. Also place it under Network Devices menu together with other phy drivers. Signed-off-by: Sergey

[OpenWrt-Devel] [PATCH 2/2] delta: fix adding new savedir.

2015-04-01 Thread Yousong Zhou
Newly added savedir should be at the last position while uci_add_delta_path() will add it to the position second to the last. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- delta.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/delta.c b/delta.c index

[OpenWrt-Devel] [PATCH 1/2] tests: add test coverage for uci export with -P option.

2015-04-01 Thread Yousong Zhou
- With uci -P xxx/ export, changes in xxx/ should be applied last. - With uci -p xxx/ commit, changes in xxx/ should be applied before ctx-savedir. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- test/references/cli.options.delta.commit.result |5 +

[OpenWrt-Devel] netifd loosing control over monitor interface?

2015-04-01 Thread Bruno Randolf
Hello All, As I roughly outlined before in another thread (synchronous network reload/restart), I am trying to re-configure several dependent network interfaces thru ubus/netifd on BB. I have one physical wireless device and 3 virtual interfaces: - moni (moni0) - mesh (mesh0) - ap (ap0) On

[OpenWrt-Devel] mbim / Sierra Wireless AirCard 340U

2015-04-01 Thread John Crispin
Hi, it seems that umbim has problems talking to this device. without hardware to test on it will be hard to figure out what is wrong. does anyone have a spare/unlocked Sierra Wireless AirCard 340U ? John ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] mbim / Sierra Wireless AirCard 340U

2015-04-01 Thread David Hutchison
Hello John, One of our customers use the 340U, and the latest firmware revision that fixes Windows 8 support.. broke linux support ( http://mtekk.us/archives/guides/netgear-aircard-340u-linux/ ) We had to downgrade the firmware on the 340u itself. I don't think they have released a firmware fix

Re: [OpenWrt-Devel] mbim / Sierra Wireless AirCard 340U

2015-04-01 Thread John Crispin
Hi David, thanks for the reply, i was looking at this ticket - https://dev.openwrt.org/ticket/19121 so i will just reply, that they should downgrade to the linux version of the firmware. John On 01/04/2015 17:51, David Hutchison wrote: Hello John, One of our customers use the 340U,

[OpenWrt-Devel] Errors? on ar71xx tl-wdr3500 in trunk

2015-04-01 Thread Виталий Процко
Hi! I found strange things happening with building result on ar71xx for tl-wdr3500: - factory is less in size, than sysupgrade - sysupgrade sized as flash - 8G - flashed system (both - factory and sysupgrade) boots (asterisk led stops blinking), but does not answer on any IP -- /aTan

[OpenWrt-Devel] [PATCH v2] logread: add support for non-transparent-framing for Syslog over TCP

2015-04-01 Thread Etienne CHAMPETIER
https://tools.ietf.org/html/rfc6587#section-3.4.2 the idea is to add \n or \0 as message trailer so it's easier to find message end v2: simplify, use \n by default, with optional \0 Signed-off-by: Etienne CHAMPETIER champetier.etie...@gmail.com --- log/logread.c | 16 1 file

[OpenWrt-Devel] [PATCH] logread: add support for non-transparent-framing for Syslog over TCP

2015-04-01 Thread Etienne CHAMPETIER
https://tools.ietf.org/html/rfc6587#section-3.4.2 the idea is to add \n or \0 as message trailer so it's easier to find message end Signed-off-by: Etienne CHAMPETIER champetier.etie...@gmail.com --- log/logread.c | 38 +++--- 1 file changed, 31 insertions(+), 7

Re: [OpenWrt-Devel] [PATCH] logread: add support for non-transparent-framing for Syslog over TCP

2015-04-01 Thread John Crispin
Hi, i have just cooked up an alternative patch to do this. i think we should make \0 or \n a default and then add an option to switch to the other. which one would make more sense as a default ? John On 01/04/2015 18:33, Etienne CHAMPETIER wrote:

Re: [OpenWrt-Devel] [PATCH] logread: add support for non-transparent-framing for Syslog over TCP

2015-04-01 Thread Etienne Champetier
Hi, Le 1 avr. 2015 19:25, John Crispin blo...@openwrt.org a écrit : Hi, i have just cooked up an alternative patch to do this. i think we should make \0 or \n a default and then add an option to switch to the other. which one would make more sense as a default ? Thanks for your quick

Re: [OpenWrt-Devel] [PATCH 1/2] [packages] add support for Huawei NCM modems (openwrt-devel Digest, Vol 111, Issue 138)

2015-04-01 Thread Matti Laakso
On 28-03-2015 17:43, Cezary Jackiewicz wrote: Why you do that? ncm from gcom-ncm is enough, you do not have to do specifically the new protocol. Just set /dev/cdc-wdm0 as device. Tested with E3131 in huawei/ncm mode. Well, i saw that code, but found it to be quite slow and unreliable

Re: [OpenWrt-Devel] [PATCH] ubox: make remote logging send \0 or \n on tcp connections as a trailer

2015-04-01 Thread Etienne Champetier
Hi I've just tested the patch and it need some fixing, see my comments/fixes inline. I will not be able to tests other patches until ~1 week, but you can test simply using netcat (nc -l 5140) and watching with tcpdump -i any port 5140 -vvvX Your code is cleaner but it's 2 syscalls instead of 1

Re: [OpenWrt-Devel] [PATCH] ubox: make remote logging send \0 or \n on tcp connections as a trailer

2015-04-01 Thread John Crispin
i'll test it on device myself tomorrow :) not near hw just now On 02/04/2015 00:23, Etienne Champetier wrote: Hi I've just tested the patch and it need some fixing, see my comments/fixes inline. I will not be able to tests other patches until ~1 week, but you can test simply using netcat