SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been using dhclient for two years now. Had problems with Networkmanger right out of the box when 14.2 was released, Changing to dhclient solve the problem.
One could try to uncomment clientid and comment out duid in /etc/dhcpcd.conf:
Code:
# Use the hardware address of the interface for the Client ID.
clientid
# or
# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
# Some non-RFC compliant DHCP servers do not reply with this set.
# In this case, comment out duid and enable clientid above.
#duid
This I need to do to get an eth0-connection at work
There's also a bunch of other people who haven't had troubles.
When you do have trouble, it isn't that difficult to find the client which works is it?
I found that it is. NetworkManager does not support dhcpcd very well. The settings to control the behaviour (timeouts, in this case) required within dhcpcd cannot be set within NetworkManager, because the NM helper tool doesn't support them.
I also tried getting dhclient to work without luck. In the end I disabled NM and reverted to dhcpcd being called directly from the rc scripts, where I have control over the command line operators.
I found that it is. NetworkManager does not support dhcpcd very well. The settings to control the behaviour (timeouts, in this case) required within dhcpcd cannot be set within NetworkManager, because the NM helper tool doesn't support them.
I also tried getting dhclient to work without luck. In the end I disabled NM and reverted to dhcpcd being called directly from the rc scripts, where I have control over the command line operators.
For that matter, the way NetworkManager launches dhcpcd, you don't get the benefit of the hooks in /lib/dhcpcd/dhcpcd-run-hooks. As far as I can tell, /usr/libexec/nm-dhcp-helper only works to inform NetworkManager about dhcpcd's actions and nothing else.
You can hook into /etc/NetworkManager/dispatcher.d to view and maybe manipulate NetworkManager's environment. (I've only done the former and not the latter.)
There's also a bunch of other people who haven't had troubles.
When you do have trouble, it isn't that difficult to find the client which works is it?
Well so far, this is the first time I get this problem... and to be honest, tracking down the problem was quite painful since you get next to none information via the usual log files...
I would have never ever thought about dhcpcd (sorry for this typo...) being a problem... or at least being troublesome/unstable when used with NM in certain combinations...
However, more interesting is IMHO the fact that none of my other 14.2 boxes showed problems so far...
I need to get a paper done till september... after that I'll go and put -current on one of my x86 boxes to check for similar behaviour.
reverting back to plain rc-scripts for the headless rpi boxes... well might be an option
Most of my home network uses the rc.inet1 script to manage their connections. My laptops use NetworkManager for their wireless connections; I haven't seen problems talking to my gateway with them, but I'm running bind and dhcpd versus dnsmasq.
There's also wicd in /extras, IIRC. Quite a few people have used it and many still do.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.