Uwe Gansert wrote
On Friday 22 February 2008, Hans-Joachim Ehlers wrote:
i just would like to know what the option really does and what not. The reason i ask is that i would like to keep hostname and ip from the network boot process provided by dhcp. Thus after the final installation the network configuration is static and does not depends on dhcp any more.
the config will not change from DHCP to static configuration. If you had DHCP during installation, DHCP it is in the running system too. If you had static configuration, then a static NIC configuration will be done.
But you should be able to fetch all the information easily from /var/lib/dhcpcd/dhcpcd-eth0.info and creating a static ifcfg-eth0 from it will be as easy as possible. An ifcfg files looks like BOOTPROTO='static' STARTMODE='onboot' IPADDR='x.x.x.30' NETMASK='255.255.255.0' NETWORK='x.x.x.0' BROADCAST='x.x.x.255' And /var/lib/dhcpcd/dhcpcd-eth0.info shows: IPADDR=x.x.x.30 NETMASK=255.255.255.0 NETWORK=x.x.x.0 BROADCAST=x.x.x.255 and also all information about DNS, gateway etc. it got from dhcp. Just a few lines of a post-script to create resolv.conf, routes and ifcfg-eth0 before the host reboots :-) cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org