WIFI Adapter won't start after reboot or start up

Hi there,
I have raspberry pi 4 and WIFI Adapter edup ax3000. it wont startup after reboot or powering the pi 4 on. i have click restart on wireless. can someone help fix so it start automatic.

root@OpenWrt:~# ubus call system board
config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /sys/kernel/deb{
        "kernel": "5.15.162",
        "hostname": "OpenWrt",
        "system": "ARMv8 Processor rev 3",
        "model": "Raspberry Pi 4 Model B Rev 1.5",
        "board_name": "raspberrypi,4-model-b",
        "rootfs_type": "ext4",
        "release": {
                "distribution": "OpenWrt",
                "version": "23.05.4",
                "revision": "r24012-d8dd03c46f",
                "target": "bcm27xx/bcm2711",
                "description": "OpenWrt 23.05.4 r24012-d8dd03c46f"
        }
}
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 'fdf0:bd75:9017::/48'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'eth0'

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

config interface 'wwan'
        option proto 'dhcp'

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

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
        option channel '36'
        option band '5g'
        option htmode 'VHT80'
        option cell_density '0'

config wifi-iface 'wifinet1'
        option device 'radio0'
        option mode 'sta'
        option network 'wwan'
        option ssid 'TALKTALK47E059_EXT5G'
        option encryption 'psk2'
        option key 'YQFJRN67'

config wifi-device 'radio1'
        option type 'mac80211'
        option path 'scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1:1.0'
        option channel 'auto'
        option band '5g'
        option cell_density '0'
        option htmode 'HE80'

config wifi-iface 'wifinet2'
        option device 'radio1'
        option mode 'ap'
        option ssid 'Hrscraft WI-FI'
        option encryption 'none'
        option network 'lan'

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'
        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 /sys/kernel/debug/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 5.15
