Pro zajímavost, Huawei E396:
root@router:~# mmcli -m 0 --simple-connect="apn=internet,ip-type=ipv4"
successfully connected the modem
root@router:~# ip link set wwan0 up
root@router:~# dhclient wwan0
root@router:~# ip a
(...)
37: wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
link/ether 3e:6f:59:2d:d8:14 brd ff:ff:ff:ff:ff:ff
inet 100.117.128.88/28 brd 100.117.128.95 scope global dynamic wwan0
valid_lft 7200sec preferred_lft 7200sec
inet6 fe80::3c6f:59ff:fe2d:d814/64 scope link
valid_lft forever preferred_lft forever
root@router:~# ip route | grep wwan
default via 100.117.128.81 dev wwan0
100.117.128.80/28 dev wwan0 proto kernel scope link src 100.117.128.88
root@router:~# mmcli -m 0
--------------------------------
General | dbus path: /org/freedesktop/ModemManager1/Modem/0
| device id: f13359cc0d01883b118ab5cdba4f19baa83e6248
--------------------------------
Hardware | manufacturer: QUALCOMM INCORPORATED
| model: 0
| firmware revision: M9200B-SCAQWBZD-3.3.330155T 1 [Aug 09 2012 23:00:00]
| h/w revision: 203F1000
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: 860999001008525
--------------------------------
System | device: /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb3/3-1
| drivers: option1, qmi_wwan
| plugin: Huawei
| primary port: cdc-wdm0
| ports: cdc-wdm0 (qmi), ttyUSB2 (qcdm), wwan0 (net), ttyUSB1 (at),
| ttyUSB3 (at)
--------------------------------
Status | lock: sim-pin2
| unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
| state: connected
| power state: on
| access tech: lte
| signal quality: 67% (recent)
--------------------------------
Modes | supported: allowed: 2g; preferred: none
| allowed: 3g; preferred: none
| allowed: 4g; preferred: none
| allowed: 2g, 3g; preferred: 3g
| allowed: 2g, 3g; preferred: 2g
| allowed: 2g, 4g; preferred: 4g
| allowed: 2g, 4g; preferred: 2g
| allowed: 3g, 4g; preferred: 3g
| allowed: 3g, 4g; preferred: 4g
| allowed: 2g, 3g, 4g; preferred: 4g
| allowed: 2g, 3g, 4g; preferred: 3g
| allowed: 2g, 3g, 4g; preferred: 2g
| current: allowed: 2g, 3g, 4g; preferred: none
--------------------------------
Bands | supported: egsm, dcs, pcs, g850, utran-1, utran-3, utran-8
| current: egsm, dcs, pcs, g850, utran-1, utran-3, utran-8
--------------------------------
IP | supported: ipv4, ipv6, ipv4v6
--------------------------------
3GPP | imei: 860999001008525
| operator id: 23002
| operator name: O2.CZ
| registration: home
--------------------------------
3GPP EPS | ue mode of operation: ps-1
--------------------------------
SIM | dbus path: /org/freedesktop/ModemManager1/SIM/0
--------------------------------
Bearer | dbus path: /org/freedesktop/ModemManager1/Bearer/1
| /org/freedesktop/ModemManager1/Bearer/0
root@router:~# mmcli -b 0
------------------------
General | dbus path: /org/freedesktop/ModemManager1/Bearer/0
| type: default
------------------------
Status | connected: no
| suspended: no
| ip timeout: 20
------------------------
Properties | apn: internet
| roaming: allowed
| ip type: ipv6
root@router:~# mmcli -b 1
--------------------------------
General | dbus path: /org/freedesktop/ModemManager1/Bearer/1
| type: default
--------------------------------
Status | connected: yes
| suspended: no
| interface: wwan0
| ip timeout: 20
--------------------------------
Properties | apn: internet
| roaming: allowed
| ip type: ipv4
--------------------------------
IPv4 configuration | method: dhcp
| address: 100.117.128.88
| prefix: 30
| gateway: 100.117.128.89
| dns: 160.218.161.60, 194.228.211.33
| mtu: 1500
--------------------------------
Statistics | duration: 210
| bytes rx: 135013
| bytes tx: 367050
Zajímá Vás zejména:
state: connected
access tech: lte
signal quality: 67% (recent)