rootkea

mobile hotspot

Jun 24th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 12.26 KB | None | 0 0
  1. Mobile Hotspot:
  2. rootkea@titanic:~/Documents/gsoc/wget2$ ip addr
  3. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
  4.     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  5.     inet 127.0.0.1/8 scope host lo
  6.        valid_lft forever preferred_lft forever
  7.     inet6 ::1/128 scope host
  8.        valid_lft forever preferred_lft forever
  9. 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
  10.     link/ether a4:ba:db:b6:6f:b2 brd ff:ff:ff:ff:ff:ff
  11. 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
  12.     link/ether 5c:ac:4c:27:8a:97 brd ff:ff:ff:ff:ff:ff
  13.     inet 192.168.43.84/24 brd 192.168.43.255 scope global dynamic wlan0
  14.        valid_lft 3584sec preferred_lft 3584sec
  15.     inet6 2405:204:9799:7545:5eac:4cff:fe27:8a97/64 scope global noprefixroute
  16.        valid_lft forever preferred_lft forever
  17.     inet6 fe80::5eac:4cff:fe27:8a97/64 scope link
  18.        valid_lft forever preferred_lft forever
  19. rootkea@titanic:~/Documents/gsoc/wget2$ ip route
  20. default via 192.168.43.1 dev wlan0 proto static metric 600
  21. 169.254.0.0/16 dev wlan0 scope link metric 1000
  22. 192.168.43.0/24 dev wlan0 proto kernel scope link src 192.168.43.84 metric 600
  23. rootkea@titanic:~/Documents/gsoc/wget2$ ping 8.8.8.8
  24. PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
  25. From 192.168.43.84 icmp_seq=1 Destination Host Unreachable
  26. From 192.168.43.84 icmp_seq=2 Destination Host Unreachable
  27. From 192.168.43.84 icmp_seq=3 Destination Host Unreachable
  28. From 192.168.43.84 icmp_seq=4 Destination Host Unreachable
  29. From 192.168.43.84 icmp_seq=17 Destination Host Unreachable
  30. From 192.168.43.84 icmp_seq=18 Destination Host Unreachable
  31. From 192.168.43.84 icmp_seq=19 Destination Host Unreachable
  32. ^C
  33. --- 8.8.8.8 ping statistics ---
  34. 22 packets transmitted, 0 received, +7 errors, 100% packet loss, time 21448ms
  35. pipe 4
  36. rootkea@titanic:~/Documents/gsoc/wget2$ ping 192.168.43.1
  37. PING 192.168.43.1 (192.168.43.1) 56(84) bytes of data.
  38. From 192.168.43.84 icmp_seq=3 Destination Host Unreachable
  39. From 192.168.43.84 icmp_seq=4 Destination Host Unreachable
  40. From 192.168.43.84 icmp_seq=5 Destination Host Unreachable
  41. From 192.168.43.84 icmp_seq=6 Destination Host Unreachable
  42. From 192.168.43.84 icmp_seq=20 Destination Host Unreachable
  43. From 192.168.43.84 icmp_seq=21 Destination Host Unreachable
  44. From 192.168.43.84 icmp_seq=22 Destination Host Unreachable
  45. ^C
  46. --- 192.168.43.1 ping statistics ---
  47. 25 packets transmitted, 0 received, +7 errors, 100% packet loss, time 24536ms
  48. pipe 4
  49. rootkea@titanic:~/Documents/gsoc/wget2$ nmcli connection show rootmonk
  50. connection.id:                          rootmonk
  51. connection.uuid:                        f4dd7af3-e97c-4063-83a1-2f6ded9005e6
  52. connection.stable-id:                   --
  53. connection.interface-name:              --
  54. connection.type:                        802-11-wireless
  55. connection.autoconnect:                 yes
  56. connection.autoconnect-priority:        0
  57. connection.autoconnect-retries:         -1 (default)
  58. connection.timestamp:                   1498332783
  59. connection.read-only:                   no
  60. connection.permissions:                
  61. connection.zone:                        --
  62. connection.master:                      --
  63. connection.slave-type:                  --
  64. connection.autoconnect-slaves:          -1 (default)
  65. connection.secondaries:                
  66. connection.gateway-ping-timeout:        0
  67. connection.metered:                     unknown
  68. connection.lldp:                        -1 (default)
  69. 802-11-wireless.ssid:                   rootmonk
  70. 802-11-wireless.mode:                   infrastructure
  71. 802-11-wireless.band:                   --
  72. 802-11-wireless.channel:                0
  73. 802-11-wireless.bssid:                  --
  74. 802-11-wireless.rate:                   0
  75. 802-11-wireless.tx-power:               0
  76. 802-11-wireless.mac-address:            5C:AC:4C:27:8A:97
  77. 802-11-wireless.cloned-mac-address:     --
  78. 802-11-wireless.generate-mac-address-mask:--
  79. 802-11-wireless.mac-address-blacklist:  
  80. 802-11-wireless.mac-address-randomization:default
  81. 802-11-wireless.mtu:                    auto
  82. 802-11-wireless.seen-bssids:            AC:C1:EE:6D:92:81
  83. 802-11-wireless.hidden:                 no
  84. 802-11-wireless.powersave:              default (0)
  85. 802-11-wireless-security.key-mgmt:      wpa-psk
  86. 802-11-wireless-security.wep-tx-keyidx: 0
  87. 802-11-wireless-security.auth-alg:      --
  88. 802-11-wireless-security.proto:        
  89. 802-11-wireless-security.pairwise:      
  90. 802-11-wireless-security.group:        
  91. 802-11-wireless-security.leap-username: --
  92. 802-11-wireless-security.wep-key0:      <hidden>
  93. 802-11-wireless-security.wep-key1:      <hidden>
  94. 802-11-wireless-security.wep-key2:      <hidden>
  95. 802-11-wireless-security.wep-key3:      <hidden>
  96. 802-11-wireless-security.wep-key-flags: 0 (none)
  97. 802-11-wireless-security.wep-key-type:  0 (unknown)
  98. 802-11-wireless-security.psk:           <hidden>
  99. 802-11-wireless-security.psk-flags:     0 (none)
  100. 802-11-wireless-security.leap-password: <hidden>
  101. 802-11-wireless-security.leap-password-flags:0 (none)
  102. ipv4.method:                            auto
  103. ipv4.dns:                              
  104. ipv4.dns-search:                        
  105. ipv4.dns-options:                       (default)
  106. ipv4.dns-priority:                      0
  107. ipv4.addresses:                        
  108. ipv4.gateway:                           --
  109. ipv4.routes:                            
  110. ipv4.route-metric:                      -1
  111. ipv4.ignore-auto-routes:                no
  112. ipv4.ignore-auto-dns:                   no
  113. ipv4.dhcp-client-id:                    --
  114. ipv4.dhcp-timeout:                      0
  115. ipv4.dhcp-send-hostname:                yes
  116. ipv4.dhcp-hostname:                     --
  117. ipv4.dhcp-fqdn:                         --
  118. ipv4.never-default:                     no
  119. ipv4.may-fail:                          yes
  120. ipv4.dad-timeout:                       -1 (default)
  121. ipv6.method:                            auto
  122. ipv6.dns:                              
  123. ipv6.dns-search:                        
  124. ipv6.dns-options:                       (default)
  125. ipv6.dns-priority:                      0
  126. ipv6.addresses:                        
  127. ipv6.gateway:                           --
  128. ipv6.routes:                            
  129. ipv6.route-metric:                      -1
  130. ipv6.ignore-auto-routes:                no
  131. ipv6.ignore-auto-dns:                   no
  132. ipv6.never-default:                     no
  133. ipv6.may-fail:                          yes
  134. ipv6.ip6-privacy:                       0 (disabled)
  135. ipv6.addr-gen-mode:                     eui64
  136. ipv6.dhcp-send-hostname:                yes
  137. ipv6.dhcp-hostname:                     --
  138. ipv6.token:                             --
  139. proxy.method:                           none
  140. proxy.browser-only:                     no
  141. proxy.pac-url:                          --
  142. proxy.pac-script:                       --
  143. GENERAL.NAME:                           rootmonk
  144. GENERAL.UUID:                           f4dd7af3-e97c-4063-83a1-2f6ded9005e6
  145. GENERAL.DEVICES:                        wlan0
  146. GENERAL.STATE:                          activated
  147. GENERAL.DEFAULT:                        yes
  148. GENERAL.DEFAULT6:                       yes
  149. GENERAL.VPN:                            no
  150. GENERAL.ZONE:                           --
  151. GENERAL.DBUS-PATH:                      /org/freedesktop/NetworkManager/ActiveConnection/39
  152. GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/Settings/17
  153. GENERAL.SPEC-OBJECT:                    /org/freedesktop/NetworkManager/AccessPoint/572
  154. GENERAL.MASTER-PATH:                    --
  155. IP4.ADDRESS[1]:                         192.168.43.84/24
  156. IP4.GATEWAY:                            192.168.43.1
  157. IP4.ROUTE[1]:                           dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
  158. IP4.DNS[1]:                             192.168.43.1
  159. DHCP4.OPTION[1]:                        requested_subnet_mask = 1
  160. DHCP4.OPTION[2]:                        requested_rfc3442_classless_static_routes = 1
  161. DHCP4.OPTION[3]:                        subnet_mask = 255.255.255.0
  162. DHCP4.OPTION[4]:                        domain_name_servers = 192.168.43.1
  163. DHCP4.OPTION[5]:                        ip_address = 192.168.43.84
  164. DHCP4.OPTION[6]:                        requested_static_routes = 1
  165. DHCP4.OPTION[7]:                        dhcp_server_identifier = 192.168.43.1
  166. DHCP4.OPTION[8]:                        requested_time_offset = 1
  167. DHCP4.OPTION[9]:                        broadcast_address = 192.168.43.255
  168. DHCP4.OPTION[10]:                       requested_interface_mtu = 1
  169. DHCP4.OPTION[11]:                       dhcp_rebinding_time = 3150
  170. DHCP4.OPTION[12]:                       requested_domain_name_servers = 1
  171. DHCP4.OPTION[13]:                       dhcp_message_type = 5
  172. DHCP4.OPTION[14]:                       requested_broadcast_address = 1
  173. DHCP4.OPTION[15]:                       routers = 192.168.43.1
  174. DHCP4.OPTION[16]:                       dhcp_renewal_time = 1800
  175. DHCP4.OPTION[17]:                       requested_domain_name = 1
  176. DHCP4.OPTION[18]:                       requested_routers = 1
  177. DHCP4.OPTION[19]:                       expiry = 1498336367
  178. DHCP4.OPTION[20]:                       requested_wpad = 1
  179. DHCP4.OPTION[21]:                       host_name = titanic
  180. DHCP4.OPTION[22]:                       requested_netbios_scope = 1
  181. DHCP4.OPTION[23]:                       requested_ms_classless_static_routes = 1
  182. DHCP4.OPTION[24]:                       requested_netbios_name_servers = 1
  183. DHCP4.OPTION[25]:                       network_number = 192.168.43.0
  184. DHCP4.OPTION[26]:                       requested_domain_search = 1
  185. DHCP4.OPTION[27]:                       vendor_encapsulated_options = ANDROID_METERED
  186. DHCP4.OPTION[28]:                       next_server = 192.168.43.1
  187. DHCP4.OPTION[29]:                       requested_host_name = 1
  188. DHCP4.OPTION[30]:                       dhcp_lease_time = 3600
  189. DHCP4.OPTION[31]:                       requested_ntp_servers = 1
  190. IP6.ADDRESS[1]:                         2405:204:9785:2b75:5eac:4cff:fe27:8a97/64
  191. IP6.ADDRESS[2]:                         fe80::5eac:4cff:fe27:8a97/64
  192. IP6.GATEWAY:                            fe80::60b1:5f36:5fc1:abcb
  193. IP6.ROUTE[1]:                           dst = 2405:204:9785:2b75::/64, nh = ::, mt = 600
  194. IP6.ROUTE[2]:                           dst = fe80::60b1:5f36:5fc1:abcb/128, nh = ::, mt = 600
  195. IP6.DNS[1]:                             2405:200:800::1
  196. rootkea@titanic:~/Documents/gsoc/wget2$ dig google.com A @192.168.43.1
  197.  
  198. ; <<>> DiG 9.10.3-P4-Debian <<>> google.com A @192.168.43.1
  199. ;; global options: +cmd
  200. ;; connection timed out; no servers could be reached
  201. ----------------------------------------------------------------------------------------------------
  202. Wifi router:
  203. rootkea@titanic:~/Documents/gsoc/wget2$ ip addr
  204. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
  205.     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  206.     inet 127.0.0.1/8 scope host lo
  207.        valid_lft forever preferred_lft forever
  208.     inet6 ::1/128 scope host
  209.        valid_lft forever preferred_lft forever
  210. 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
  211.     link/ether a4:ba:db:b6:6f:b2 brd ff:ff:ff:ff:ff:ff
  212. 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
  213.     link/ether 5c:ac:4c:27:8a:97 brd ff:ff:ff:ff:ff:ff
  214.     inet 192.168.2.3/24 brd 192.168.2.255 scope global wlan0
  215.        valid_lft forever preferred_lft forever
  216.     inet6 fe80::5eac:4cff:fe27:8a97/64 scope link
  217.        valid_lft forever preferred_lft forever
  218. rootkea@titanic:~/Documents/gsoc/wget2$ ip route
  219. default via 192.168.2.1 dev wlan0 proto static metric 600
  220. 169.254.0.0/16 dev wlan0 scope link metric 1000
  221. 192.168.2.0/24 dev wlan0 proto kernel scope link src 192.168.2.3 metric 600
  222. rootkea@titanic:~/Documents/gsoc/wget2$ ping 8.8.8.8
  223. PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
  224. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=57 time=1678 ms
  225. 64 bytes from 8.8.8.8: icmp_seq=2 ttl=57 time=1411 ms
  226. 64 bytes from 8.8.8.8: icmp_seq=3 ttl=57 time=1424 ms
  227. 64 bytes from 8.8.8.8: icmp_seq=4 ttl=57 time=2076 ms
  228. ^C
  229. --- 8.8.8.8 ping statistics ---
  230. 6 packets transmitted, 4 received, 33% packet loss, time 5048ms
  231. rtt min/avg/max/mdev = 1411.687/1647.701/2076.070/269.351 ms, pipe 3
Add Comment
Please, Sign In to add comment