jorge.saer
Posts: 1
Joined: Fri Dec 05, 2014 2:22 pm

No internet access

Fri Dec 05, 2014 2:27 pm

I have a Raspberry Pi B+, running under Raspbian.
I have wired it into my router , it was automatically set up via DHCP , and I can acess it through ssh.
The DNS ip is properly configured, however I don't have internet access.
Any other device connected through the same router have internet access.
Any suggestions?
Thanks in advance...

alwanbi
Posts: 17
Joined: Mon Oct 06, 2014 12:34 am
Contact: Website

Re: No internet access

Fri Dec 05, 2014 11:58 pm

I am assuming your other devices in your location have internet access? Can you ping google from the command prompt?
$ ping www.google.com
What device are you using to ssh into your pi?

Al Jones
Alan Jones

User avatar
DougieLawson
Posts: 38883
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: No internet access

Sat Dec 06, 2014 12:01 am

Please post the output from the following commands

cat /etc/network/interfaces
If using WiFi sudo cat /etc/wpa_supplicant/wpa_supplicant.conf (redact your password)
ifconfig -a
route -n # This should give you a gateway address
ping -c3 192.168.ggg.ggg # gateway address from route -n command
cat /etc/resolv.conf
ping -c3 8.8.8.8
ping -c3 google.com
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Beginners”