ifcfg-eth0 not present in /etc/sysconfig/network

Hi Linux Gurus,

am pretty new to linux and am doing a SLES 11 installation by a preconfigured autoinst.xml.

My basic need is to get my network up right after the installation. Ideally this should happen, but Isn’t.

Initially my networking tab in the autoinst.xml was:

<networking>

  • <interfaces config:type=“list”>
  • <interface>
    <bootproto>dhcp4</bootproto>
    <device>eth0</device>
    <startmode>auto</startmode>
    </interface>
    </interfaces>
    </networking>

After my installation i did not find the ifcfg-eth0 file.
I read many threads and modified the networking tab, still no use.

Intrestingly, when i create the config file through a simple echo script or manually, and do a network restart , my network is up. the only thing I include in the script is BOOTPROTO=‘dhcp4’ and STARTMODE=‘onboot’.

I thus tried to Create this file manually by putting my script in CHrooted region, Postscript region, it did not help.

I want to automate the full process, but am unable to.

I urgently need help on this issue, and also need to know as in why this occours?

the system am trying on is a Dell Optiplex 745, Broadcom gigabit controller.

Thanks to all in advance.

Navdeep Ahuja

Unfortunatly for you this is the openSUSE Forums.
The SLES forums are at SUSE Linux Enterprise Server (SLES) - NOVELL FORUMS.

May be your fortune might come back a bit when someone here can help you nevertheless. This often happens when it is about general Unix/Linux problems. But when it is specific to SLES then better go to the SLES site. You have paid for it :wink: