Paul Neuwirth composed on 2015-03-02 08:53 (UTC+0100):
I struggled long to migrate fully from initd to systemd. Now before I do the step from 12.3 to 13.2, i have concerns of ifup being replaced. Not much answers found googling around. B. is migration easy? following setup (IPv4 only): 2 physical network cards (RTL8111/8168) eth0: LAN (DHCPd running on the machine) eth1: (static ip) as connection to VDSL2 modem dsl0: PPPoE dial-up device lo tun0: openvpn server running tun1: vpnc connection (manually created on demand using vpnc) isdn0: backup ISDN dial-in connection (started manually) modem0: backup UMTS dial-in connection (started manually)
back to this topic, as support for 12.3 ended, I am now testing wicked on a similair testing machine. I struggle at the first step: I cannot setup a network interface with static ip. Yast does not mention an error. But the interface does not get up with static ip. generated config by yast:
You don't need to use bizarro NIC names like enp5s0 if you don't want. IOW, if you want eth0 & eth1, use net.ifnames=0 on your kernel cmdline or /etc/udev/rules.d/80-net-setup-link.rules or one of the other avoidance configs from the bottom of http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterface...
BOOTPROTO='static' BROADCAST='' ETHTOOL_OPTIONS='' IPADDR='172.19.0.1/24' MTU='' NAME='NetXtreme BCM5721 Gigabit Ethernet PCI Express' NETWORK='' REMOTE_IPADDR='' STARTMODE='auto'
The fixed IP 13.3/13.2 box I currently have booted only has 5 non-null lines: BOOTPROTO BROADCAST IPADDR NAME STARTMODE='onboot'
wicked output: # wicked --log-level debug ifup enp5s0 wicked: __ni_config_parse_ifconfig_source: Adding ifconfig firmware: wicked: __ni_config_parse_ifconfig_source: Adding ifconfig compat: wicked: __ni_config_parse_ifconfig_source: Adding ifconfig wicked:/etc/wicked/ifconfig wicked: trying to discover netif config via firmware service "ibft" wicked: ni_netconfig_firmware_discovery: buffer has 0 bytes wicked: ni_ifconfig_read_firmware: location: firmware:, line: 0 wicked: ni_sysconfig_read(/etc/sysconfig/network/config) wicked: ni_sysconfig_read(/etc/sysconfig/network/dhcp) wicked: Reading sysctl file '/etc/sysctl.conf' wicked: ni_sysconfig_read(/etc/sysconfig/network/ifcfg-lo) wicked: ni_sysconfig_read(/etc/sysconfig/network/ifcfg-enp4s0) wicked: ni_sysconfig_read(/etc/sysconfig/network/ifcfg-enp5s0) wicked: ni_compat_generate_interfaces: location: compat:/etc/sysconfig/network/ifcfg-lo, line: 0 wicked: ni_compat_generate_interfaces: location: compat:/etc/sysconfig/network/ifcfg-enp4s0, line: 0 wicked: ni_compat_generate_interfaces: location: compat:/etc/sysconfig/network/ifcfg-enp5s0, line: 0 wicked: No valid configuration files found at /etc/wicked/ifconfig wicked: device enp5s0: operation timed out enp5s0 setup-in-progress
thanks for any hints,
Does /etc/udev/rules.d/70-persistent-net.rules exist with non-zero size, with content including enp5s0 or eth0 or eth1?
What's your output from ifconfig -a?