Re: [LEDE-DEV] Suggested resolution to problem: OpenWRT box gets overfilled with a package, no space left on device

2018-04-22 Thread Ludwig Jaffe
I forgot: first say rm -rf /tmp/staging and at the end clean up to be sure: rm -rf /tmp/staging On 04/23/2018 01:30 AM, Ludwig Jaffe wrote: > Problem: OpenWRT box gets overfilled with a package, no space left on device > and no good clean up. > > Suggestion: > opkg installes to

[LEDE-DEV] Suggested resolution to problem: OpenWRT box gets overfilled with a package, no space left on device

2018-04-22 Thread Ludwig Jaffe
Problem: OpenWRT box gets overfilled with a package, no space left on device and no good clean up. Suggestion: opkg installes to /tmp/staging which is ramdisk then it says du -c /tmp/staging and df /overlay then compare if the last line of df has a bigger number then du -c /tmp/staging. If yes,

[LEDE-DEV] please add encloses /usr/bin/installed.sh to main image of lede/openWRT

2018-04-22 Thread Ludwig Jaffe
please add the list-installed-script to the main image of openwrt as it is small and very useful to find out what is installed on the box. original: devkid/list-user-installed- packages.sh I "installed" the script as /usr/bin/installed.sh with 755 rights also I suggest that it should be put at

[LEDE-DEV] [PATCH 2/2] firmware-utils: mkdapimg2: Fix a few issues discovered by clang

2018-04-22 Thread Rosen Penev
I used clang -Weverything and fixed most of the warnings displayed. Signed-off-by: Rosen Penev --- tools/firmware-utils/src/mkdapimg2.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/tools/firmware-utils/src/mkdapimg2.c

[LEDE-DEV] [PATCH 1/2] firmware-utils: mkdapimg2: Fix potential buffer overflow

2018-04-22 Thread Rosen Penev
If GCC is built with stack smashing protection enabled (SSP), it errors when compiling lzma-loader. Switching to strncpy seems to be an easy way to fix this. It's probably better to use snprintf or strlcpy but the latter is not available for glibc systems. Output of crash below: *** buffer

[LEDE-DEV] Transmit timeouts on MT7621 with kernel 4.14

2018-04-22 Thread Kristian Evensen
Hello, I have been doing some tests with kernel 4.14 on some MT7621-based devices (ZBT WG2926 and WG3526). Sometimes, seemingly out of the blue, I get the following oops: [ 95.073332] [ cut here ] [ 95.077988] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:320

Re: [LEDE-DEV] Ubnt Bullet M2 flashing ?

2018-04-22 Thread Russell Senior
> "Bill" == Bill Moffitt writes: Etienne> Is it still possible to flash latest ubnt bullet m2 with Etienne> OpenWRT? (AirOS 6.X) Is it possible to downgrade to 5.5.10 Etienne> from the 6.X versions ? is it still required ? Bill> I have not been able to figure out a

Re: [LEDE-DEV] [PATCH v2 1/5] tools/zlib: move zlib build to tools

2018-04-22 Thread Hauke Mehrtens
On 04/20/2018 12:12 AM, Hauke Mehrtens wrote: > This allows us to link the other tools against our libz and we do not > need the system zlib any more. > > Only the static linked library is copied to the staging directory so we > have a statically linked library on all systems and not only on

[LEDE-DEV] [PATCH] iftop: bump to latest

2018-04-22 Thread Kevin Darbyshire-Bryant via Lede-dev
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Choose first running interface,