Problem of MT7601u

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.

wwan is in the wan firewall zone, a lan port cable connection isn't.

When the board with the MT7601u connect to network with LAN cable,I can ping the board‘s LAN address and the WLAN address on my PC connect network with WIFI.

But the board unplug the LAN cable, I can't ping the WLAN address on my PC connect network with WIFI. At the same time, the board with the MT7601u is connected to the WIFI that can see on my WIFI router.

The firewall setting is default.

is your wifi connection to the router set as public or private ?

have you by any chance enabled client separation on the router ?

No, I have not separated the client connected to the router.

The clients connect to the router could connect with each other.

are you pinging by IP, or DNS name ?

just IP adress

I read https://openwrt.org/docs/guide-user/network/wifi/connect_client_wifi, and the guide said " Due to technical limitations, your OpenWrt device will create its own subnet (in the example below it's 192.168.2.x while the Wi-Fi router's subnet is 192.168.1.x ) ", that means the LAN and WLAN
must set a different subset.

Acordding to the guide, I change LAN subnet, then the board with WIFI connection can ping on my PC.

The problem is solved.

Thank your frollic for your help.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.