Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZN-M2: kernel-6.12.10 WiFi不正常 #83

Open
firedevel opened this issue Jan 24, 2025 · 4 comments
Open

ZN-M2: kernel-6.12.10 WiFi不正常 #83

firedevel opened this issue Jan 24, 2025 · 4 comments

Comments

@firedevel
Copy link

firedevel commented Jan 24, 2025

新年好,感谢此项目让我的m2吃上高版本OpenWrt,但最近的更新中有一些小问题

kernel-6.6.66, 6.12, 6.12.10: Client模式,DHCP无法获取ip,静态地址无法上网:

Thu Jan 23 20:33:59 2025 daemon.notice wpa_supplicant[2423]: Set new config for phy phy0
Thu Jan 23 20:33:59 2025 daemon.notice hostapd: Set new config for phy phy0:
Thu Jan 23 20:33:59 2025 daemon.notice hostapd: Remove interface 'phy0'
Thu Jan 23 20:33:59 2025 daemon.notice hostapd: phy0-ap0: interface state ENABLED->DISABLED
Thu Jan 23 20:33:59 2025 daemon.notice hostapd: phy0-ap0: AP-DISABLED
Thu Jan 23 20:33:59 2025 daemon.notice hostapd: phy0-ap0: CTRL-EVENT-TERMINATING
Thu Jan 23 20:33:59 2025 daemon.err hostapd: rmdir[ctrl_interface=/var/run/hostapd]: Permission denied
Thu Jan 23 20:33:59 2025 daemon.notice hostapd: nl80211: deinit ifname=phy0-ap0 disabled_11b_rates=0
Thu Jan 23 20:33:59 2025 daemon.notice hostapd: nl80211: Failed to remove interface phy0-ap0 from bridge br-lan: Invalid argument
Thu Jan 23 20:33:59 2025 daemon.notice wpa_supplicant[2423]: Set new config for phy phy0
Thu Jan 23 20:33:59 2025 daemon.notice netifd: Interface 'wwan' is enabled
Thu Jan 23 20:34:00 2025 user.notice root: [ethtool] Disabling feature: rx-gro-list: disabled on (phy0-sta0)
Thu Jan 23 20:34:00 2025 daemon.notice netifd: Wireless device 'radio0' is now up
Thu Jan 23 20:34:00 2025 daemon.notice netifd: Interface 'wwan' is disabled
Thu Jan 23 20:34:00 2025 daemon.notice netifd: Interface 'wwan' is enabled
Thu Jan 23 20:34:01 2025 daemon.notice wpa_supplicant[2423]: phy0-sta0: SME: Trying to authenticate with 80:8f:1d:36:34:c9 (SSID='HomeWiFi-5G' freq=5805 MHz)
Thu Jan 23 20:34:01 2025 kern.info kernel: [  351.825854] phy0-sta0: authenticate with 80:8f:1d:36:34:c9 (local address=02:88:99:ca:f4:a7)
Thu Jan 23 20:34:01 2025 kern.info kernel: [  351.825908] phy0-sta0: send auth to 80:8f:1d:36:34:c9 (try 1/3)
Thu Jan 23 20:34:01 2025 daemon.notice wpa_supplicant[2423]: phy0-sta0: Trying to associate with 80:8f:1d:36:34:c9 (SSID='HomeWiFi-5G' freq=5805 MHz)
Thu Jan 23 20:34:01 2025 kern.info kernel: [  351.837913] phy0-sta0: authenticated
Thu Jan 23 20:34:01 2025 kern.info kernel: [  351.840470] phy0-sta0: associate with 80:8f:1d:36:34:c9 (try 1/3)
Thu Jan 23 20:34:01 2025 kern.info kernel: [  351.893441] phy0-sta0: RX AssocResp from 80:8f:1d:36:34:c9 (capab=0x1011 status=0 aid=8)
Thu Jan 23 20:34:01 2025 daemon.notice netifd: Network device 'phy0-sta0' link is up
Thu Jan 23 20:34:01 2025 daemon.notice netifd: Interface 'wwan' has link connectivity
Thu Jan 23 20:34:01 2025 daemon.notice netifd: Interface 'wwan' is setting up now
Thu Jan 23 20:34:01 2025 kern.info kernel: [  351.894677] phy0-sta0: associated
Thu Jan 23 20:34:01 2025 daemon.notice wpa_supplicant[2423]: phy0-sta0: Associated with 80:8f:1d:36:34:c9
Thu Jan 23 20:34:01 2025 daemon.notice wpa_supplicant[2423]: phy0-sta0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Thu Jan 23 20:34:01 2025 daemon.notice netifd: wwan (5471): udhcpc: started, v1.37.0
Thu Jan 23 20:34:01 2025 daemon.warn odhcpd[2762]: A default route is present but there is no public prefix on lan thus we announce no default route by overriding ra_lifetime to 0!
Thu Jan 23 20:34:01 2025 daemon.notice netifd: wwan (5471): udhcpc: broadcasting discover
Thu Jan 23 20:34:01 2025 kern.debug kernel: [  352.169131] phy0-sta0: Limiting TX power to 35 (35 - 0) dBm as advertised by 80:8f:1d:36:34:c9
Thu Jan 23 20:34:02 2025 daemon.notice wpa_supplicant[2423]: phy0-sta0: WPA: Key negotiation completed with 80:8f:1d:36:34:c9 [PTK=CCMP GTK=CCMP]
Thu Jan 23 20:34:02 2025 daemon.notice wpa_supplicant[2423]: phy0-sta0: CTRL-EVENT-CONNECTED - Connection to 80:8f:1d:36:34:c9 completed [id=0 id_str=]
Thu Jan 23 20:34:03 2025 daemon.warn odhcpd[2762]: A default route is present but there is no public prefix on lan thus we announce no default route by overriding ra_lifetime to 0!
Thu Jan 23 20:34:04 2025 daemon.notice netifd: wwan (5471): udhcpc: broadcasting discover
Thu Jan 23 20:34:07 2025 daemon.notice netifd: wwan (5471): udhcpc: broadcasting discover

