Closed Leadrive closed 3 months ago
Hi @Leadrive
@mhdong 设备在客户那里,设备剩余内存只有30k,客户也不懂抓包。 路由器配置页面非常简单
这是路由器的日志
Security Log
------------------------
2021-09-21T19:10:22+08:00 ID 3: Authorized login success::U admin:L 6:N HTTP:P 80:IP 192.168.101.2
2021-09-21T19:10:24+08:00 ID 3: Authorized login success::U admin:L 6:N HTTP:P 80:IP 192.168.101.2
1970-01-01T08:03:18+08:00 ID 4: Authorized login fail::U admin:L 4:N HTTP:P 80:IP 192.168.101.2
1970-01-01T08:03:26+08:00 ID 3: Authorized login success::U admin:L 6:N HTTP:P 80:IP 192.168.101.2
2024-01-26T17:32:18+08:00 ID 3: Authorized login success::U admin:L 6:N HTTP:P 80:IP 192.168.101.3
2024-01-26T17:39:10+08:00 ID 4: Authorized login fail::U root:N HTTP:P 80:IP 192.168.101.3
2024-03-11T12:04:00+08:00 ID 3: Authorized login success::U admin:L 6:N HTTP:P 80:IP 192.168.101.5
2024-03-11T12:04:02+08:00 ID 3: Authorized login success::U admin:L 6:N HTTP:P 80:IP 192.168.101.5
2024-03-11T14:15:31+08:00 ID 3: Authorized login success::U admin:L 6:N HTTP:P 80:IP 192.168.101.5
1970-01-01T08:00:34+08:00 ID 3: Authorized login success::U admin:L 6:N HTTP:P 80:IP 192.168.101.2
1970-01-01T08:00:36+08:00 ID 3: Authorized login success::U admin:L 6:N HTTP:P 80:IP 192.168.101.2
1970-01-01T08:00:40+08:00 ID 3: Authorized login success::U admin:L 6:N HTTP:P 80:IP 192.168.101.2
1970-01-01T08:00:43+08:00 ID 3: Authorized login success::U admin:L 6:N HTTP:P 80:IP 192.168.101.2
2024-03-12T23:01:36+08:00 ID 3: Authorized login success::U admin:L 6:N HTTP:P 80:IP 192.168.101.2
1970-01-01T08:00:33+08:00 ID 3: Authorized login success::U admin:L 6:N HTTP:P 80:IP 192.168.101.2
1970-01-01T08:01:04+08:00 ID 3: Authorized login success::U admin:L 6:N HTTP:P 80:IP 192.168.101.2
2024-03-14T09:54:05+08:00 ID 3: Authorized login success::U admin:L 6:N HTTP:P 80:IP 192.168.101.2
2024-03-14T09:54:07+08:00 ID 3: Authorized login success::U admin:L 6:N HTTP:P 80:IP 192.168.101.2
Mar 14 10:04:52 kern.notice kernel: klogd started: BusyBox v1.30.1 (2020-08-19 14:41:18 CST)
Mar 14 10:04:52 kern.notice CEVENT_APP[3563]: 1710381892892 wl0 68:B6:B3:55:14:68 0 0000 0000 0000 Driver RX AUTH_RX
Hi @Leadrive 同款路由器我们已经购买,在复现问题过程中有什么需要注意的吗?可以提供复现的demo吗?或者只要连接路由器,等到运行一天或更多时间,就会出现断开,然后就一直连不上?
@mhdong 我也买了路由器,目前还在测试中。此路由器没有多余的设置,我目前是wan连局域网,还没测试WAN连光猫的情况。 demo就是 examples/mesh/ip_internal_commuinication 注释了 mesh_netifs_stop() 调用
Hi @Leadrive 我本地没有复现和客户相同的问题。 看到DCHP 服务器配置,起始: 192.168.101.2 结束:192.168.101.10,而路由器已经分配到 192.168.101.10 如果重连时,路由器已经将ip地址分配完,则无法完成连接。
我这边复现的情况是这样的,如果将分配的ip地址分配完,连接在auth阶段由于超时无法成功。
:>sta -C -s coex -p 12345678
+JAP:OK I (895899) wifi:new:<13,0>, old:<13,0>, ap:<255,255>, sta:<13,0>, prof:1, snd_ch_cfg:0x0 I (895899) wifi:state: init -> auth (0xb0) I (896899) wifi:state: auth -> init (0x200) I (896899) wifi:new:<13,0>, old:<13,0>, ap:<255,255>, sta:<13,0>, prof:1, snd_ch_cfg:0x0
+JAP:DISCONNECTED,0,2
+JAP:DISCONNECTED,0,205 I (899349) wifi:new:<13,0>, old:<13,0>, ap:<255,255>, sta:<13,0>, prof:1, snd_ch_cfg:0x0 I (899349) wifi:state: init -> auth (0xb0) I (900349) wifi:state: auth -> init (0x200) I (900349) wifi:new:<13,0>, old:<13,0>, ap:<255,255>, sta:<13,0>, prof:1, snd_ch_cfg:0x0
+JAP:DISCONNECTED,0,2
+JAP:DISCONNECTED,0,205
Hi @Leadrive 如果你们那边有复现的话,请分享一下log,和相关的信息,比如STA的mac,路由器的mac。
Thanks for reporting, will close due to short of feedback, feel free to reopen with more updates. Thanks for using our Espressif product!
Answers checklist.
IDF version.
v4.4.6
Espressif SoC revision.
ESP32-S3
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-S3
Power Supply used.
USB
What is the expected behavior?
希望能连上wifi
What is the actual behavior?
开始是可以连上wifi的,大概是过了几个小时或一天(?)出现断开后,一直尝试都连不上。下面是连不上时报的部分错误
此时路由器上,同一个ip,先后出现不同的mac 会不会跟路由器某个设置有关?
Steps to reproduce.
连上WIFI后,运行一天或更多时间,会出现断开,然后就一直连不上。
Debug Logs.
No response
More Information.
No response