[syslinux] keeppxe and using a linux vmlinuz/initrd
Andreas Kotes
count-linux at flatline.de
Wed Mar 5 08:14:27 PST 2008
Hello hpa,
* H. Peter Anvin <hpa at zytor.com> [20080222 02:02]:
> Andreas Kotes wrote:
> > * Maestas, Christopher Daniel <cdmaest at sandia.gov> [20080221 22:45]:
> >> Excellent!
> >>
> >> This is exactly what we're looking for.
> >> Now we can have the initramfs(busybox) read /proc/cmdline and set the ip that way.
> >
> > argh. it's already set at that moment!!!
> >
> > please do read the manuals.
> >
> > and if you're using busybox anyway, use the udhcpcd included - it does
> > all the necessary stuff, like caring about leases. really.
> >
> > hpa - could you extend the FAQ entry a bit in that regard?
>
> Perhaps you could submit a patch against doc/syslinux.doc?
--- syslinux.txt.orig 2008-03-05 16:55:23.784144934 +0100
+++ syslinux.txt 2008-03-05 17:12:34.528820598 +0100
@@ -161,11 +161,15 @@
... based on the input from the DHCP/BOOTP or PXE boot server.
- THE USE OF THIS OPTION IS NOT RECOMMENDED. If you have to use
- it, it is probably an indication that your network configuration
- is broken. Using just "ip=dhcp" on the kernel command line
- is a preferrable option, or, better yet, run dhcpcd/dhclient,
- from an initrd if necessary.
+ THE USE OF THIS OPTION IS NOT RECOMMENDED.
+ If you use it, you only request your DHCP lease once, and do not
+ honour it's expire information. This may work correctly if you're
+ assigning static addresses via your DHCP server - in all other cases
+ it's just relying on your DHCP server to fix said ignorance.
+
+ Using just "ip=dhcp" on the kernel command line is a preferrable
+ option, or, better yet, run dhcpcd/dhclient, from an initrd if
+ necessary. Busybox brings a DHCP client with it as well.
2: indicates that an option of the following format
should be generated and added to the kernel command line:
Cheers,
Andreas
--
flatline IT services - Andreas Kotes - Tailored solutions for your IT needs
More information about the Syslinux
mailing list