You are not logged in.

#1 2014-12-10 19:53:07

AlessandroCapello
Member
Registered: 2014-12-10
Posts: 6

Arch Linux Installation - r8169

Hi Guys,

I am currently installing Arch Linux and experience some issues with my network device (driver actually, i guess it´s the problem).


lspci -v

 Ethernet controller: .. . ... . RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09)
....
...
Kernel driver in use: r8169
Kernel modules: r8169
 

dmesg | grep r8169

r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
r8169 can´t disable ASPM; OS doesn´t have ASPM control
r8169 irq 26 for MSI/MSI-X
r8169 eth0: RTL8168f/8111f at 0xffffc9000000e000, <mac>, XID 08000800 IRQ 26 
r8169 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
r8169 enp3s0: renamed from eth0
r8169 enp3s0: link down
r8169 enp3s0: link down
r8169 enp3s0: link up

I have read that the driver "r8169" is just a pain in the ass and many guys suggest to use the "r8168" instead.

The problem that I am facing right now is that I cant access the internet so how could I install the old driver (please dont forget that I am in the installation console right now)?

regards
Alessandro

Last edited by AlessandroCapello (2014-12-11 18:04:26)

Offline

#2 2014-12-11 19:04:26

AlessandroCapello
Member
Registered: 2014-12-10
Posts: 6

Re: Arch Linux Installation - r8169

I found an older issue (sry didn´t saw this when searching through the forum/google).

Same Issue

Could maybe someone explain me why the dhcpcd service doesn´t automatically calls the dhclient to receive a IPv4 addr?

regards
Alessandro

Offline

#3 2014-12-13 06:30:21

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Arch Linux Installation - r8169

AlessandroCapello wrote:

Could maybe someone explain me why the dhcpcd service doesn´t automatically calls the dhclient to receive a IPv4 addr?

dhcpcd and dhclient are totally different things.  So the dhcpcd.service calls dhcpcd.  I have created a dhclient.service in the past and it worked just fine... but I don't think I saved it when migrating machines.

Do you have dhcpcd.service or dhcpcd@enp3s0.service enabled?  If not, the service won't actually start on boot... 

If you don't use any fancy nameserver or routing stuff, you could also look into using systemd-networkd and systemd-resolved.  It works quite well for me with my wireless (in combination with wpa_supplicant@.service)

Offline

#4 2014-12-13 20:48:40

AlessandroCapello
Member
Registered: 2014-12-10
Posts: 6

Re: Arch Linux Installation - r8169

I actually tried both. But without success. But as I said after executing dhclient I received an IPv4.
It was satisfying because I could continue my installation. The sad thing is that the installation wasnt successful at the end sad

But thanks for your reply.

regards
Alessandro

Offline

#5 2014-12-13 23:29:43

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Arch Linux Installation - r8169

You don't have to use the services to get a dhcp address.  Instead, you could simply run dhcpcd on the enp3s0 interface from the command line...

Offline

#6 2014-12-13 23:31:38

AlessandroCapello
Member
Registered: 2014-12-10
Posts: 6

Re: Arch Linux Installation - r8169

I guess by "dhcpcd enp3s0".

I did this but it didn't worked.

Offline

#7 2014-12-13 23:46:11

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Arch Linux Installation - r8169

AlessandroCapello wrote:

I guess by "dhcpcd enp3s0".

I did this but it didn't worked.

Didn't work doesn't really give any indication of what might have gone wrong.  You need to post real output if you want some actual help here.

Offline

#8 2014-12-13 23:50:35

AlessandroCapello
Member
Registered: 2014-12-10
Posts: 6

Re: Arch Linux Installation - r8169

When I run "dhcpcd enp3s0" i get an IPv6 addr. but no IPv4.

If you describe which command I should run i will post the output. I'm not that experienced
so I have to rely on your knowledge.

Offline

#9 2014-12-14 00:23:44

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,803

Re: Arch Linux Installation - r8169

Moving to Newbie Corner


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#10 2014-12-14 15:50:09

MK13
Member
From: Germany
Registered: 2014-04-12
Posts: 80

Re: Arch Linux Installation - r8169

AlessandroCapello wrote:

When I run "dhcpcd enp3s0" i get an IPv6 addr. but no IPv4.

If you describe which command I should run i will post the output. I'm not that experienced
so I have to rely on your knowledge.

You could try to disable IPv6 or using the -4 switch of dhcpcd. Not sure it helps, though.

Last edited by MK13 (2014-12-15 10:37:50)

Offline

#11 2014-12-15 17:26:09

AlessandroCapello
Member
Registered: 2014-12-10
Posts: 6

Re: Arch Linux Installation - r8169

MK13 wrote:

You could try to disable IPv6 or using the -4 switch of dhcpcd. Not sure it helps, though.

Yep tried it back then. But I didn't received an IPv4 addr either.
I guess the problem was connection to my router. The traffic is tunneled within teredo (IPv6) so it's necessary to have an IPv6 and IPv4 at the same time (rough guess).

Offline

Board footer

Powered by FluxBB