[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: netcfg doing a DHCP request that can be identified.



On Sun, Sep 25, 2005 at 10:39:09AM +0200, Geert Stappers wrote:
> On Sun, Sep 25, 2005 at 12:14:25AM +0200, Geert Stappers wrote:
> > 
> > Hello,
> > 
> > In svn of d-i has under /people/stappers/packages/netcfg/
> > a netcfg that does a DHCP request that can be identified
> > a request from netcfg.

now also in trunk

> > At DHCP server side you have in /etc/dhcp3/dhcpd.conf lines like these:
> > 
> >     if substring (option vendor-class-identifier, 0, 14) = "NetcfgDHClient" {
> >       filename "proto://host.tld/newFileName"; }
> >     else { filename "i386/pxelinux.0"; }

So check in the "vendor class identifier" for the string 'NetcfgDHClient'
 
> At the d-i install client you find the filename in
> the dhcp leases files

example given:

  grep filename /var/lib/dhcp/dhclient.leases



Cheers
Geert Stappers

Attachment: signature.asc
Description: Digital signature


Reply to: