dhcpcd-discuss

Re: Retrieving information in hook script

Roy Marples

Wed May 29 10:48:49 2019

For DHCPv6, only option 17 should be in ORO.
The server sends this back with the sub options within in.
You should see this in pcap, if not it's a server issue and not dhcpcd's

Roy


On 29/05/2019 10:23, Shweta Kalyani wrote:
Thanks Roy,
I am able to define the vendor options in the conf file and get the vendor specific data in the hook file. On taking pcap, although option 17 is requested under ORO, its sub-options which are defined in the conf file are not seen. Should the sub-options of Option 17 been seen in pcap?
I am using dhcpcd-7.0.0

Thanks,
Shweta


On Thu, Apr 25, 2019 at 7:30 PM Roy Marples <roy@xxxxxxxxxxxx <mailto:roy@xxxxxxxxxxxx>> wrote:

    On 25/04/2019 14:51, Shweta Kalyani wrote:
     > Hi Roy,
     > Thanks but it is not clear how the options are to be processed in
    the
     > hook script.
     > Is there some link I can read up for the same?

    Uh no?

    The option are *vendor* specific.
    ie, dhcpcd has no idea what these options look like.
    So you have to define them in dhcpcd.conf and use what you defined in
    the hook script.

    Roy


Follow-Ups:
Re: Retrieving information in hook scriptShweta Kalyani
References:
Retrieving information in hook scriptShweta Kalyani
Re: Retrieving information in hook scriptRoy Marples
Re: Retrieving information in hook scriptShweta Kalyani
Re: Retrieving information in hook scriptRoy Marples
Re: Retrieving information in hook scriptShweta Kalyani
Archive administrator: postmaster@marples.name