Add the config below to the end of /etc/hotplug.d/usb/40-supported-modems and the Novatel 5510L will work without having to configure it whenever you plug it in or unplug it.
nano /etc/hotplug.d/usb/40-supported-modems scroll down to the bottom paste the config below Ctrl X* to close and save
Cheers,
Ian
# Support for Verizon Novatel MiFi 5510L
[[ $PRODUCT == "1410/b00b/228" ]] && {
[[ $ACTION == "add" ]] && {
ifconfig eth1 192.168.1.100 netmask 255.255.255.0 up
route del default
route add default gw 192.168.1.1 eth1
iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o eth1 -j MASQUERADE
iptables -A FORWARD -s 172.16.42.0/24 -o eth1 -j ACCEPT
iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i eth1 -j ACCEPT
logger Pineapple.modem: Verizon Novatel MiFi 5510L Added
} || {
iptables -t nat -D POSTROUTING -s 172.16.42.0/24 -o eth1 -j MASQUERADE
iptables -D FORWARD -s 172.16.42.0/24 -o eth1 -j ACCEPT
iptables -D FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i eth1 -j ACCEPT
/etc/init.d/network restart
logger Pineapple.modem: Verizon Novatel MiFi 5510L Removed
}
}