[LEDE-DEV] starting reproducible builds

2016-07-29 Thread Alexander Couzens
hi, I've added LEDE [1] to reproducible-builds [2]. If someone want to improve the lede site, please move forward, I only do rought web foo ;). For more information look at [2] [3] Best, lynxis [1] https://tests.reproducible-builds.org/lede/lede.html [2] https://reproducible-builds.org/ [3] git:

Re: [LEDE-DEV] dnsmasq

2016-07-29 Thread e9hack
Am 29.07.2016 um 21:03 schrieb Felix Fietkau: >> I'm not sure, if br-guest1 or guest1 is correct. The bridge interface >> br-guest1 contains a >> wifi network only, which is setup by 'option network guest1' wireless >> configuration. >> ifconfig shows br-guest1. The same is valid for br-guest2 an

Re: [LEDE-DEV] dnsmasq

2016-07-29 Thread Felix Fietkau
On 2016-07-29 20:46, e9hack wrote: > Am 29.07.2016 um 19:52 schrieb Felix Fietkau: >> On 2016-07-29 18:48, e9hack wrote: >>> dhcp.dnsmasq is include via /etc/dnsmasq.conf. Configuration isn't simple. >> Pushed two more fixes. Please test again. > > Name resolution on br-lan works, but some entries

Re: [LEDE-DEV] dnsmasq

2016-07-29 Thread e9hack
Am 29.07.2016 um 19:52 schrieb Felix Fietkau: > On 2016-07-29 18:48, e9hack wrote: >> dhcp.dnsmasq is include via /etc/dnsmasq.conf. Configuration isn't simple. > Pushed two more fixes. Please test again. Name resolution on br-lan works, but some entries in /var/etc/dnsmasq.conf are different: n

Re: [LEDE-DEV] dnsmasq

2016-07-29 Thread e9hack
Hi, the issue isn't triggered by the dnsmasq update. I did overwrite /etc/init.d/dnsmasq and restore /etc/hotplug.d/interface/25-dnsmasq from my build from yesterday. The same issue occurs. The interface entries for bridge interfasce are generate wrongly. Regards, Hartmut Am 29.07.2016 um 18:0

Re: [LEDE-DEV] dnsmasq

2016-07-29 Thread Felix Fietkau
On 2016-07-29 18:48, e9hack wrote: > dhcp.dnsmasq is include via /etc/dnsmasq.conf. Configuration isn't simple. Pushed two more fixes. Please test again. - Felix ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/l

Re: [LEDE-DEV] dnsmasq

2016-07-29 Thread e9hack
-- /etc/config/network -- config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0' config globals 'globals' option ula_prefix 'fde9:bdbb:ce7c::/48' config interface 'lan' option type

Re: [LEDE-DEV] dnsmasq

2016-07-29 Thread Felix Fietkau
On 2016-07-29 17:43, e9hack wrote: > Hi, > > something in this updates is wrong: > dnsmasq: replace the iface hotplug script with a procd trigger > dnsmasq: make the check for existing DHCP servers more reliable > dnsmasq: write atomic config file > > In /var/etc/dnsmasq.conf the entry > > inter

[LEDE-DEV] dnsmasq

2016-07-29 Thread e9hack
Hi, something in this updates is wrong: dnsmasq: replace the iface hotplug script with a procd trigger dnsmasq: make the check for existing DHCP servers more reliable dnsmasq: write atomic config file In /var/etc/dnsmasq.conf the entry interface=br-lan is set as interface=eth1.1 tap0 tun2 an

[LEDE-DEV] [RFC/RFT 4/7] base-files: configure switch in failsafe

2016-07-29 Thread Jonas Gorski
Also configure the switch based on the failsafe config, and create the failsafe interface as tagged if necessary. Signed-off-by: Jonas Gorski --- .../files/lib/preinit/10_indicate_preinit | 48 +- 1 file changed, 46 insertions(+), 2 deletions(-) diff --git a/package

[LEDE-DEV] [RFC/RFT 5/7] targets: remove trivial set_preinit_iface_*

2016-07-29 Thread Jonas Gorski
Remove all trivial set_preinit_iface implementation which just set ethX based on the board name. Signed-off-by: Jonas Gorski --- .../lib/preinit/05_set_preinit_iface_adm5120 | 9 .../lib/preinit/05_set_preinit_iface_apm821xx | 9 .../lib/preinit/05_set_preinit_iface_ar71xx

[LEDE-DEV] [RFC/RFT 7/7] ath25: switch to generic failsafe iface setup

2016-07-29 Thread Jonas Gorski
We don't ship vconfig anymore and board.d sets up the lan interfaces accordingly, so just drop the local version. Signed-off-by: Jonas Gorski --- .../lib/preinit/15_preinit_iface_atheros | 35 -- 1 file changed, 35 deletions(-) delete mode 100644 target/linux/ath2

[LEDE-DEV] [RFC/RFT 6/7] ramips: switch to generic failsafe iface setup

2016-07-29 Thread Jonas Gorski
Any required vlan setup should be taken care of the generic code, so we can drop the ramips iface setup. Signed-off-by: Jonas Gorski --- .../lib/preinit/07_set_preinit_iface_ramips| 29 -- 1 file changed, 29 deletions(-) delete mode 100644 target/linux/ramips/base-f

[LEDE-DEV] [RFC/RFT 2/7] base-files: add preinit ifname detection based on board.json

2016-07-29 Thread Jonas Gorski
Make use of the existing board.d to autodetect lan ifname in a generic way. Signed-off-by: Jonas Gorski --- .../files/lib/preinit/10_indicate_preinit | 45 -- 1 file changed, 41 insertions(+), 4 deletions(-) diff --git a/package/base-files/files/lib/preinit/10_indic

[LEDE-DEV] [RFC/RFT 0/7] base-files: use board.d for failsafe network setup

2016-07-29 Thread Jonas Gorski
This patchset aims at implementing a generic failsafe network setup based on board.d data, adding working networking for most targets that were missing the appropriate failsafe hooks. This was developed against ipq806x which is currently missing failsafe networking, and at least on AP148 and R7500

[LEDE-DEV] [RFC/RFT 1/7] base-files: split config generation out of board_detect

2016-07-29 Thread Jonas Gorski
Move config generation out of board_detect and allow overriding the generated json's filename. Signed-off-by: Jonas Gorski --- package/base-files/files/bin/board_detect | 10 ++ package/base-files/files/etc/init.d/boot | 2 +- package/base-files/files/lib/func

[LEDE-DEV] [RFC/RFT 3/7] base-files: allow failsafe to configure vlans

2016-07-29 Thread Jonas Gorski
In preparation of properly setting up vlans and switches, add support for configuring failsafe on a vlan tagged interface. Signed-off-by: Jonas Gorski --- .../base-files/files/lib/preinit/10_indicate_preinit| 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git

[LEDE-DEV] [PATCH] ipq806x: fix boot hang if cmdline contains words with r in the middle

2016-07-29 Thread Jonas Gorski
The ATB DTB mangle code will enter an infinite loop if it encounters a word in the command line that contains an r in the middle of the word. Fix this by increasing ptr everytime before invoking strchr, ot avoid finding the same r again. This fixes booting at least on Netgear R7500v1, which conta

Re: [LEDE-DEV] [PATCH] brcm63xx: fix CT-536p/CT-5621T support

2016-07-29 Thread Jonas Gorski
Hi Daniel, On 28 July 2016 at 22:33, dani wrote: Please use your full name as From, or ensure you have From: ... as the first line in your patches. I fixed this up locally, but it would be nice if I don't have to do that in the future. I added the patch to my staging tree. Regards Jonas _