I am attempting to set up a headless raspberry Pi 3 unit that I can SSH into via a direct Ethernet connection to my main PC running Ubuntu. Unfortunately my Pi is unable to connect to the internet which renders it useless for what I am trying to set up (small scale testbench).
I had (at one point) managed to get it to access the internet via the built in wifi, however after a routine reboot the device failed to connect.
When I have the pi connected to a screen I can see that it is connected to the wifi and that it should be able to reach the internet. However pinging the router responds with "Destination Host Unreachable". Additionally, the Pi can ping my PC and my PC can ping the Pi. The Pi can also ping my mobile devices. For some reason the router's IP address is the only address that the Pi is unable to ping.
My setup details:
Ubuntu PC:
- Running 14.04 LST
- IP address (found using hostname -I) is 192.168.0.9
Raspberry Pi:
- Running Raspbian Jessie
- IP address (found using hostname -I) is 169.254.9.9 and 192.168.0.24
- Using arp -a gives me 4 IP addresses. The router (192.168.0.1) at <"incomplete"> on eth0, my mobile device and my PC on wlan0, and the router again on wlan0.
Router:
- IP address is 192.168.0.1
- No other changes from default settings
I have the Raspberry Pi connected to my PC with a standard Ethernet cable. I also have the wifi enabled on the Raspberry Pi and have a wifi card installed in my PC.
iwconfig
and see ifMode:Managed
? if not then your setup must be incorrect somewhere.