[OpenWrt-Devel] /etc/board.json
Mathias Kresin
dev at kresin.me
Tue Jun 26 08:07:03 EDT 2018
2018-06-26 12:54 GMT+02:00 Levente <leventelist at gmail.com>:
> 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 <levente.kovacs at intelliport.hu>
> 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 at eth0"
> + "0:lan" "1:lan" "2:wan" "6 at eth0"
> ;;
> *)
> RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"`
> --
> 2.11.0
Looks like you found a bug.
Would you mind to send a patch with your Signed-off-by, a commit title
like "ramips: fix wizfi630a swapped lan/wan port" and a proper commit
message. Please have a look at https://openwrt.org/submitting-patches
for further details/more detailed explanation.
Mathias
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list