A simple systemd unit file and service for the AT&T aircard 340U LTE card.
This project is intended for use on the Raspberry Pi 3 running modern Debian (this was tested extensively on Jessie). This will run an Netgear / AT&T Aircard 340U USB LTE card well in a situation where you need a Pi to run on LTE.
Clone the repo (or copy it via flash drive)
./install.sh
./uninstall.sh
If you don't see the card connected on the card's display, run reboot
and check for a connection on the card's display
The above commands should be all you need, however, if you need to manually start or stop the services, this is how that works.
Note: You shouldn't need to do run either of these unless something goes wrong
sudo systemctl start aircard.service
sudo systemctl stop aircard.service
// 'start','stop' or 'restart'
sudo /usr/bin/aircard.sh start