S:  Manufacturer=Linux 5.15.162 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:01:00.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 4
D:  Ver= 2.10 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=2109 ProdID=3431 Rev= 4.21
S:  Product=USB2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 4
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev= 5.15
S:  Manufacturer=Linux 5.15.162 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:01:00.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=5000 MxCh= 0
D:  Ver= 3.20 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs=  1
P:  Vendor=0e8d ProdID=7961 Rev= 1.00
S:  Manufacturer=MediaTek Inc.
S:  Product=Wireless_Device
S:  SerialNumber=000000000
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=160mA
I:* If#= 0 Alt= 0 #EPs= 9 Cls=ff(vend.) Sub=ff Prot=ff Driver=mt7921u
E:  Ad=84(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=85(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=08(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=06(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=07(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=09(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=86(I) Atr=03(Int.) MxPS=   2 Ivl=125us```

Restart the wifi service in rc.local ?

What's the command for that. It says disable when i ever start up the pi than got restart it in wireless in the luci to make it work

wifi up ?

Nope didn't work. It didn't come on automatically after reboot

and if you do it manually ?

lost the relevant snippet from logread -f or dmesg when you do it.

the command wasn't found

root@OpenWrt:~# logread-f / dmesg
-ash: logread-f: not found
root@OpenWrt:~#

there's a space missing, but those are actually two different commands.

1 Like
  • There's no country code set
  • Consider setting a non-DFS channel instead of using "Auto" for radio1

You never mention waiting, but it's possible you needed to wait when not setting a non-DFS channel.

i have setup the country code now but how do i setup a non-DFS Channel

Try channel 36.

oh ok here are the commands

root@OpenWrt:~# logread -f
Fri Oct 25 07:23:53 2024 daemon.notice netifd: radio1 (2808): WARNING: Variable 'data' does not exist or is not an array/object
Fri Oct 25 07:23:53 2024 daemon.notice hostapd: Set new config for phy phy0:
Fri Oct 25 07:23:53 2024 daemon.notice wpa_supplicant[1009]: Set new config for phy phy0
Fri Oct 25 07:23:53 2024 daemon.notice wpa_supplicant[1009]: Set new config for phy phy0
Fri Oct 25 07:23:53 2024 daemon.notice hostapd: Set new config for phy phy0: /var/run/hostapd-phy0.conf
Fri Oct 25 07:23:53 2024 daemon.notice hostapd: Restart interface for phy phy0
Fri Oct 25 07:23:53 2024 daemon.notice hostapd: Configuration file: data: driver=nl80211 logger_syslog=127 logger_syslog_level=2 logger_stdout=127 logger_stdout_level=2 hw_mode=a beacon_int=100 tx_queue_data2_burst=2.0 #num_global_macaddr=1 ieee80211n=1 ht_coex=0 ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][MAX-AMSDU-7935] ieee80211ac=1 vht_oper_chwidth=1 vht_oper_centr_freq_seg0_idx=-6 vht_capab=[RXLDPC][SHORT-GI-80][TX-STBC-2BY1][SU-BEAMFORMEE][MU-BEAMFORMEE][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][BF-ANTENNA-4][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7] ieee80211ax=1 he_oper_chwidth=1 he_oper_centr_freq_seg0_idx=-6 he_bss_color=128 he_spr_sr_control=3 he_default_pe_duration=4 he_rts_threshold=1023 he_mu_edca_qos_info_param_count=0 he_mu_edca_qos_info_q_ack=0 he_mu_edca_qos_info_queue_request=0 he_mu_edca_qos_info_txop_request=0 he_mu_edca_ac_be_aifsn=8 he_mu_edca_ac_be_aci=0 he_mu_edca_ac_be_ecwmin=9 he_mu_edca_ac_be_ecwmax=10 he_mu_edca_ac_be_timer=255 he_mu_edca_ac_bk_aifsn=15 he_mu_edca_ac_bk_
Fri Oct 25 07:23:54 2024 kern.info kernel: [   78.880102] br-lan: port 2(phy0-ap0) entered blocking state
Fri Oct 25 07:23:54 2024 kern.info kernel: [   78.885708] br-lan: port 2(phy0-ap0) entered disabled state
Fri Oct 25 07:23:54 2024 kern.info kernel: [   78.891570] device phy0-ap0 entered promiscuous mode
Fri Oct 25 07:23:54 2024 kern.info kernel: [   78.896635] br-lan: port 2(phy0-ap0) entered blocking state
Fri Oct 25 07:23:54 2024 kern.info kernel: [   78.902236] br-lan: port 2(phy0-ap0) entered forwarding state
Fri Oct 25 07:23:54 2024 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Fri Oct 25 07:23:54 2024 daemon.notice hostapd: phy0-ap0: interface state UNINITIALIZED->ACS
Fri Oct 25 07:23:54 2024 daemon.notice hostapd: phy0-ap0: ACS-STARTED
Fri Oct 25 07:23:54 2024 kern.info kernel: [   78.908247] br-lan: port 2(phy0-ap0) entered disabled state
Fri Oct 25 07:23:54 2024 daemon.notice netifd: Wireless device 'radio1' is now up
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5180 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5180 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5180 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5180 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5180 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5180 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5180 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5200 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5200 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5200 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5200 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5200 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5200 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5220 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5220 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5220 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5220 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5220 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5220 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5240 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5240 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5240 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5240 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5240 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5240 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5180 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5200 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5220 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5240 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: ACS: Survey for freq 5180 is missing noise floor
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: phy0-ap0: ACS-COMPLETED freq=5180 channel=36
Fri Oct 25 07:23:57 2024 daemon.notice hostapd: phy0-ap0: interface state ACS->HT_SCAN
Fri Oct 25 07:23:58 2024 kern.info kernel: [   82.496988] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-ap0: link becomes ready
Fri Oct 25 07:23:58 2024 kern.info kernel: [   82.503837] br-lan: port 2(phy0-ap0) entered blocking state
Fri Oct 25 07:23:58 2024 kern.info kernel: [   82.509438] br-lan: port 2(phy0-ap0) entered forwarding state
Fri Oct 25 07:23:58 2024 daemon.notice netifd: Network device 'phy0-ap0' link is up
Fri Oct 25 07:23:58 2024 daemon.notice hostapd: phy0-ap0: interface state HT_SCAN->ENABLED
Fri Oct 25 07:23:58 2024 daemon.notice hostapd: phy0-ap0: AP-ENABLED
^Croot@OpenWrt:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 5.15.162 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r24012-d8dd03c46f) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Mon Jul 15 22:14:18 2024
[    0.000000] random: crng init done
[    0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.5
[    0.000000] Reserved memory: created CMA memory pool at 0x000000002ac00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000]   DMA32    [mem 0x0000000040000000-0x00000000fbffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000fbffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff]
[    0.000000] On node 0, zone DMA32: 19456 pages in unavailable ranges
[    0.000000] On node 0, zone DMA32: 16384 pages in unavailable ranges
[    0.000000] percpu: Embedded 18 pages/cpu s34904 r8192 d30632 u73728
[    0.000000] pcpu-alloc: s34904 r8192 d30632 u73728 alloc=18*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Spectre-v2
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 996912
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=D8:3A:DD:35:A7:0A vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=squashfs,ext4 rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x0000000037400000-0x000000003b400000] (64MB)
[    0.000000] Memory: 3827212K/4050944K available (8256K kernel code, 912K rwdata, 1292K rodata, 448K init, 554K bss, 158196K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: 0xffffffc0080100d0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000001] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000221] Console: colour dummy device 80x25
[    0.000515] printk: console [tty1] enabled
[    0.000556] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[    0.000581] pid_max: default: 32768 minimum: 301
[    0.000834] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.000921] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001559] cgroup: Disabling memory control group subsystem
[    0.002635] rcu: Hierarchical SRCU implementation.
[    0.003330] smp: Bringing up secondary CPUs ...
[    0.003758] Detected PIPT I-cache on CPU1
[    0.003827] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.004329] Detected PIPT I-cache on CPU2
[    0.004371] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[    0.004825] Detected PIPT I-cache on CPU3
[    0.004868] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[    0.004942] smp: Brought up 1 node, 4 CPUs
[    0.005001] SMP: Total of 4 processors activated.
[    0.005014] CPU features: detected: 32-bit EL0 Support
[    0.005027] CPU features: detected: CRC32 instructions
[    0.005097] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.005116] CPU: All CPU(s) started at EL2
[    0.005147] alternatives: patching kernel code
[    0.013707] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013766] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.015320] pinctrl core: initialized pinctrl subsystem
[    0.016364] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.018016] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.018259] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.018647] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.019089] thermal_sys: Registered thermal governor 'step_wise'
[    0.019226] cpuidle: using governor ladder
[    0.019264] cpuidle: using governor menu
[    0.019453] ASID allocator initialised with 65536 entries
[    0.019543] Serial: AMBA PL011 UART driver
[    0.023703] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.040273] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-10-17T15:39:16, variant start
[    0.050279] raspberrypi-firmware soc:firmware: Firmware hash is 30f0c5e4d076da3ab4f341d88e7d505760b93ad7
[    0.082434] cryptd: max_cpu_qlen set to 1000
[    0.084156] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.086315] SCSI subsystem initialized
[    0.086462] usbcore: registered new interface driver usbfs
[    0.086506] usbcore: registered new interface driver hub
[    0.086546] usbcore: registered new device driver usb
[    0.086676] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.087964] clocksource: Switched to clocksource arch_sys_counter
[    0.091310] NET: Registered PF_INET protocol family
[    0.091847] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.094850] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.094923] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.094951] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.095183] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.095721] TCP: Hash tables configured (established 32768 bind 32768)
[    0.095940] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.096015] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.096250] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.096295] PCI: CLS 0 bytes, default 64
[    0.099970] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.104283] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.167816] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.171201] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    0.171245] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    0.171292] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[    0.171335] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x00ffffffff -> 0x0400000000
[    0.230031] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[    0.230208] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    0.230228] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.230248] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[    0.230302] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    0.230386] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.233845] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.234025] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    0.234104] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    0.234279] pci 0000:01:00.0: PME# supported from D0 D3hot
[    0.237707] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.237748] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    0.237772] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    0.237836] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.237853] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    0.238048] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    0.238175] pcieport 0000:00:00.0: PME: Signaling with IRQ 42
[    0.238462] pcieport 0000:00:00.0: AER: enabled with IRQ 42
[    0.239056] bcm2708_fb soc:fb: Unable to determine number of FBs. Disabling driver.
[    0.239078] bcm2708_fb: probe of soc:fb failed with error -2
[    0.245013] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    0.245792] iproc-rng200 fe104000.rng: hwrng registered
[    0.245913] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    0.246364] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    0.253630] brd: module loaded
[    0.256810] loop: module loaded
[    0.257479] Loading iSCSI transport class v2.0-870.
[    0.259445] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    0.428014] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    0.476304] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.476343] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    0.476894] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0003800000000890
[    0.477542] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.477567] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    0.477591] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    0.477825] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    0.477851] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.477870] usb usb1: Product: xHCI Host Controller
[    0.477884] usb usb1: Manufacturer: Linux 5.15.162 xhci-hcd
[    0.477898] usb usb1: SerialNumber: 0000:01:00.0
[    0.478253] hub 1-0:1.0: USB hub found
[    0.478299] hub 1-0:1.0: 1 port detected
[    0.478752] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[    0.478777] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.478796] usb usb2: Product: xHCI Host Controller
[    0.478810] usb usb2: Manufacturer: Linux 5.15.162 xhci-hcd
[    0.478825] usb usb2: SerialNumber: 0000:01:00.0
[    0.479133] hub 2-0:1.0: USB hub found
[    0.479177] hub 2-0:1.0: 4 ports detected
[    0.479999] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.480091] dwc_otg: FIQ enabled
[    0.480097] dwc_otg: NAK holdoff enabled
[    0.480102] dwc_otg: FIQ split-transaction FSM enabled
[    0.480110] Module dwc_common_port init
[    0.480435] usbcore: registered new interface driver uas
[    0.480505] usbcore: registered new interface driver usb-storage
[    0.480581] mousedev: PS/2 mouse device common for all mice
[    0.481108] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    0.482853] sdhci: Secure Digital Host Controller Interface driver
[    0.482874] sdhci: Copyright(c) Pierre Ossman
[    0.483274] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    0.483592] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.494335] NET: Registered PF_INET6 protocol family
[    0.494805] Segment Routing with IPv6
[    0.494820] In-situ OAM (IOAM) with IPv6
[    0.494851] NET: Registered PF_PACKET protocol family
[    0.494871] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.494933] 8021q: 802.1Q VLAN Support v1.8
[    0.495265] Key type .fscrypt registered
[    0.495271] Key type fscrypt-provisioning registered
[    0.497767] uart-pl011 fe201000.serial: there is not valid maps for state default
[    0.497843] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    0.497916] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 17, base_baud = 0) is a PL011 rev2
[    0.767953] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    0.772664] printk: console [ttyAMA0] enabled
[    0.960529] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    1.021462] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    1.026304] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.031563] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    1.038388] usb 1-1: Product: USB2.0 Hub
[    1.044467] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    1.050263] hub 1-1:1.0: USB hub found
[    1.081603] of_cfs_init
[    1.090467] hub 1-1:1.0: 4 ports detected
[    1.094791] of_cfs_init: OK
[    1.095086] clk: Disabling unused clocks
[    1.123799] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[    1.128994] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
[    1.676721] Waiting for root device /dev/mmcblk0p2...
[    1.700097] usb 2-1: New USB device found, idVendor=0e8d, idProduct=7961, bcdDevice= 1.00
[    1.708300] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[    1.715471] usb 2-1: Product: Wireless_Device
[    1.719864] usb 2-1: Manufacturer: MediaTek Inc.
[    1.724501] usb 2-1: SerialNumber: 000000000
[    1.777805] mmc0: new ultra high speed DDR50 SDHC card at address 5048
[    1.784906] mmcblk0: mmc0:5048 SD32G 29.7 GiB
[    1.790657]  mmcblk0: p1 p2
[    1.793573] mmcblk0: mmc0:5048 SD32G 29.7 GiB (quirks 0x00004000)
[    1.799872] mmc1: new high speed SDIO card at address 0001
[    1.833281] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
[    1.843436] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.850535] Freeing unused kernel memory: 448K
[    1.855090] Run /sbin/init as init process
[    1.859192]   with arguments:
[    1.859195]     /sbin/init
[    1.859197]   with environment:
[    1.859199]     HOME=/
[    1.859201]     TERM=linux
[    1.903370] init: Console is alive
[    1.906943] init: - watchdog -
[    2.072471] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.122257] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.132299] init: - preinit -
[    2.197985] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[    2.206447] bcmgenet fd580000.ethernet eth0: Link is Down
[    2.220924] uart-pl011 fe201000.serial: no DMA platform data
[    4.264583] mount_root: mounting /dev/root
[    4.270198] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: disabled.
[    4.288867] insmod: module is already loaded - fat
[    4.294787] insmod: module is already loaded - vfat
[    4.307922] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    4.318520] urandom-seed: Seeding with /etc/urandom.seed
[    4.350839] procd: - early -
[    4.353812] procd: - watchdog -
[    4.885674] procd: - watchdog -
[    4.892166] procd: - ubus -
[    4.947364] procd: - init -
[    5.040235] kmodloader: loading kernel modules from /etc/modules.d/*
[    5.062889] hid: raw HID events driver (C) Jiri Kosina
[    5.069061] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    5.093318] Loading modules backported from Linux version v6.1.97-0-g7753af06eebfb
[    5.100908] Backport generated by backports.git v6.1.97-1-0-g2431d56e
[    5.108706] usbcore: registered new interface driver lan78xx
[    5.118135] usbcore: registered new interface driver usbhid
[    5.123717] usbhid: USB HID core driver
[    5.131296] xt_time: kernel timezone is -0000
[    5.172678] usbcore: registered new interface driver mt76x2u
[    5.192953] PPP generic driver version 2.4.2
[    5.197588] NET: Registered PF_PPPOX protocol family
[    5.212596] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    5.221472] usbcore: registered new interface driver brcmfmac
[    5.227312] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin failed with error -2
[    5.238977] brcmfmac mmc1:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin
[    5.428689] usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
[    5.441149] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jul 29 2022 02:15:20 version 7.45.250 (70e9766 CY) FWID 01-e53e306b
[    5.487389] usbcore: registered new interface driver mt7921u
[    5.496240] mt7921u 2-1:1.0: HW/SW Version: 0x8a108a10, Build Time: 20231109190918a
[    5.496240]
[    5.498247] kmodloader: done loading kernel modules from /etc/modules.d/*
[    5.762580] mt7921u 2-1:1.0: WM Firmware Version: ____010000, Build Time: 20231109190959
[    6.695595] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[    6.704600] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    6.712863] br-lan: port 1(eth0) entered blocking state
[    6.718139] br-lan: port 1(eth0) entered disabled state
[    6.723506] device eth0 entered promiscuous mode
[    6.728926] br-lan: port 1(eth0) entered blocking state
[    6.734169] br-lan: port 1(eth0) entered forwarding state
[    6.906388] brcmfmac mmc1:0001:1 phy1-sta0: renamed from wlan0
[    7.768015] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[    8.326639] IPv6: ADDRCONF(NETDEV_CHANGE): phy1-sta0: link becomes ready
[   78.880102] br-lan: port 2(phy0-ap0) entered blocking state
[   78.885708] br-lan: port 2(phy0-ap0) entered disabled state
[   78.891570] device phy0-ap0 entered promiscuous mode
[   78.896635] br-lan: port 2(phy0-ap0) entered blocking state
[   78.902236] br-lan: port 2(phy0-ap0) entered forwarding state
[   78.908247] br-lan: port 2(phy0-ap0) entered disabled state
[   82.496988] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-ap0: link becomes ready
[   82.503837] br-lan: port 2(phy0-ap0) entered blocking state
[   82.509438] br-lan: port 2(phy0-ap0) entered forwarding state
[  267.764081] device phy0-ap0 left promiscuous mode
[  267.769022] br-lan: port 2(phy0-ap0) entered disabled state
[  268.306033] br-lan: port 2(phy0-ap0) entered blocking state
[  268.311660] br-lan: port 2(phy0-ap0) entered disabled state
[  268.317445] device phy0-ap0 entered promiscuous mode
[  268.322537] br-lan: port 2(phy0-ap0) entered blocking state
[  268.328138] br-lan: port 2(phy0-ap0) entered forwarding state
[  268.828362] br-lan: port 2(phy0-ap0) entered disabled state
[  282.019772] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-ap0: link becomes ready
[  282.026590] br-lan: port 2(phy0-ap0) entered blocking state
[  282.032196] br-lan: port 2(phy0-ap0) entered forwarding state

nope didn't work

Logs, please.

"nope didn't work" isn't helpful to assist you.

whats the command for that

:confused:

Let's see the config also.

logread -f

root@OpenWrt:~# logread -f
Fri Oct 25 07:40:33 2024 daemon.notice netifd: radio1 (2766): WARNING: Variable 'data' does not exist or is not an array/object
Fri Oct 25 07:40:33 2024 daemon.notice wpa_supplicant[1010]: phy1-sta0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=GB
Fri Oct 25 07:40:34 2024 daemon.notice hostapd: Set new config for phy phy0:
Fri Oct 25 07:40:34 2024 daemon.notice wpa_supplicant[1010]: Set new config for phy phy0
Fri Oct 25 07:40:34 2024 daemon.notice wpa_supplicant[1010]: Set new config for phy phy0
Fri Oct 25 07:40:34 2024 daemon.notice hostapd: Set new config for phy phy0: /var/run/hostapd-phy0.conf
Fri Oct 25 07:40:34 2024 daemon.notice hostapd: Restart interface for phy phy0
Fri Oct 25 07:40:34 2024 daemon.notice hostapd: Configuration file: data: driver=nl80211 logger_syslog=127 logger_syslog_level=2 logger_stdout=127 logger_stdout_level=2 country_code=GB ieee80211d=1 ieee80211h=1 hw_mode=a beacon_int=100 chanlist=36 tx_queue_data2_burst=2.0 #num_global_macaddr=1 ieee80211n=1 ht_coex=0 ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][MAX-AMSDU-7935] ieee80211ac=1 vht_oper_chwidth=1 vht_oper_centr_freq_seg0_idx=42 vht_capab=[RXLDPC][SHORT-GI-80][TX-STBC-2BY1][SU-BEAMFORMEE][MU-BEAMFORMEE][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][BF-ANTENNA-4][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7] ieee80211ax=1 he_oper_chwidth=1 he_oper_centr_freq_seg0_idx=42 he_bss_color=128 he_spr_sr_control=3 he_default_pe_duration=4 he_rts_threshold=1023 he_mu_edca_qos_info_param_count=0 he_mu_edca_qos_info_q_ack=0 he_mu_edca_qos_info_queue_request=0 he_mu_edca_qos_info_txop_request=0 he_mu_edca_ac_be_aifsn=8 he_mu_edca_ac_be_aci=0 he_mu_edca_ac_be_ecwmin=9 he_mu_edca_ac_be_ecwmax=10 he_mu_edca_ac_be
Fri Oct 25 07:40:35 2024 kern.info kernel: [  116.517003] br-lan: port 2(phy0-ap0) entered blocking state
Fri Oct 25 07:40:35 2024 kern.info kernel: [  116.522747] br-lan: port 2(phy0-ap0) entered disabled state
Fri Oct 25 07:40:35 2024 kern.info kernel: [  116.528670] device phy0-ap0 entered promiscuous mode
Fri Oct 25 07:40:35 2024 kern.info kernel: [  116.533830] br-lan: port 2(phy0-ap0) entered blocking state
Fri Oct 25 07:40:35 2024 kern.info kernel: [  116.539475] br-lan: port 2(phy0-ap0) entered forwarding state
Fri Oct 25 07:40:35 2024 daemon.notice hostapd: phy0-ap0: interface state UNINITIALIZED->COUNTRY_UPDATE
Fri Oct 25 07:40:35 2024 kern.info kernel: [  116.545716] br-lan: port 2(phy0-ap0) entered disabled state
Fri Oct 25 07:40:35 2024 daemon.notice hostapd: phy0-ap0: interface state COUNTRY_UPDATE->HT_SCAN
Fri Oct 25 07:40:35 2024 daemon.notice netifd: Wireless device 'radio1' is now up
Fri Oct 25 07:40:35 2024 kern.info kernel: [  117.471069] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-ap0: link becomes ready
Fri Oct 25 07:40:35 2024 kern.info kernel: [  117.477914] br-lan: port 2(phy0-ap0) entered blocking state
Fri Oct 25 07:40:35 2024 kern.info kernel: [  117.483499] br-lan: port 2(phy0-ap0) entered forwarding state
Fri Oct 25 07:40:35 2024 daemon.notice netifd: Network device 'phy0-ap0' link is up
Fri Oct 25 07:40:35 2024 daemon.notice hostapd: phy0-ap0: interface state HT_SCAN->ENABLED
Fri Oct 25 07:40:35 2024 daemon.notice hostapd: phy0-ap0: AP-ENABLED

dmesg

root@OpenWrt:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 5.15.162 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r24012-d8dd03c46f) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Mon Jul 15 22:14:18 2024
[    0.000000] random: crng init done
[    0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.5
[    0.000000] Reserved memory: created CMA memory pool at 0x000000002ac00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000]   DMA32    [mem 0x0000000040000000-0x00000000fbffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000fbffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff]
[    0.000000] On node 0, zone DMA32: 19456 pages in unavailable ranges
[    0.000000] On node 0, zone DMA32: 16384 pages in unavailable ranges
[    0.000000] percpu: Embedded 18 pages/cpu s34904 r8192 d30632 u73728
[    0.000000] pcpu-alloc: s34904 r8192 d30632 u73728 alloc=18*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Spectre-v2
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 996912
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=D8:3A:DD:35:A7:0A vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=squashfs,ext4 rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x0000000037400000-0x000000003b400000] (64MB)
[    0.000000] Memory: 3827212K/4050944K available (8256K kernel code, 912K rwdata, 1292K rodata, 448K init, 554K bss, 158196K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: 0xffffffc0080100d0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000001] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000222] Console: colour dummy device 80x25
[    0.000516] printk: console [tty1] enabled
[    0.000557] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[    0.000583] pid_max: default: 32768 minimum: 301
[    0.000838] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.000924] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001563] cgroup: Disabling memory control group subsystem
[    0.002640] rcu: Hierarchical SRCU implementation.
[    0.003327] smp: Bringing up secondary CPUs ...
[    0.003755] Detected PIPT I-cache on CPU1
[    0.003819] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.004318] Detected PIPT I-cache on CPU2
[    0.004361] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[    0.004811] Detected PIPT I-cache on CPU3
[    0.004852] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[    0.004927] smp: Brought up 1 node, 4 CPUs
[    0.004986] SMP: Total of 4 processors activated.
[    0.004999] CPU features: detected: 32-bit EL0 Support
[    0.005011] CPU features: detected: CRC32 instructions
[    0.005087] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.005106] CPU: All CPU(s) started at EL2
[    0.005136] alternatives: patching kernel code
[    0.013675] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013733] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.015278] pinctrl core: initialized pinctrl subsystem
[    0.016325] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.017959] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.018200] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.018584] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.019022] thermal_sys: Registered thermal governor 'step_wise'
[    0.019161] cpuidle: using governor ladder
[    0.019198] cpuidle: using governor menu
[    0.019387] ASID allocator initialised with 65536 entries
[    0.019475] Serial: AMBA PL011 UART driver
[    0.023635] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.040203] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-10-17T15:39:16, variant start
[    0.050209] raspberrypi-firmware soc:firmware: Firmware hash is 30f0c5e4d076da3ab4f341d88e7d505760b93ad7
[    0.082371] cryptd: max_cpu_qlen set to 1000
[    0.084089] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.086236] SCSI subsystem initialized
[    0.086385] usbcore: registered new interface driver usbfs
[    0.086428] usbcore: registered new interface driver hub
[    0.086467] usbcore: registered new device driver usb
[    0.086597] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.087874] clocksource: Switched to clocksource arch_sys_counter
[    0.091232] NET: Registered PF_INET protocol family
[    0.091767] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.094765] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.094835] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.094862] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.095166] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.095718] TCP: Hash tables configured (established 32768 bind 32768)
[    0.095925] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.096001] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.096223] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.096270] PCI: CLS 0 bytes, default 64
[    0.099651] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.103959] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.168661] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.171957] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    0.172001] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    0.172047] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[    0.172090] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x00ffffffff -> 0x0400000000
[    0.229942] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[    0.230142] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    0.230162] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.230185] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[    0.230240] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    0.230325] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.233788] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.233969] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    0.234046] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    0.234224] pci 0000:01:00.0: PME# supported from D0 D3hot
[    0.237637] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.237677] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    0.237701] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    0.237765] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.237782] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    0.237976] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    0.238109] pcieport 0000:00:00.0: PME: Signaling with IRQ 42
[    0.238393] pcieport 0000:00:00.0: AER: enabled with IRQ 42
[    0.238999] bcm2708_fb soc:fb: Unable to determine number of FBs. Disabling driver.
[    0.239022] bcm2708_fb: probe of soc:fb failed with error -2
[    0.244955] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    0.245717] iproc-rng200 fe104000.rng: hwrng registered
[    0.245837] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    0.246292] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    0.253536] brd: module loaded
[    0.256723] loop: module loaded
[    0.257400] Loading iSCSI transport class v2.0-870.
[    0.259292] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    0.417925] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    0.466216] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.466255] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    0.466811] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0003800000000890
[    0.467460] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.467485] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    0.467510] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    0.467738] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    0.467764] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.467783] usb usb1: Product: xHCI Host Controller
[    0.467798] usb usb1: Manufacturer: Linux 5.15.162 xhci-hcd
[    0.467812] usb usb1: SerialNumber: 0000:01:00.0
[    0.468175] hub 1-0:1.0: USB hub found
[    0.468220] hub 1-0:1.0: 1 port detected
[    0.468678] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[    0.468705] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.468723] usb usb2: Product: xHCI Host Controller
[    0.468737] usb usb2: Manufacturer: Linux 5.15.162 xhci-hcd
[    0.468751] usb usb2: SerialNumber: 0000:01:00.0
[    0.469056] hub 2-0:1.0: USB hub found
[    0.469100] hub 2-0:1.0: 4 ports detected
[    0.469917] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.470010] dwc_otg: FIQ enabled
[    0.470016] dwc_otg: NAK holdoff enabled
[    0.470021] dwc_otg: FIQ split-transaction FSM enabled
[    0.470028] Module dwc_common_port init
[    0.470319] usbcore: registered new interface driver uas
[    0.470389] usbcore: registered new interface driver usb-storage
[    0.470465] mousedev: PS/2 mouse device common for all mice
[    0.471002] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    0.472718] sdhci: Secure Digital Host Controller Interface driver
[    0.472737] sdhci: Copyright(c) Pierre Ossman
[    0.473149] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    0.473556] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.481610] NET: Registered PF_INET6 protocol family
[    0.482070] Segment Routing with IPv6
[    0.482084] In-situ OAM (IOAM) with IPv6
[    0.482113] NET: Registered PF_PACKET protocol family
[    0.482137] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.482189] 8021q: 802.1Q VLAN Support v1.8
[    0.482517] Key type .fscrypt registered
[    0.482523] Key type fscrypt-provisioning registered
[    0.484981] uart-pl011 fe201000.serial: there is not valid maps for state default
[    0.485055] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    0.485128] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 17, base_baud = 0) is a PL011 rev2
[    0.757863] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    0.759983] printk: console [ttyAMA0] enabled
[    0.950443] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    0.958830] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    0.959188] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    0.963480] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    0.968741] usb 1-1: Product: USB2.0 Hub
[    0.969657] hub 1-1:1.0: USB hub found
[    0.978476] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    1.012260] of_cfs_init
[    1.019720] hub 1-1:1.0: 4 ports detected
[    1.026819] of_cfs_init: OK
[    1.039971] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[    1.045481] clk: Disabling unused clocks
[    1.102827] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
[    1.203115] mmc0: new ultra high speed DDR50 SDHC card at address 5048
[    1.229911] usb 2-1: New USB device found, idVendor=0e8d, idProduct=7961, bcdDevice= 1.00
[    1.231662] mmcblk0: mmc0:5048 SD32G 29.7 GiB
[    1.238176] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[    1.246918]  mmcblk0: p1 p2
[    1.250601] usb 2-1: Product: Wireless_Device
[    1.250604] usb 2-1: Manufacturer: MediaTek Inc.
[    1.257671] mmcblk0: mmc0:5048 SD32G 29.7 GiB (quirks 0x00004000)
[    1.263635] usb 2-1: SerialNumber: 000000000
[    1.703285] mmc1: new high speed SDIO card at address 0001
[    1.708551] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
[    1.718877] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.725893] Freeing unused kernel memory: 448K
[    1.730382] Run /sbin/init as init process
[    1.734475]   with arguments:
[    1.734476]     /sbin/init
[    1.734478]   with environment:
[    1.734480]     HOME=/
[    1.734482]     TERM=linux
[    1.778321] init: Console is alive
[    1.781892] init: - watchdog -
[    1.947076] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.002266] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.017289] init: - preinit -
[    2.082590] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[    2.091530] bcmgenet fd580000.ethernet eth0: Link is Down
[    2.110235] uart-pl011 fe201000.serial: no DMA platform data
[    4.155207] mount_root: mounting /dev/root
[    4.160774] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: disabled.
[    4.178918] insmod: module is already loaded - fat
[    4.184925] insmod: module is already loaded - vfat
[    4.197954] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    4.208648] urandom-seed: Seeding with /etc/urandom.seed
[    4.240204] procd: - early -
[    4.243181] procd: - watchdog -
[    4.774062] procd: - watchdog -
[    4.780502] procd: - ubus -
[    4.835678] procd: - init -
[    4.926733] kmodloader: loading kernel modules from /etc/modules.d/*
[    4.946475] hid: raw HID events driver (C) Jiri Kosina
[    4.952536] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    4.975631] Loading modules backported from Linux version v6.1.97-0-g7753af06eebfb
[    4.983226] Backport generated by backports.git v6.1.97-1-0-g2431d56e
[    4.991150] usbcore: registered new interface driver lan78xx
[    5.001288] usbcore: registered new interface driver usbhid
[    5.006869] usbhid: USB HID core driver
[    5.014301] xt_time: kernel timezone is -0000
[    5.060303] usbcore: registered new interface driver mt76x2u
[    5.078819] PPP generic driver version 2.4.2
[    5.083442] NET: Registered PF_PPPOX protocol family
[    5.098677] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    5.107498] usbcore: registered new interface driver brcmfmac
[    5.113323] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin failed with error -2
[    5.124981] brcmfmac mmc1:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin
[    5.308623] usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
[    5.325098] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jul 29 2022 02:15:20 version 7.45.250 (70e9766 CY) FWID 01-e53e306b
[    5.373303] usbcore: registered new interface driver mt7921u
[    5.382888] mt7921u 2-1:1.0: HW/SW Version: 0x8a108a10, Build Time: 20231109190918a
[    5.382888]
[    5.392784] kmodloader: done loading kernel modules from /etc/modules.d/*
[    5.655359] mt7921u 2-1:1.0: WM Firmware Version: ____010000, Build Time: 20231109190959
[    6.608038] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[    6.616690] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    6.624948] br-lan: port 1(eth0) entered blocking state
[    6.630229] br-lan: port 1(eth0) entered disabled state
[    6.635632] device eth0 entered promiscuous mode
[    6.641188] br-lan: port 1(eth0) entered blocking state
[    6.646424] br-lan: port 1(eth0) entered forwarding state
[    6.829344] brcmfmac mmc1:0001:1 phy1-sta0: renamed from wlan0
[    7.687970] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[    8.291304] IPv6: ADDRCONF(NETDEV_CHANGE): phy1-sta0: link becomes ready
[  116.517003] br-lan: port 2(phy0-ap0) entered blocking state
[  116.522747] br-lan: port 2(phy0-ap0) entered disabled state
[  116.528670] device phy0-ap0 entered promiscuous mode
[  116.533830] br-lan: port 2(phy0-ap0) entered blocking state
[  116.539475] br-lan: port 2(phy0-ap0) entered forwarding state
[  116.545716] br-lan: port 2(phy0-ap0) entered disabled state
[  117.471069] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-ap0: link becomes ready
[  117.477914] br-lan: port 2(phy0-ap0) entered blocking state
[  117.483499] br-lan: port 2(phy0-ap0) entered forwarding state

config

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
        option channel '36'
        option band '5g'
        option htmode 'VHT80'
        option cell_density '0'

config wifi-iface 'wifinet1'
        option device 'radio0'
        option mode 'sta'
        option network 'wwan'
        option ssid 'TALKTALK47E059_EXT5G'
        option encryption 'psk2'
        option key 'YQFJRN67'

config wifi-device 'radio1'
        option type 'mac80211'
        option path 'scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1:1.0'
        option channel '36'
        option band '5g'
        option cell_density '0'
        option htmode 'HE80'
        option country 'GB'

config wifi-iface 'wifinet2'
        option device 'radio1'
        option mode 'ap'
        option ssid 'Hrscraft WI-FI'
        option encryption 'none'
        option network 'lan'
  • What doesn't work still (both AP and STA still aren't working or just STA)?
  • radio0 is still missing country code
  • You may wanna pick a different channel for the other 5.4 GHz radio (e.g. 149)

To be clear, radio0's channel must be auto!

  • added a country code to radio 0 now
  • change the channel to 149
  • i dont what you mean by (both AP and STA still aren't working or just STA)?