On Sun, Oct 02, 2011 at 05:31:59PM BST, Ireneusz Szcześniak wrote: > I'm planning to install an image of Debian to a number of computers. > Each of these computers will have the same configuration except the > hostname and the IP address. The IP configuration has to be static. > I can't use a DHCP server. > > QUESTION; Is there a way to assign a hostname and a static IP > address at boot time depending on the MAC address of the computer's > network interface card?
I was about to suggest preseeding as well - works great if you combine it with pxelinux, even if you need to set up a DHCP server on a small subnet only for that purpose. But if it doesn't, your option is a script - try some scripts/rules from ifupdown* packages and/or maybe combined them with one of the IP autoconfig utils found in Debian. Regards, -- Raf -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20111002203733.ga21...@linuxstuff.pl