OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Ubuntu => Topic started by: Jon_J on January 06, 2009, 05:07:55 pm

Title: Dhclient Fixed For Spitz
Post by: Jon_J on January 06, 2009, 05:07:55 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..."
Title: Dhclient Fixed For Spitz
Post by: speculatrix on January 10, 2009, 06:46:02 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!
Title: Dhclient Fixed For Spitz
Post by: teh.sean on February 27, 2009, 04:59:51 pm
Quote from: Jon_J
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:
[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']chmod u+s,g+s dhcp[/div]
Assuming I was already in /etc/passwd ?
Title: Dhclient Fixed For Spitz
Post by: teh.sean on February 27, 2009, 05:51:29 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.