You are not logged in.

#1 2011-07-21 00:18:48

dinosaur
Member
Registered: 2011-07-20
Posts: 6

[Solved] Realtek Ethernet controller fails to connect.

Hey guys,
So I need help trying to get my Ethernet controller to work.

Relevant `lspci` line:

07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)

During and after the Arch Linux installation (also had same results with Linux Mint install), eth0 has been unable to connect to anything, although eth0 does in fact show up on ifconfig.

Not sure if helpful, but after `ifconfig eth0 up`, result of `dhcpcd eth0`:

dhcpcd: version 5.2.2 starting
dhcpcd: eth0: waiting for carrier
dhcpcd: timed out

I have since tried to install two of Realtek's drivers (one r8169 and another r8168), but without any positive change.

So anyways, I need help, please. Whatever you guys need me to paste in order to help troubleshoot this problem I will gladly do. I just want this problem fixed as soon as possible.

Thanks!

* EDIT. Problem was in the Ethernet cord, not the Ethernet controller. My bad.

Last edited by dinosaur (2011-07-22 21:26:48)

Offline

#2 2011-07-21 00:30:07

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Realtek Ethernet controller fails to connect.

https://wiki.archlinux.org/index.php/Co … k_messages mentions your card and says you need to blacklist the r8169 driver in modprobe.conf and reboot.

Can you post the output of 'ifconfig -a'?


You may want to try http://releng.archlinux.org/isos/ as the official isos have a pretty old kernel.

Last edited by karol (2011-07-21 00:35:24)

Offline

#3 2011-07-21 00:45:27

dinosaur
Member
Registered: 2011-07-20
Posts: 6

Re: [Solved] Realtek Ethernet controller fails to connect.

karol wrote:

https://wiki.archlinux.org/index.php/Co … k_messages mentions your card and says you need to blacklist the r8169 driver in modprobe.conf and reboot.

Yeah, I saw a lot of things like that, but I don't get any "eth0: link up" in dmesg like the wiki says.
Output of `dmesg | grep -E "(eth0|r8169)"`: http://paste.pocoo.org/show/443197/

karol wrote:

Can you post the output of 'ifconfig -a'?

Sure. http://paste.pocoo.org/show/443196/

karol wrote:

You may want to try http://releng.archlinux.org/isos/ as the official isos have a pretty old kernel.

Okay, will do.

Offline

#4 2011-07-21 01:03:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Realtek Ethernet controller fails to connect.

Wait, you have wlan running? So maybe you can just update your system - you will get the current kernel and more! :-)

Offline

#5 2011-07-21 01:13:45

dinosaur
Member
Registered: 2011-07-20
Posts: 6

Re: [Solved] Realtek Ethernet controller fails to connect.

karol wrote:

Wait, you have wlan running? So maybe you can just update your system - you will get the current kernel and more! :-)

Haha, I have updated my system with wlan0. Didn't solve the Ethernet problem though... hmm

Offline

#6 2011-07-21 01:18:24

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Realtek Ethernet controller fails to connect.

dinosaur wrote:
karol wrote:

Wait, you have wlan running? So maybe you can just update your system - you will get the current kernel and more! :-)

Haha, I have updated my system with wlan0. Didn't solve the Ethernet problem though... hmm

Just to be sure, does your updated system show you're running dhcpcd 5.2.2 (as in your first post)? We're using dhcpcd 5.2.12 atm.
Or are you saying you've just updated it?

Are you using r8168 now?

Last edited by karol (2011-07-21 01:19:01)

Offline

#7 2011-07-21 01:36:02

dinosaur
Member
Registered: 2011-07-20
Posts: 6

Re: [Solved] Realtek Ethernet controller fails to connect.

karol wrote:

Just to be sure, does your updated system show you're running dhcpcd 5.2.2 (as in your first post)? We're using dhcpcd 5.2.12 atm.
Or are you saying you've just updated it?

Sorry for the confusion. I ran those commands from the LiveCD because that was most similar to the vanilla install before I made any changes. On my actual install, I have updated packages, including dhcpcd which is at 5.2.12, and my kernel, which is at 2.6.39. Although the updates haven't really changed anything, at least as far as I can tell.

karol wrote:

Are you using r8168 now?

Yes, since my install I have experimented with other drivers, and right now I'm using Realtek's version of r8168. Found here: http://www.realtek.com/downloads/downlo … down=false
Current `dmesg | grep -E "(r8169|r8168|eth0)"`: http://paste.pocoo.org/show/443231.

*Edit: I have also blacklisted r8169 in modprobe.conf like you suggested.

Last edited by dinosaur (2011-07-21 01:39:13)

Offline

#8 2011-07-21 01:44:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Realtek Ethernet controller fails to connect.

I'm not sure what the difference is, but you can use https://aur.archlinux.org/packages.php?ID=27000

Does it work with some liveCD? Maybe it's a configuration problem.

Offline

#9 2011-07-21 03:57:27

dinosaur
Member
Registered: 2011-07-20
Posts: 6

Re: [Solved] Realtek Ethernet controller fails to connect.

karol wrote:

I'm not sure what the difference is, but you can use https://aur.archlinux.org/packages.php?ID=27000

Looks to be the exact same driver I already have installed, but I still appreciate the find.

karol wrote:

Does it work with some liveCD? Maybe it's a configuration problem.

So far I've tried it with Arch Linux and Linux Mint. Maybe I'll give some other distros like Gentoo, Fedora, or whatever will be most promising for hardware compatibilty a try.

Offline

#10 2011-07-22 21:25:37

dinosaur
Member
Registered: 2011-07-20
Posts: 6

Re: [Solved] Realtek Ethernet controller fails to connect.

Turns out the Ethernet cord I was using was messed up. Plugged in a new one and it worked. *sigh*

Offline

Board footer

Powered by FluxBB