Note
The first time you run
make load
, you will see:rmmod: ERROR: Module xmm7360 is not currently loaded
. This means the module was not already loaded; which is fine since we're loading it for the first time.
- build-essential
- python3-pyroute2
- python3-configargparse
Only tested on Ubuntu 20.04.
$ cp xmm7360.ini.sample xmm7360.ini # edit at least the apn in the configuration file
$ sudo ./scripts/lte.sh setup
$ lte up # should auto-elevate when run
mkdir ~/tmp/
cd ~/tmp/
sudo apt install build-essential python3-pyroute2 python3-configargparse git
git clone https://github.com/xmm7360/xmm7360-pci.git
cd xmm7360-pci
make && make load
cp xmm7360.ini.sample xmm7360.ini # edit at least the apn in the configuration file
sudo python3 rpc/open_xdatachannel.py
sudo ip link set wwan0 up
The script should set nameservers from your network providers, but you might have to set your own:
echo "nameserver 1.1.1.1" | sudo tee -a /etc/resolv.conf
echo "nameserver 8.8.8.8" | sudo tee -a /etc/resolv.conf
echo "nameserver 9.9.9.9" | sudo tee -a /etc/resolv.conf