Bug 194106

Summary: ifcfg-eth configured for static IP instead of DHCP
Product: [openSUSE] SUSE Linux 10.1 Reporter: Olaf Hering <ohering>
Component: InstallationAssignee: Martin Vidner <mvidner>
Status: RESOLVED DUPLICATE QA Contact: Stanislav Visnovsky <visnov>
Severity: Normal    
Priority: P5 - None CC: suse-beta
Version: Final   
Target Milestone: ---   
Hardware: PowerPC   
OS: Linux   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: bug194106.tar.bz2

Description Olaf Hering 2006-07-21 17:17:54 UTC
during a CD install of 10.1-ppc on a G5, the network config was written for static IP. 
As a result, the online update hung for a long time, until I realized that the network was down. An dhcpcd eth0 fixed it.
After the installation, yast showed me that eth0 was in dhcp mode. But the config file clearly states static mode.

olaf@sbp2-part11:~> /sbin/ip a
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:14:51:68:b7:00 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::214:51ff:fe68:b700/64 scope link 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:14:51:68:b7:01 brd ff:ff:ff:ff:ff:ff
4: sit0: <NOARP> mtu 1480 qdisc noop 
    link/sit 0.0.0.0 brd 0.0.0.0
olaf@sbp2-part11:~> cat /etc/sysconfig/network/
config                          ifroute-lo
dhcp                            ifservices.template/
ifcfg-eth-id-00:14:51:68:b7:00  if-up.d/
ifcfg-lo                        providers/
ifcfg.template                  scripts/
if-down.d/                      
olaf@sbp2-part11:~> cat /etc/sysconfig/network/ifcfg-eth-id-00\:14\:51\:68\:b7\:
00 
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME='Apple NetXtreme BCM5780 Gigabit Ethernet'
NETMASK='255.255.255.0'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
UNIQUE='ZfLo.9B4CdjajV_2'
USERCONTROL='no'
_nm_name='bus-pci-0001:05:04.0'
olaf@sbp2-part11:~> /sbin/ip a
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,NOTRAILERS,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:14:51:68:b7:00 brd ff:ff:ff:ff:ff:ff
    inet 1.1.1.8/24 brd 1.1.1.255 scope global eth0
    inet6 fe80::214:51ff:fe68:b700/64 scope link 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:14:51:68:b7:01 brd ff:ff:ff:ff:ff:ff
4: sit0: <NOARP> mtu 1480 qdisc noop 
    link/sit 0.0.0.0 brd 0.0.0.0
olaf@sbp2-part11:~> cat /etc/sysconfig/network/ifcfg-eth-id-00\:14\:51\:68\:b7\:00 
BOOTPROTO='dhcp'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME='Apple NetXtreme BCM5780 Gigabit Ethernet'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
UNIQUE='ZfLo.9B4CdjajV_2'
USERCONTROL='no'
_nm_name='bus-pci-0001:05:04.0'
olaf@sbp2-part11:~>
Comment 1 Olaf Hering 2006-07-21 17:23:14 UTC
Created attachment 94209 [details]
bug194106.tar.bz2
Comment 3 Martin Vidner 2006-07-31 13:06:07 UTC

*** This bug has been marked as a duplicate of bug 116092 ***