You are not logged in.
Hi all,
I'm trying to install arch on a new computer, but can't connect to the internet via ethernet. I must say I'm surprised. Could anyone help me with this ?
I did read the beginner's guide, the installation guide, and the wiki on network configuration.
# lspci -v
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
Subsystem: ASUSTeK Computer Inc. Device 8554
Flags: bus master, fast devsel, latency 0, IRQ 42
I/O ports at e000 [size=256]
Memory at f7c00000 (64-bit, non-prefetchable) [size=4K]
Memory at f0000000 (64-bit, prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
Capabilities: [170] Latency Tolerance Reporting
Kernel driver in use: r8169
Kernel modules: r8169
# dmesg | grep r8169
[ 1.655141] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 1.655146] r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 1.666972] r8169 0000:03:00.0: irq 42 for MSI/MSI-X
[ 1.668605] r8169 0000:03:00.0 eth0: RTL8168g/8111g at 0xffffc90000628000, d8:50:e6:4d:70:c1, XID 0c000800 IRQ 42
[ 1.668607] r8169 0000:03:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 6.185379] r8169 0000:03:00.0 enp3s0: link down
[ 152.527386] r8169 0000:03:00.0 enp3s0: link up
# ifconfig
enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::da50:e6ff:fe4d:70c1 prefixlen 64 scopeid 0x20<link>
ether d8:50:e6:4d:70:c1 txqueuelen 1000 (Ethernet)
RX packets 1 bytes 62 (62.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 15 bytes 2104 (2.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
(How do I redirect the output of dhcpcd and/or dhclient to a file? :B)
The most I could do was with dhclient and IPv4, I got a dhcpoffer once or twice, but it wasn't accepted, and dhclient timed out.
I even had no connection when I tried to add a static ip as described the wiki, but it was late, maybe I was too tired to think straight.
Thanks a lot for your help!
Last edited by Lala0KjOA (2014-01-29 09:34:56)
Offline
(I wasn't sure if I had to post it here or in the network section, since it happens with the iso. Sorry if this is the wrong place.)
I'll try r8168 as suggested here and there.
Last edited by Lala0KjOA (2014-01-29 09:53:53)
Offline
I am experiencing the same exact problem.
Update
I found this topic https://bbs.archlinux.org/viewtopic.php?id=175990 and tried to run dhcpcd in a test mode and successfully got my IP.
So, the solution is to use dhclient, but it somehow disappointing after so much time spent trying to figure out what`s wrong. (oh, i suck at english )
Last edited by swapchain (2014-01-30 03:11:13)
Offline
It's not working for me.
dhclient
Listening on LFP/enp3s0/d8:50:e6:4d:70:c1
Sending on LFP/enp3s0/d8:50:e6:4d:70:c1
Sending on Socket/fallback
DHCPDISCOVER on enp3s0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on enp3s0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on enp3s0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on enp3s0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on enp3s0 to 255.255.255.255 port 67 interval 15
DHCPREQUEST on enp3s0 to 25.255.255.255 port 67
DHCPOFFER from 192.168.0.254
DHCPREQUEST on enp3s0 to 25.255.255.255 port 67
DHCPDISCOVER on enp3s0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on enp3s0 to 255.255.255.255 port 67 interval 5
DHCPREQUEST on enp3s0 to 25.255.255.255 port 67
DHCPOFFER from 192.168.0.254
DHCPREQUEST on enp3s0 to 25.255.255.255 port 67
DHCPDISCOVER on enp3s0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on enp3s0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on enp3s0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on enp3s0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on enp3s0 to 255.255.255.255 port 67 interval 6
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
dhcpcd
dhcpcd[1409]: version 6.1.0 starting
dhcpcd[1409]: enp3s0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks' PREINIT
dhcpcd[1409]: enp3s0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks' CARRIER
dhcpcd[1409]: enp3s0: using ClientID ff:00:00:00:02:00:01:00:01:1a:7f:ee:3b:d8:50:e6:4d:70:c1
dhcpcd[1409]: enp3s0: soliciting a DHCP lease
dhcpcd[1409]: enp3s0: sending DISCOVER (xid 0x1f89c3b2), next in 4.21 seconds
dhcpcd[1409]: enp3s0: sending DISCOVER (xid 0x1f89c3b2), next in 8.30 seconds
dhcpcd[1409]: enp3s0: sending DISCOVER (xid 0x1f89c3b2), next in 16.11 seconds
dhcpcd[1409]: enp3s0: sending DISCOVER (xid 0x1f89c3b2), next in 31.75 seconds
dhcpcd[1409]: offered 192.168.0.5 from 192.168.0.1
dhcpcd[1409]: enp3s0: sending DISCOVER (xid 0x1f89c3b2), next in 4.18 seconds
dhcpcd[1409]: timed out
dhcpcd[1409]: exited
Also, I installed r8168 from the Community repo, but
modprobe: ERROR: could not insert 'r8168': Exec format error
[2081.177082] r8168: disagrees about version of symbol module_layout
(Would it be possible to move this thread to the network section?)
Last edited by Lala0KjOA (2014-02-01 17:34:37)
Offline
Ok, I just manually installed half of the whole internet to compile the version from AUR. Not working. But modprobe doesn't even bother to tell what's wrong¸ even in debug/verbose/whatever mode, I just have the exit status 1 and the :( in zsh.
:(, that's the spirit.
Offline
Ok, now I can't modprobe r8169 either. :B
Offline
I think you can safely remove what you installed (half the internet )
enp3s0 is not a normal interface name,
I found https://bugs.archlinux.org/task/33528 , and if you keep in that direction, (search with the interface name) you will probably solve this.
I think it's just a conflict on the naming which cause the problem,
Offline
Actually, enp3s0 is a normal name, it's the new interface naming with systemd 197. I don't think there are conflicts, my interface has the same name everywhere. But thanks!
Offline
Well, I have the same hardware :
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
Subsystem: Hewlett-Packard Company Device 3581
Flags: bus master, fast devsel, latency 0, IRQ 46
I/O ports at 4000 [size=256]
Memory at c0404000 (64-bit, prefetchable) [size=4K]
Memory at c0400000 (64-bit, prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169
Except the rev, and the interface is eth0 although my system is fully updated. (systemd 208-10)
If you google that interface name you will find pretty similar problems out there, I'v checked, it's only that I'm with a broken leg, flue, and God knows what else right now and I'm not concentrated enough to look for the solution
Offline
and the interface is eth0 although my system is fully updated. (systemd 208-10)
It's automatic for new installations, and just an opt-in for existing ones.
But I guess I can still try to revert back to the old naming scheme and see if it changes anything.
Get well soon!
Offline
I think you can safely remove what you installed (half the internet
)
enp3s0 is not a normal interface name,
I found https://bugs.archlinux.org/task/33528 , and if you keep in that direction, (search with the interface name) you will probably solve this.
I think it's just a conflict on the naming which cause the problem,
r0b0t, you might want to do some reading about persistent interface naming as it is used by current versions of systemd once you feel a bit better. enp3s0 is a normal interface name and is not the problem.
@Lala0KjOA, I would try disabling IPv6: https://wiki.archlinux.org/index.php/IPv6#Disable_IPv6
Last edited by Scimmia (2014-01-30 17:00:18)
Offline
Thanks Scimmia! I will try these solutions (unless they need a reboot).
(Disabling IPv6 is more or less what I tried to do (by adding noipv6rs in dhcpcd.conf, with dhclient command line option). I also enabled IPv6 on my router. But, again, maybe I wasn't that cool-headed and methodical. )
Offline
I believe the problem IS in IPv6 (and the problem is appeared after naming change), but disabling it won`t help (at least it didn`t in my case).
However, when I`ve installed dhclient (this was not easy for an absolute linux beginner to find the way to install package in offline mode ) i was been able to simply put "dhclient enp3s0" and then successfully ping google.
So now I can finally proceed to install my Arch.
Offline
@Scimmia: I followed the instructions and disabled IPv6 (kernel line, sysctl, hosts...), and I still can't make it work. But thanks.
I also retried to get a static IP, and I can't even ping my own router.
Offline
No connection on the Ubuntu 12.04 Live CD either (also with r8169), could it be a hardware issue then?
For information : on Ubuntu, when IPv6 is disabled, dhclient returns "No DHCPOFFERS received" (even though there are dhcprequests and dhcpoffers).
But dhclient gives me an IP.
nm-applet says I'm connected.
I can't ping my router at all when dhclient is sleeping. But I could ping it while it was running (137 packets transmitted, 7 received, 94% packet loss).
With IPv6 enabled, nm-applet says I'm not connected.
Last edited by Lala0KjOA (2014-01-31 11:32:50)
Offline
Moved to the networking section as requested.
@LalaOKjOA
Please use the edit button to append information to your previous post when it is the last post in the thread. Bumping the thread with unnecessary new posts is against our forum policy (linked in my sig).
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
@Lala0KjOA: Any update? I just installed a new board and I'm having the exact same issue with it's RTL8111/8168 rev 06.
Offline
Glad to hear I'm not alone!
Unfortunately, there's nothing new for me.
Offline
From what I have seen around other forums, It greatly depends on the revision number of the hardware.I tried compiling the drivers from RealTek, but had no luck with those either. I gave up and ordered a PCI NIC last night with an RTL8000 chipset.
Offline
Could you provide some links?
Edit: It works on windows XP.
Last edited by Lala0KjOA (2014-02-04 11:33:37)
Offline
Sorry, It also works in Windows 7. I will try to get you some of the links I found tonight.
Offline
I would like to try the kernel in 'testing' as suggested somewhere, but I just don't know how.
I'm trying this : https://wiki.archlinux.org/index.php/Re … nstall_ISO
I followed the steps without getting errors but I can't boot on the custom iso.
I wouldn't have thought it would be so difficult.
I will try this instead https://wiki.archlinux.org/index.php/Of … ed_example
with [testing] enabled.
If I fail, I will buy CDs and try Gentoo, as they're supposed to have the last kernel. And if this also fails, I'll just give up and order another card.
Last edited by Lala0KjOA (2014-02-09 13:11:43)
Offline
I installed aur r8168 and it woked.
There is this way to: https://bbs.archlinux.org/viewtopic.php?id=101836.
Offline
does anybody knows the solution?
i'm getting mad...
i downloaded the offcial r8168 source, compiled and installed to replace r8169.
But r8168 only gives an ipv6 link. I tried to ping6 an ipv6 addr and it works.
I tried dhcpcd/dhclient, netctl, systemctl, ip addr add cmd etc., the interface still can't work in ipv4!
I find a bug report here. http://serverfault.com/questions/384165 … ot-come-up
Hope sb can help!
Offline
I've seen outrobruno's aur r8168. The dependencies are linux>=3.15 & linux <3.16, but the source code inside the PKGBUILD is the same with mine.
So is there a difference?
I used the drvier for arch installing iso: archlinux-2014.06.01-dual.iso. Its kernel version is 3.14.4-1-ARCH.
33333333333q for help
Offline