…
Step 1: Updating Raspberry Pi and installing software
Code Block |
---|
sudo apt-get update
sudo apt-get install libqmi-utils udhcpc
sudo reboot |
Step 2: …
Code Block |
---|
sudo systemctl disable ModemManager.service
sudo reboot |
Step 3: Shutting down the interface
Code Block |
---|
sudo ifconfig wwan0 down |
Step 4: Set the wwan0 interface to raw mode
Code Block |
---|
echo 'Y' | sudo tee /sys/class/net/wwan0/qmi/raw_ip |
Step 5: Restart the interface
Code Block |
---|
sudo ifconfig wwan0 up |
Step 6: Start the qui network by replacing your apn, username and password in the following command:
Code Block |
---|
|
sudo qmicli -p -d /dev/cdc-wdm0 --device-open-net='net-raw-ip|net-no-qos-header' --wds-start-network="apn='vgesace.nb.iot',ip-type=4" --client-no-release-cid |
You will get something similar to that:
Code Block |
---|
[/dev/cdc-wdm0] Network started
Packet data handle: '2198713216'
[/dev/cdc-wdm0] Client ID not released:
Service: 'wds'
CID: '2' |
Step 1: …
Step 1: …
Step 1: …
Step 1: …
Step 1: …
Step 1: …
Step 1: …
Step 1: …
Step 1: …
Step 1: …
Step 1: …
Step 1: …
Step 1: …
Step 1: …