You are not logged in.

#1 2014-01-29 07:52:29

Lala0KjOA
Member
Registered: 2011-12-23
Posts: 123
Website

No wired connection during install

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

#2 2014-01-29 09:24:48

Lala0KjOA
Member
Registered: 2011-12-23
Posts: 123
Website

Re: No wired connection during install

(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

#3 2014-01-30 00:32:16

swapchain
Member
Registered: 2014-01-30
Posts: 2

Re: No wired connection during install

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 smile)

Last edited by swapchain (2014-01-30 03:11:13)

Offline

#4 2014-01-30 09:21:39

Lala0KjOA
Member
Registered: 2011-12-23
Posts: 123
Website

Re: No wired connection during install

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

tg4FPBs.gif



(Would it be possible to move this thread to the network section?)

Last edited by Lala0KjOA (2014-02-01 17:34:37)

Offline

#5 2014-01-30 11:54:56

Lala0KjOA
Member
Registered: 2011-12-23
Posts: 123
Website

Re: No wired connection during install

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

#6 2014-01-30 14:28:21

Lala0KjOA
Member
Registered: 2011-12-23
Posts: 123
Website

Re: No wired connection during install

Ok, now I can't modprobe r8169 either. :B

Offline

#7 2014-01-30 14:45:05

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 342

Re: No wired connection during install

I think you can safely remove what you installed (half the internet smile )
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

#8 2014-01-30 16:25:37

Lala0KjOA
Member
Registered: 2011-12-23
Posts: 123
Website

Re: No wired connection during install

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

#9 2014-01-30 16:31:37

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 342

Re: No wired connection during install

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

#10 2014-01-30 16:42:23

Lala0KjOA
Member
Registered: 2011-12-23
Posts: 123
Website

Re: No wired connection during install

r0b0t wrote:

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! smile

Offline

#11 2014-01-30 16:53:23

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,804

Re: No wired connection during install

r0b0t wrote:

I think you can safely remove what you installed (half the internet smile )
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

#12 2014-01-30 17:50:29

Lala0KjOA
Member
Registered: 2011-12-23
Posts: 123
Website

Re: No wired connection during install

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. big_smile)

Offline

#13 2014-01-30 18:45:54

swapchain
Member
Registered: 2014-01-30
Posts: 2

Re: No wired connection during install

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 smile) 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

#14 2014-01-30 22:04:07

Lala0KjOA
Member
Registered: 2011-12-23
Posts: 123
Website

Re: No wired connection during install

@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

#15 2014-01-31 11:20:33

Lala0KjOA
Member
Registered: 2011-12-23
Posts: 123
Website

Re: No wired connection during install

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

#16 2014-02-01 11:33:33

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,633
Website

Re: No wired connection during install

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).

Offline

#17 2014-02-01 19:55:20

nadman10
Member
From: Erie, PA
Registered: 2005-10-15
Posts: 200

Re: No wired connection during install

@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

#18 2014-02-02 09:39:33

Lala0KjOA
Member
Registered: 2011-12-23
Posts: 123
Website

Re: No wired connection during install

Glad to hear I'm not alone!
Unfortunately, there's nothing new for me.

Offline

#19 2014-02-02 15:10:51

nadman10
Member
From: Erie, PA
Registered: 2005-10-15
Posts: 200

Re: No wired connection during install

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

#20 2014-02-03 09:11:13

Lala0KjOA
Member
Registered: 2011-12-23
Posts: 123
Website

Re: No wired connection during install

Could you provide some links?

Edit: It works on windows XP.

Last edited by Lala0KjOA (2014-02-04 11:33:37)

Offline

#21 2014-02-04 18:04:50

nadman10
Member
From: Erie, PA
Registered: 2005-10-15
Posts: 200

Re: No wired connection during install

Sorry, It also works in Windows 7. I will try to get you some of the links I found tonight.

Offline

#22 2014-02-09 10:43:48

Lala0KjOA
Member
Registered: 2011-12-23
Posts: 123
Website

Re: No wired connection during install

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

#23 2014-02-28 20:29:32

outrobruno
Member
Registered: 2013-04-15
Posts: 4

Re: No wired connection during install

I installed aur r8168 and it woked.

There is this way to: https://bbs.archlinux.org/viewtopic.php?id=101836.

Offline

#24 2014-06-28 14:43:57

zhy2019
Member
Registered: 2014-06-28
Posts: 7

Re: No wired connection during install

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! sad

Offline

#25 2014-06-28 14:51:34

zhy2019
Member
Registered: 2014-06-28
Posts: 7

Re: No wired connection during install

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

Board footer

Powered by FluxBB