Banana Pi BPI-R4-NIC-BE14 V2.1 Wifi module

Sorry, I don’t have the hardware skills to remove RF shields or replace thermal pads :slight_smile:

mt7996_phy0.2-pci-0100
Adapter: PCI adapter
temp1:        +63.0°C  (high = +120.0°C, crit = +110.0°C)

mt7996_phy0.0-pci-0100
Adapter: PCI adapter
temp1:        +63.0°C  (high = +120.0°C, crit = +110.0°C)

Hello everyone! I have be14 v2.1 and bpi-r4 pro 4e winth openwrt from frank-w R4Pro_PR9. And i can`t use wifi now from luci. log: bpir4pro4ePR9_MXL1.0.85.85.txt (65.0 KB)

Please share /etc/config/wireless.

Did you have a look at the configuration I shared in that OpenWrt pull request? I suspect you need a configuration without MLO/MLD.

root@OpenWrt:~# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option radio '0'
        option band '2g'
        option channel '1'
        option htmode 'EHT40'
        option country 'US'
        option cell_density '0'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'sae'
        option key '123456789'
        option ieee80211w '1'
        option wpa_disable_eapol_key_retries '1'

config wifi-device 'radio1'
        option type 'mac80211'
        option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option radio '1'
        option band '5g'
        option channel '36'
        option htmode 'EHT320'
        option cell_density '0'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'sae'
        option key '123456789'
        option ieee80211w '1'
        option wpa_disable_eapol_key_retries '1'

config wifi-device 'radio2'
        option type 'mac80211'
        option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option radio '2'
        option band '6g'
        option channel 'auto'
        option htmode 'EHT320'
        option country 'US'
        option cell_density '0'
        option txpower '10'

config wifi-iface 'default_radio2'
        option device 'radio2'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'sae'
        option key '123456789'
        option ieee80211w '1'

MLO/MLD - i dont know. I want just wifi work firstly/. In OnePlus 12 i can see only wifi2 and wifi5. If i do one name for all wifi and password and connect OnePlus to rte wifi i can see Wifi7 on Oneplus.

Try the below in /etc/config/wireless then:

uci commit wireless
wifi reload
reboot -d 0 -f

Then wait for it to restart

# /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option radio '0'
        option band '2g'
        option channel '1'
        option htmode 'EHT40'

        option country 'GB'
        option disabled '0'

        option rnr '1'
        option tx_burst '0.0'


config wifi-iface 'default_radio0'

        option device 'radio0'
        option network 'lan'
        option mode 'ap'

        option ssid '12-Rochford-Close_E6-1QR_2G'

        option encryption 'none'
        option mbo '0'

config wifi-device 'radio1'
        option type 'mac80211'
        option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option radio '1'
        option band '5g'
        option channel '36'
        option htmode 'EHT160'

        option country 'GB'
        option disabled '0'

        option rnr '1'
        option background_radar '1'
        option tx_burst '0.0'


config wifi-iface 'default_radio1'

        option device 'radio1'
        option network 'lan'
        option mode 'ap'

        option ssid '12-Rochford-Close_E6-1QR_5G'

        option encryption 'none'
        option mbo '0'

config wifi-device 'radio2'
        option type 'mac80211'
        option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option radio '2'
        option band '6g'
        option channel '37'
        option htmode 'EHT320'

        option country 'GB'
        option disabled '0'

        option mbssid '1'
        option tx_burst '0.0'


config wifi-iface 'default_radio2'

        option device 'radio2'
        option network 'lan'
        option mode 'ap'

        option ssid '12-Rochford-Close_E6-1QR_6G'

        option encryption 'sae'
        option mbo '1'

        option key '1234567890'

        option sae_pwe '2'
        option ieee80211w '2'

You can find more examples of using frank-w’s changes in mediatek: add support for BananaPi BPi-R4 Pro 8X by andrewjlamarche · Pull Request #21083 · openwrt/openwrt · GitHub.

It is work good thx! I have bpi-r4 pro 4e with latest firmware for mxl (1.0.85.85) chip.

Can’t test it because on the wifi i has no ithernet. Any ideas? Bpi have internet. I connect wire to WAN port the bpi-r4 pro 4e to other ax6000 router.

static routes in your main router missing if you do not bridge wifi with your uplink (not recommended)?

Your main-router needs to know where your wifi subnet is located (over which which gateway=uplink of r4pro).

Can you ping your main router from r4Pro and the wifi client?

In addition to what frank-w wrote, SSH or use UART into the router and report the results of:

ping -c 1 1.1.1
ping -c bing.com
cat /etc/config/network

What DTS overlay do you have applied? If it is the sfp-wan overlay?

It is hard to give precise instructions without knowing your exact topology and setup.

For what is is worth the internet works for me on frank-w’s branch.

I can connect to the ssh and use ethernet on the bpi r4 it work ok. Not work if i use wifi only.

root@OpenWrt:~# apk update
 [https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/packages.adb]
 [https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/packages.adb]
 [https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/packages.adb]
 [https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/packages.adb]
 [https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/packages.adb]
 [https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/packages.adb]
 [https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/video/packages.adb]
OK: 8347 distinct packages available
root@OpenWrt:~# ping -c bing.com
ping: invalid number 'bing.com'
root@OpenWrt:~# ping  bing.com
PING bing.com (150.171.27.10): 56 data bytes
64 bytes from 150.171.27.10: seq=0 ttl=116 time=27.736 ms
64 bytes from 150.171.27.10: seq=1 ttl=116 time=27.476 ms
64 bytes from 150.171.27.10: seq=2 ttl=116 time=27.486 ms
64 bytes from 150.171.27.10: seq=3 ttl=116 time=27.203 ms
64 bytes from 150.171.27.10: seq=4 ttl=116 time=27.438 ms
^C
--- bing.com ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 27.203/27.467/27.736 ms
root@OpenWrt:~# ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
64 bytes from 1.1.1.1: seq=0 ttl=53 time=25.763 ms
64 bytes from 1.1.1.1: seq=1 ttl=53 time=25.650 ms
64 bytes from 1.1.1.1: seq=2 ttl=53 time=26.429 ms
64 bytes from 1.1.1.1: seq=3 ttl=53 time=25.754 ms
64 bytes from 1.1.1.1: seq=4 ttl=53 time=26.887 ms
64 bytes from 1.1.1.1: seq=5 ttl=53 time=27.777 ms
64 bytes from 1.1.1.1: seq=6 ttl=53 time=25.700 ms
64 bytes from 1.1.1.1: seq=7 ttl=53 time=26.675 ms
64 bytes from 1.1.1.1: seq=8 ttl=53 time=25.700 ms
64 bytes from 1.1.1.1: seq=9 ttl=53 time=25.589 ms
64 bytes from 1.1.1.1: seq=10 ttl=53 time=26.657 ms
64 bytes from 1.1.1.1: seq=12 ttl=53 time=25.984 ms
64 bytes from 1.1.1.1: seq=13 ttl=53 time=26.109 ms
64 bytes from 1.1.1.1: seq=14 ttl=53 time=26.120 ms
64 bytes from 1.1.1.1: seq=15 ttl=53 time=25.890 ms
64 bytes from 1.1.1.1: seq=16 ttl=53 time=25.452 ms
64 bytes from 1.1.1.1: seq=17 ttl=53 time=25.463 ms
64 bytes from 1.1.1.1: seq=18 ttl=53 time=26.192 ms
64 bytes from 1.1.1.1: seq=19 ttl=53 time=25.556 ms
64 bytes from 1.1.1.1: seq=20 ttl=53 time=25.728 ms
64 bytes from 1.1.1.1: seq=21 ttl=53 time=28.278 ms
^C
--- 1.1.1.1 ping statistics ---
22 packets transmitted, 21 packets received, 4% packet loss
round-trip min/avg/max = 25.452/26.159/28.278 ms
root@OpenWrt:~# ping -c bing.com
ping: invalid number 'bing.com'
root@OpenWrt:~# ping -c 1.1.1.1
ping: invalid number '1.1.1.1'
root@OpenWrt:~#

So internet works on r4pro itself,your wifi is maybe in different subnet which is not known by your msin router.

Can wifi client ping your r4?

I change only defiault wan port to LAN6.

Yes, i can ping from OnePlus 12 to bpi r4 pro 4e.

already answered

You have a 8x or 4e board? But if traffic goes to your main router this port should be ok and not in a bridge or such and correct overlay applied

If both sides can communicate with r4 and subnets are different then routing is probably the cause…i guess default route (wifi client and r4 seems too) is ok,but you will miss the static route in your main router telling that your wifi subnet is behind your r4 uplink ip

What is the output of cat /etc/config/network and cat /etc/config/wireless (I know you already shared it but I just want to reverify).

I use bpi r4 pro 4e.

root@OpenWrt:~# cat /etc/config/network

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        list ipaddr '127.0.0.1/8'

config globals 'globals'
        option dhcp_default_duid '0004424144067795525dbeef912294c50ba1'
        option ula_prefix 'fddc:55f2:d97b::/48'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan1'
        list ports 'lan2'
        list ports 'lan3'
        list ports 'lan4'
        list ports 'lan5'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        list ipaddr '192.168.1.1/24'
        option ip6assign '60'

config interface 'wan'
        option device 'lan6'
        option proto 'dhcp'

config interface 'wan6'
        option device 'lan6'
        option proto 'dhcpv6'
        option auto '0'
        option norelease '1'

root@OpenWrt:~# cat /etc/config/wireless
config wifi-device 'radio0'
        option type 'mac80211'
        option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option radio '0'
        option band '2g'
        option channel '1'
        option htmode 'EHT40'

        option country 'GB'
        option disabled '0'

        option rnr '1'
        option tx_burst '0.0'


config wifi-iface 'default_radio0'

        option device 'radio0'
        option network 'lan'
        option mode 'ap'

        option ssid 'Openwrt_2G'

        option encryption 'none'
        option mbo '0'

config wifi-device 'radio1'
        option type 'mac80211'
        option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option radio '1'
        option band '5g'
        option channel '36'
        option htmode 'EHT160'

        option country 'GB'
        option disabled '0'

        option rnr '1'
        option background_radar '1'
        option tx_burst '0.0'


config wifi-iface 'default_radio1'

        option device 'radio1'
        option network 'lan'
        option mode 'ap'

        option ssid 'Openwrt_5G'

        option encryption 'none'
        option mbo '0'

config wifi-device 'radio2'
        option type 'mac80211'
        option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option radio '2'
        option band '6g'
        option channel '37'
        option htmode 'EHT320'

        option country 'GB'
        option disabled '0'

        option mbssid '1'
        option tx_burst '0.0'


config wifi-iface 'default_radio2'

        option device 'radio2'
        option network 'lan'
        option mode 'ap'

        option ssid 'Openwrt_6G'

        option encryption 'sae'
        option mbo '1'

        option key '1234567890'

        option sae_pwe '2'
        option ieee80211w '2'
root@OpenWrt:~#

May be. But i dont know what i can fix it. Other router - also used openwrt. I just connect LAN to WAN (LAN6).

Huh, your configuration is slightly confusing.

  1. Why did you remove this [1] section from /etc/config/network? Put it back in and put the lan port back where you found it originally [2].
  2. Which overlay are you applying. I guess this isn’t important right now because you said the internet is working.
  3. What is your network topology. Maybe take a photo and describe the layout.

[1]:

config device
        option name 'br-wan'
        option type 'bridge'
        list ports 'eth1'

[2]:

config device
        option name 'br-lan'
        option type 'bridge'
        option igmp_snooping '1'
        list ports 'lan0'
        list ports 'lan1'
        list ports 'lan2'
        list ports 'lan3'
        list ports 'lan4'
        list ports 'lan5'
        list ports 'lan6'

After add it i cant get IP.

I forgot that I turned it off firewall

/etc/init.d/firewall disable
/etc/init.d/firewall stop