Skip to content

Instantly share code, notes, and snippets.

@meriororen
Last active October 2, 2019 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meriororen/64c1a7b46a16b53aabbb796a10e2ec86 to your computer and use it in GitHub Desktop.
Save meriororen/64c1a7b46a16b53aabbb796a10e2ec86 to your computer and use it in GitHub Desktop.
Running huawei modem
// mmcli must be available
// if not, install using snap install modem-manager
$ mmcli -L  ;; check listed modem
$ mmcli -m x ;; x is modem id listed

// use nmcli (network manager) to setup
$ nmcli c add type gsm ifname <port> con-name <arbitrary> apn <apn url>
$ nmcli r wwan on ;; setup wwan to on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment