轻轻河畔草 发表于 2022-7-15 15:56:49

关于插入USB 4G wifi 后一段时间就断网的问题

本帖最后由 轻轻河畔草 于 2022-7-17 14:58 编辑

在AXT1800上插入USB 4G wifi后,一开始可以正常上网。一段时间后,网络断开,登录后台后如图所示,即使点击连接也不管用。

USB 4G wifi的型号是:中兴mf79u

从正常到断网间的系统日志:
https://netcut.cn/p/cdcd7322c40fb3d8

期间内核日志:
https://netcut.cn/op2

补充一下
将同一个USB 4G wifi插入GL-SFT1200 Opal,就完全正常。GL-SFT1200 Opal固件:官方固件3.212版

轻轻河畔草 发表于 2022-7-15 16:07:17

@萝卜大侠 大佬,是bug还是我用法不对呢?

萝卜大侠 发表于 2022-7-16 22:57:53

轻轻河畔草 发表于 2022-7-15 16:07
@萝卜大侠 大佬,是bug还是我用法不对呢?

我们没有适配过这个外置猫呢

轻轻河畔草 发表于 2022-7-17 15:00:45

萝卜大侠 发表于 2022-7-16 22:57
我们没有适配过这个外置猫呢

将同一个USB 4G wifi插入GL-SFT1200 Opal,就完全正常。GL-SFT1200 Opal固件:官方固件3.212版

大佬,从日志里能分析出大概是哪方面的问题吗?

萝卜大侠 发表于 2022-7-17 22:22:29

看起来是驱动有点不兼容

轻轻河畔草 发表于 2022-7-18 11:35:51

萝卜大侠 发表于 2022-7-17 22:22
看起来是驱动有点不兼容

那么能推荐一款官方测试过的型号吗?我买来试试。

shinyhere 发表于 2022-7-18 13:48:33

中兴方案的USB随身WiFi插入Linux设备会同时以cdc_ether RNDIS usb-storage等好几种模式注册,所以掉线也很正常

执花落影 发表于 2022-8-29 22:06:45

轻轻河畔草 发表于 2022-7-18 11:35
那么能推荐一款官方测试过的型号吗?我买来试试。

最后怎么解决的?

执花落影 发表于 2022-8-29 22:07:19

shinyhere 发表于 2022-7-18 13:48
中兴方案的USB随身WiFi插入Linux设备会同时以cdc_ether RNDIS usb-storage等好几种模式注册,所以掉线也很 ...

有什么推荐的设备?

josh 发表于 2022-8-29 23:06:09

同AXT1800 + mf79u, 用的飞猫三网的流量卡,行为和楼主的一样。话说mf79u还是旗舰店客服推荐的。华为E8372H-820也试了,一样的问题。
这种便携路由器使用场景很多都是移动办公,连接USB网卡是十分必要的,不太可能一直连手机,这样一接电话连接就断了,希望可以推出适配的固件

轻轻河畔草 发表于 2022-8-30 11:13:25

执花落影 发表于 2022-8-29 22:06
最后怎么解决的?

没有解决

轻轻河畔草 发表于 2022-8-30 11:14:26

josh 发表于 2022-8-29 23:06
同AXT1800 + mf79u, 用的飞猫三网的流量卡,行为和楼主的一样。话说mf79u还是旗舰店客服推荐的。华为E8372H ...

是的,很失望,再不修复就白买了。

芸之叶119 发表于 2022-9-1 15:22:57

我估计7楼是正解,如果mifi本身会切换模式就不好弄了

我目前也是AXT外接网卡,不过是超简易DIY的网卡,甚至都算不上网卡,过段时间分享一下
我是走的5G网,模组是美格SRM815和移远RM500Q,通过USB板子插到AXT上
延迟,带宽都很满意,可以走RNDIS也可以走ECM

楼主可以考虑下(认识一位同样插美格815的网友,反馈815在RNDIS会掉线,我目前非常稳定没遇到过)

不过缺点也有,log里偶尔会显示lost ping 大概几秒,实际网络并未中断,不知什么情况
再就是官方固件非常影响USB性能,目前我只能跑300Mbps左右,直插电脑轻松600+

芸之叶119 发表于 2022-9-1 15:24:04

josh 发表于 2022-8-29 23:06
同AXT1800 + mf79u, 用的飞猫三网的流量卡,行为和楼主的一样。话说mf79u还是旗舰店客服推荐的。华为E8372H ...

我觉得不管怎么说,外接都不是长久之计,还是希望GL能尽快推出插卡一体的AXT,毕竟内部空间是完全足够的。。。

zhangdiping 发表于 2022-9-1 15:53:35

本帖最后由 zhangdiping 于 2022-9-1 15:55 编辑

josh 发表于 2022-8-29 23:06
同AXT1800 + mf79u, 用的飞猫三网的流量卡,行为和楼主的一样。话说mf79u还是旗舰店客服推荐的。华为E8372H ...
中兴的MT79U在我们的测试列表里面,测试过是正常的,我们研发在看一下,

josh 发表于 2022-9-1 20:30:31

zhangdiping 发表于 2022-9-1 15:53
中兴的MT79U在我们的测试列表里面,测试过是正常的,我们研发在看一下,

谢谢。
今天出差归来在北京试了下,很奇怪的是在北京可以使用,但还是有常见的ubi0 error。
Thu Sep1 19:56:39 2022 kern.info kernel: usb 1-1: USB disconnect, device number 3
Thu Sep1 19:56:39 2022 daemon.info avahi-daemon: Interface eth3.IPv4 no longer relevant for mDNS.
Thu Sep1 19:56:39 2022 daemon.info avahi-daemon: Leaving mDNS multicast group on interface eth3.IPv4 with address 192.168.0.178.
Thu Sep1 19:56:39 2022 daemon.notice netifd: Network device 'eth3' link is down
Thu Sep1 19:56:39 2022 daemon.notice netifd: Interface 'tethering' has link connectivity loss
Thu Sep1 19:56:39 2022 daemon.info avahi-daemon: Withdrawing address record for 192.168.0.178 on eth3.
Thu Sep1 19:56:39 2022 kern.info kernel: cdc_ether 1-1:1.0 eth3: unregister 'cdc_ether' usb-xhci-hcd.0.auto-1, CDC Ethernet Device
Thu Sep1 19:56:39 2022 user.notice mwan3track: Stopping mwan3track for interface "tethering"
Thu Sep1 19:56:40 2022 daemon.notice netifd: tethering (15310): udhcpc: SIOCGIFINDEX: No such device
Thu Sep1 19:56:40 2022 daemon.notice netifd: tethering (15310): udhcpc: received SIGTERM
Thu Sep1 19:56:40 2022 daemon.notice netifd: tethering (15310): udhcpc: unicasting a release of 192.168.0.178 to 192.168.0.1
Thu Sep1 19:56:40 2022 daemon.notice netifd: tethering (15310): udhcpc: sending release
Thu Sep1 19:56:40 2022 daemon.notice netifd: tethering (15310): udhcpc: can't bind to interface eth3: No such device
Thu Sep1 19:56:40 2022 daemon.notice netifd: tethering (15310): udhcpc: bindtodevice: No such device
Thu Sep1 19:56:40 2022 daemon.notice netifd: tethering (15310): udhcpc: entering released state
Thu Sep1 19:56:40 2022 daemon.notice netifd: tethering (15310): Command failed: Permission denied
Thu Sep1 19:56:40 2022 daemon.notice netifd: Interface 'tethering' is now down
Thu Sep1 19:56:40 2022 daemon.notice netifd: Interface 'tethering' is disabled
Thu Sep1 19:56:40 2022 user.notice mwan3: Execute ifdown event on interface tethering (unknown)
Thu Sep1 19:56:40 2022 kern.err kernel: ubi0 error: ubi_open_volume: cannot open device 0, volume 2, error -16
Thu Sep1 19:56:40 2022 kern.err kernel: ubi0 error: ubi_open_volume: cannot open device 0, volume 2, error -16
Thu Sep1 19:56:45 2022 daemon.err nmbd: ../../lib/util/become_daemon.c:136(daemon_ready)
Thu Sep1 19:56:45 2022 daemon.err nmbd:   daemon_ready: daemon 'nmbd' finished starting up and ready to serve connections
Thu Sep1 19:56:45 2022 daemon.err smbd: ../../lib/util/become_daemon.c:136(daemon_ready)
Thu Sep1 19:56:45 2022 daemon.err smbd:   daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
Thu Sep1 19:56:50 2022 kern.info kernel: usb 1-1: new high-speed USB device number 4 using xhci-hcd
Thu Sep1 19:56:51 2022 kern.info kernel: usb-storage 1-1:1.0: USB Mass Storage device detected
Thu Sep1 19:56:51 2022 kern.info kernel: usb-storage 1-1:1.0: Quirks match for vid 19d2 pid 1225: 1
Thu Sep1 19:56:51 2022 kern.info kernel: scsi host2: usb-storage 1-1:1.0
Thu Sep1 19:56:54 2022 kern.info kernel: usb 1-1: USB disconnect, device number 4
Thu Sep1 19:56:54 2022 kern.info kernel: usb 1-1: new high-speed USB device number 5 using xhci-hcd
Thu Sep1 19:56:55 2022 kern.info kernel: cdc_ether 1-1:1.0 eth3: register 'cdc_ether' at usb-xhci-hcd.0.auto-1, CDC Ethernet Device, 34:4b:50:00:00:00
Thu Sep1 19:56:55 2022 kern.err kernel: cdc_ether 1-1:1.0 eth3: kevent 12 may have been dropped
Thu Sep1 19:56:55 2022 kern.err kernel: cdc_ether 1-1:1.0 eth3: kevent 11 may have been dropped
Thu Sep1 19:56:55 2022 daemon.notice netifd: Interface 'tethering' is enabled
Thu Sep1 19:56:55 2022 kern.info kernel: usb-storage 1-1:1.2: USB Mass Storage device detected
Thu Sep1 19:56:55 2022 kern.info kernel: scsi host3: usb-storage 1-1:1.2
Thu Sep1 19:56:55 2022 daemon.notice netifd: Network device 'eth3' link is up
Thu Sep1 19:56:55 2022 daemon.notice netifd: Interface 'tethering' has link connectivity
Thu Sep1 19:56:55 2022 daemon.notice netifd: Interface 'tethering' is setting up now
Thu Sep1 19:56:55 2022 daemon.notice netifd: tethering (5276): udhcpc: started, v1.33.2
Thu Sep1 19:56:55 2022 daemon.notice netifd: tethering (5276): udhcpc: sending discover
Thu Sep1 19:56:56 2022 kern.notice kernel: scsi 3:0:0:0: CD-ROM            ZTE      USB SCSI CD-ROM2.3PQ: 0 ANSI: 2
Thu Sep1 19:56:56 2022 kern.notice kernel: scsi 3:0:0:1: Direct-Access   DEMO   MMC Storage      2.3PQ: 0 ANSI: 2
Thu Sep1 19:56:56 2022 kern.notice kernel: sd 3:0:0:1: Attached SCSI removable disk
Thu Sep1 19:56:56 2022 kern.err kernel: ubi0 error: ubi_open_volume: cannot open device 0, volume 2, error -16
Thu Sep1 19:56:56 2022 kern.err kernel: ubi0 error: ubi_open_volume: cannot open device 0, volume 2, error -16
Thu Sep1 19:56:58 2022 daemon.notice netifd: tethering (5276): udhcpc: sending discover
Thu Sep1 19:57:00 2022 daemon.notice netifd: tethering (5276): udhcpc: sending discover
Thu Sep1 19:57:04 2022 daemon.notice netifd: tethering (5276): udhcpc: sending select for 192.168.0.178
Thu Sep1 19:57:04 2022 daemon.notice netifd: tethering (5276): udhcpc: lease of 192.168.0.178 obtained, lease time 86400
Thu Sep1 19:57:04 2022 daemon.info avahi-daemon: Joining mDNS multicast group on interface eth3.IPv4 with address 192.168.0.178.
Thu Sep1 19:57:04 2022 daemon.info avahi-daemon: New relevant interface eth3.IPv4 for mDNS.
Thu Sep1 19:57:04 2022 daemon.info avahi-daemon: Registering new address record for 192.168.0.178 on eth3.IPv4.
Thu Sep1 19:57:04 2022 daemon.notice netifd: Interface 'tethering' is now up
Thu Sep1 19:57:05 2022 user.notice mwan3: Execute ifup event on interface tethering (eth3)
Thu Sep1 19:57:05 2022 user.notice mwan3: Starting tracker on interface tethering (eth3)
Thu Sep1 19:57:07 2022 user.info mwan3rtmon: Detect rtchange event.
Thu Sep1 19:57:07 2022 user.notice firewall: Reloading firewall due to ifup of tethering (eth3)
Thu Sep1 19:57:07 2022 user.info mwan3track: Check (ping) failed for target "8.8.4.4" on interface tethering (eth3)
Thu Sep1 19:57:07 2022 user.info mwan3track: Check (ping) failed for target "8.8.8.8" on interface tethering (eth3)
Thu Sep1 19:57:07 2022 user.info mwan3track: Check (ping) failed for target "208.67.222.222" on interface tethering (eth3)
Thu Sep1 19:57:07 2022 user.info mwan3track: Check (ping) failed for target "208.67.220.220" on interface tethering (eth3)
Thu Sep1 19:57:08 2022 daemon.err nmbd: ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2)
Thu Sep1 19:57:08 2022 daemon.err nmbd:   *****
Thu Sep1 19:57:08 2022 daemon.err nmbd:
Thu Sep1 19:57:08 2022 daemon.err nmbd:   Samba name server GL-AXT1800 is now a local master browser for workgroup WORKGROUP on subnet 192.168.8.1
Thu Sep1 19:57:08 2022 daemon.err nmbd:
Thu Sep1 19:57:08 2022 daemon.err nmbd:   *****
Thu Sep1 19:57:14 2022 user.info mwan3track: Check (ping) failed for target "8.8.4.4" on interface tethering (eth3)
Thu Sep1 19:57:16 2022 user.info mwan3track: Check (ping) failed for target "8.8.8.8" on interface tethering (eth3)
Thu Sep1 19:57:16 2022 user.info mwan3track: Lost 6 ping(s) on interface tethering (eth3)
Thu Sep1 19:57:27 2022 kern.err kernel: ubi0 error: ubi_open_volume: cannot open device 0, volume 2, error -16
Thu Sep1 19:57:27 2022 kern.err kernel: ubi0 error: ubi_open_volume: cannot open device 0, volume 2, error -16
Thu Sep1 19:57:28 2022 kern.err kernel: ubi0 error: ubi_open_volume: cannot open device 0, volume 2, error -16
Thu Sep1 19:57:28 2022 kern.err kernel: ubi0 error: ubi_open_volume: cannot open device 0, volume 2, error -16
Thu Sep1 19:57:29 2022 kern.err kernel: ubi0 error: ubi_open_volume: cannot open device 0, volume 2, error -16
Thu Sep1 19:57:29 2022 kern.err kernel: ubi0 error: ubi_open_volume: cannot open device 0, volume 2, error -16

