[OpenWrt-Devel] [PATCH v2] ubus: use network order in ubus message header fields

2016-02-14 Thread Eyal Birger
Changing the ubus message header fields from 'host' order to 'network' order allows passing ubus messages between hosts with different endianity. Example use (creating a ubus proxy): on host A (e.g. big endian router already running ubusd), run: $ socat TCP-LISTEN:5699,fork

Re: [OpenWrt-Devel] [PATCH][libubox] json_script: add "isdir" support

2016-02-14 Thread Yousong Zhou
On 15 February 2016 at 05:00, Felix Fietkau wrote: > On 2016-02-13 11:08, Yousong Zhou wrote: >> Signed-off-by: Yousong Zhou >> --- >> This is intended for use by hotplug system to check whether >> /etc/hotplug.d/%SUBSYSTEM% is a directory >> >>

[OpenWrt-Devel] [PATCH 1/3] [ar71xx] matchup of TPlink WR841N(D)-names

2016-02-14 Thread Sven Roederer
- remove the suffix (N, ND) to indicate that the image is for all WR841-models - some of these models have a "N"-suffix, others have (ND)-suffix, but the boards are the same - only difference is the detachable antenna on "D"-models - discussed this idea to remove the suffix in IRC with jow

[OpenWrt-Devel] [PATCH 3/3] ar71xx: correct imagename for TPlink WA730RE

2016-02-14 Thread Sven Roederer
- insert missing "-" between model and version Signed-off-by: Sven Roederer --- target/linux/ar71xx/image/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index

[OpenWrt-Devel] [PATCH 0/3] ar71xx: fix imagenames for some TPlink units

2016-02-14 Thread Sven Roederer
These patches change the image-name of some TPlink-routers. Esp. for the TPlink WR841N + WR841ND some users are confused by the fact that some images have "nd"-names and others "n"-names only. In addition this also corrects a missed "D" on WA701 and a "-" for WA730RE. Sven Roederer (3):

[OpenWrt-Devel] [PATCH] libubus: use network order in ubus message header fields

2016-02-14 Thread Eyal Birger
Changing the ubus message header fields from 'host' order to 'network' order allows passing ubus messages between hosts with different endianity. Example use (creating a ubus proxy): on host A (e.g. big endian router already running ubusd), run: $ socat TCP-LISTEN:5699,fork

Re: [OpenWrt-Devel] [PATCH][libubox] json_script: add "isdir" support

2016-02-14 Thread Felix Fietkau
On 2016-02-13 11:08, Yousong Zhou wrote: > Signed-off-by: Yousong Zhou > --- > This is intended for use by hotplug system to check whether > /etc/hotplug.d/%SUBSYSTEM% is a directory > > examples/json_script-example.json | 5 + > json_script.c |

Re: [OpenWrt-Devel] [PATCH][ar71xx] Routerboard 951G Switch Fix

2016-02-14 Thread Baptiste Jonglez
Hi, On Wed, Jan 27, 2016 at 07:03:58PM +0300, Anton Kalmykov wrote: > Hi, 951G owners! > I have RB951G-2HnD device with AR9344 rev 3. It is configured like that: > - Balanced 2 WAN ports (mwan3) > - ipsec LAN-to-LAN > - OpenVPN server > - about 30 clients (wi-fi, lan) > > My results for

[OpenWrt-Devel] [PATCH v2] add reusable function for getting fs type txt

2016-02-14 Thread tymon
Add 'volume_identify_txt()' function so that we can use it to print the coressponding fs type as 'char *' type when we need. Signed-off-by: tymon --- libfstools/overlay.c | 10 ++ libfstools/volume.c | 12 libfstools/volume.h |2 ++ 3

Re: [OpenWrt-Devel] [PATCH] udpxy: don't disable by default

2016-02-14 Thread Nerijus Baliunas
On Sun, 14 Feb 2016 08:08:07 +0100 John Crispin wrote: > NAK, it is a general pattern of daemons to be installed in disabled > state, to prevent a default config causing security or other issues. I understand it, but, for example, igmpproxy is not disabled by default.

[OpenWrt-Devel] [PATCH] add reusable function for getting fs type txt

2016-02-14 Thread tymon
Add 'volume_identity_txt()' function so that we can use it to print the coressponding fs type as 'char *' type when we need. Signed-off-by: tymon --- libfstools/overlay.c | 10 ++ libfstools/volume.c | 12 libfstools/volume.h |2 ++ 3