Am 04.12.2014 um 16:13 schrieb hecke:
HI all, Hi!
I am currently trying to get our old autoinstallation to work with OpenSuse 13.2 and have severe problems with wicked.
Where can I find documentation how to write configuration files for wicked?
I want to set a second IP to an interface which was realized by the following /etc/sysconfig/network/ifcfg-eth0 file in our old setting (matching the filename to the new interface name enp3s0):
BOOTPROTO='static' STARTMODE='auto' IPADDR='192.168.216.236/24' IPADDR_ext='10.216.100.236/24' LABEL_ext='ext'
The label support has been fixes in 0.6.13:
http://download.opensuse.org/repositories/network:/wicked:/factory/
I've just double checked the config:
# cat ifcfg-nic1
NAME='Intel Gigabit CT Desktop Adapter'
BOOTPROTO='static'
STARTMODE='auto'
IPADDR='192.168.216.236/24'
IPADDR_ext='10.216.100.236/24'
LABEL_ext='ext'
# wicked ifup nic1 ## or just ifup nic1
# ip a s dev nic1
3: nic1:
I am not sure if writing this file is the cause, but when I try to enable the new configuration I get a segfault of wicked:
Dec 04 16:05:06 dummyecps kernel: wicked[12027]: segfault at 24 ip 00000000004133dc sp 00007fff06422bb0 error 4 in wicked[400000+29000]
See https://bugzilla.opensuse.org/show_bug.cgi?id=908554#c3
and https://github.com/openSUSE/wicked/pull/476
As soon as it has been accepted to master, test RPMs will be at:
http://download.opensuse.org/repositories/network:/wicked:/master/
Gruesse / Regards,
Marius Tomaschewski