总结了下出差时和回来以后的行为:
1. 不使用AXT1800, 直接连接mf79u,三网都可以使用,应该和使用的流量卡有关系,获取的IP是全国各地随机获取的。
2. 使用AXT1800
    2.1 在北京 可以使用 电信和移动 联通未测试
    2.2 在江苏 三网飞猫卡只有电信可以获取到IP,时不时会出现楼主描述的问题,移动和联通完全无法获取mf79u的IP。mf79u+自己的sim卡(北京联通)也无法获取IP,通过USB共享可以使用。

没有保存出差时的log,但希望描述可以对分析问题有所帮助。


阿里速卖通 发表于 2022-9-12 23:16:19

试试高通方案的或者移远EC25的USB网卡

阿里速卖通 发表于 2022-9-12 23:19:03

高通的 msm8916 mdm9207 移远的 ec20 ec25

人怂话多 发表于 2022-9-15 19:13:10

楼主你是不是供电不够?试试换成20wa以上的充电头,别看这个路由器这么小,居然需要20wa的功率,你再插上usb设备,如果充电头低于20瓦,供电肯定不够,我就开了个openclas用10瓦的充电头,供电都不够,老是提示收集数据,换了头就没问题了!

轻轻河畔草 发表于 2022-9-19 22:37:44

阿里速卖通 发表于 2022-9-12 23:19
高通的 msm8916 mdm9207 移远的 ec20 ec25

手头上没有这几个芯片的usb猫,你测试过吗?怎么样?
页: [1] 2
查看完整版本: 关于插入USB 4G wifi 后一段时间就断网的问题