Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. pi@raspberrypi ~ $ ping 192.168.1.1
  2. PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
  3. ^C
  4. --- 192.168.1.1 ping statistics ---
  5. 8 packets transmitted, 0 received, 100% packet loss, time 7006ms
  6.  
  7. pi@raspberrypi ~ $ ifconfig eth0
  8. eth0 Link encap:Ethernet HWaddr b8:27:eb:9a:ea:1d
  9. inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
  10. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  11. RX packets:1796 errors:0 dropped:0 overruns:0 frame:0
  12. TX packets:426 errors:0 dropped:0 overruns:0 carrier:0
  13. collisions:0 txqueuelen:1000
  14. RX bytes:133358 (130.2 KiB) TX bytes:54438 (53.1 KiB)
  15.  
  16. pi@raspberrypi ~ $ route -n
  17. Kernel IP routing table
  18. Destination Gateway Genmask Flags Metric Ref Use Iface
  19. 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
  20. 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
  21.  
  22. pi@raspberrypi ~ $ arp -n
  23. Address HWtype HWaddress Flags Mask Iface
  24. 192.168.1.1 ether 88:ae:1d:7e:07:2f C eth0
  25. 192.168.1.15 ether 88:ae:1d:7e:07:2f C eth0
  26.  
  27. pi@raspberrypi ~ $ cat /etc/network/interfaces
  28. auto lo
  29.  
  30. iface lo inet loopback
  31. iface eth0 inet static
  32. address 192.168.1.100
  33. netmask 255.255.255.0
  34. gateway 192.168.1.1
  35.  
  36. allow-hotplug wlan0
  37. iface wlan0 inet manual
  38. wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
  39. iface default inet dhcp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement