Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2014
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1.  
  2.  
  3. ifconfig - a
  4. eth0 Link encap:Ethernet HWaddr b8:27:eb:3c:02:96
  5. inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
  6. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  7. RX packets:10 errors:0 dropped:0 overruns:0 frame:0
  8. TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
  9. collisions:0 txqueuelen:1000
  10. RX bytes:1024 (1024.0 B) TX bytes:2802 (2.7 KiB)
  11.  
  12. route -n
  13. pi@raspberrypi ~ $ route -n
  14. Kernel IP routing table
  15. Destination Gateway Genmask Flags Metric Ref Use Iface
  16. 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
  17. 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
  18.  
  19. ping 8.8.8.8
  20. pi@raspberrypi ~ $ ping -c3 8.8.8.8
  21. PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
  22. 64 bytes from 8.8.8.8: icmp_req=1 ttl=56 time=52.5 ms
  23. 64 bytes from 8.8.8.8: icmp_req=2 ttl=56 time=52.8 ms
  24. 64 bytes from 8.8.8.8: icmp_req=3 ttl=56 time=51.4 ms
  25.  
  26.  
  27. cat /etc/resolv.conf
  28. pi@raspberrypi ~ $ cat /etc/resolv.conf
  29. domain home.gateway
  30. search home.gateway
  31. nameserver 192.168.1.254
  32.  
  33. ping google.com
  34. unknown host google.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement