opensuse 11 - ifup eth0 fails on boot

Hi all

I use plain old ifup to manage my networks, I have no idea what my problem is, everytime my pc reboots the network does not start automatically i have to manually ifup eth0 from console - this is seriously crap. Such a basic function and it doesnt work.

Here is my ifup config file:

Ganymede@Apotheosis:/etc/sysconfig/network> cat ifcfg-eth0
BOOTPROTO=‘static’
BROADCAST=’’
ETHTOOL_OPTIONS=’’
IPADDR=‘196.211.113.10/29’
MTU=’’
NAME=‘88E8056 PCI-E Gigabit Ethernet Controller’
NETMASK=’’
NETWORK=’’
REMOTE_IPADDR=’’
STARTMODE=‘auto’
USERCONTROL=‘yes’
PREFIXLEN=’’

Here is the output from boot log on start:

Setting up network interfaces:
lo
lo IP address: 127.0.0.1/8
IP address: 127.0.0.2/8
done eth0 device: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)
eth0 IP address: 196.XXX.XXX.XX/29
done eth1 device: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 14)
eth1 IP address: 196.XXX.XXX.XX/29
done wlan0
No configuration found for wlan0

So in a single sentence… :eek:wtf is going on:(:(?

Thanks

Gany

Double check in Yast the cards configuration and make sure it is set to activate at boot time.

Did that a million times…

Surely yast just edits that file anyways…which has it already specified as ‘auto’

I have the same problem. I upgraded 3 existing SUSE 10.x servers now, and each and everyone of them does NOT start networking automatically. It used to work, and broke on upgrade. I “just” have to manually enter “rcnetwork restart” and everything works.

Then I wrote a startup script that runs automatically after the network script from SUSE, and does nothing else then
ifdown eth0
ifup eth0
and after this it works. But that cannot be the solution. WTF do I do wrong, what is needed that openSUSE 11.0 can automatically startup the network with it’s own scripts.

Thanks, zmi

Nobody else got this problem?

My USERCONTROL parameter is set to NO if that makes a difference.

Example from my workstation:

cat /etc/sysconfig/network/ifcfg-eth0

BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='10.0.0.2/24'
MTU=''
NAME='88E8056 PCI-E Gigabit Ethernet Controller'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'

I tried calling yast, deleted all network settings and re-assigned the IPs, still the network does NOT autostart. I’m very puzzled that nobody else gets this. Did nobody upgrade from an existing SUSE 10.x and have this problem?

mfg zmi

Nobody? Where can I contact somebody from SUSE?

try changing STARTMODE to ifplugd.

I have the very same problem. After upgrading from 10.3 to 11.0 network setup during boot process returned error:

  eth0  ifplugd is not running
  eth0  is down
  etho  interface could not be set up until now

(network card: Marvell 88E8001 Gigabit)

STARTMODE=“ifplugd” (instead of “auto”) did not help

As mentioned before the only work around was to add an init script which runs after network script and calls ifdown eth0 and ifup eth0.

For error tracing: running “rcnetwork restart” in the init script will fail as well, but after login running “rcnetwork restart” in terminal works.

Timo

My problem with ifup eth0 and ifup eth1 failing (I have two nics) was solved by removing the line:

/tmpfs /dev/shm tmpfs defaults,size=132M 0 0

from /etc/fstab. That line was originally included by me for use with the kqemu module of qemu. It did not cause a problem when I used it under opensuse 10.2 or 10.3 but does under 11.0. Hmm strange!

Hope that helps.

YEAH! That did the trick. lol! Thanks a lot, I searched like a moron and did not find it. I’ll open a bug on openSUSE 11.0, as I have the same problem with another system without the tmpfs entry, but one of those must be guilty, and I cannot test ATM:

/dsev/mapper/nvidia_gfdgacch_part7 / reiserfs acl,user_xattr 1 1
/dev/mapper/nvidia_gfdgacch_part5 /boot ext3 acl,user_xattr 1 2
/dev/mapper/nvidia_gfdgacch_part8 /disks/data reiserfs acl,user_xattr 1 2
/dev/mapper/nvidia_gfdgacch_part6 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0

I get this intermittently on 11.1. Sometimes it boots up with networking, mostly not, so I do the ifdown eth0 ifup eth0 manually in a terminal. Sometimes this works straight away sometimes not and I may have to repeat this a few times.
Same 88E8056 PCI-E Gigabit Ethernet Controller card as the first posting.
Does anyone have a lasting fix?

Hello

The first time on the suse road.
I had the same problem and changed dhcp tekstfile
path /etc/sysconfig/network

Type: string

Default: “”

ServiceRestart: network

Which DHCPv4 client should be used?

If empty, dhcpcd is tried, then dhclient

Other possible values:

dhcpcd (DHCP client daemon)

dhclient (ISC dhclient)

DHCLIENT_BIN="" => DHCLIENT_BIN=“dhclient”

My computer work behind a zyxel router.
Can somebody explain it stay dhcpcd mode by DHCLIENT_BIN="" configuration.