Printable Version of Topic

Click here to view this topic in its original format

OESF Portables Forum _ Ubuntu _ Dhclient Fixed For Spitz

Posted by: Jon_J Jan 6 2009, 02:07 PM

I didn't see this "fix" anywhere on OESF, so I decided to post it here.
This has worked for me on my SL-C3100. I'm not sure if this works on all covered models.
------------------------------------------------
credit goes to Stefani at omegamoon blog:
dhclient will fail with message "can't create addrlist socket" due the bad or missing support of the kernel capabilities.

Setting the user and group id of dhcp both to 0 (root) will solve the problem.

------------------------------------------------
credit goes to crash at omegamoon blog:
You have to modify the "dhcp" entry in the /etc/passwd file. That was a tip by Stefani earlier before:
"...Setting the user and group id of dhcp both to 0 (root) will solve the problem..."

Posted by: speculatrix Jan 10 2009, 03:46 PM

ah, that explains it! of course, if dhcpcd/dhclient wasn't running as root, it'd b0rk!

thanks for alerting us. that really does help!

Posted by: teh.sean Feb 27 2009, 01:59 PM

QUOTE(Jon_J @ Jan 6 2009, 05:07 PM) *
You have to modify the "dhcp" entry in the /etc/passwd file. That was a tip by Stefani earlier before:
"...Setting the user and group id of dhcp both to 0 (root) will solve the problem..."


To those here who are linux newbies (like me!), would that be:
CODE
chmod u+s,g+s dhcp

Assuming I was already in /etc/passwd ?

Posted by: teh.sean Feb 27 2009, 02:51 PM

Wait, further research makes me think this is a modification to the actual /etc/passwd file?

And in fact it is. For newbies: modify the dhcp line in /etc/passwd. The numbers 101 and 103 should be 0's.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)