Error: couldn't resolve host 'github.com'


#1

I’m trying to clone the python or scratch repos from github onto the brick pi - although I can connect to the brick pi with an ethernet cable, and my computer is connected to the internet, the brick pi is not connected to the internet…
Not sure what I’m doing wrong here - just an ordinary home wifi setup…
I thought I followed all the instructions, but probably something silly I’m not thinking of - can anyone suggest what I’m doing wrong?

When I run …
git clone https://github.com/DexterInd/BrickPi_Python.git
…I get…
Cloning into ‘BrickPi_Python’…
error: Couldn’t resolve host ‘github.com’ while accessing 'https://github.com/DexterInd/BrickPi_Python.git/info/refs
fatal: HTTP request failed


#2

Sounds like the problem is that you’re not connected to the internet.

There’s a way you can “bridge” between your ethernet and your wifi network on your computer.

The easiest way though is to use a wifi dongle on the RPi. You can set it up by going into /etc/network/interfaces and adding your settings. WE have it preconfigured to be a static IP; so you may want to choose an IP address that works on your WiFi network.

After that, you should be able to clone the git!