Change udhcpc Client ID?

Paul Fox pgf at brightstareng.com
Tue Sep 20 17:23:16 UTC 2005


 > Is there a way to change udhcpc's default client id. This is the id that 
 > is sent to a DHCP server during a DHCP request. This ID is sent as DHCP 
 > Option 60: The "vendor class identifier"

that's not "client id".  that's "vendor class".  ;-)

"client id" is option 61, and is settable.

 > 
 > If someone cannot help me out with that. Where is the init script or 
 > config file that controls udhcp? Any additional info on how this works 
 > would be great.

the bad news is that there's currently no way to do what you want in
busybox.  the good news is that i have the changes around somewhere
for standalone udhcp to do this with an option.  i sent them to russ
long ago, but they never made it in, apparently.

i can dig around clean them up for you if you want.  (or you can
go into clientpacket.c and modify init_packet() to give it your
own hard-coded value.)

paul
=---------------------
 paul fox, pgf at brightstareng.com



More information about the busybox mailing list