Guest User

Untitled

a guest
Jan 8th, 2019
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.95 KB | None | 0 0
  1. pi@raspi-sort:~ $ sudo usb_modeswitch -p 0fff -v 0846 -S -W
  2. Take all parameters from the command line
  3.  
  4.  
  5. * usb_modeswitch: handle USB devices with multiple modes
  6. * Version 2.5.0 (C) Josua Dietze 2017
  7. * Based on libusb1/libusbx
  8.  
  9. ! PLEASE REPORT NEW CONFIGURATIONS !
  10.  
  11. DefaultVendor= 0x0846
  12. DefaultProduct= 0x0fff
  13. SierraMode=1
  14.  
  15. Look for default devices ...
  16. found USB ID 0846:0fff
  17. vendor ID matched
  18. product ID matched
  19. found USB ID 0424:7800
  20. found USB ID 0424:2514
  21. found USB ID 0424:2514
  22. found USB ID 1d6b:0002
  23. Found devices in default mode (1)
  24. Access device 007 on bus 001
  25. Get the current device configuration ...
  26. Current configuration number is 1
  27. Use interface number 9
  28. with class 8
  29.  
  30. USB description data (for identification)
  31. >-------------------------
  32. Manufacturer: NETGEAR
  33. Product: AirCard 779S
  34. Serial No.: 014260001176522
  35. >-------------------------
  36. Send Sierra control message
  37. -> Run lsusb to note any changes. Bye!
  38.  
  39. pi@raspi-sort:~ $ lsusb -t
  40. /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
  41. |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
  42. |__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/3p, 480M
  43. |__ Port 1: Dev 4, If 0, Class=Vendor Specific Class, Driver=lan78xx, 480M
  44. |__ Port 3: Dev 8, If 0, Class=Vendor Specific Class, Driver=, 480M
  45. |__ Port 3: Dev 8, If 3, Class=Vendor Specific Class, Driver=, 480M
  46. |__ Port 3: Dev 8, If 8, Class=Vendor Specific Class, Driver=qmi_wwan, 480M
  47.  
  48. cdc-wdm0: disconnected
  49. 1 connection available
  50. modem (qmi_wwan), hw
  51.  
  52. pi@raspi-sort:~ $ sudo nmcli con up "LTE Connection"
  53. Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/3)
  54.  
  55. cdc-wdm0: connected to LTE Connection
  56. modem (qmi_wwan), hw, iface wwan
  57. inet4 10.0.0.4/24
  58.  
  59. pi@raspi-sort:~ $ ping -I wwan0 8.8.8.8
  60. PING 8.8.8.8 (8.8.8.8) from 10.0.0.4 wwan0: 56(84) bytes of data.
  61.  
  62. pi@raspi-sort:~ $ nmcli con show "LTE Connection"
  63. connection.id: LTE Connection
  64. connection.uuid: 0993532f-4bd9-4703-a6b6-be3a1c20533d
  65. connection.stable-id: --
  66. connection.interface-name: cdc-wdm0
  67. connection.type: gsm
  68. connection.autoconnect: no
  69. connection.autoconnect-priority: 0
  70. connection.autoconnect-retries: -1 (default)
  71. connection.timestamp: 1546902293
  72. connection.read-only: no
  73. connection.permissions:
  74. connection.zone: --
  75. connection.master: --
  76. connection.slave-type: --
  77. connection.autoconnect-slaves: -1 (default)
  78. connection.secondaries:
  79. connection.gateway-ping-timeout: 0
  80. connection.metered: unknown
  81. connection.lldp: -1 (default)
  82. ipv4.method: auto
  83. ipv4.dns:
  84. ipv4.dns-search:
  85. ipv4.dns-options: (default)
  86. ipv4.dns-priority: 0
  87. ipv4.addresses:
  88. ipv4.gateway: --
  89. ipv4.routes:
  90. ipv4.route-metric: -1
  91. ipv4.ignore-auto-routes: no
  92. ipv4.ignore-auto-dns: no
  93. ipv4.dhcp-client-id: --
  94. ipv4.dhcp-timeout: 0
  95. ipv4.dhcp-send-hostname: yes
  96. ipv4.dhcp-hostname: --
  97. ipv4.dhcp-fqdn: --
  98. ipv4.never-default: no
  99. ipv4.may-fail: yes
  100. ipv4.dad-timeout: -1 (default)
  101. ipv6.method: auto
  102. ipv6.dns:
  103. ipv6.dns-search:
  104. ipv6.dns-options: (default)
  105. ipv6.dns-priority: 0
  106. ipv6.addresses:
  107. ipv6.gateway: --
  108. ipv6.routes:
  109. ipv6.route-metric: -1
  110. ipv6.ignore-auto-routes: no
  111. ipv6.ignore-auto-dns: no
  112. ipv6.never-default: no
  113. ipv6.may-fail: yes
  114. ipv6.ip6-privacy: -1 (unknown)
  115. ipv6.addr-gen-mode: stable-privacy
  116. ipv6.dhcp-send-hostname: yes
  117. ipv6.dhcp-hostname: --
  118. ipv6.token: --
  119. gsm.number: --
  120. gsm.username: wap
  121. gsm.password: <hidden>
  122. gsm.password-flags: 0 (none)
  123. gsm.apn: wap.gprs.unifon.com.ar
  124. gsm.network-id: --
  125. gsm.pin: <hidden>
  126. gsm.pin-flags: 0 (none)
  127. gsm.home-only: no
  128. gsm.device-id: --
  129. gsm.sim-id: --
  130. gsm.sim-operator-id: --
  131. proxy.method: auto
  132. proxy.browser-only: no
  133. proxy.pac-url: --
  134. proxy.pac-script: --
  135. GENERAL.NAME: LTE Connection
  136. GENERAL.UUID: 0993532f-4bd9-4703-a6b6-be3a1c20533d
  137. GENERAL.DEVICES: cdc-wdm0
  138. GENERAL.STATE: activated
  139. GENERAL.DEFAULT: no
  140. GENERAL.DEFAULT6: no
  141. GENERAL.VPN: no
  142. GENERAL.ZONE: --
  143. GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/3
  144. GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/1
  145. GENERAL.SPEC-OBJECT: --
  146. GENERAL.MASTER-PATH: --
  147. IP4.ADDRESS[1]: 10.0.0.4/24
  148. IP4.GATEWAY: 10.0.0.5
  149. IP4.DNS[1]: 10.0.0.1
Add Comment
Please, Sign In to add comment