mattfett
Posts: 4
Joined: Sat Feb 16, 2013 4:39 pm

Can't connect to the Internet through my Ethernet port

Sat Feb 16, 2013 4:41 pm

So I have the Pi up and running but can't connect to the internet.

I have the ethernet cable plugged into my router, but I don't get any of the lights on, and I'm not on the internet. When I bypass the router, and plug the cable directly into the Pi, the lights come on, but still no connection.

I had it working about a week ago, but for some reason, it doesn't want to work for me now.

Thanks

Cloudcentric
Posts: 982
Joined: Fri Sep 14, 2012 9:13 am

Re: Can't connect to the Internet through my Ethernet port

Sat Feb 16, 2013 5:03 pm

The Raspberry Pi is hardware and has no capability to connect to the Internet what-so-ever

Operating Systems do have the capability to the communicate, therefore at the command line prompt type ifconfig and post the output here please
I know everything about nothing"

mattfett
Posts: 4
Joined: Sat Feb 16, 2013 4:39 pm

Re: Can't connect to the Internet through my Ethernet port

Sat Feb 16, 2013 6:18 pm

eth0
Link encap:Ethernet HWaddr b8:27:eb:2d:aa:5e
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo
Link encap:Local Loopback
inet addr:127.0.0.1 Mask: 255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

I know the computer isn't connecting to the internet, so I'm thinking it's getting the port turned on?

Thanks

User avatar
SN
Posts: 1014
Joined: Mon Feb 13, 2012 8:06 pm
Location: Romiley, UK
Contact: Website

Re: Can't connect to the Internet through my Ethernet port

Sat Feb 16, 2013 6:43 pm

/etc/network/interfaces needs a dhcp line adding - probably set to manual at the moment

Code: Select all

iface eth0 inet dhcp
Steve N – binatone mk4->intellivision->zx81->spectrum->cbm64->cpc6128->520stfm->pc->raspi ?

mattfett
Posts: 4
Joined: Sat Feb 16, 2013 4:39 pm

Re: Can't connect to the Internet through my Ethernet port

Fri Feb 22, 2013 9:50 pm

I checked and it's in there, but still no internet.

Thanks

User avatar
SN
Posts: 1014
Joined: Mon Feb 13, 2012 8:06 pm
Location: Romiley, UK
Contact: Website

Re: Can't connect to the Internet through my Ethernet port

Mon Feb 25, 2013 11:09 am

dump the contents of your /etc/network/interfaces in a message

also does your router do any MAC address blocking - usually its on wireless connections only but I suppose its possible for wired connections
Steve N – binatone mk4->intellivision->zx81->spectrum->cbm64->cpc6128->520stfm->pc->raspi ?

mattfett
Posts: 4
Joined: Sat Feb 16, 2013 4:39 pm

Re: Can't connect to the Internet through my Ethernet port

Sat Apr 13, 2013 8:48 pm

Sorry it's been a while, I sent that Pi back and got a new one. Here's what the interfaces file says:

auto lo

iface lo inet loopback
iface etho inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.config
iface default inet dhcp

Thanks

jubatus45
Posts: 1
Joined: Sun Apr 14, 2013 9:13 pm
Location: Crestwood, KY

Re: Can't connect to the Internet through my Ethernet port

Sun Apr 14, 2013 9:16 pm

Check the power. I had a similar issue and switched from a usb/plug to plugging my USB into PC USB. Network has worked flawlessly since (granted, just a couple days).
________________________
Brad

Return to “Beginners”