Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Step 1: Updating Raspberry Pi and installing software

sudo apt-get update
sudo apt-get install libqmi-utils udhcpc
sudo reboot

Step 2: …

sudo systemctl disable ModemManager.service
sudo reboot

Step 3: Shutting down the interface

sudo ifconfig wwan0 down

Step 4: Set the wwan0 interface to raw mode

echo 'Y' | sudo tee /sys/class/net/wwan0/qmi/raw_ip

Step 5: Restart the interface

sudo ifconfig wwan0 up

Step 6: Start the qui network by replacing your apn, username and password in the following command:

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:

[/dev/cdc-wdm0] Network started
Packet data handle: '2198713216'
[/dev/cdc-wdm0] Client ID not released:
Service: 'wds'
CID: '2'

Step 7: Get an IP address from your provider

sudo udhcpc -i wwan0

You will get something similar to that:

udhcpc: started, v1.30.1
No resolv.conf for interface wwan0.udhcpc
udhcpc: sending discover
udhcpc: sending select for 10.165.xx.xx
udhcpc: lease of 10.165.xx.xx obtained, lease time 7200
Too few arguments.
Too few arguments.

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: …

 

  • No labels