Can't ping dex.local


#1

Hi John,

I received my GoBox yesterday. After I assembled my gopigo I am stuck with the part where I need to ping dex.local.

I have been reading some of the earlier posts but none seem to help.

Below is a summary of my current situation and what I have done:

  1. I am using Windows 10.
  2. The sd card that I am using has a sticker that says Dexter Raspbian for Robots 2015.11.09
  3. The red and green LEDs at the back the raspberry pi (near the sd card) are both working after I turn on the gopigo.
  4. Both LEDs on the Ethernet port of raspberry pi are working after the cable is connected to my laptop.
  5. The wifi dongle is not plugged in.
  6. When I typed “ping dex.local” on the command prompt, it returns “Ping request could not find host dex.local. Please check the name and try again.”
  7. I then obtained the ip address of my laptop ethernet, which is 169.254.195.75, and I follow your video and set the static ip of the raspberry pi to 169.254.195.76 and 169.254.195.77 on two separate occasions but on both occasions I’m getting “Destination host unreachable” after trying to ping those ip addresses. I have also used Angry IP Scanner but apart from the ip address of my laptop, it returned nothing from 169.254.195.0 to 169.254.195.255.
  8. From the Network Sharing Center on Windows, I noticed that my Ethernet Status says “No network Access” for IPv4 Connectivity. I don’t know if this matters or not. (see attached image Capture1.png).
  9. I have also borrowed a monitor that has an HDMI input and connected it to the raspberry pi. After booting it up, I can see it’s working normally, so I don’t think there is anything wrong with my sd card.
  10. Once the raspberry pi has finished booting, I opened a terminal and entered the followings:

sudo nano /etc/dhcpcd.conf
interface eth0
static ip_address=169.254.195.76

The last 2 lines were entered at the end of the file.

  1. This time after another reboot of the raspberry pi, I am still not able to ping dex.local from my laptop. But I was able to ping the ip address 169.254.195.76. I then enter that ip address on my browser and was able to see the page that says " Welcome to Raspbian for Robots" (see attached image Capture2.png). However, after I clicked on the link that says “VNC (Desktop)” it took me to another page that says failed to connect to server (code: 1006). (see attached image Capture3.png).

Now I’m totally stuck and not sure what to do. As I am not an expert on linux, is there a video or written instructions on how to configure the networking aspect of the raspberry pi?

Thanks for your help and sorry for the long post.


#2

Since you have access to a monitor and keyboard (you’ll need a mouse too), you can skip the Ethernet connection, and set the wifi directly on the Pi.
Would that be a possibility for you?

Remove the ethernet cable
plug in the wifi dongle

You’ll have to undo those changes:
sudo nano /etc/dhcpcd.conf
interface eth0
static ip_address=169.254.195.76

Start the Wifi setup


You can start following the instructions from here:
http://www.dexterindustries.com/GoPiGo/getting-started-with-your-gopigo-raspberry-pi-robot-kit-2/1-assemble-the-gopigo-2/assemble-gopigo-raspberry-pi-robot/1-assemble-the-gopigo2/2-connect-the-gopigo2/3-set-up-wifi-on-the-gopigo2/
right after the image like the one I pasted here.

Let us know if this is something that works for you?


#3

Hi CleoQc,

Thanks for your reply.

I removed those lines from dhcpcd.conf and setup my wifi connection by directly connecting the monitor, keyboard and mouse to the raspberry pi. Have managed to connect GoPiGo to my wifi network and able to ping it by using the IP address assigned by the router.

However, it is still not responding to “ping dex.local” which I think may be caused by the webserver not running properly on raspberry pi hence we cannot find the host.

Anyway, I downloaded the latest image (2016.03.28-Dexter_Industries_wheezy) for the sd card and somehow managed to get everything working!! hooray!!

The only minor problem I encountered after that was the VNC connection from the web browser. The connection was a bit unstable for most of the time. But this was fixed by downloading the VNC Viewer onto my pc and I was able to maintain a stable connection to my GoPiGo.

Anyway, I just want to say a big thank you to all of you. Those earlier forum posts really help a lot and I look forward to doing my future missions :slight_smile: