You are not logged in.
Hey guys so I've searched the forums as well as googled my problem with no success. It seems to detect my card...
I have a built in Realtek NIC RTL8111/8168B PCI Express Gigabit Ethernet Controller
Kernel driver in use: r8169
Kernel modules: r8169
I tried:
# modprobe 8169
Then I added r8169 to MODULES array in rc.conf
lsmod shows:
r8169 42643 0
nii 3995 1 r8169
dhcpcd times out as well.
I checked my cable connection. It worked fine on my Ubuntu but not on fresh arch install. I've read all manner of solutions out there, but one I can't apply is the downloading for drivers since I have no connection.
Please help me with this problem. I've been struggling for 8 hours already....
Offline
The correct order would be:
* modprobe r8169
* ip link set dev eth0 up
* dhcpcd eth0
If this doesn't work, tell us wat dmesg shows after inserting the module. Is an interface detected?
Offline
This thread might help: https://bbs.archlinux.org/viewtopic.php?id=132795
You can download r8168 from aur using a livecd if necessary?
Offline
THANK YOU SPIDER.007!
I just got on to ask about this. I read through https://bbs.archlinux.org/viewtopic.php?id=141420 but wasn't able to get it working; I'd been installing from a CD instead of a net install. Much appreciated! So odd that Arch's wired net doesn't work out of the box.
Offline
It should work out of the box really from CD with that NIC and driver, but some PCs seem to have odd troubles with the card. Take it out of the rc.conf modules array again though.
You need to give more information of what is not working as Spider.007 asked.
AFter booting execute the commands Spider.007 said like this:
rmmod r8169
modprobe r8169
ip link set dev eth0 up
dhcpcd eth0
and then look at the output of
dmesg | grep eth
and
less /var/log/everything.log | grep eth
Give details about errors here or if you are unsure about the output then please.
Offline
Is there anyway to set the machine up so that it runs --
ip link set dev eth0 up
dhcpcd eth0
-- right after the machine boots? Because it fixes the network, but the configuration doesn't stay through a reboot.
Offline
I've essentially tried the commands shown but I tried it again since certain commands seem to have different.
I also read the post that palegray mentioned.
I invoked:
# modprobe -r r8169
# modprobe r8169
# ip link set dev eth0 up
# dhcpcd eth0
Output:
dhcpcd[845]: version 5.2.12 starting
dhcpcd[845]: eth0: waiting for carrier
dhcpcd[845]: timed out
So I invoked:
# dmesg | grep eth0
Output:
[ 3.661496} r8169 0000:02:00.0: eth0: RTL8168c/8111c at 0xffffc9000037e000, 00:24:1d:8e:78:db, XID 1c4000c0 IRQ 42
[ 7.411390] r8169 0000:02:00.0: eth0: link down
[ 7.411398] r8169 0000:02:00.0: eth0: link down
[ 100.370326} r8169 0000:02:00.0: eth0: RTL8168c/8111c at 0xffffc9000037e000, 00:24:1d:8e:78:db, XID 1c4000c0 IRQ 42
[ 100.332749] r8169 0000:02:00.0: eth0: link down
[ 100.332761] r8169 0000:02:00.0: eth0: link down
Tried # less /var/log/everything.log | grep eth0 and the output is the same as above. (only difference being the time showing of when it happened)
@stryder
Thanks for the link but i don't see how it helps me because i STILL don't have internet access after i blacklist r8169..
Last edited by Zenogias (2012-05-23 22:55:00)
Offline
If you blacklist r8169 it is only to use r8168 which you can get from aur (though now that I checked they seem to be all for special kernels). I was suggesting that perhaps you can use a livecd and chroot.
Offline
Thanks.
I tried to get connection in the live environment right before I read your post and i'm still receiving same errors when i do:
# dhcpcd eth0
even after
# ip link set eth0 up...
I really hate my problem...
Offline
I thought ubuntu worked? You could install another network card and save yourself some trouble. Anyway hopefully someone else can help.
Offline
I've used my ubuntu for almost 4 years now, I had absolutely no problems detecting the card and it's worked fine until now.
Your solution is the easy way out, but at this point, I'm really tempted to do that because I fear that there is no solution to my issue.
Offline
Yes, I thought you would have an ubuntu livecd lying around. FYI I have the same builtin gigabit ethernet controller. I use the LTS kernel. Works fine with r8169.
Offline
Recetly I had a problem with my PCI adapter which I couldn't figure out the reason at first.
later, it turned out to be a problem with the speed and duplex setting of the interface.
if you have mii-tool or ethtool check
#mii-tool <iface> (or)
#ethtool <iface>
See man mii-tool for a list of the speed and duplex settings available.
the settings can be changed by
# mii-tool -F <setting> <iface> (or)
#ethtool -s <iface> speed < > duplex < > autoneg < >
see ethtool -h
Offline