I just got a Raspberry pi 3B yesterday, and I've been planging around with it quite a bit. I did run into one issue: the pi can't connect to the outside internet.
I have the pi connected to my router with a cat7 ethernet cable. The cable works as it should when I plug it into my desktop. I am running Raspbian from an 8 GB sd card. I have the pi configured with a static IP address so I can easily establish an SSH connection. I can connect to it with SSH end VNC, but I can't access websites. When i try to ping www.google.com it returns:
However, when I ping my router's IP it does work.
When i ping other devices on my network it also doesn't work, but it doen not return an error. It just takes too long for my patience.
I have played around with the /etc/network/interfaces file. These are the contents:
I also have one other issue, the pi wont connect to wifi through neither the grafical interface nor the command prompt. This is of course with the ethernet cable disconnected. It doesn't list any acces points in the grafical inteface, but it does list some acces point when I use sudo iwlist wlan0 scan
Can anyone help me fix this?
Sincerely, Julian Sanders
/etc/dhcpcd.conf
? I suspect that your dns is not working, but can't help until you show us on how you configure your network. – hcheung Mar 27 '17 at 09:52