Re: [LEDE-DEV] [PATCH 1/2] kernel: bump 4.9 to 4.9.100

2018-05-16 Thread Arjen de Korte
Citeren Koen Vandeputte : Refreshed all patches Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte Tested-by: Arjen de Korte Target: ar71xx (Netgear WNDR4300) --- Will also apply to 18.06 branch include/kernel-version.mk

Re: [LEDE-DEV] [PATCH 1/2] kernel: bump 4.9 to 4.9.99

2018-05-16 Thread Arjen de Korte
Citeren Koen Vandeputte : Refreshed all patches Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte Tested-by: Arjen de Korte Target: ar71xx (Netgear WNDR4300) --- Refreshed on the latest master state (commit: "mt76: update to the latest ve

Re: [LEDE-DEV] Lack of DNS robustness for openwrt.org

2018-05-08 Thread Arjen de Korte
Citeren John Crispin : On 07/05/18 20:34, Arjen de Korte wrote: Citeren Jo-Philipp Wich : Hi Bjørn, the current timings of the DO zone are: ;; ANSWER SECTION: openwrt.org.    1800 IN    SOA ns1.digitalocean.com. hostmaster.openwrt.org. (     1525688668 ; serial

Re: [LEDE-DEV] Lack of DNS robustness for openwrt.org

2018-05-07 Thread Arjen de Korte
Citeren Jo-Philipp Wich : Hi Bjørn, the current timings of the DO zone are: ;; ANSWER SECTION: openwrt.org.1800 IN SOA ns1.digitalocean.com. hostmaster.openwrt.org. ( 1525688668 ; serial 10800 ; refresh (3 hours)

Re: [LEDE-DEV] [PATCH] kernel: bump 4.9 to 4.9.96

2018-04-24 Thread Arjen de Korte
Tested-by: Arjen de Korte Target: ar71xx (Netgear WNDR4300) ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

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

2018-04-23 Thread Arjen de Korte
Citeren 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. This see

Re: [LEDE-DEV] Build error since ncurses bump

2018-04-04 Thread Arjen de Korte
Citeren Jo-Philipp Wich : Hi, Hmm? I believe jow is talking about the toolchain. It was switched to default to GCC7 recently. I use Arch Linux parts of ncurses are built on the host (mainly the tic compiler) using the host gcc. Arch linux is a bad reference for testing tools updates as it t

Re: [LEDE-DEV] [openwrt/openwrt] toolchain/binutils: add support for version 2.30

2018-03-12 Thread Arjen de Korte
Citeren Hauke Mehrtens : On 03/12/2018 09:48 PM, Arjen de Korte wrote: Citeren Felix Fietkau : On 2018-03-12 21:02, Arjen de Korte wrote: Citeren LEDE Commits : nbd pushed a commit to openwrt/openwrt.git, branch master: https://git.lede-project.org/e28551b103f4999b36d3725a23b59f507830f48a

Re: [LEDE-DEV] [openwrt/openwrt] toolchain/binutils: add support for version 2.30

2018-03-12 Thread Arjen de Korte
Citeren Felix Fietkau : On 2018-03-12 21:02, Arjen de Korte wrote: Citeren LEDE Commits : nbd pushed a commit to openwrt/openwrt.git, branch master: https://git.lede-project.org/e28551b103f4999b36d3725a23b59f507830f48a commit e28551b103f4999b36d3725a23b59f507830f48a Author: Felix Fietkau

Re: [LEDE-DEV] [openwrt/openwrt] toolchain/binutils: add support for version 2.30

2018-03-12 Thread Arjen de Korte
Citeren LEDE Commits : nbd pushed a commit to openwrt/openwrt.git, branch master: https://git.lede-project.org/e28551b103f4999b36d3725a23b59f507830f48a commit e28551b103f4999b36d3725a23b59f507830f48a Author: Felix Fietkau AuthorDate: Thu Mar 8 11:21:58 2018 +0100 toolchain/binutils: add s

Re: [LEDE-DEV] kernel version status

2018-02-19 Thread Arjen de Korte
Citeren John Crispin : On 18/02/18 22:43, Hauke Mehrtens wrote: The next OpenWrt release will use kernel 4.9 and kernel 4.14 depending on the target. All targets that are *not* on either kernel 4.9 or 4.14 will not be included in the next release. I did some overview of the kernel version some

Re: [LEDE-DEV] [PATCH] config: add option to select kernel compile optimization type

2018-01-21 Thread Arjen de Korte
Citeren Jonas Gorski : Hi, On 18 January 2018 at 10:50, Koen Vandeputte wrote: A lot of targets have more than sufficient space to allow building the kernel for speed iso size. Export this performance option to the main config: - Making it easy accessable for users - Discarding the need to

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH 0/5] x86: add support for microcode update

2018-01-21 Thread Arjen de Korte
Citeren Nick Lowe : Yes, compiler updates will ultimately be necessary to properly close this. We can see for now with 4.9.77: root@LEDE:/sys/devices/system/cpu/vulnerabilities# cat spectre_v2 Vulnerable: Minimal AMD ASM retpoline AMD processors are also incorrectly being marked as being vuln

Re: [LEDE-DEV] [PATCH v1] kernel: bump 4.4 to 4.4.112 for 17.01

2018-01-20 Thread Arjen de Korte
Citeren David Lang : given that 4.4.114 added meltdown/spectrefixes, shouldn't we move to it? I doubt this would offer a great security benefit (not that I'm against it). With the exception of dnsmasq, all processes on my router run as root. If attackers are able to run code of their choic

Re: [LEDE-DEV] [PATCH] jshn: add functionality to read big JSON

2018-01-17 Thread Arjen de Korte
Citeren John Crispin : On 07/01/18 18:08, Christian Beier wrote: The existing read functionality feeds the complete JSON to jshn as a cmdline argument, leading to `-ash: jshn: Argument list too long` errors for JSONs bigger than ca. 100KB. This commit adds the ability to read the JSON directly

Re: [LEDE-DEV] [PATCH v1] kernel: bump 4.9 to 4.9.75

2018-01-08 Thread Arjen de Korte
Citeren Kevin Darbyshire-Bryant : On 8 Jan 2018, at 11:04, Nick Lowe wrote: Hi, Where in 4.9.75 does it avoid the page table isolation mitigation for AMD? Committed to the 4.14 and 4.15 branch is: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.15-rc7&id=694d

Re: [LEDE-DEV] [PATCH 2/2] firewall3: Fix errors reported by cppcheck.

2017-12-26 Thread Arjen de Korte
Citeren Rosen Penev : Mainly sign conversion errors with printf function (%d vs. %u). Exact command line used was: cppcheck --enable=all --inconclusive --force . 2> err.txt && cat err.txt | grep -v never | grep -v reduced Only errors that I felt comfortable with were fixed. Generally, N

Re: [LEDE-DEV] [PATCH v3] kernel: bump 4.4 to 4.4.106 for 17.01

2017-12-20 Thread Arjen de Korte
Citeren Arjen de Korte : Citeren Kevin Darbyshire-Bryant : On 17 Dec 2017, at 17:22, Etienne Haarsma wrote: uint8_t *oob = ops->oobbuf; uint8_t *buf = ops->datbuf; -@@ -2662,7 +2697,7 @@ err_out: - static int panic_nand_write(struct mtd_info *mtd, loff_t to, size

Re: [LEDE-DEV] [PATCH v3] kernel: bump 4.4 to 4.4.106 for 17.01

2017-12-20 Thread Arjen de Korte
Citeren Kevin Darbyshire-Bryant : On 17 Dec 2017, at 17:22, Etienne Haarsma wrote: uint8_t *oob = ops->oobbuf; uint8_t *buf = ops->datbuf; -@@ -2662,7 +2697,7 @@ err_out: - static int panic_nand_write(struct mtd_info *mtd, loff_t to, size_t len, - size

Re: [LEDE-DEV] [PATCH] ar71xx: fix invalid pointer dereference in rb95x_nand_scan_fixup()

2017-12-12 Thread Arjen de Korte
Citeren Gabor Juhos : Since Linux 4.6, mtd->priv no longer points to the NAND specific structure. Under 4.9 it contains NULL, thus using it to access chip->options causes an invalid pointer dereference (FS#1200). Update the code to use the mtd_to_nand() helper under 4.9 to obtain the address of

Re: [LEDE-DEV] New lede->openwrt build, missing ubifs firmware build

2017-12-12 Thread Arjen de Korte
Citeren Mauro Mozzarelli : ...again, on the latest changes... I noticed the firmware now builds with "openwrt" prefix instead of "lede". I am building for xrx200 lantiq (BT Home Hub 5). With previous LEDE builds I used to get both ubifs and squashfs firmware versions built. Now I get only

Re: [LEDE-DEV] [PATCH] fstools: Fix some errors detected by cppcheck

2017-12-11 Thread Arjen de Korte
Citeren Jonas Gorski : On 11 December 2017 at 10:04, Rosen Penev wrote: Mainly plugging memory leaks. Size reduction as well. The calloc change accounts for 272 bytes on this machine for some reason... Please state the exact errors found by cppcheck so we don't have to guess what it found.

Re: [LEDE-DEV] [PATCH 2/2] fstools: Fix some errors detected by cppcheck

2017-12-10 Thread Arjen de Korte
Citeren Rosen Penev : Mainly plugging memory leaks. Size reduction as well. The calloc change accounts for 272 bytes on this machine for some reason... Comments inline. Signed-off-by: Rosen Penev --- block.c | 6 +++--- blockd.c | 3 +++ libfstools/overl

Re: [LEDE-DEV] [PATCH 1/2] fstools: Replace strerror(errno) with %m format.

2017-12-10 Thread Arjen de Korte
Citeren Rosen Penev : Saves 1472 bytes under glibc. No other difference. Except that this is GNU C only. I'm not sure if this is worth breaking portability. It would probably be better to put these changes in appropriate #ifdef/#else/#endif to only use this if GNU C is used. Signed-off-

Re: [LEDE-DEV] Adding firewall extensions for xt_geoip usage

2017-12-09 Thread Arjen de Korte
Citeren Philip Prindeville : Jo and others: Is there an easy way to extend firewall rules? I’d like to add support to blocking on a per-country basis, possibly with qualified exceptions. Take a look at /etc/firewall.user. Most stuff you want to add fits nicely in there. The comments in

Re: [LEDE-DEV] [PATCH] netifd: always send DHCPv4 hostname

2017-12-08 Thread Arjen de Korte
Citeren Mathias Kresin : udhcpc doesn't send a hostname by default. Use the system hostname if nothing else is specified, to always send a hostname. Be aware that this might mean that some DHCP servers may assign a different IP in this case. If I switch to odhcpc, I *will* get a different

Re: [LEDE-DEV] Latest trunk pull fails to compile?

2017-12-08 Thread Arjen de Korte
Citeren Mauro Mozzarelli : Hello, I am trying to compile trunk just pulled today and this is how it fails: [...] Configuring libpopt. Configuring getopt. Configuring gzip. Configuring atm-tools. Configuring kmod-ltq-deu-vr9. Configuring kmod-fs-cifs. Configuring kmod-usb-storage-extras. Con

Re: [LEDE-DEV] [PATCH rpcd v3] sys: fix passwd path

2017-11-26 Thread Arjen de Korte
Citeren Roman Yeryomin : Changes from v2: - const both to pointer and char itself, so nothing can be modified The first const may be useful to prevent changes to the pointer, but the second is nonsense. You won't be able to modify the string it points to anyway. const char *passwd =

Re: [LEDE-DEV] [RFC 18/26] xtables-addons: fix compile with kernel 4.14

2017-11-26 Thread Arjen de Korte
Citeren Hauke Mehrtens : This fixes multiple compile problems seen with kernel 4.14. Comments inline. Signed-off-by: Hauke Mehrtens --- .../utils/xtables-addons/patches/001-fix-compile.patch| 11 +++ .../xtables-addons/patches/201-fix-lua-packetscript.patch | 9

Re: [LEDE-DEV] [PATCH] umdns: Replace unnecessary memset calls with {}.

2017-11-08 Thread Arjen de Korte
Citeren Rosen Penev : Less verbose. And uses a GCC extension which makes it less portable. ISO C forbids empty initializer braces [1]. See for yourself by adding the -pedantic flag to your CFLAGS. The correct way to initialize to all-zeros is therefore { 0 }. [1] ISO/IEC 9899:201x, par

Re: [LEDE-DEV] [PATCH] ubus: Remove unnecessary memset calls.

2017-11-08 Thread Arjen de Korte
Citeren Alexandru Ardelean : On Tue, Nov 7, 2017 at 11:18 PM, Arjen de Korte wrote: Citeren Rosen Penev : I beg to differ. https://vorpus.org/blog/why-does-calloc-exist/ Section 2. I don't care about theoretical gains, benchmarks please. How much do you gain with these patch

Re: [LEDE-DEV] [PATCH] ubus: Remove unnecessary memset calls.

2017-11-07 Thread Arjen de Korte
Nov 7, 2017 at 12:46 PM, Arjen de Korte wrote: Citeren Rosen Penev : Replace malloc+memset with calloc. Cleaner and faster in extreme situations. Calloc is definitly *not* faster than malloc + memset. Under the hood, calloc will call malloc, check if memory allocation was successful and

Re: [LEDE-DEV] [PATCH] ubus: Remove unnecessary memset calls.

2017-11-07 Thread Arjen de Korte
Citeren Rosen Penev : Replace malloc+memset with calloc. Cleaner and faster in extreme situations. Calloc is definitly *not* faster than malloc + memset. Under the hood, calloc will call malloc, check if memory allocation was successful and then proceed to set all allocated memory to 0. Yo

Re: [LEDE-DEV] [PATCH 0/4] ar71xx: add support for kernel 4.9

2017-10-09 Thread Arjen de Korte
Citeren Paul Blazejowski : I guess so, the image for the WNDR3700v4 is the same as for the WNDR4300v1. I can confirm the version from Hauke's staging tree works on the latter, so it is likely that it will also work for the first too. Arjen, Correct, i just grabbed the 4.9 patches and compiled

Re: [LEDE-DEV] [PATCH 0/4] ar71xx: add support for kernel 4.9

2017-10-08 Thread Arjen de Korte
Citeren Paul Blazejowski : Will this also work on WNDR3700v4? I guess so, the image for the WNDR3700v4 is the same as for the WNDR4300v1. I can confirm the version from Hauke's staging tree works on the latter, so it is likely that it will also work for the first too. __

Re: [LEDE-DEV] [PATCH] brcm47xx: relocate loader to higher address

2017-10-08 Thread Arjen de Korte
Citeren p.wa...@gmx.at: Hi Hauke, When the kernel gets uncompressed and is bigger than BZ_TEXT_START - LOADADDR it overwrote the loader which was currently uncompressing it and made the board crash. Currently, BZ_TEXT_START - LOADADDR = 0x8040 - 0x80001000 = 3FF000 = 4190208 bytes T

Re: [LEDE-DEV] [PATCH 0/4] ar71xx: add support for kernel 4.9

2017-10-08 Thread Arjen de Korte
Citeren Hauke Mehrtens : On 10/08/2017 01:31 PM, Andrey Jr. Melnikov wrote: Arjen de Korte wrote: Citeren Hauke Mehrtens : This adds support for kernel 4.9. Please test this, I am lacking especially NAND devices. The most recent version of these patches can be found here: https

Re: [LEDE-DEV] [PATCH 0/4] ar71xx: add support for kernel 4.9

2017-10-08 Thread Arjen de Korte
Citeren Hauke Mehrtens : This adds support for kernel 4.9. Please test this, I am lacking especially NAND devices. The most recent version of these patches can be found here: https://git.lede-project.org/?p=lede/hauke/staging.git;a=shortlog;h=refs/heads/ar71xx Hauke Mehrtens (4): ar71xx: Cop

Re: [LEDE-DEV] uhttpd/luci authentication using SSL client certificates

2017-08-28 Thread Arjen de Korte
Citeren Simon Wunderlich : Hi guys, we would like to use SSL client certificates to authenticate to a OpenWRT/LEDE router using UHTTPD/LUCI. We use a private PKI/certificate chain and would only like to admit users to the WebUI which present a valid SSL client certificate through their web

Re: [LEDE-DEV] firewall issue

2017-08-25 Thread Arjen de Korte
Citeren e9hack : Hi, my firewall configuration set the default forward policy to reject and wan forward to drop. iptable -L -v Chain FORWARD (policy DROP 0 packets, 0 bytes) pkts bytes targetprot opt inout source destination 330K 276M forwarding_rule all -- any

Re: [LEDE-DEV] [PATCH 2/2] toolchain: gcc: drop MIPS patch

2017-08-24 Thread Arjen de Korte
Citeren Arjen de Korte : Citeren Arjen de Korte : Citeren Kevin Darbyshire-Bryant : On 23/08/17 18:25, Arjen de Korte wrote: While removing the MIPS patch fixes dropbear when using gcc 7.1.0 and '-Os', uhttpd goes tits up with a segfault in liblua. With '-O2' it

Re: [LEDE-DEV] [PATCH 2/2] toolchain: gcc: drop MIPS patch

2017-08-24 Thread Arjen de Korte
Citeren Arjen de Korte : Citeren Kevin Darbyshire-Bryant : On 23/08/17 18:25, Arjen de Korte wrote: While removing the MIPS patch fixes dropbear when using gcc 7.1.0 and '-Os', uhttpd goes tits up with a segfault in liblua. With '-O2' it's fine for both, so I&#x

Re: [LEDE-DEV] [PATCH 2/2] toolchain: gcc: drop MIPS patch

2017-08-24 Thread Arjen de Korte
Citeren Kevin Darbyshire-Bryant : On 23/08/17 18:25, Arjen de Korte wrote: While removing the MIPS patch fixes dropbear when using gcc 7.1.0 and '-Os', uhttpd goes tits up with a segfault in liblua. With '-O2' it's fine for both, so I'll probably stick with t

Re: [LEDE-DEV] [PATCH 2/2] toolchain: gcc: drop MIPS patch

2017-08-23 Thread Arjen de Korte
Citeren Kevin Darbyshire-Bryant : On 23/08/17 09:20, Felix Fietkau wrote: On 2017-08-22 12:01, Kevin Darbyshire-Bryant wrote: Drop 300-mips_Os_cpu_rtx_cost_model.patch for gcc 7.2 This was causing mis-compilation of dropbear with the default '-Os' size optimization as reported in FS#814 Test

Re: [LEDE-DEV] Issues with xtables-addons after rebasing today

2017-08-22 Thread Arjen de Korte
Citeren John Crispin : On 23/08/17 05:34, Philip Prindeville wrote: On Aug 22, 2017, at 1:56 PM, Arjen de Korte wrote: Citeren Philip Prindeville : Found the issue, and posted PR #1308 to fix it. One-line fix. On Aug 19, 2017, at 3:06 PM, Philip Prindeville wrote: And it looks

Re: [LEDE-DEV] Issues with xtables-addons after rebasing today

2017-08-22 Thread Arjen de Korte
t;>: On 23/08/17 05:34, Philip Prindeville wrote: On Aug 22, 2017, at 1:56 PM, Arjen de Korte mailto:arjen%2bl...@de-korte.org>> wrote: Citeren Philip Prindeville mailto:philipp_s...@redfish-solutions.com>>:

Re: [LEDE-DEV] Issues with xtables-addons after rebasing today

2017-08-22 Thread Arjen de Korte
Citeren Philip Prindeville : Found the issue, and posted PR #1308 to fix it. One-line fix. On Aug 19, 2017, at 3:06 PM, Philip Prindeville wrote: And it looks like Hannu is way ahead of me: https://bugs.lede-project.org/index.php?do=details&task_id=969 On Aug 19, 2017, at 2:59 PM, Phi

Re: [LEDE-DEV] [PATCH] scripts: getver.sh: use sha1 as base and drop r* format

2017-06-15 Thread Arjen de Korte
Citeren Bjørn Mork : Rafał Miłecki writes: From: Rafał Miłecki Counting commits to determine revision number is a wrong idea when there are branches in a project. This could generate the same revision for different git commits, e.g.: For master branch: ./scripts/getver.sh bb9d2aa868 r3438-

Re: [LEDE-DEV] ddns problem

2017-06-06 Thread Arjen de Korte
Citeren Giuseppe Lippolis : 100.64.0.0/10 is shared address space under RFC6598. IETF seems to point to significant restrictions on its use. Customer connectivity issues are clear in the RFC. Chasing mobile load and avoiding rerouting global IP space is likely fair. Enumerating users fixed wire

[LEDE-DEV] [PATCH] dnsmasq: add IPv6 nameserver configuration in server mode

2017-05-12 Thread Arjen de Korte
When in ra server mode, configure nameservers passed in router announcements from the dns value (which is already used by odhcpd). This also fixes FS#677 by using the global IPv6 address of the router instead of the link local address (if no nameservers are configured). Signed-off-by: Arjen de

[LEDE-DEV] [PATCH] dnsmasq: add IPv6 nameserver configuration in server mode

2017-05-10 Thread Arjen de Korte
When in ra server mode, configure nameservers passed in router announcements from the dns value (which is already used by odhcpd). This also fixes FS#677 by using the global IPv6 address of the router instead of the link local address (if no nameservers are configured). Signed-off-by: Arjen de

[LEDE-DEV] [PATCH] dnsmasq: don't propagate DUID from one host to another

2017-05-09 Thread Arjen de Korte
If no DUID is set for a host, it should be empty, not the last one set for a previous host. Signed-off-by: Arjen de Korte --- package/network/services/dnsmasq/files/dnsmasq.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/services/dnsmasq/files

Re: [LEDE-DEV] [PATCH 2/2] target/generic: update settings of mx25u3235f

2017-02-01 Thread Arjen de Korte
Citeren André Valentin : This patch enabled 4K, dual and quad read. Settings have been verified with a real device. Signed-off-by: André Valentin This is a bit tricky. While one can detect that a specific SPI NOR device has SECT_4K capability (this is a property of the SPI device itself)

Re: [LEDE-DEV] [PATCH] libubox: replace strtok with strsep

2016-12-18 Thread Arjen de Korte
Citeren John Crispin : On 16/12/2016 11:10, Felix Fietkau wrote: On 2016-12-16 10:58, John Crispin wrote: On 14/12/2016 06:43, Rosen Penev wrote: strsep is re-entrant whereas strtok not necessarily so. Signed-off by: Rosen Penev --- ulog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 del

Re: [LEDE-DEV] [PATCH] ubox: Replace strtok with strsep

2016-12-18 Thread Arjen de Korte
Citeren Felix Fietkau : On 2016-12-18 02:22, Rosen Penev wrote: Thread safe replacement. Signed-off by: Rosen Penev For ubox this change isn't really necessary. There's no thread safety issues, or issues with use of strtok by callers. I have my doubts about using strsep() on dynamically al

Re: [LEDE-DEV] wireless became unstable after "mac80211: update to wireless-testing 2016-10-08" commit ad51e09fd1301484820a466a49447a34d7504882

2016-11-03 Thread Arjen de Korte
Citeren xinglp : 2016-11-03 18:34 GMT+08:00 Felix Fietkau : On 2016-11-03 04:18, xinglp wrote: I have tried to use several phone and app to play video via samba, I got broken picture or not fluent after this commit. Hardware is ar9331. Should be fixed in the latest version, please test. 'wi

Re: [LEDE-DEV] [PATCH v4 2/5] linux/mtd: add id for mx25u3235f needed by ZyXEL NBG6817

2016-10-25 Thread Arjen de Korte
Citeren André Valentin : Hi, Am 25.10.2016 um 08:58 schrieb Arjen de Korte:> Citeren André Valentin : Signed-off-by: André Valentin --- .../patches-4.4/477-mtd-add-spi-nor-add-mx25u3235f.patch | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 target/li

Re: [LEDE-DEV] [PATCH v4 2/5] linux/mtd: add id for mx25u3235f needed by ZyXEL NBG6817

2016-10-25 Thread Arjen de Korte
Citeren André Valentin : Signed-off-by: André Valentin --- .../patches-4.4/477-mtd-add-spi-nor-add-mx25u3235f.patch | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 target/linux/generic/patches-4.4/477-mtd-add-spi-nor-add-mx25u3235f.patch diff --git a/target

Re: [LEDE-DEV] dnsmasq: failed to load names from /etc/hosts: Permission denied

2016-09-30 Thread Arjen de Korte
Citeren Arjen de Korte : Same for /etc/ethers: Permission denied. This used to work fine (last version checked 1648), but now with 1725 I see the above problem. Possibly related, LuCI won't load anymore: Forbidden You don't have permission to access /cgi-bin/luci on t

[LEDE-DEV] dnsmasq: failed to load names from /etc/hosts: Permission denied

2016-09-30 Thread Arjen de Korte
Same for /etc/ethers: Permission denied. This used to work fine (last version checked 1648), but now with 1725 I see the above problem. Possibly related, LuCI won't load anymore: Forbidden You don't have permission to access /cgi-bin/luci on this server. Any clues where to look? Rega

Re: [LEDE-DEV] procd: patch to support busybox mkfs.ext2

2016-07-02 Thread Arjen de Korte
Citeren Luke McKee : Hi guys, This is a little one. Busybox mkfs.ext2 works and with this setup the ext4 module can mount /tmp without a journal. See #22666 I tested it. Also the Makefile for procd doesn't have any dependencies for busybox CONFIG_BUSYBOX_CONFIG_MKFS_EXT2=y OR e2fsprogs. See t

Re: [LEDE-DEV] [PATCH v5] base-files: seed /dev/urandom

2016-06-28 Thread Arjen de Korte
Citeren John Crispin : On 28/06/2016 10:28, Jo-Philipp Wich wrote: Hi Etienne, I like this approach, fine with me now. same here, we could not also consider adding a uci-defaults script that check if rootfs is on a mtd or real lbock device and change the default during firstboot, but i gues

Re: [LEDE-DEV] ar71xx - please help test

2016-06-21 Thread Arjen de Korte
Citeren John Crispin : Hi, i have moved all the profiles into the image building code. i have done some basic testing and already got a bit of feedback from others. it would be nice if people could help test the following patch from my staging tree https://git.lede-project.org/?p=lede/blogic/

Re: [LEDE-DEV] [PATCH] base-files: seed /dev/urandom

2016-06-14 Thread Arjen de Korte
Citeren David Lang : On Mon, 13 Jun 2016, Daniel Curran-Dickinson wrote: On Mon, 2016-06-13 at 22:10 +0200, Etienne Champetier wrote: Before we try to minimize writes, how much writes are we talking about? my openwrt routers have multiple months of uptime, and even if we get down to 1 week,

Re: [LEDE-DEV] [PATCH] scripts/download.pl: Use CDN for kernel downloads

2016-05-23 Thread Arjen de Korte
Citeren Bjørn Mork : Felix Fietkau writes: On 2016-05-23 12:29, Petr Štetiar wrote: Felix Fietkau [2016-05-23 11:11:50]: On 2016-05-23 10:29, Bjørn Mork wrote: > Petr Štetiar writes: > >> - push @mirrors, "https://kernel.org/pub/$dir";; >> + push

Re: [LEDE-DEV] [PATCH] scripts/download.pl: Use CDN for kernel downloads

2016-05-23 Thread Arjen de Korte
Citeren Petr Štetiar : Felix Fietkau [2016-05-23 11:11:50]: On 2016-05-23 10:29, Bjørn Mork wrote: > Petr Štetiar writes: > >> - push @mirrors, "https://kernel.org/pub/$dir";; >> + push @mirrors, "https://cdn.kernel.org/pub/$dir";; >>

Re: [LEDE-DEV] [PATCH] scripts/download.pl: Use CDN for kernel downloads

2016-05-23 Thread Arjen de Korte
Citeren Felix Fietkau : On 2016-05-23 10:29, Bjørn Mork wrote: Petr Štetiar writes: More info at https://www.kernel.org/introducing-fastly-cdn.html Signed-off-by: Petr Štetiar --- scripts/download.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/download.pl b

Re: [LEDE-DEV] [PATCH 2/4] [RFC] fstools: block.c: Add support for checking vfat filesystems

2016-05-18 Thread Arjen de Korte
Citeren Daniel Dickinson : On 16-05-18 07:05 AM, Conor O'Gorman wrote: On 18/05/16 11:12, l...@daniel.thecshore.com wrote: +if (!strncmp(pr->id->name, "vfat", 4)) { +ckfs = e2fsck; +} else if (!strncmp(pr->id->name, "ext", 3)) { +ckfs = dosfsck; Is this the wrong way r

Re: [LEDE-DEV] Please enable digest mode for lede-dev

2016-05-18 Thread Arjen de Korte
Citeren Hannu Nyman : Please allow users to select to receive lede-dev messages in digests. The lede-dev mailing list is already rather high volume list and if the possible PR discussion messages from Github is also piped here, the amount of messages might be rather high. Devs have disabl

Re: [LEDE-DEV] ar71xx v4.4 testing

2016-05-14 Thread Arjen de Korte
Citeren John Crispin : i pushed a tiny patch to fix a regression which i believe was the root cause for v4.4 not working for most folks. if anyone has time to test please do so. i pushed the patches to my staging tree http://git.lede-project.org/lede/blogic/staging.git Please help with testing