AmoodZ

Untitled

Nov 24th, 2014
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. try@try:~$ ifconfig
  2. eth0 Link encap:Ethernet HWaddr 14:fe:b5:b2:24:6e
  3. UP BROADCAST MULTICAST MTU:1500 Metric:1
  4. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  5. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  6. collisions:0 txqueuelen:1000
  7. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  8.  
  9. lo Link encap:Local Loopback
  10. inet addr:127.0.0.1 Mask:255.0.0.0
  11. inet6 addr: ::1/128 Scope:Host
  12. UP LOOPBACK RUNNING MTU:65536 Metric:1
  13. RX packets:145 errors:0 dropped:0 overruns:0 frame:0
  14. TX packets:145 errors:0 dropped:0 overruns:0 carrier:0
  15. collisions:0 txqueuelen:0
  16. RX bytes:10225 (10.2 KB) TX bytes:10225 (10.2 KB)
  17.  
  18. wlan0 Link encap:Ethernet HWaddr bc:77:37:c3:ee:ca
  19. inet addr:192.168.2.10 Bcast:192.168.2.255 Mask:255.255.255.0
  20. inet6 addr: fe80::be77:37ff:fec3:eeca/64 Scope:Link
  21. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  22. RX packets:78 errors:0 dropped:0 overruns:0 frame:0
  23. TX packets:127 errors:0 dropped:0 overruns:0 carrier:0
  24. collisions:0 txqueuelen:1000
  25. RX bytes:5804 (5.8 KB) TX bytes:16614 (16.6 KB)
  26.  
  27. try@try:~$ route -n
  28. Kernel IP routing table
  29. Destination Gateway Genmask Flags Metric Ref Use Iface
  30. 0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 wlan0
  31. 192.168.2.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan0
  32.  
  33. try@try:~$ ping www.google.com
  34. ^C
  35.  
  36. try@try:~$ ping 4.2.2.2
  37. PING 4.2.2.2 (4.2.2.2) 56(84) bytes of data.
  38. 64 bytes from 4.2.2.2: icmp_seq=1 ttl=57 time=29.1 ms
  39. 64 bytes from 4.2.2.2: icmp_seq=2 ttl=57 time=139 ms
  40. 64 bytes from 4.2.2.2: icmp_seq=3 ttl=57 time=31.4 ms
  41. 64 bytes from 4.2.2.2: icmp_seq=4 ttl=57 time=28.1 ms
  42. ^C
  43. --- 4.2.2.2 ping statistics ---
  44. 4 packets transmitted, 4 received, 0% packet loss, time 3003ms
  45. rtt min/avg/max/mdev = 28.185/57.181/139.956/47.805 ms
  46.  
  47. try@try:~$ cat /etc/network/interfaces
  48. # interfaces(5) file used by ifup(8) and ifdown(8)
  49. auto lo
  50. iface lo inet loopback
  51.  
  52. try@try:~$ cat /etc/resolv.conf
  53. search
  54. nameserver 130.203.201.18
  55. nameserver 130.203.254.218
Advertisement
Add Comment
Please, Sign In to add comment