BPI-R4 WIFI issue (no internet)

need your help and advise

Board : BPI-R4

System : OpenWRT- Snapshot 6.6.70

Network Source : M.2 Modem Installed inside the board RM551 (X75 Snap)

Network issue .. (4)

Issue :
I have WiFi 5Ghz issue where the network will be disconnected between time to time like 3 hours or 5 hours (randomly) and no connection to the router system (192.168.1.1) or to websites like google , YouTube..etc... In same time there is mesh system connected to BPI-R4 on lan port has different IP number 192.168.3.3 (when I connect any device to Mesh wifi system I can get the network to everything but on OpenWRT wifi no connection )

Network Interface : modem on QMI

WIFI settings :

Did you assign the new interfaces up the wan firewall zone?

not sure what are you meaning ? ...

I got the error again , I need to turn off the router and on

That is not a WiFi radio issue because you are still connected to it; just no internet.

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall
1 Like

What I feel , its WiFi issue becasue when i connect to the Router through ethernet direct not WiFi ... i'm getting netwrok and access to openwrt page but through WiFi not .....

root@OpenWrt:~# ubus call system board
{
        "kernel": "6.6.70",
        "hostname": "OpenWrt",
        "system": "ARMv8 Processor rev 0",
        "model": "Bananapi BPI-R4",
        "board_name": "bananapi,bpi-r4",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "revision": "r28552-17b0d1379a",
                "target": "mediatek/filogic",
                "description": "OpenWrt SNAPSHOT r28552-17b0d1379a",
                "builddate": "1736517229"
        }
}
root@OpenWrt:~# cat /etc/config/network

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fdf9:7228:8ab9::/48'

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

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

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

config device
        option name 'wan'
        option macaddr '56:ea:64:11:78:91'

config device
        option name 'sfp-wan'
        option macaddr '56:ea:64:11:78:91'

config interface 'wan'
        option device 'br-wan'
        option proto 'dhcp'

config interface 'wan6'
        option device 'br-wan'
        option proto 'dhcpv6'

config interface 'modem'
        option proto 'qmi'
        option device '/dev/cdc-wdm0'
        option auth 'none'
        option pdptype 'ipv4v6'

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 'EHT20'
        option disabled '1'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'

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 'auto'
        option htmode 'HE160'
        option country 'SA'
        option cell_density '0'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt5.5G'
        option encryption 'psk2'
        option key 'q1234567'

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 'EHT80'
        option disabled '1'

config wifi-iface 'default_radio2'
        option device 'radio2'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'

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

config dnsmasq
        option domainneeded '1'
        option boguspriv '1'
        option filterwin2k '0'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option nonegcache '0'
        option cachesize '1000'
        option authoritative '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
        option nonwildcard '1'
        option localservice '1'
        option ednspacket_max '1232'
        option filter_aaaa '0'
        option filter_a '0'

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option dhcpv4 'server'
        option dhcpv6 'server'
        option ra 'server'
        option ra_slaac '1'
        list ra_flags 'managed-config'
        list ra_flags 'other-config'

config dhcp 'wan'
        option interface 'wan'
        option ignore '1'

config odhcpd 'odhcpd'
        option maindhcp '0'
        option leasefile '/tmp/hosts/odhcpd'
        option leasetrigger '/usr/sbin/odhcpd-update'
        option loglevel '4'

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

config defaults
        option syn_flood '1'
        option input 'REJECT'
        option output 'ACCEPT'
        option forward 'REJECT'

config zone
        option name 'lan'
        list network 'lan'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'ACCEPT'

config zone
        option name 'wan'
        option input 'REJECT'
        option output 'ACCEPT'
        option forward 'REJECT'
        option masq '1'
        option mtu_fix '1'
        list network 'wan'
        list network 'wan6'
        list network 'modem'

config forwarding
        option src 'lan'
        option dest 'wan'

config rule
        option name 'Allow-DHCP-Renew'
        option src 'wan'
        option proto 'udp'
        option dest_port '68'
        option target 'ACCEPT'
        option family 'ipv4'

config rule
        option name 'Allow-Ping'
        option src 'wan'
        option proto 'icmp'
        option icmp_type 'echo-request'
        option family 'ipv4'
        option target 'ACCEPT'

config rule
        option name 'Allow-IGMP'
        option src 'wan'
        option proto 'igmp'
        option family 'ipv4'
        option target 'ACCEPT'

config rule
        option name 'Allow-DHCPv6'
        option src 'wan'
        option proto 'udp'
        option dest_port '546'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-MLD'
        option src 'wan'
        option proto 'icmp'
        option src_ip 'fe80::/10'
        list icmp_type '130/0'
        list icmp_type '131/0'
        list icmp_type '132/0'
        list icmp_type '143/0'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-ICMPv6-Input'
        option src 'wan'
        option proto 'icmp'
        list icmp_type 'echo-request'
        list icmp_type 'echo-reply'
        list icmp_type 'destination-unreachable'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'bad-header'
        list icmp_type 'unknown-header-type'
        list icmp_type 'router-solicitation'
        list icmp_type 'neighbour-solicitation'
        list icmp_type 'router-advertisement'
        list icmp_type 'neighbour-advertisement'
        option limit '1000/sec'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-ICMPv6-Forward'
        option src 'wan'
        option dest '*'
        option proto 'icmp'
        list icmp_type 'echo-request'
        list icmp_type 'echo-reply'
        list icmp_type 'destination-unreachable'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'bad-header'
        list icmp_type 'unknown-header-type'
        option limit '1000/sec'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-IPSec-ESP'
        option src 'wan'
        option dest 'lan'
        option proto 'esp'
        option target 'ACCEPT'

config rule
        option name 'Allow-ISAKMP'
        option src 'wan'
        option dest 'lan'
        option dest_port '500'
        option proto 'udp'
        option target 'ACCEPT'


I meant it is not a radio issue.

While others look at the dump, snip the Network & Internet-> Ethernet (known good)
and
Network & Internet-> Wireless
DHCP settings and see if anything changes next time the WiFi looses internet.

1 Like


Should I select modem ? because its only on Lan by default

Do not associate more than one network with an SSID. The lan network is currently selected and that is correct.

What is the output of

ifstatus modem

Please take look

root@OpenWrt:~# ifstatus modem
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "uptime": 5900,
        "l3_device": "wwan0",
        "proto": "qmi",
        "updated": [
                "addresses",
                "routes",
                "prefixes",
                "data"
        ],
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [

        ],
        "ipv6-address": [
                {
                        "address": "2001:16a2:c19e:c5bf:b459:9e4d:da8d:cc60",
                        "mask": 128
                }
        ],
        "ipv6-prefix": [
                {
                        "address": "2001:16a2:c19e:c5bf::",
                        "mask": 64,
                        "class": "modem",
                        "assigned": {
                                "lan": {
                                        "address": "2001:16a2:c19e:c5bf::",
                                        "mask": 64
                                }
                        }
                }
        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "2001:16a2:c19e:c5bf:d1a8:81d9:b0ee:fc2e",
                        "mask": 128,
                        "nexthop": "::",
                        "source": "::/0"
                },
                {
                        "target": "::",
                        "mask": 0,
                        "nexthop": "2001:16a2:c19e:c5bf:d1a8:81d9:b0ee:fc2e",
                        "source": "2001:16a2:c19e:c5bf:b459:9e4d:da8d:cc60/64"
                }
        ],
        "dns-server": [
                "2001:16a0:2:300b:84:235:57:230",
                "2001:16a0:1:3007:84:235:6:55"
        ],
        "dns-search": [

        ],
        "neighbors": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ],
                "neighbors": [

                ]
        },
        "data": {
                "cid_4": "15",
                "cid_6": "16",
                "pdh_4": "-478105232",
                "pdh_6": "-480520032",
                "zone": "wan"
        }
}

Ok... and what about

ifstatus modem_4

Here

root@OpenWrt:~# ifstatus modem_4
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": true,
        "uptime": 6330,
        "l3_device": "wwan0",
        "proto": "dhcp",
        "device": "wwan0",
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [
                {
                        "address": "10.110.219.126",
                        "mask": 30
                }
        ],
        "ipv6-address": [

        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "0.0.0.0",
                        "mask": 0,
                        "nexthop": "10.110.219.125",
                        "source": "10.110.219.126/32"
                }
        ],
        "dns-server": [
                "84.235.57.230",
                "84.235.6.55"
        ],
        "dns-search": [

        ],
        "neighbors": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ],
                "neighbors": [

                ]
        },
        "data": {
                "zone": "wan",
                "dhcpserver": "10.110.219.125",
                "hostname": "OpenWrt",
                "leasetime": 7200,
                "zone": "wan"
        }
}

I'm not seeing the issue. Hopefully someone else will spot it.

1 Like

The issue will be no Internet or connection to OpenWRT page on WIFI of the board but any device connecting on ethernet can get access

Sorry.. what I meant was that I understand that you are having that issue, but I don't see anything wrong in the configs and hopefully someone else will see what I'm missing.

1 Like

Thank you so much for your support


I will wait maybe someone can advise me in this case

I meant to look for IP, gateway and dns changes in Windows; I should have made that clear.

Next time you lose connection, see how Windows handles it.

1 Like

Dear

This issue on all devices are connected on WIFI.. Iphone 15 , Iphone 14 , laptop , PC , PS5

but when I connect on ethernet i'm getting network

Checking Windows only for changes is fine.

To be clear:
Note the DHCP settings while working and then look for any changes when the internet drops.

1 Like

4 devices connected to OpenWRT BPI-R4 WIFI 5Ghz

  • Laptop : No Network
  • Phones : No Network
  • PS5 : No Network
  • PC : No Network

same 4 devices connected to OpenWRT BPI-R4 through ethernet 1GB

  • Laptop : Got Network
  • Phones : Got Network
  • PS5 : Got Network
  • PC : Got Network

WiFi will give signal but no network or access to OpenWRT Luci Page (192.168.1.1)

Note: This issue happened with OpenWRT firmware snapshot 70, 71 up to now

I tried OpenWRT BPI-R4 Opkg version 24.00 5th no issue ...

i'm looking to use OpenWRT snapshot .

Did any of the DHCP settings change?

What is the current gateway on the Windows PC?

1 Like