Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ifconfig - a
- eth0 Link encap:Ethernet HWaddr b8:27:eb:3c:02:96
- inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:10 errors:0 dropped:0 overruns:0 frame:0
- TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:1024 (1024.0 B) TX bytes:2802 (2.7 KiB)
- route -n
- pi@raspberrypi ~ $ route -n
- Kernel IP routing table
- Destination Gateway Genmask Flags Metric Ref Use Iface
- 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
- 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
- ping 8.8.8.8
- pi@raspberrypi ~ $ ping -c3 8.8.8.8
- PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
- 64 bytes from 8.8.8.8: icmp_req=1 ttl=56 time=52.5 ms
- 64 bytes from 8.8.8.8: icmp_req=2 ttl=56 time=52.8 ms
- 64 bytes from 8.8.8.8: icmp_req=3 ttl=56 time=51.4 ms
- cat /etc/resolv.conf
- pi@raspberrypi ~ $ cat /etc/resolv.conf
- domain home.gateway
- search home.gateway
- nameserver 192.168.1.254
- ping google.com
- unknown host google.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement