Advertisement
purejava

EM7455 gets local IP

Jun 3rd, 2016
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.07 KB | None | 0 0
  1. [ralph@six ~]$ mmcli -m 0
  2.  
  3. /org/freedesktop/ModemManager1/Modem/0 (device id 'xyz')
  4. -------------------------
  5. Hardware | manufacturer: 'Generic'
  6. | model: 'MBIM [1199:9079]'
  7. | revision: 'SWI9X30C_02.14.03.00'
  8. | supported: 'gsm-umts, lte'
  9. | current: 'gsm-umts, lte'
  10. | equipment id: 'xyz'
  11. -------------------------
  12. System | device: '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2'
  13. | drivers: 'cdc_mbim'
  14. | plugin: 'Generic'
  15. | primary port: 'cdc-wdm0'
  16. | ports: 'cdc-wdm0 (mbim), wwp0s20f0u2i12 (net)'
  17. -------------------------
  18. Numbers | own : 'unknown'
  19. -------------------------
  20. Status | lock: 'none'
  21. | unlock retries: 'sim-pin2 (3)'
  22. | state: 'disabled'
  23. | power state: 'low'
  24. | access tech: 'unknown'
  25. | signal quality: '0' (cached)
  26. -------------------------
  27. Modes | supported: 'allowed: 3g, 4g; preferred: none'
  28. | current: 'allowed: 3g, 4g; preferred: none'
  29. -------------------------
  30. Bands | supported: 'unknown'
  31. | current: 'unknown'
  32. -------------------------
  33. IP | supported: 'ipv4, ipv6, ipv4v6'
  34. -------------------------
  35. 3GPP | imei: 'xyz'
  36. | enabled locks: 'fixed-dialing'
  37. | operator id: 'unknown'
  38. | operator name: 'unknown'
  39. | subscription: 'unknown'
  40. | registration: 'unknown'
  41. -------------------------
  42. SIM | path: '/org/freedesktop/ModemManager1/SIM/0'
  43.  
  44. -------------------------
  45. Bearers | paths: 'none'
  46.  
  47. [ralph@six ~]$ sudo mbimcli -p -d /dev/cdc-wdm0 --query-device-caps
  48. [sudo] Passwort für ralph:
  49. [/dev/cdc-wdm0] Device capabilities retrieved:
  50. Device type: 'remote'
  51. Cellular class: 'gsm'
  52. Voice class: 'no-voice'
  53. Sim class: 'removable'
  54. Data class: 'umts, hsdpa, hsupa, lte, custom'
  55. SMS caps: 'pdu-receive, pdu-send'
  56. Ctrl caps: 'reg-manual'
  57. Max sessions: '8'
  58. Custom data class: '4G'
  59. Device ID: 'xyz'
  60. Firmware info: 'SWI9X30C_02.14.03.00'
  61. Hardware info: 'EM7455'
  62. [ralph@six ~]$ sudo qmicli -p -d /dev/cdc-wdm0 --device-open-mbim --dms-set-fcc-authentication
  63. [/dev/cdc-wdm0] Successfully set FCC authentication
  64. [ralph@six ~]$ mmcli -m 0 --simple-connect="apn=web.vodafone.de,ip-type=ipv4" --verbose
  65. [03 Jun 2016, 12:06:33] [Debug] Forcing request to be run asynchronously
  66. [03 Jun 2016, 12:06:33] [Debug] Assuming '0' is the modem index
  67. [03 Jun 2016, 12:06:33] [Debug] ModemManager process found at ':1.3'
  68. [03 Jun 2016, 12:06:33] [Debug] Modem found at '/org/freedesktop/ModemManager1/Modem/0'
  69.  
  70. [03 Jun 2016, 12:06:33] [Debug] Asynchronously connecting the modem...
  71. successfully connected the modem
  72. [ralph@six ~]$ mmcli -m 0 --list-bearers
  73.  
  74. Found 1 bearers:
  75.  
  76. /org/freedesktop/ModemManager1/Bearer/0
  77. [ralph@six ~]$ mmcli -b 0
  78. Bearer '/org/freedesktop/ModemManager1/Bearer/0'
  79. -------------------------
  80. Status | connected: 'yes'
  81. | suspended: 'no'
  82. | interface: 'wwp0s20f0u2i12'
  83. | IP timeout: '20'
  84. -------------------------
  85. Properties | apn: 'web.vodafone.de'
  86. | roaming: 'allowed'
  87. | IP type: 'ipv4'
  88. | user: 'none'
  89. | password: 'none'
  90. | number: 'none'
  91. | Rm protocol: 'unknown'
  92. -------------------------
  93. IPv4 configuration | method: 'static'
  94. | address: '100.75.187.228'
  95. | prefix: '29'
  96. | gateway: '100.75.187.229'
  97. | DNS: '139.7.30.126', '139.7.30.125'
  98. | MTU: '1430'
  99. -------------------------
  100. IPv6 configuration | method: 'unknown'
  101. [ralph@six ~]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement