- How to use the 4G Extension
- Using Cellular Modems with the Raspberry Pi 4B
- Using 4G LTE wireless modems on a Raspberry Pi
- Sixfab SIM (may be cheaper on Amazon)
If you're using 4G connection, you need Network Manager, so you need to configure WiFi also via Network Manager.
After you configure the WiFi connection, you'll want to configure your WiFi to be prioritized over the 4G connection.
# Get names of your connections
$ nmcli con
$ nmcli con mod WiFiConnectionName ipv4.route-metric 20
$ nmcli con mod WiFiConnectionName ipv6.route-metric 20
$ nmcli con mod 4gnet ipv4.route-metric 40
$ nmcli con mod 4gnet ipv6.route-metric 40