openwrt icon indicating copy to clipboard operation
openwrt copied to clipboard

R6S: Fix port mapping.

Open JohanVlugt opened this issue 1 year ago • 6 comments

First, thanks for the Rockchip images for Openwrt!

On the NanoPi R6S the ports are incorrectly mapped. This is the current situation (see screenshot). The ports are currently mapped one shifted to the right.

The physical setup is WAN on the first port and the LAN 1 and 2.

port-r6s

The correct mapping that represents the physical ports should be: eth2 to eth1 eth1 to eth0 eth0 to eth2.

This is how friendlywrt have set it up:

https://github.com/friendlyarm/friendlywrt/blob/master-v23.05/target/linux/rockchip/armv8/base-files/etc/board.d/02_network

	nanopi-r6s)
		ucidef_set_interface_wan 'eth2'
		ucidef_set_interface "lan" device  "eth1 eth0" protocol "static" ipaddr "192.168.2.1"
		;;
	*)
		ucidef_set_interface_lan 'eth0'
		;;

This is one of my first pull requests, sorry if it's not done on the correct location.

JohanVlugt avatar Jul 31 '24 16:07 JohanVlugt

can you build for orange pi5 (not the plus version) again?

xsetiadi avatar Sep 01 '24 21:09 xsetiadi

Is this not already fixed with #4 ?

alcoheca avatar Nov 12 '24 10:11 alcoheca

I rookie on github, I couldnt find the issue section, But Im using Nanopi r5s, Your Openwrt images nearly perfect, I could find the way when I use the lxc container, Consume alotof memory, I tried to limit memory on lxc but not work, Please fix that, Thanks again

oneplustest avatar Nov 20 '24 17:11 oneplustest

Im using the 6.11.2 kernel version , Also if possible, I can disable the front led of nanopi r5s , But I couldnt disable led on the ethernet ,

oneplustest avatar Nov 20 '24 17:11 oneplustest

I rookie on github, I couldnt find the issue section, But Im using Nanopi r5s, Your Openwrt images nearly perfect, I could find the way when I use the lxc container, Consume alotof memory, I tried to limit memory on lxc but not work, Please fix that, Thanks again

I think kernel not supported by default needs to be change some value for lxc cpu and memory restriction,

oneplustest avatar Nov 21 '24 16:11 oneplustest

Hello , Could you add version info to the when you are crate a new build the Openwrt Snapshot version or openwrt version like OpenWrt 23.05.5, OpenWrt 24.10.0-rc5, or Snapshot

oneplustest avatar Jan 13 '25 15:01 oneplustest