Linux(10)Debain EC25 Modem Automatic networking

简介: Linux(10)Debain EC25 Modem Automatic networking

1.Querying the USB network type of the current EC25 Modem

Execute get_ec25_network1_type.sh script , Get the network type of the current EC25 Modem .

Note:

If the usb net is not 1, you need to perform the 2 step.

2.Set EC25 module to ECM mode through AT command

Execute set_ec25_network1_type.sh script , Set the USB network type to 1。

Node :

In the other window, you can see the printed information of EC25 module. After execution, you need to restart the Debain system.

It only needs to be set once, and the network will be automatically connected after restart.

It is not necessary to execute qcm, which is different from the previous Internet dialing method.

3.Query the current network node

Check whether the network node has usb0 and ip address through sudo ifconfig

Node: Under normal, you can access the Internet with existing the usb0 and ip address

4.Possible problems

4.1 Unable to access the Internet after setting step 2

Basically, domestic APNs have automatic error correction, which has little impact if they are mismatched. If foreign APNs are not correct, they may not be able to reside on the network

For example, when I use China Mobile Card in China, the corresponding APN is CMNET

If you cannot access the Internet, you need to replace it with the corresponding SIM operator and APN and replace the CMNET string

echo -e "AT+QICSGP=1,1,\"internet\"\r\n" >/dev/ttyUSB2

3.改apn(这一步供应商说每次开机需要设置)

sudo busybox microcom /dev/ttyUSB2

AT+CIMI //查询当前SIM卡运营商,40177对应internet

AT+QICSGP="internet" //设置当前拨号apn为哈萨克斯坦Tele2 Internet,这一步设置完就生效

AT+QICSGP=1 //查询当前模块设置APN

ref:

📎apns-conf.xml

https://blog.csdn.net/wds1181977/article/details/78862285/

4.2 There is IP but no Internet access

Remember to insert the antenna into the 4G module

4.3 Start up and run settings apn

echo -e "AT+QICSGP=1,1,\"internet\"\r\n" > /dev/ttyUSB2

sudo vi ~/.profile +24

add File Path , Restart will automatically execute

as : /home/linaro/Desktop/set_ec25_apn_internet.sh


相关文章
|
6月前
|
Linux
Linux(13)Debain Fullscreen GUI Kiosk
Linux(13)Debain Fullscreen GUI Kiosk
30 0
|
6月前
|
移动开发 Ubuntu 网络协议
Linux(11)Debain 调试EC25-EUX总记录
Linux(11)Debain 调试EC25-EUX总记录
235 0
|
6月前
|
测试技术 Linux
Linux(8)Debain系统测试EC25-EUX模块usbnet0(qmi qcm)问题点
Linux(8)Debain系统测试EC25-EUX模块usbnet0(qmi qcm)问题点
188 0
|
网络安全 开发工具
|
6月前
|
Linux 数据安全/隐私保护
Linux(12)Debain系统安装远程控制软件
Linux(12)Debain系统安装远程控制软件
137 0
|
6月前
|
Ubuntu Linux 内存技术
Linux(14)Debain Make image and module configuration instructions
Linux(14)Debain Make image and module configuration instructions
28 0
|
6月前
|
Linux
Linux(9)Debain EC25 quectel-CM usbnet0开机自动联网配置
Linux(9)Debain EC25 quectel-CM usbnet0开机自动联网配置
284 0
|
Linux
kali/debian/snap-store debain/linux的软件商店下载
kali/debian/snap-store debain/linux的软件商店下载
282 0
|
Linux 网络安全 开发工具
kali/debain/linux包管理
kali/debain/linux包管理
177 0
|
机器人 应用服务中间件 Linux