pi@raspberrypi:/var/cache/apt/archives$ ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:0a:29:09
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:57 errors:0 dropped:0 overruns:0 frame:0
TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2905 (2.8 KiB) TX bytes:4177 (4.0 KiB)
lo Link encap
ocal Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
pi@raspberrypi:/var/cache/apt/archives$ ping
www.baidu.com
ping: unknown host
www.baidu.com