meiuqer
Posts: 4
Joined: Fri Nov 22, 2013 4:55 pm

LINK-LED is on but internet doesnt work?

Fri Nov 22, 2013 4:58 pm

Hi, im new to raspberry. I'm trying to connect to internet but it doenst seem to work. the LINK led is on, cable plugged in. But Midori keeps saying "cannot resolve hostname"
what can i do here? only thing i could think of was rebooting but that didnt work

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5645
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: LINK-LED is on but internet doesnt work?

Fri Nov 22, 2013 9:47 pm

meiuqer wrote:Hi, im new to raspberry. I'm trying to connect to internet but it doenst seem to work. the LINK led is on, cable plugged in. But Midori keeps saying "cannot resolve hostname"
what can i do here? only thing i could think of was rebooting but that didnt work
What are the FDX and 100 LEDs doing?
Can you post the output of "ifconfig"?
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

meiuqer
Posts: 4
Joined: Fri Nov 22, 2013 4:55 pm

Re: LINK-LED is on but internet doesnt work?

Sat Nov 23, 2013 4:45 pm

http://imgur.com/h62sRX1
thats the ifconfig's result
and the other leds are all shining bright

User avatar
DeeJay
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: LINK-LED is on but internet doesnt work?

Sat Nov 23, 2013 4:55 pm

It seems odd that your RPi has not transmitted any data to the local network. (So it has not requested, or been allocated, an IP address.)

Can we deal with a few more bits of basic information please?

What Operating System are you running on the RPi?

What is the 'other' (ie. distant from the RPi) end of the ethernet cable plugged into?

Are you confident that the ethernet cable and the port you are plugging it into are in working condition?

Are you connecting up the ethernet cable at both ends and THEN rebooting the RPi?
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

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

Re: LINK-LED is on but internet doesnt work?

Sat Nov 23, 2013 8:15 pm

Are there green (& orange) lights on both ends of the cable?
Have you tried another cable (just in case)?
What happens if you try

Code: Select all

ifdown --force eth0
ifup eth0
If you know the details of your network (gateway address (192.168.x.y), netmask (255.255.255.0) etc.) [see below †]. Then try

Code: Select all

ifconfig eth0 up
ifconfig eth0 192.168.1.200 netmask 255.255.255.0
to configure it manually.

Can you ping 192.168.1.1 (or 192.168.0.1 if that's your gateway address)?
† Can you look at the network config on a Windows machine, open a command window and use

Code: Select all

ipconfig /all
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.

meiuqer
Posts: 4
Joined: Fri Nov 22, 2013 4:55 pm

Re: LINK-LED is on but internet doesnt work?

Sun Nov 24, 2013 12:46 am

Answers to the questions:

Running a raspbian OS.

The 'other' is, i think, my driver from my wireless usb dongle but it wasn't plugged in. Is that wierd? Anyways, the dongle also usually doesnt work but i would like to get it to work via cable first.

Cable works, i'm on it right now :)

yes tried rebooting several times with cable plugged in correctly.

Thanks for taking the time to answer my questions guys! i will try DougieLawson's advice tomorrow.

User avatar
DeeJay
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: LINK-LED is on but internet doesnt work?

Sun Nov 24, 2013 7:57 am

meiuqer wrote: The 'other' is, i think, my driver from my wireless usb dongle but it wasn't plugged in. Is that wierd? Anyways, the dongle also usually doesnt work but i would like to get it to work via cable first.
Yes, that sounds weird! I would expect the other end of the ethernet cable to go to an rj45 socket on an ethernet switch or router. I don't understand how you could plug it into a wifi dongle. Maybe I have misunderstood your answer. When you use the same cable to contact the RPi forum, what are the devices at the two ends of the cable connected to?

Your question was about getting a network connection via the ethernet cable - lets leave wifi for another topic or we shall get confused...
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

meiuqer
Posts: 4
Joined: Fri Nov 22, 2013 4:55 pm

Re: LINK-LED is on but internet doesnt work?

Mon Nov 25, 2013 2:11 pm

yes this could also be the router. cable goes to switch and then to a router. or maybe the switch is also a router i dunno.

anyhow i dont have acces to the router and im actually moving so im will test it on another router, maybe it will work then.

Thanks for the help!

Return to “Beginners”