Advertisement
Guest User

nm-tools 2

a guest
May 13th, 2012
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.71 KB | None | 0 0
  1. dixon@dixon-vaio:~$ nm-tool
  2.  
  3. NetworkManager Tool
  4.  
  5. State: connected (global)
  6.  
  7. - Device: ttyACM0  [AIRCEL GPRS] -----------------------------------------------
  8.   Type:              Mobile Broadband (GSM)
  9.   Driver:            cdc_acm
  10.   State:             connected
  11.   Default:           yes
  12.  
  13.   Capabilities:
  14.  
  15.   IPv4 Settings:
  16.     Address:         49.137.76.104
  17.     Prefix:          32 (255.255.255.255)
  18.     Gateway:         10.6.6.6
  19.  
  20.     DNS:             208.67.222.222
  21.     DNS:             208.67.220.220
  22.  
  23.  
  24. - Device: eth0 -----------------------------------------------------------------
  25.   Type:              Wired
  26.   Driver:            r8169
  27.   State:             unavailable
  28.   Default:           no
  29.   HW Address:        78:84:3C:E5:2C:E8
  30.  
  31.   Capabilities:
  32.     Carrier Detect:  yes
  33.  
  34.   Wired Properties
  35.     Carrier:         off
  36.  
  37.  
  38. - Device: wlan0 ----------------------------------------------------------------
  39.   Type:              802.11 WiFi
  40.   Driver:            ath9k
  41.   State:             unavailable
  42.   Default:           no
  43.   HW Address:        90:00:4E:D2:24:5D
  44.  
  45.   Capabilities:
  46.  
  47.   Wireless Properties
  48.     WEP Encryption:  yes
  49.     WPA Encryption:  yes
  50.     WPA2 Encryption: yes
  51.  
  52.   Wireless Access Points
  53.  
  54.  
  55. dixon@dixon-vaio:~$ cat /etc/resolv.conf
  56. # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
  57. #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
  58. nameserver 202.148.202.4
  59. nameserver 202.148.200.3
  60. nameserver 127.0.0.1
  61. dixon@dixon-vaio:~$ dig google.com
  62.  
  63. ; <<>> DiG 9.8.1-P1 <<>> google.com
  64. ;; global options: +cmd
  65. ;; Got answer:
  66. ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4053
  67. ;; flags: qr rd ra; QUERY: 1, ANSWER: 11, AUTHORITY: 4, ADDITIONAL: 4
  68.  
  69. ;; QUESTION SECTION:
  70. ;google.com.            IN  A
  71.  
  72. ;; ANSWER SECTION:
  73. google.com.     109 IN  A   74.125.236.164
  74. google.com.     109 IN  A   74.125.236.165
  75. google.com.     109 IN  A   74.125.236.166
  76. google.com.     109 IN  A   74.125.236.167
  77. google.com.     109 IN  A   74.125.236.168
  78. google.com.     109 IN  A   74.125.236.169
  79. google.com.     109 IN  A   74.125.236.174
  80. google.com.     109 IN  A   74.125.236.160
  81. google.com.     109 IN  A   74.125.236.161
  82. google.com.     109 IN  A   74.125.236.162
  83. google.com.     109 IN  A   74.125.236.163
  84.  
  85. ;; AUTHORITY SECTION:
  86. google.com.     4314    IN  NS  ns2.google.com.
  87. google.com.     4314    IN  NS  ns3.google.com.
  88. google.com.     4314    IN  NS  ns4.google.com.
  89. google.com.     4314    IN  NS  ns1.google.com.
  90.  
  91. ;; ADDITIONAL SECTION:
  92. ns1.google.com.     177114  IN  A   216.239.32.10
  93. ns2.google.com.     177114  IN  A   216.239.34.10
  94. ns3.google.com.     177114  IN  A   216.239.36.10
  95. ns4.google.com.     177114  IN  A   216.239.38.10
  96.  
  97. ;; Query time: 574 msec
  98. ;; SERVER: 202.148.202.4#53(202.148.202.4)
  99. ;; WHEN: Sun May 13 11:54:39 2012
  100. ;; MSG SIZE  rcvd: 340
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement