Openwrt 22.03.5
USB WIFI MT7601u Adapter
I created a wifi client.
The created interface also get the right DHCP ip address, but it shows red not green.
When the board connected the network with lan cable , I can ping the LAN address and also the WLAN address on my PC.
But when the board disconnect the network with lan cable, I can't ping WLAN address on my PC.
I can see the MT7601u is connected with network in my WIFI router UI.
The log about wlan:
Wed Sep 6 15:34:33 2023 daemon.notice wpa_supplicant[1703]: wlan0: SME: Trying to authenticate with 78:85:f4:41:8e:54 (SSID='HZ-XY' freq=2462 MHz)
Wed Sep 6 15:34:33 2023 kern.info kernel: [ 3707.874502] wlan0: authenticate with 78:85:f4:41:8e:54
Wed Sep 6 15:34:33 2023 daemon.notice wpa_supplicant[1703]: wlan0: Trying to associate with 78:85:f4:41:8e:54 (SSID='HZ-XY' freq=2462 MHz)
Wed Sep 6 15:34:33 2023 kern.info kernel: [ 3707.955357] wlan0: send auth to 78:85:f4:41:8e:54 (try 1/3)
Wed Sep 6 15:34:33 2023 kern.info kernel: [ 3707.962816] wlan0: authenticated
Wed Sep 6 15:34:33 2023 kern.info kernel: [ 3707.970979] wlan0: associate with 78:85:f4:41:8e:54 (try 1/3)
Wed Sep 6 15:34:33 2023 kern.info kernel: [ 3707.982500] wlan0: RX AssocResp from 78:85:f4:41:8e:54 (capab=0x1431 status=0 aid=15)
Wed Sep 6 15:34:33 2023 daemon.notice wpa_supplicant[1703]: wlan0: Associated with 78:85:f4:41:8e:54
Wed Sep 6 15:34:33 2023 daemon.notice netifd: Network device 'wlan0' link is up
Wed Sep 6 15:34:33 2023 daemon.notice netifd: Interface 'wwan' has link connectivity
Wed Sep 6 15:34:33 2023 daemon.notice netifd: Interface 'wwan' is setting up now
Wed Sep 6 15:34:33 2023 daemon.notice wpa_supplicant[1703]: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Wed Sep 6 15:34:33 2023 daemon.notice wpa_supplicant[1703]: wlan0: Unknown event 37
Wed Sep 6 15:34:33 2023 kern.info kernel: [ 3708.039187] wlan0: associated
Ask for help.