[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GRUB passing DHCP discovered IP address to kernel
From: |
Christoph Plattner |
Subject: |
Re: GRUB passing DHCP discovered IP address to kernel |
Date: |
Mon, 01 Oct 2001 14:51:55 +0200 |
This is right. The GRUB DHCP/BOOTP query is completely independet
of the kernel IP autoconfiguration.
To enable the kernel IP autoconfiguration, you must reconfigure
your kenrel built environment (Select auto config and then one the
three methods RARP, BOOTP, DHCP (RARP makes no sense for your use)).
I have seen, that the 2.2.18 kernel has problems with IP auto
config. It simple does not work in this release. For this I use the
kernel paramter (command line) ip=......
With friendly regards
C. Plattner
Paul Hedderly wrote:
>
> I have a problem here.
>
> I'm using a net enabled network card to boot PCs using grub, to fetch a kernel
> from a tftp server and boot with an NFS mount (for installations).
>
> The problem is, grub can do DHCP just fine!
>
> The kernel can't. I don't know why, but the DHCP packets sent out by the
> kernel
> are different and don't get replies! I _think_ it's to do with the way the
> network
> card is setup in the kernel...
>
> Anyway - is there an easy way to get GRUB to pass the IP/MASK/GATEWAY to the
> kernel?
>
> I'm using:
>
> title Boot Kernel/Root over netork
> dhcp
> ifconfig --server=93.224.233.12
> root (nd)
> kernel (nd)/tftpboot/linux root=/dev/nfs
> ip=93.224.233.32:93.224.233.12:93.224.233.253:255.255.255.0:INSTALL::
>
> I'd like to be able to change that kernel line to something like:
>
> kernel (nd)/tftpboot/linux root=/dev/nfs
> ip=$(ADDRESS):$(SERVER):$(GATEWAY):$(NETMASK):INSTALL::
>
> How easy would it be to do this?
>
> --
> Cheers
> Paul
>
> _______________________________________________
> Bug-grub mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-grub
------------------------------------------------------------------
private: address@hidden
company: address@hidden