kernel-6.6: 一切正常

经测试,作为客户端连接usb共享网络(iPhone)dhcp获取ip与lan口网线dhcp服务器均正常
6.6与6.12均使用提供的openwrt-ci的产物测试,6.12.10为自行编译,有配置精简等改动

另外,feeds中的immortalwrt源是否可以直接替换为openwrt官方源?(经测试替换后编译通过)

@Kakile
Copy link

Kakile commented Feb 6, 2025

你这是改过内存的吗?还是原版256MB

@firedevel
Copy link
Author

改了镁光的512MB

@breeze303
Copy link
Collaborator

无线新特性需要设置密码才能正常使用

@firedevel
Copy link
Author

firedevel commented Feb 7, 2025

感谢大佬,设置密码后AP模式wifi已可以正常使用,另外您说的无线新特性是什么,是否可以关闭?
但经过测试,openwrt-ci kernel-6.6.66 的固件无密码AP工作正常,但也无法使用Client模式:

Fri Dec 20 09:45:34 2024 daemon.notice netifd: Interface 'wwan' is enabled
Fri Dec 20 09:45:37 2024 daemon.warn odhcpd[2792]: No default route present, overriding ra_lifetime to 0!
Fri Dec 20 09:45:39 2024 daemon.notice wpa_supplicant[2418]: phy0-sta0: SME: Trying to authenticate with 5e:c6:77:ca:00:48 (SSID='iPhone' freq=5805 MHz)
Fri Dec 20 09:45:39 2024 kern.info kernel: [  115.280719] phy0-sta0: authenticate with 5e:c6:77:ca:00:48 (local address=02:88:99:ca:41:13)
Fri Dec 20 09:45:39 2024 kern.info kernel: [  115.280769] phy0-sta0: send auth to 5e:c6:77:ca:00:48 (try 1/3)
Fri Dec 20 09:45:39 2024 daemon.notice wpa_supplicant[2418]: phy0-sta0: SME: Trying to authenticate with 5e:c6:77:ca:00:48 (SSID='iPhone' freq=5805 MHz)
Fri Dec 20 09:45:39 2024 kern.info kernel: [  115.418405] phy0-sta0: authenticate with 5e:c6:77:ca:00:48 (local address=02:88:99:ca:41:13)
Fri Dec 20 09:45:39 2024 kern.info kernel: [  115.418455] phy0-sta0: send auth to 5e:c6:77:ca:00:48 (try 1/3)
Fri Dec 20 09:45:39 2024 daemon.notice wpa_supplicant[2418]: phy0-sta0: PMKSA-CACHE-ADDED 5e:c6:77:ca:00:48 2
Fri Dec 20 09:45:39 2024 daemon.notice wpa_supplicant[2418]: phy0-sta0: Trying to associate with 5e:c6:77:ca:00:48 (SSID='iPhone' freq=5805 MHz)
Fri Dec 20 09:45:39 2024 kern.info kernel: [  115.427156] phy0-sta0: authenticated
Fri Dec 20 09:45:39 2024 kern.info kernel: [  115.433241] phy0-sta0: associate with 5e:c6:77:ca:00:48 (try 1/3)
Fri Dec 20 09:45:39 2024 kern.info kernel: [  115.439388] phy0-sta0: RX AssocResp from 5e:c6:77:ca:00:48 (capab=0x11 status=0 aid=1)
Fri Dec 20 09:45:39 2024 daemon.notice netifd: Network device 'phy0-sta0' link is up
Fri Dec 20 09:45:39 2024 daemon.notice netifd: Interface 'wwan' has link connectivity
Fri Dec 20 09:45:39 2024 daemon.notice netifd: Interface 'wwan' is setting up now
Fri Dec 20 09:45:39 2024 kern.info kernel: [  115.442619] phy0-sta0: associated
Fri Dec 20 09:45:39 2024 daemon.notice wpa_supplicant[2418]: phy0-sta0: Associated with 5e:c6:77:ca:00:48
Fri Dec 20 09:45:39 2024 daemon.notice wpa_supplicant[2418]: phy0-sta0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Fri Dec 20 09:45:39 2024 daemon.notice netifd: wwan (6580): udhcpc: started, v1.37.0
Fri Dec 20 09:45:39 2024 daemon.notice netifd: wwan (6580): udhcpc: broadcasting discover
Fri Dec 20 09:45:39 2024 kern.debug kernel: [  115.718734] phy0-sta0: Limiting TX power to 27 (27 - 0) dBm as advertised by 5e:c6:77:ca:00:48
Fri Dec 20 09:45:40 2024 daemon.notice wpa_supplicant[2418]: phy0-sta0: WPA: Key negotiation completed with 5e:c6:77:ca:00:48 [PTK=CCMP GTK=CCMP]
Fri Dec 20 09:45:40 2024 daemon.notice wpa_supplicant[2418]: phy0-sta0: CTRL-EVENT-CONNECTED - Connection to 5e:c6:77:ca:00:48 completed [id=2 id_str=]
Fri Dec 20 09:45:42 2024 daemon.notice netifd: wwan (6580): udhcpc: broadcasting discover
Fri Dec 20 09:45:45 2024 daemon.notice netifd: wwan (6580): udhcpc: broadcasting discover

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants