Thanks Dave!

Dave Miner wrote:
> Kyle McDonald wrote:
>> Hi all,
>>
>> I've tried running the DHCP server in debug mode, and that lets me 
>> see when the requests come in, and the replies go out, but it doesn't 
>> show me what is in the reply.
>>
>> Is there a way to see this?
>>
>
> snoop.
How detailed will Snoop get?
>
>> I really like to see the Macro's being selected, the order, and the 
>> resulting options.
>>
>
> No way to do that.  There's an old RFE for a simulator in the tools, 
> but we never implemented it.  But the docs on the DHCP server describe 
> the algorithm used fairly well, as I recall.
>
I'd be happy with a second level of debugging output that listed what 
was being sent. Similiar to what rpc.bootparamd -d prints.
It'd be great, as the algorithm worked,  to see the name of the top 
level Macro being searched for, and then the expanded list of options it 
resolved to, then the next top level Macro, etc. So you could see what 
was overriding what. I don't need a tree of all the includes, just "this 
is the first thing I looked for and these are the options I got, this is 
the second thing I looked for and these are the options I got, etc."

I only need to see it when it's actually sent out too, so I don't know 
that a 'simulator' is really needed. Just more detailed debugging info.
>> Also during the boot for the install, is there a script I could edit, 
>> or a program I coudl wrap with a script so I can see what options are 
>> actually being looked up, and when?
>>
>
> /sbin/dhcpinfo is what's used to look things up - I don't believe 
> anything actually uses the underlying libraries directly, so you could 
> probably wrap that and get what you're looking for.
Ok I'll try it.

There are DHCP options that the Solaris Express Docs say the Install 
uses to find the Install software, sysidcfg, and Jumpstart files, but 
for me it's only working if I specify that info as -B <options> in the 
GRUB menu.lst file.

Once the install fails, I can use dhcpinfo manually to look up all thos 
options and I get the right values.

So now I'm trying to see if the Docs are corect, and if the Install 
miniroot really checks the Sun Vendor options at all.

Thanks agian,

   -Kyle

>
> Dave


Reply via email to