I connected my Raspberry Pi to my laptop via an ethernet cable.
SSH works fine, i can log into the pi and navigate its filesystem.
ping fails with every host name (except pinging
sudo apt-get update fails as well.
tried to ping
220.127.116.11 but got
connect: Network is unreachable
I couldn't find any working solution for this.
Here is the log from both commands above:
sudo apt-get update:
pi@raspberrypi:~ $ sudo apt-get update Err http://mirrordirector.raspbian.org jessie InRelease Err http://archive.raspberrypi.org jessie InRelease Err http://mirrordirector.raspbian.org jessie Release.gpg Could not resolve 'mirrordirector.raspbian.org' Err http://archive.raspberrypi.org jessie Release.gpg Could not resolve 'archive.raspberrypi.org' Reading package lists... Done W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/InRelease W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/InRelease W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/Release.gpg Could not resolve 'mirrordirector.raspbian.org' W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/Release.gpg Could not resolve 'archive.raspberrypi.org' W: Some index files failed to download. They have been ignored, or old ones used instead.