Page 1 of 1

No Internet Access

Posted: Sat Jun 16, 2012 8:45 pm
by jord83uk
Hi All,

I'm having problems connecting to the internet and was wondering if anyone would be able to give me a hand... My Pi is connected to my router via cable and I know that the router and cable both work, I've done some searching around and have not been successful.. Any help would be much appreciated..

Cheers

Re: No Internet Access

Posted: Sat Jun 16, 2012 9:11 pm
by SN
So you need to be methodical.
Has your pi been given an ip address? Check with ifconfig
Can you ping the router?
Can you ping 8.8.8.8 (Google)

Re: No Internet Access

Posted: Sat Jun 16, 2012 9:12 pm
by SN
If you have no ip, is dhcp setup on your router?

Re: No Internet Access

Posted: Sat Jun 16, 2012 9:31 pm
by bredman
You do not say if the problem appears before or after the command startx.

Check if your network is functional before the startx command by using
ping 8.8.8.8

Re: No Internet Access

Posted: Sun Jun 17, 2012 8:20 am
by jord83uk
Prior to startx, when i ping 8.8.8.8 it comes up with 'network is unreachable'

Re: No Internet Access

Posted: Sun Jun 17, 2012 8:33 am
by jord83uk
During ifconfig it looks like it doesn't have an ip address... also my router has been setup to enable dhcp...

Re: No Internet Access

Posted: Sun Jun 17, 2012 1:12 pm
by alexeames
Have you tried that exact router port and cable with another computer - just to eliminate those as the issue? The other thing I thought of was a router reboot. Stupid little things I know, but it could just tell you something useful.

Re: No Internet Access

Posted: Sun Jun 17, 2012 1:46 pm
by GrahamC
I believe one of the earlier SD card images had problems with DHCP, are you using the latest image ?

If DHCP won't work try a static IP address (for Debian/Raspbian modify the file /etc/networking/interfaces try 'man interfaces' for the correct syntax for this file).

Re: No Internet Access

Posted: Sun Jun 17, 2012 2:02 pm
by jord83uk
Cheers for helping guys... Ive tried connecting my laptop directly to my router and has no problems with internet access... Ill try re-flashing the sd card and installing again with a new download also to see if that helps...

Re: No Internet Access

Posted: Wed Jun 20, 2012 8:05 pm
by simonthepiman
Hi

Just in case you need instructions to setup fixed IP's try
http://www.simonthepiman.com/how_to_set ... access.php :geek:

Re: No Internet Access

Posted: Thu Jun 21, 2012 12:02 pm
by jord83uk
Thanks for the guide simonthepiman, I managed to get the internet working... seems everytime I connected my 7 port USB hub my ethernet connection would work... So at present im trying to get my Belkin F5D7050 usb wireless adaptor to work so I can use the usb ports instead of the ethernet connection! Though im not sure the Pi is powerful enough to run the adaptor!

Re: No Internet Access

Posted: Thu Jun 21, 2012 1:17 pm
by simonthepiman
Hi Jord
I had problems with a usb powered hub that wasnt powerful enough to run anything
http://www.simonthepiman.com/raspberry_power.php :geek:

Re: No Internet Access

Posted: Wed Jul 04, 2012 3:49 pm
by peterm2
jord83uk wrote:Thanks for the guide simonthepiman, I managed to get the internet working... seems everytime I connected my 7 port USB hub my ethernet connection would work... So at present im trying to get my Belkin F5D7050 usb wireless adaptor to work so I can use the usb ports instead of the ethernet connection! Though im not sure the Pi is powerful enough to run the adaptor!

This link gives the chipset for Belkin adapters. Note that you need to know the version number of your adapter. That has caught me out in the past.
http://linux-wless.passys.nl/query_part ... ame=Belkin

PM.