i didn't manage to add eth0 SFP to the lan bridge wih "/R9000/target/linux/alpine/base-files/etc/board.d/02_network"; Fortunately, it also works with uci-defaults/99-custom.
# >>> add the 10G SFP Port (eth0) to the LAN; enable the LED of the 10G SFP Port <<<
echo "uci set network.@device[0].ports='eth0'; uci add_list network.@device[0].ports='eth1.1'; uci commit network" > target/linux/alpine/base-files/etc/uci-defaults/99-custom
echo "uci -q delete system.@led[0]; uci add system led; uci set system.@led[0].name='SFP'; uci set system.@led[0].sysfs='white:sfp'; uci set system.@led[0].trigger='netdev'; uci set system.@led[0].dev='eth0'; uci set system.@led[0].mode='link'; uci add_list system.@led[0].mode='tx'; uci add_list system.@led[0].mode='rx'; uci commit system;" >> target/linux/alpine/base-files/etc/uci-defaults/99-custom
... to build the firmware I use Ubuntu 22.04 (on Oracle Virtual Box 7.0.10); it's fast and easy to setup
can you recommend an optical sfp+ single core not multi core as the one you mentioned, so i can connect my isp fiber cable directly to r9000 and bypass their supplied ont
# >>>>>>>>>>>>>
# (1) Prepare
# >>>>>>>>>>>>>
git clone https://github.com/egorenar/openwrt.git R9000
cd R9000
git switch netgear-r9000
echo "src-git alpinefancontrol https://github.com/hurrian/openwrt-alpine-fan-control.git" >> feeds.conf.default
git clone --depth 1 --branch master --single-branch --no-tags --recurse-submodules https://github.com/fantastic-packages/packages package/fantastic-packages
# >>> add the 10G SFP Port (eth0) to the LAN; enable the LED of the 10G SFP Port <<<
echo "uci set network.@device[0].ports='eth0'; uci add_list network.@device[0].ports='eth1.1'; uci commit network" > target/linux/alpine/base-files/etc/uci-defaults/99-custom
echo "uci -q delete system.@led[0]; uci add system led; uci set system.@led[0].name='SFP'; uci set system.@led[0].sysfs='white:sfp'; uci set system.@led[0].trigger='netdev'; uci set system.@led[0].dev='eth0'; uci set system.@led[0].mode='link'; uci add_list system.@led[0].mode='tx'; uci add_list system.@led[0].mode='rx'; uci commit system;" >> target/linux/alpine/base-files/etc/uci-defaults/99-custom
./scripts/feeds update -a
./scripts/feeds install -a
echo "CONFIG_TARGET_alpine=y" >> .config
echo "CONFIG_TARGET_BOARD=alpine" >> .config
make menuconfig
# >>>>>>>>>>>>>>>>>>>>>>>>
# (2) Select in menuconfig
# >>>>>>>>>>>>>>>>>>>>>>>>
Utilities -> Shells -> bash
Utilities -> alpine-fan-control
LUCI -> Collections -> luci
LUCI -> Collections -> luci-ssl
LUCI -> 3. Applications -> luci-app-alpine-fan-control
LUCI -> 3. Applications -> luci-app-cpu-status-mini
LUCI -> 3. Applications -> luci-app-temp-status
Kernel modules -> Network Devices -> kmod-be2net
Kernel modules -> Network Devices -> kmod-macvlan
Kernel modules -> Network Devices -> kmod-sfp
Kernel modules -> Network Support -> kmod-nat46
Kernel modules -> Network Support -> kmod-tun
Kernel modules -> Netfilter Extensions -> kmod-ipt-ipset
Kernel modules -> Netfilter Extensions -> kmod-ipt-nat
Network ->Firewall->iptables-mod-conntrack-extra
Network ->Firewall->iptables-mod-ipopt
#otional
#LUCI -> 2. Modules -> luci-mod-dashboard
#LUCI -> 3. Applications -> luci-app-argon-config
#LUCI -> 3. Applications -> luci-app-mwan3
#LuCI -> VPN -> OpenVPN
#LUCI -> Themes
#Network -> VPN -> openvpn-openssl
#Network -> Routing And Redirection -> mwan3
#Network -> Routing And Redirection -> vpn-policy-routing
#Kernel modules -> USB Support -> kmod-usb-net-aqc111
#Kernel modules -> USB Support -> kmod-usb-net-rtl8152
# >>>>>>>>>>>>>>>>>>>>>
# (3) Start compiling
# >>>>>>>>>>>>>>>>>>>>>
make V=sc -j$(($(nproc)+1))
ls -arl bin/targets/alpine/generic/
.
In the last build the HTTPS support (LUCI-SSL) was missing. This build fix this security issue.
If the router is used in public, it should only be configured with SSH or web HTTPS.
Converting to DSA with dual switches ... could fix the problem
Has anyone found a way how to do the DSA configuration for the R9000 switches. Unfortunately I haven't gotten any further. The port configuration would then work much better and easier...
Any idea what could cause the high amount of retries spikes?
I had it on my iperf test aswell a while ago when testing the SPF+ port. (although a lot more)
id be willing to bet its a 2.5gb driver issue. I know for mine I had to install the latest driver from the manufacturer to get proper speeds. The default driver installed by windows worked for crap. I never got more than about what he got in his tests. Mine would also only go to about 1.3gb/sec. After i got the newest driver its been fine.