| From | Sent On | Attachments |
|---|---|---|
| Mike Smith | Sep 2, 1999 11:41 pm | |
| Warner Losh | Sep 2, 1999 11:44 pm | |
| Skip Hansen | Sep 3, 1999 8:10 am | |
| Chris Dillon | Sep 3, 1999 10:10 am | |
| Mike Smith | Sep 3, 1999 12:08 pm | |
| Mike Smith | Sep 3, 1999 12:35 pm | |
| John Ioannidis | Sep 3, 1999 12:35 pm | |
| Warner Losh | Sep 3, 1999 12:41 pm | |
| Skip Hansen | Sep 3, 1999 1:38 pm | |
| David O'Brien | Sep 3, 1999 2:16 pm | |
| Broderick Wood | Sep 3, 1999 2:59 pm | |
| Chris Dillon | Sep 3, 1999 3:02 pm | |
| David O'Brien | Sep 3, 1999 3:39 pm | |
| Mike Smith | Sep 3, 1999 3:44 pm | |
| David O'Brien | Sep 3, 1999 4:15 pm | |
| Mike Smith | Sep 3, 1999 4:19 pm | |
| Jac Backus | Sep 4, 1999 12:36 pm | |
| Kent Berggren | Sep 4, 1999 1:48 pm | |
| Chris Dillon | Sep 4, 1999 7:13 pm | |
| Mike Smith | Sep 4, 1999 7:13 pm | |
| Chris Dillon | Sep 4, 1999 10:20 pm | |
| Mike Smith | Sep 4, 1999 11:18 pm | |
| Chris Dillon | Sep 5, 1999 12:01 am |
| Subject: | Re: Odd idea | |
|---|---|---|
| From: | David O'Brien (obr...@NUXI.com) | |
| Date: | Sep 3, 1999 4:15:43 pm | |
| List: | org.freebsd.freebsd-small | |
At least in theory if the loader is able to pull the DHCP config off, it can pass the relevant lease details on to the kernel, which can be used to seed dhclient.
Actually you wouldn't pass them to the kernel (which knows nothing of DHCP). I think it would be better to just configure things for normal DHCP and let ``dhclient'' request a lease in the normal way. I can't think of how to start ``dhclient'' and keep it from asking for a new lease (which is what you would need to do here). While you could pass the data from the loader into /var/db/dhclient.leases. This file is used if `dhclient' can't get a response from the DHCP server.
lease { interface "fxp0"; fixed-address 169.237.7.195; option subnet-mask 255.255.255.0; option routers 169.237.7.254; option domain-name-servers 169.237.250.250; option host-name "erebus.cs.ucdavis.edur"; option domain-name "cs.ucdavis.edu"; option broadcast-address 169.237.7.255; option dhcp-lease-time 600; option dhcp-message-type 5; option dhcp-server-identifier 169.237.7.38; renew 3 1999/8/11 02:10:40; rebind 3 1999/8/11 02:14:25; expire 3 1999/8/11 02:15:40; }
For now, suffice to say that I expect to add DHCP if for no other reason than that's all that PXE supports.
If that's what they do, my would be that they query to get the initial data, and then let the OS do its normal DHCP client processing. If so then this makes your job easier as you don't have to worry about passing the data out of the loader.
To Unsubscribe: send mail to majo...@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message





