Renvy
Posts: 4
Joined: Thu Jul 05, 2012 6:46 pm

ethernet

Thu Jul 05, 2012 6:50 pm

Hello,
Yesterday I received my Raspberry Pi machien and I installed debian squeze on it. However when connecting an ethernet cable and tried browsing to google without luck?

Any help?

User avatar
alexeames
Forum Moderator
Forum Moderator
Posts: 2869
Joined: Sat Mar 03, 2012 11:57 am
Location: UK
Contact: Website

Re: ethernet

Thu Jul 05, 2012 7:13 pm

Not enough information to help.

Were you in a graphical environment (LXDE) or command line?
What browser were you using? (Midori?)
What was plugged in at the other end of the ethernet cable? Router? Other PC? Nothing?

Basically, if you want help, you need to tell us exactly what you did or we won't be able to tell you why it didn't work. :D
Alex Eames RasPi.TV, RasP.iO

Renvy
Posts: 4
Joined: Thu Jul 05, 2012 6:46 pm

Re: ethernet

Fri Jul 06, 2012 12:41 pm

Hope This helps:

I was using LXDE. I connected ethernet through a dlink Powerline: http://goo.gl/zvDC9
Then I checked with Midori.

User avatar
alexeames
Forum Moderator
Forum Moderator
Posts: 2869
Joined: Sat Mar 03, 2012 11:57 am
Location: UK
Contact: Website

Re: ethernet

Fri Jul 06, 2012 9:08 pm

Renvy wrote:Hope This helps:

I was using LXDE. I connected ethernet through a dlink Powerline: http://goo.gl/zvDC9
Then I checked with Midori.
OK. Have you checked that cable and powerline connection (in the same power socket) with a known good computer? i.e. can you be sure that the connection is working properly? I presume the other end is plugged into a router, which is working with your other computers?
Alex Eames RasPi.TV, RasP.iO

Renvy
Posts: 4
Joined: Thu Jul 05, 2012 6:46 pm

Re: ethernet

Tue Jul 10, 2012 10:21 pm

The connection definately works, my dad uses it all the time on kubuntu.

User avatar
alexeames
Forum Moderator
Forum Moderator
Posts: 2869
Joined: Sat Mar 03, 2012 11:57 am
Location: UK
Contact: Website

Re: ethernet

Wed Jul 11, 2012 11:50 am

OK, what about the ethernet cable? Did you use a known good one?
Do other web sites work?
Perhaps it's an issue with LXDE? You can test this by logging into the Pi and then, instead of typing startx, type

Code: Select all

sudo apt-get update
This will download and update your package lists (without changing any software).
If your connection is faulty that process will fail.
If it works, your issue is something to do with LXDE or midori.

This will eliminate the "faulty connection" possibility altogether.
Alex Eames RasPi.TV, RasP.iO

User avatar
rurwin
Forum Moderator
Forum Moderator
Posts: 4258
Joined: Mon Jan 09, 2012 3:16 pm
Contact: Website

Re: ethernet

Wed Jul 11, 2012 12:09 pm

Those powerline adapters are not foolproof. A colleague at work has been swearing about them for a week now. He finds they work in socket A, but not socket B, and then when he swaps them back, they've stopped working in socket A.

One thing he has definitely discovered is that they do not work when plugged into an extension cable.

Invest in a good Ethernet cable, just for test purposes if for nothing else. Or move your RaspPi over to near the router and plug in directly.

Renvy
Posts: 4
Joined: Thu Jul 05, 2012 6:46 pm

Re: ethernet

Wed Jul 11, 2012 2:30 pm

Ok so, here's what I did:
I used a very long (like 4 meters or 13 feet) ethernet cable and connected the raspberry pi directly with the modem. I tested it with midori and by typing sudo apt-get update at startup. This gave me a long list of:
failed to fetch...
...
Some index files failed to download.

I tried googling something in midori, this worked the first time after waiting a long time (like 5 minutes). but when reloading, this failed multiple times.

So I thought maybe the cable is defect or simply too long. I moved the pi and tv closer to the modem and used a shorter and newer cable. This gave the same effect (except midori also did not work).

All these cables work with my regular pc. I used them all multiple times so I don't think their defect.

The reason I need internet is because I'm no good with tar.bz2 files to install software.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26442
Joined: Sat Jul 30, 2011 7:41 pm

Re: ethernet

Wed Jul 11, 2012 3:03 pm

Ethernet cables can be very long indeed, so that's no the problem.

Can you try a different power supply? And also the Debian Wheezy build of distro - that is much better and has some software fixes for various things.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

PaulCheffus
Posts: 381
Joined: Tue May 29, 2012 2:51 pm
Location: Lincolnshire UK

Re: ethernet

Wed Jul 11, 2012 6:01 pm

rurwin wrote:
One thing he has definitely discovered is that they do not work when plugged into an extension cable.
Hi

Must depend on the brand then as I am using three (DLink) and one is plugged into an extension lead without any issues.

Cheers

Paul
Procrastination - The Thief of Time.

itimpi
Posts: 1090
Joined: Sun Sep 25, 2011 11:44 am
Location: Potters Bar, United Kingdom
Contact: Website

Re: ethernet

Thu Jul 12, 2012 10:01 am

I use them in extension leads without problems as long as the extension lead is not fitted with a surge protector.

PetterKun
Posts: 4
Joined: Thu Jul 12, 2012 3:48 pm

Re: ethernet

Thu Jul 12, 2012 3:52 pm

I have the same problem. I can't connect to the internet but I can ping another device connected to the same network.

Any idea? Thanks.

chadtrh
Posts: 6
Joined: Thu Jul 12, 2012 6:26 pm

Re: ethernet

Thu Jul 12, 2012 6:29 pm

PetterKun wrote:I have the same problem. I can't connect to the internet but I can ping another device connected to the same network.
This is probably a routing issue. Do you know if you are using a static IP (one you set yourself) or a DHCP IP (one automagically assigned to you).

What is the output of

Code: Select all

netstat -rn

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: ethernet

Fri Jul 13, 2012 12:08 am

Could also be a DNS issue - check the contents of /etc/resolv.conf

User avatar
abishur
Posts: 4477
Joined: Thu Jul 28, 2011 4:10 am
Location: USA
Contact: Website

Re: ethernet

Fri Jul 13, 2012 1:41 am

Can you ping the device before you go into LXDE?
Dear forum: Play nice ;-)

timmoore46
Posts: 266
Joined: Tue Jul 17, 2012 4:36 pm

Re: ethernet

Tue Jul 17, 2012 4:40 pm

I have the same problem.

I can ping ok but Modori has once got into google once and that was that !

No browser internet yet !

Any ideas anyone ?

:cry: :cry: :cry:

Tim

timmoore46
Posts: 266
Joined: Tue Jul 17, 2012 4:36 pm

Re: ethernet

Thu Jul 19, 2012 5:53 pm

Looks like Raspian may well solve all my problems !

So its launch has made my questions redundant ! (I hope ! )

:D :D :D

tim

PetterKun
Posts: 4
Joined: Thu Jul 12, 2012 3:48 pm

Re: ethernet

Thu Jul 19, 2012 6:19 pm

Raspbian solve all my problems.

Thanks all!

timmoore46
Posts: 266
Joined: Tue Jul 17, 2012 4:36 pm

Re: ethernet

Fri Jul 20, 2012 5:53 am

My Ethernet problem was down to my 7 port usb hub !

Once evicted all was well !

:D :D :D :D :D :D

Tim

Return to “Beginners”