Re: dhcpd user/vendor class support
Denys Vlasenko <vda.linux <at> googlemail.com>
2010-10-01 22:19:06 GMT
On Tuesday 07 September 2010 11:16, Smith Will wrote:
> On Mon, Sep 6, 2010 at 7:48 PM, Denys Vlasenko <vda.linux <at> googlemail.com> wrote:
> > On Mon, Sep 6, 2010 at 4:07 PM, Smith Will <smith.rday <at> gmail.com> wrote:
> >> On Mon, Sep 6, 2010 at 5:17 PM, Denys Vlasenko <vda.linux <at> googlemail.com> wrote:
> >> > On Mon, Sep 6, 2010 at 11:14 AM, Smith Will <smith.rday <at> gmail.com> wrote:
> >> >> Hi list,
> >> >> Seems dhcp server within busybox does not yet has support for
> >> >> interpreting user/vendor classes. I checked code for busybox-1.17.2
> >> >
> >> > What do you mean by "interpreting"?
> >> >
> >> Means if the busybox dhcp server understands these options.. :)
> >
> > Aha, you want udhcpd to _analyze_ options sent by clients.
> >
> Correct.
>
> >> >> Did i miss something or this feature hasnt been looked into yet?
> >> >
> >> > It is somewhat hard to spot. Look into examples/udhcp/udhcpd.conf
> >> > file:
> >> >
> >> > ...
> >> > # Arbitrary option in hex form:
> >> > option 0x08 01020304 # option 8: "cookie server IP addr: 1.2.3.4"
> >> > ...
> >> >
> >> > Basically, if you want udhcpd to advertise an option and it is not
> >> > supported by name, you can still add it with the above format.
> >> > For vendor info element, you need to use
(Continue reading)