Mailinglist Archive: opensuse-autoinstall (99 mails)
| < Previous | Next > |
[opensuse-autoinstall] SuSE 10.1 + Converting from dhcp to static IP
- From: "King, Richard (CE1 UNIX Admin)" <rking@xxxxxx>
- Date: Fri, 4 May 2007 09:02:04 -0600
- Message-id: <F4BFA40B06FA5A498AFA998AD4A4E6AC03986BF8@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
SuSE Version: 10.1
Install Method: PXEBOOT/DHCP
Hello Everyone!
I was wondering if anyone had any suggestions on how-to convert from
dhcp-boot to static IP during the autoyast install?
Questions:
1) Should converting from dhcp-boot to static IP take place during
pre-scripts, or post-scripts?
2) When the install is initiated with dhcp, what file holds the
network/dhcp information during the install process?
3) Would it be practical to use commands such as ifconfig and netstat to
get the network information, and write to the
/etc/sysconfig/network/ifcfg-eth-id-$MAC and
/etc/sysconfig/network/routes files?
Observations:
I have noticed if a client is using dhcp, the package "NetworkManager"
is installed, and will manage the network settings for eth0. However, if
a client is using dhcp/NetworkManager, the NTP & NIS services will fail
to start during bootup. If I manually change the network settings to
static, NTP & NIS will start during bootup.
Any help with this would be greatly appreciated.
My best to you
--
Rick King
This is what I have in the network section of my control file.
<networking>
<nfs_server>
<nfs_exports config:type="list">
<nfs_export>
<allowed config:type="list">
<allowed_clients>@lab_nis(rw,sync)</allowed_clients>
</allowed>
<mountpoint>/local</mountpoint>
</nfs_export>
</nfs_exports>
<start_nfsserver config:type="boolean">true</start_nfsserver>
</nfs_server>
<dhcp_options>
<dhclient_client_id></dhclient_client_id>
<dhclient_hostname_option>AUTO</dhclient_hostname_option>
</dhcp_options>
<dns>
<dhcp_hostname config:type="boolean">true</dhcp_hostname>
<dhcp_resolv config:type="boolean">true</dhcp_resolv>
<hostname>AUTO</hostname>
</dns>
<interfaces config:type="list">
<interface>
<bootproto>dhcp</bootproto>
<device>eth0</device>
<startmode>onboot</startmode>
</interface>
</interfaces>
<modules config:type="list">
</modules>
<routing>
<ip_forward config:type="boolean">false</ip_forward>
</routing>
</networking>
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
Install Method: PXEBOOT/DHCP
Hello Everyone!
I was wondering if anyone had any suggestions on how-to convert from
dhcp-boot to static IP during the autoyast install?
Questions:
1) Should converting from dhcp-boot to static IP take place during
pre-scripts, or post-scripts?
2) When the install is initiated with dhcp, what file holds the
network/dhcp information during the install process?
3) Would it be practical to use commands such as ifconfig and netstat to
get the network information, and write to the
/etc/sysconfig/network/ifcfg-eth-id-$MAC and
/etc/sysconfig/network/routes files?
Observations:
I have noticed if a client is using dhcp, the package "NetworkManager"
is installed, and will manage the network settings for eth0. However, if
a client is using dhcp/NetworkManager, the NTP & NIS services will fail
to start during bootup. If I manually change the network settings to
static, NTP & NIS will start during bootup.
Any help with this would be greatly appreciated.
My best to you
--
Rick King
This is what I have in the network section of my control file.
<networking>
<nfs_server>
<nfs_exports config:type="list">
<nfs_export>
<allowed config:type="list">
<allowed_clients>@lab_nis(rw,sync)</allowed_clients>
</allowed>
<mountpoint>/local</mountpoint>
</nfs_export>
</nfs_exports>
<start_nfsserver config:type="boolean">true</start_nfsserver>
</nfs_server>
<dhcp_options>
<dhclient_client_id></dhclient_client_id>
<dhclient_hostname_option>AUTO</dhclient_hostname_option>
</dhcp_options>
<dns>
<dhcp_hostname config:type="boolean">true</dhcp_hostname>
<dhcp_resolv config:type="boolean">true</dhcp_resolv>
<hostname>AUTO</hostname>
</dns>
<interfaces config:type="list">
<interface>
<bootproto>dhcp</bootproto>
<device>eth0</device>
<startmode>onboot</startmode>
</interface>
</interfaces>
<modules config:type="list">
</modules>
<routing>
<ip_forward config:type="boolean">false</ip_forward>
</routing>
</networking>
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
| < Previous | Next > |