-
Notifications
You must be signed in to change notification settings - Fork 0
howto connect inet modem manager
Fanda Vacek edited this page Jul 8, 2019
·
1 revision
https://docs.ubuntu.com/core/en/stacks/network/modem-manager/docs/entering-sim-passwords
List modems
sudo mmcli -L
Found 1 modems:
/org/freedesktop/ModemManager1/Modem/1 [huawei] E3372
Set PIN
sudo mmcli -i 1 --pin=1234
successfully sent PIN code to the SIM
Connect to provider
sudo mmcli -m 1 --simple-connect="apn=internet"
successfully connected the modem
List bearers
sudo mmcli -b 1
Bearer '/org/freedesktop/ModemManager1/Bearer/1'
-------------------------
Status | connected: 'yes'
| suspended: 'no'
| interface: 'wwx001e101f0000'
| IP timeout: '20'
-------------------------
Properties | apn: 'internet'
| roaming: 'allowed'
| IP type: 'none'
| user: 'none'
| password: 'none'
| number: 'none'
| Rm protocol: 'unknown'
-------------------------
IPv4 configuration | method: 'static'
| address: '10.141.2.158'
| prefix: '30'
| gateway: '10.141.2.157'
| DNS: '217.77.165.81', '217.77.165.211'
-------------------------
IPv6 configuration | method: 'unknown'
-------------------------
Stats | Duration: '180'
| Bytes received: 'N/A'
| Bytes transmitted: 'N/A'
Obtain IP adress
sudo dhclient wwx001e101f0000