Advertisement
Guest User

Untitled

a guest
Mar 7th, 2016
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.62 KB | None | 0 0
  1. # nmcli dev status
  2.  
  3. ** (process:2379): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: Permissions request failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files
  4. DEVICE TYPE STATE
  5. ttyUSB1 gsm disconnected
  6. eth0 802-3-ethernet connected
  7.  
  8. $ nmcli --version
  9. nmcli tool, version 0.9.8.8-2.fc19
  10.  
  11. nmcli dev wifi con "Cafe Hotspot 1" password caffeine name "My cafe"
  12.  
  13. creates a new connection named "My cafe" and then connects it to
  14. "Cafe Hotspot 1" SSID using "caffeine" password. This is mainly
  15. useful when connecting to "Cafe Hotspot 1" for the first time.
  16. Next time, it is better to use 'nmcli con up id "My cafe"' so that
  17. the existing connection profile can be used and no additional is
  18. created.
  19.  
  20. $ nmcli connection modify id 'MyCafe' 802-11-wireless.mtu 1350
  21.  
  22. sudo nmcli connection edit type gsm con-name "My GPRS Connection"
  23.  
  24. nmcli> print
  25. ===============================================================================
  26. Connection profile details (FONA GPRS)
  27. ===============================================================================
  28. connection.id: My GPRS Connection
  29. connection.uuid: 27b012ca-453f-482f-bc0e-c81bbab07310
  30. connection.interface-name: --
  31. connection.type: gsm
  32. connection.autoconnect: yes
  33. connection.timestamp: 0
  34. connection.read-only: no
  35. connection.permissions:
  36. connection.zone: --
  37. connection.master: --
  38. connection.slave-type: --
  39. connection.secondaries:
  40. connection.gateway-ping-timeout: 0
  41. -------------------------------------------------------------------------------
  42. ipv4.method: auto
  43. ipv4.dns:
  44. ipv4.dns-search:
  45. ipv4.addresses:
  46. ipv4.routes:
  47. ipv4.ignore-auto-routes: no
  48. ipv4.ignore-auto-dns: no
  49. ipv4.dhcp-client-id: --
  50. ipv4.dhcp-send-hostname: yes
  51. ipv4.dhcp-hostname: --
  52. ipv4.never-default: no
  53. ipv4.may-fail: yes
  54. -------------------------------------------------------------------------------
  55. ipv6.method: auto
  56. ipv6.dns:
  57. ipv6.dns-search:
  58. ipv6.addresses:
  59. ipv6.routes:
  60. ipv6.ignore-auto-routes: no
  61. ipv6.ignore-auto-dns: no
  62. ipv6.never-default: no
  63. ipv6.may-fail: yes
  64. ipv6.ip6-privacy: -1 (unknown)
  65. ipv6.dhcp-hostname: --
  66. -------------------------------------------------------------------------------
  67. gsm.number: *99#
  68. gsm.username: --
  69. gsm.password: --
  70. gsm.password-flags: 0 (none)
  71. gsm.apn: --
  72. gsm.network-id: --
  73. gsm.network-type: -1
  74. gsm.allowed-bands: 1 (any)
  75. gsm.pin: --
  76. gsm.pin-flags: 0 (none)
  77. gsm.home-only: no
  78. -------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement