gpt4 book ai didi

linux - 读取 USB 调制解调器的运行状况/状态 - Linux

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:40:25 26 4
gpt4 key购买 nike

我用的是E8231华为调制解调器。

我目前正在调试网络连接问题,如果有一种方法可以查看 USB 调制解调器的运行状况,那就太好了。

USB 调制解调器上有 LED 指示灯,指示连接状态(连接/连接到 3g/3g+/离线)。

我想以编程方式或从 linux shell 了解相同的信息,我该怎么做?

最佳答案

您可以使用echoputtysocat,...向调制解调器发送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/

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

http://www.3g-modem-wiki.com/page/HUAWEI+AT-commands是一组HUAWEI AT命令

USB调制解调器在/dev/ttyACMx/dev/ttyUSBx(CDC设备类,通常是ACM子类,内核模块cdc_acm)

关于linux - 读取 USB 调制解调器的运行状况/状态 - Linux,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43390460/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com