You are not logged in.

#1 2021-06-14 14:34:12

gh0stzk
Member
Registered: 2020-03-28
Posts: 33

[Resolved] dhcpcd & NetworkManager

Hello, i have ethernet connection. In a fresh install i always install dhcpcd and networkmanagers packages.

I read dhcpcd is for manage dns, correctly? And i read too that if i have NetworkManager its not necessary install dhcpcd, because networkmanager handless the dns stuff.

Is that correct?

Last edited by gh0stzk (2021-06-14 17:50:22)

Offline

#2 2021-06-14 15:54:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,442

Re: [Resolved] dhcpcd & NetworkManager

You must not run networkmanager and dhcpcd, they will fight over the NIC.
NM can use dhcpcd as backend (see wiki) but this was disabled for ~1 year and while it's possible again after some networkmanager patches, there've been quite some recent posts reporting this to fail, https://bbs.archlinux.org/viewtopic.php?id=266574
Networkmanager has an internal dhcp client, but you can also use dhclient as backend (where there're no known issues) - so no: you do not need to install dhcpcd if you're using networkmanager.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#3 2021-06-14 15:54:28

kermit63
Member
Registered: 2018-07-04
Posts: 372

Re: [Resolved] dhcpcd & NetworkManager

gh0stzk wrote:

if i have NetworkManager its not necessary install dhcpcd,

Correct

I read dhcpcd is for manage dns

Inaccurate. dhcpcd alone is enough for you to connect to the internet via ethernet. No need for networkmanager at all. In fact, enabling both dhcpcd and networkmanager can cause conflicts/problems with your internet connection.

edit: oops, didn't see seth's response before pressing submit.

Last edited by kermit63 (2021-06-14 15:55:34)


Never argue with an idiot, they will drag you down to their level and then beat you with experience.
It is better to light a candle than curse the darkness.
A journey of a thousand miles begins with a single step.

Offline

#4 2021-06-14 17:49:59

gh0stzk
Member
Registered: 2020-03-28
Posts: 33

Re: [Resolved] dhcpcd & NetworkManager

Thank u for ur replys, i will unistall dhcpcd.

Offline

Board footer

Powered by FluxBB