LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-17-2016, 08:44 AM   #1
af7567
Member
 
Registered: Nov 2012
Posts: 290

Rep: Reputation: 98
Should dhclient be the default when used with NetworkManager?


I just upgraded a laptop from 14.1 to 14.2 and couldn't get it to connect to the internet. It took me a while to remember a problem I had before where dhcpcd* doesn't work with DHCPv6 and so if DHCPv6 is active on the network then NetworkManager will just fail over and over again.

Code:
Jul 17 14:21:25 stone NetworkManager[1082]: <warn>  [1468761685.1604] dhcp6 (eth0): the dhcpcd backend does not support IPv6
Jul 17 14:21:25 stone NetworkManager[1082]: <warn>  [1468761685.1616] device (eth0): Activation: failed for connection 'Ethernet connection 1'
Since NetworkManager in 14.2 uses conf.d for its settings now it wasn't using my old DHCP client settings from 14.1 and had reverted to dhcpcd.

Shouldn't the default DHCP client in the NetworkManager 00-dhcp-client.conf file be dhclient to stop this happening? Or am I the only person in the world using DHCPv6 ?

(* It might actually just be that NetworkManager doesn't think dhcpcd support DHCPv6)
 
Old 07-17-2016, 11:19 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,367

Rep: Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747
An alternative point of view.
 
1 members found this post helpful.
Old 07-17-2016, 11:44 AM   #3
af7567
Member
 
Registered: Nov 2012
Posts: 290

Original Poster
Rep: Reputation: 98
Quote:
Originally Posted by allend View Post
An alternative point of view.
Thanks, I didn't know someone had suggested swapping to dhclient as default before.

I think the problem is actually with network manager though which doesn't know that dhcpcd does support DHCPv6. IPv6 is becoming a lot more common now and this problem is probably going to come up a lot.

It doesn't just affect IPv6, it also stops IPv4 working too because network manager keeps bringing the whole connection up and down.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NetworkManager does not add default route for vpn bsd1101 Slackware 1 01-13-2016 02:31 PM
Ubuntu 10.04.2: dhclient and NetworkManager problem: eth0 connection lost leandrojk Linux - Networking 4 03-12-2011 06:15 PM
NetworkManager connects to DHCP AP but dhclient doesn't krkhan Linux - Wireless Networking 1 01-08-2008 03:49 PM
Prevent dhclient from setting default GW and DNS servers carlosruiz Linux - Networking 1 06-30-2006 01:05 AM
dhclient not setting default gateway - no WAN route kadissie Linux - Networking 2 03-10-2005 04:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration