Isn't this script uses this file and generate configuration files? BTW, I've found that in file
target/linux/ramips/base-files/etc/board.d/02_network The order of ports is funny. I'd apply this patch. >From 8e8eaad9b24da7919de640cbc5e7a04eb0f19d67 Mon Sep 17 00:00:00 2001 From: Lev <[email protected]> Date: Mon, 25 Jun 2018 17:55:00 +0200 Subject: [PATCH] Fix port names. --- target/linux/ramips/base-files/etc/board.d/02_network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 1778dc9329..25cabdad34 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -280,7 +280,7 @@ ramips_setup_interfaces() ;; wizfi630a) ucidef_add_switch "switch0" \ - "1:lan" "2:lan" "0:wan" "6@eth0" + "0:lan" "1:lan" "2:wan" "6@eth0" ;; *) RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"` -- 2.11.0 On Tue, Jun 26, 2018 at 8:41 AM, Alexandru Ardelean <[email protected]> wrote: > On Mon, Jun 25, 2018 at 6:41 PM, Levente <[email protected]> wrote: >> Hi, >> >> >> Could you tell me how is /etc/board.json generated? There might be a >> bug in this file, I'd like to fix. >> > > It's the config_generate script that creates it: > https://github.com/openwrt/openwrt/blob/master/package/base-files/files/bin/config_generate > > Alex > >> >> Thanks, >> Levente >> >> _______________________________________________ >> openwrt-devel mailing list >> [email protected] >> https://lists.openwrt.org/listinfo/openwrt-devel _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/listinfo/openwrt-devel
