[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: How to handle/act on options from the DHCP server
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2011-05-28 23:04:12
Message-ID: 201105290104.12343.vda.linux () googlemail ! com
[Download RAW message or body]

On Saturday 28 May 2011 13:14, Pedro Tumusok wrote:
> Hi,
> 
> I tried to Google this, but seems my Google-fu is letting me down
> today, so if anybody can point me in the right direction I would be
> very appreciative.
> 
> I got an embedded device running an old busybox that got udhcp v1.10.4
> and I currently got no way to upgrade busybox to a newer version.
> >From the DHCP server I get either Option 43 or Option 66 that I want
> to act upon, my device got dhcp.bound and dhcp.renew scripts I assume
> needs modification.
> But I am unable to find any documentation on how this scripts gets the
> information, ie env variables or other.

Check these files in busybox source tree:

examples/udhcp/sample.script

examples/udhcp/simple.script

examples/var_service/dhcp_if/run 

-- 
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic