Author Topic: Dhclient Fixed For Spitz  (Read 4779 times)

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Dhclient Fixed For Spitz
« 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..."
« Last Edit: January 06, 2009, 05:09:18 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Dhclient Fixed For Spitz
« Reply #1 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!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

teh.sean

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • http://
Dhclient Fixed For Spitz
« Reply #2 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 ?

teh.sean

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • http://
Dhclient Fixed For Spitz
« Reply #3 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.
« Last Edit: February 27, 2009, 06:08:15 pm by teh.sean »