Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ralph@six ~]$ mmcli -m 0
- /org/freedesktop/ModemManager1/Modem/0 (device id 'xyz')
- -------------------------
- Hardware | manufacturer: 'Generic'
- | model: 'MBIM [1199:9079]'
- | revision: 'SWI9X30C_02.14.03.00'
- | supported: 'gsm-umts, lte'
- | current: 'gsm-umts, lte'
- | equipment id: 'xyz'
- -------------------------
- System | device: '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2'
- | drivers: 'cdc_mbim'
- | plugin: 'Generic'
- | primary port: 'cdc-wdm0'
- | ports: 'cdc-wdm0 (mbim), wwp0s20f0u2i12 (net)'
- -------------------------
- Numbers | own : 'unknown'
- -------------------------
- Status | lock: 'none'
- | unlock retries: 'sim-pin2 (3)'
- | state: 'disabled'
- | power state: 'low'
- | access tech: 'unknown'
- | signal quality: '0' (cached)
- -------------------------
- Modes | supported: 'allowed: 3g, 4g; preferred: none'
- | current: 'allowed: 3g, 4g; preferred: none'
- -------------------------
- Bands | supported: 'unknown'
- | current: 'unknown'
- -------------------------
- IP | supported: 'ipv4, ipv6, ipv4v6'
- -------------------------
- 3GPP | imei: 'xyz'
- | enabled locks: 'fixed-dialing'
- | operator id: 'unknown'
- | operator name: 'unknown'
- | subscription: 'unknown'
- | registration: 'unknown'
- -------------------------
- SIM | path: '/org/freedesktop/ModemManager1/SIM/0'
- -------------------------
- Bearers | paths: 'none'
- [ralph@six ~]$ sudo mbimcli -p -d /dev/cdc-wdm0 --query-device-caps
- [sudo] Passwort für ralph:
- [/dev/cdc-wdm0] Device capabilities retrieved:
- Device type: 'remote'
- Cellular class: 'gsm'
- Voice class: 'no-voice'
- Sim class: 'removable'
- Data class: 'umts, hsdpa, hsupa, lte, custom'
- SMS caps: 'pdu-receive, pdu-send'
- Ctrl caps: 'reg-manual'
- Max sessions: '8'
- Custom data class: '4G'
- Device ID: 'xyz'
- Firmware info: 'SWI9X30C_02.14.03.00'
- Hardware info: 'EM7455'
- [ralph@six ~]$ sudo qmicli -p -d /dev/cdc-wdm0 --device-open-mbim --dms-set-fcc-authentication
- [/dev/cdc-wdm0] Successfully set FCC authentication
- [ralph@six ~]$ mmcli -m 0 --simple-connect="apn=web.vodafone.de,ip-type=ipv4" --verbose
- [03 Jun 2016, 12:06:33] [Debug] Forcing request to be run asynchronously
- [03 Jun 2016, 12:06:33] [Debug] Assuming '0' is the modem index
- [03 Jun 2016, 12:06:33] [Debug] ModemManager process found at ':1.3'
- [03 Jun 2016, 12:06:33] [Debug] Modem found at '/org/freedesktop/ModemManager1/Modem/0'
- [03 Jun 2016, 12:06:33] [Debug] Asynchronously connecting the modem...
- successfully connected the modem
- [ralph@six ~]$ mmcli -m 0 --list-bearers
- Found 1 bearers:
- /org/freedesktop/ModemManager1/Bearer/0
- [ralph@six ~]$ mmcli -b 0
- Bearer '/org/freedesktop/ModemManager1/Bearer/0'
- -------------------------
- Status | connected: 'yes'
- | suspended: 'no'
- | interface: 'wwp0s20f0u2i12'
- | IP timeout: '20'
- -------------------------
- Properties | apn: 'web.vodafone.de'
- | roaming: 'allowed'
- | IP type: 'ipv4'
- | user: 'none'
- | password: 'none'
- | number: 'none'
- | Rm protocol: 'unknown'
- -------------------------
- IPv4 configuration | method: 'static'
- | address: '100.75.187.228'
- | prefix: '29'
- | gateway: '100.75.187.229'
- | DNS: '139.7.30.126', '139.7.30.125'
- | MTU: '1430'
- -------------------------
- IPv6 configuration | method: 'unknown'
- [ralph@six ~]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement