Are you sure your ethernet cable isn’t bad?
Do the led’s on the raspberry pi look normal when it’s booting? The red led should be lit solid, and the green led should be going on and off while booting. If these don’t look normal you might need to re-flash your SD card (or maybe the SD card is bad).
When I’m making a new SD card for a headless raspberry pi, I create a file named
wpa_supplicant.conf in the
boot partition of the SD card with the following content:
You will need to put the SSID and PassPhrase from your WIFI setup in the above file and change the country code if you are not in the US.
Just put the SD card in your GoPiGo, boot it up, and you should be able to connect via WIFI without any further setup.
If you are using a plain Raspbian image instead of Raspbian For Robots, you will also need to put an empty file named
ssh in the
boot partion of the SD card to enable ssh (it’s enabled already in the Raspbian For Robots image).