Skip to content

Small python program to automaticaly connect a 4G modem to the internet using ModemManager without involving NetworkManager

Notifications You must be signed in to change notification settings

artizirk/autoModemManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatic ModemManager 4G modem connector

This script uses ModemManager to automaticaly setup a Huawei 4G modem internet connection by monitoring autoplug events from ModemManager, setting APN on new modem detection and then letting systemd-networkd to obtain the ip address for the modem interface.

Requierments

You need Python 3 with python-systemd, python-gobject, python-dbus libraries

On the system side you have to install and enable ModemManager service and also systemd-networkd and systemd-resolved. Sample config files that i used are provided in *.network files

About

Small python program to automaticaly connect a 4G modem to the internet using ModemManager without involving NetworkManager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages