[LEDE-DEV] [PATCH libubox v2] sh/jshn.sh: add json_for_each_item()

2018-02-08 Thread Hans Dedecker
Function usefull to iterate through the different elements of an array or object; the provided callback function is called for each element which is passed the value, key and user provided arguments. For field types different from array or object the callback is called with the retrieved value. Si

Re: [LEDE-DEV] [PATCH 0/3] uqmi: fix more dial-in issues

2018-02-08 Thread Bjørn Mork
Koen Vandeputte writes: > On 07-02-18 22:14, Levente Kovacs wrote: >> On Wed, 7 Feb 2018 13:23:25 +0100 >> Koen Vandeputte wrote: >> Quectel EC25-A >> Does the EC25 work without any kernel patch? I was testing EC25 with 17.01.1, >> and it was working only with a kernel patch. Can you give m

Re: [LEDE-DEV] [PATCH 0/3] uqmi: fix more dial-in issues

2018-02-08 Thread Bjørn Mork
Bjørn Mork writes: > Backporting the raw-ip feature to v4.4 is simple. Just cherry-pick > > 81e0ce79f291 ("usbnet: allow mini-drivers to consume L2 headers") > 32f7adf633b9 ("net: qmi_wwan: support "raw IP" mode") > 6c730080e663 ("net: qmi_wwan: should hold RTNL while changing netdev type") >

Re: [LEDE-DEV] [PATCH 0/3] uqmi: fix more dial-in issues

2018-02-08 Thread Koen Vandeputte
On 2018-02-08 10:53, Bjørn Mork wrote: Bjørn Mork writes: Backporting the raw-ip feature to v4.4 is simple. Just cherry-pick 81e0ce79f291 ("usbnet: allow mini-drivers to consume L2 headers") 32f7adf633b9 ("net: qmi_wwan: support "raw IP" mode") 6c730080e663 ("net: qmi_wwan: should ho

[LEDE-DEV] [PATCH 2/2] mount: rename /proc/mount parser to mount_update_mount_list()

2018-02-08 Thread Rafał Miłecki
From: Rafał Miłecki Using "update" in the function name should better match its role than "check". The main purpose of this function is to update content of the "mounted" array. Signed-off-by: Rafał Miłecki --- mount.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/m

[LEDE-DEV] [PATCH 1/2] mount: improve handling mounts table size

2018-02-08 Thread Rafał Miłecki
From: Rafał Miłecki This is static array with a size set to MAX_MOUNTED. Old code: 1) Was never using the last table entry/row 2) Was logging the same message for every mount entry above limit This fixes off-by-one, moves limit check to the proper place and uses "break" when needed. Signed-off-

[LEDE-DEV] [PATCH mountd] mount: don't mount device that is already mounted

2018-02-08 Thread Rafał Miłecki
From: Rafał Miłecki It may happen that on mountd start some devices are already mounted. This could due to killing previous mountd instance or just a crash. In such case device shouldn't get remounted but added to the list with a mounted flag set. That will make mountd monitor it and take needed

[LEDE-DEV] [PATCH mountd] autofs: don't check if /tmp/run/mountd/ mount point exists

2018-02-08 Thread Rafał Miłecki
From: Rafał Miłecki First of all this check was never working. Mount points are stored without trailing slash so passing "/tmp/run/mountd/" as argument was a mistake. This could get fixed but that would make mountd refuse to start in situations people used to have it working. When stopping mount

Re: [LEDE-DEV] [PATCH v2 0/5] mvebu: add kernel 4.14 support

2018-02-08 Thread Lucian Cristian
On 21.01.2018 19:53, Hauke Mehrtens wrote: This add support for kernel 4.14 to the mvebu target. My main reason to add kernel 4.14 support is to make it easier to also add support for the Marvell Armada 3700LP ARM64 SoCs especially the ESPRESSObin board. I do not have any of the currently suppor

[LEDE-DEV] [PATCH v1 1/1] openssh: disable passwords for openssh server

2018-02-08 Thread Philip Prindeville
From: Philip Prindeville Allowing password logins leaves you vulnerable to dictionary attacks. We disable password-based authentication, limiting authentication to keys only which are more secure. Note: You'll need to pre-populate your image with some initial keys. To do this: 1. Create the ap

[LEDE-DEV] Images are too big in LEDE but not in OpenWRT

2018-02-08 Thread Jakub Jančo
Hello, is there any reason why LEDE needs more empty space in firmware for TP-link tl-wr1043nd v3 ? In OpenWRT 15.01 we are building 7.3MB large images and have just enought space for configs. In LEDE 17.01 is max size ~6.5MB and we are not able to build our images, because we cannot strip more p

Re: [LEDE-DEV] [OpenWrt-Devel] Images are too big in LEDE but not in OpenWRT

2018-02-08 Thread David Lang
two years of development means that lots of packages are larger. you will have to see fi there are config options for the packages that you are using that reduce their size I don't know what configuring limits would mean? not produce an image if it's too large? start leaving things out when it