-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Luca Berra wrote:I don't think dhclient should be relied upon, since it would be nice if the system would handle changing from a static IP to a dynamic IP.
well, we should at least be able to extract info that only dhclient has and put it somewere that can be accessed by ifup-post.
But if it is only going to be info that is in /etc/resolv.conf, why not use that?
well dhcp provides a lot more option than what can be put in resolv.conf
Does requesting it by name work? Should be "netbios-name-servers" or "netbios-dd-server". I had "request netbios-name-servers;", but this is to my own dhcp3 server.
yes, but i have to request all options, like: request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, host-name, netbios-name-servers, ntp-servers;
(on one line) and hope you don't ever request an option the blasted 2003 server (i've found out what it was) does not grok or it will not answer correctly.
"I just used this in my /etc/dhclient.conf (to some Windows DHCP/DNS machine):
send fqdn.fqdn "pike"; send fqdn.encoded off; send fqdn.server-update on; do-forward-updates on;
If someone could test this against a Windows DNS server (as some things look wrong, and the dhclient.conf man page knows nothing about "do-forward-updates").
i did strings on my dhclient binary and i don't have "do-forward-updates", besides i doubt that using an unqualified name as "fqdn.fqdn" would give expected results.
Then, we could consider having an option there to update WINS server IP (or do you think the include method is better?).
well, with the include method and some tricks I can change the workgroup I appear in, and i believe it is also possible to have a laptop change domain membership based on location :) Besides the include method does not cost a dime and is harder to break than changing smb.conf.
regards, L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \