I'm using a Debian on a RaspberryPi and the problem that I'm having is that I can't connect to the Internet.
Every time I try I see a message that says "cannot resolve hostname". From the terminal, I tried:
$ ping www.google.com unknown host google.com $ ping 22.214.171.124 network is unreachable
output of 'ip addr list'
1: <LOOPBACK, UP, LOWER_UP> mt 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 vrd 00:00:00:00:00:00: inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever 2: eth0: <BOADCAST, MULTICAST, UP, LOWER_UP> mtu 1500 dis pfifo_fast state UP qlen 100 link/ether b8:27:eb:18:b9:17 brd ff:ff:ff:ff:ff:ff
This appears after doing the ifdown eth0 and ifup eth0 as drobert suggest
innet 13126.96.36.19916 brd 188.8.131.52 scope global eth0 valid_lft forevere preferred_lft forever
ip route ls
184.108.40.206/16 dev eth0 proto kernel scope link src 220.127.116.11
auto lo iface lo inet loopback iface eth0 inet dhcp address 18.104.22.168 allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.cong iface default inet dhcp
bcast: 22.214.171.124 Mask: 255.255.0.0
I try the up route list command nothing happed