Trying to git clone a repo but receiving strange error

pi@raspberrypi ~ $ git clone git://github.com/MalcolmRobb/dump1090.git
Cloning into 'dump1090'...
fatal: unable to connect to github.com:
github.com: Name or service not known

I followed this tutorial to fix my ip on the wifi , all is working fine i can ssh to raspi on LAN and also from external IP (ports forwarded on Router).

below my actual interfaces configurations.


auto wlan0

iface lo inet loopback

iface eth0 inet dhcp

allow-hotplug wlan0

iface wlan0 inet static




wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

iface default inet dhcp
  • 1
    can you just type "ping github.com" if you get something like "host unknown" you are not connected to the internet correctly. Also try "ping" which is the IP address I get when resolving github.com
    – rob
    Jul 9 '15 at 13:22
  • Can you also edit your question and include the output of ifconfig Jul 9 '15 at 13:39

Ok seems that i was able to fix the issue adding nameservers to resolf.conf

sudo nano /etc/resolv.conf

then add the server IP of the openDNS as eg.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.