简体   繁体   English

读取 USB 调制解调器的健康/状态 - Linux

[英]Read the Health/Status of USB Modem - Linux

I am using E8231 Huawei Modem.我正在使用 E8231 华为调制解调器。

I a currently debugging a network connectivity issue and a way to see the health of the USB Modem would be great.我目前正在调试网络连接问题,并且有一种查看 USB 调制解调器健康状况的方法会很棒。

The USB Modem has LED indicators on them which tell the status of the connection(Connecting/connected to 3g/3g+/offline). USB 调制解调器上有 LED 指示灯,可指示连接状态(连接/连接到 3g/3g+/离线)。

I would like to know the same programmatically or from linux shell, what can I do?我想以编程方式或从 linux shell 了解相同的信息,我该怎么办?

you can use echo , putty , socat ,... to send AT commands to the modem, see https://unix.stackexchange.com/questions/97242/how-to-send-at-commands-to-a-modem-in-linux , https://brunomgalmeida.wordpress.com/2012/04/06/send-at-commands-to-usb-modem , https://content.konekt.io/blog/using-at-commands-with-the-huawei-e303/您可以使用echo , putty , socat ,... 将 AT 命令发送到调制解调器,请参阅https://unix.stackexchange.com/questions/97242/how-to-send-at-commands-to-a-modem -in-linux , https://brunomgalmeida.wordpress.com/2012/04/06/send-at-commands-to-usb-modem , https://content.konekt.io/blog/using-at-commands -with-the-huawei-e303/

in http://www.zeeman.de/wp-content/uploads/2007/09/ubinetics-at-command-set.pdf is an AT command set for UbiNetics modemhttp://www.zeeman.de/wp-content/uploads/2007/09/ubinetics-at-command-set.pdf 中是 UbiNetics 调制解调器的 AT 命令集

in http://www.3g-modem-wiki.com/page/HUAWEI+AT-commands is a set of HUAWEI AT commandshttp://www.3g-modem-wiki.com/page/HUAWEI+AT-commands是一组 HUAWEI AT 命令

USB modems are on /dev/ttyACMx or /dev/ttyUSBx (CDC device class, usually ACM sub-class, kernel module cdc_acm ) USB 调制解调器位于/dev/ttyACMx/dev/ttyUSBx (CDC 设备类,通常是 ACM 子类,内核模块cdc_acm

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM