USB Connect LPWA based on Qualcomm Chipsatz supporting QMI interface. QMI is Qualcomm's proprietary protocol for using Virtual Ethernet on the USB-Connect LPWA to establish IP connectivity with the mobile operator.
The following documentation describes how to configure the required applications: Network Manager, Modem Manager, libqmi.
Step 1: Stop and disable dhcpcd.service
Code Block |
---|
sudo systemctl disable dhcpcd.service sudo systemctl stop dhcpcd.service |
Step 2: Start and enable the following common packages the next time you boot to ensure proper modem operation and to avoid interference.
Code Block |
---|
sudo systemctl enable ModemManager.service sudo systemctl start ModemManager.service sudo systemctl enable NetworkManager.service sudo systemctl start NetworkManager.service |
Step 3: Set up your mobile network by changing the APN address to your own.
Code Block |
---|
sudo nmcli connection add type gsm ifname cdc-wdm0 con-name mymodem apn internettest.m2mportaliot.de |
Step: 4: Connect to the mobile network
Code Block |
---|
sudo nmcli connection up id mymodem |
Step 5: Restart operating system
Code Block |
---|
sudo reboot |
Step 6: Check the assigned IP address and test the connection
Code Block |
---|
ifconfig wwan0 |
Step 7: To test the connection
Code Block |
---|
ping -I wwan0 -c # restart ifconfig wwan0 ping www.google.com5 exelonix.com |
You will get something similar to that:
Code Block |
---|
PING exelonix.com (5.189.154.234) from 10.254.46.34 wwan0: 56(84) bytes of data.
64 bytes from mail.exelonix.com (5.189.154.234): icmp_seq=1 ttl=50 time=113 ms
64 bytes from mail.exelonix.com (5.189.154.234): icmp_seq=2 ttl=50 time=72.4 ms
64 bytes from mail.exelonix.com (5.189.154.234): icmp_seq=3 ttl=50 time=1426 ms
64 bytes from mail.exelonix.com (5.189.154.234): icmp_seq=4 ttl=51 time=1568 ms
64 bytes from mail.exelonix.com (5.189.154.234): icmp_seq=5 ttl=50 time=1444 ms
--- exelonix.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 5173ms
rtt min/avg/max/mdev = 72.382/924.626/1567.907/681.326 ms, pipe 2 |