On Tue, 7 Oct 2014 10:26:59 -0500
Joe Joe
Hi,
I am attempting to set the LLADDR in my ifcfg file, but it causes an error on the call to org.opensuse.Network.Ethernet.changeDevice() method. This error looks to be caused by org.freedesktop.DBus.Error.Failed, so I'm not sure if this is even the right place to be asking. I am running wicked 0.6.11 and SLES12. Please see below for the output (IPs were removed). Note that the mac address for the eth0 interface that is not active is identical to the LLADDR I'm trying to set, and changing it does not affect anything. Thanks for any help.
sles12:~ # cat /etc/os-release NAME="SLES" VERSION="12"
sles12:~ # wicked --version wicked 0.6.11
sles12:~ # ifconfig -a | grep -A5 "eth0" eth0 Link encap:Ethernet HWaddr FA:16:3E:88:1B:5A BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:6144 errors:0 dropped:0 overruns:0 frame:0 TX packets:15 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:403409 (393.9 Kb) TX bytes:1118 (1.0 Kb)
sles12:~ # cat /etc/sysconfig/network/ifcfg-eth0 IPADDR=xxx.xxx.xxx.xxx LLADDR=fa:16:3e:88:1b:5a BROADCAST=xxx.xxx.xxx.xxx NM_CONTROLLED=no NETMASK=255.255.248.0 BOOTPROTO=static USERCONTROL=yes ETHTOOL_OPTIONS= STARTMODE=auto
sles12:~ # ifup eth0
[...]
ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=clearEventFilters) wicked: eth0: state=device-down want=network-up, trying to transition to device-exists wicked: eth0: changed state device-down -> device-exists wicked: eth0: successfully transitioned from device-down to device-exists wicked: eth0: state=device-exists want=network-up, trying to transition to device-ready wicked: eth0: calling org.opensuse.Network.Interface.waitDeviceReady() wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=waitDeviceReady) wicked: eth0: changed state device-exists -> device-ready wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=setClientControl) wicked: eth0: update <client-state> control: persistent=false, usercontrol=true wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=setClientConfig) wicked: eth0: update <client-state> config: origin=compat:/etc/sysconfig/network/ifcfg-eth0, uuid=7839409b-6f15-5f06-88a9-76282c872311, owner-uid=4294967295 wicked: eth0: successfully transitioned from device-exists to device-ready wicked: eth0: state=device-ready want=network-up, trying to transition to device-up wicked: eth0: calling org.opensuse.Network.Ethernet.changeDevice() wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Ethernet, method=changeDevice) wicked: dbus error reply = org.freedesktop.DBus.Error.Failed (failed to set up ethernet device) wicked: ni_ifworker_error_handler(org.freedesktop.DBus.Error.Failed, failed to set up ethernet device) wicked: unable to map DBus error org.freedesktop.DBus.Error.Failed, return GENERAL_FAILURE wicked: device eth0 failed: call to org.opensuse.Network.Ethernet.changeDevice() failed: General failure wicked: waiting for 0 devices to become ready (0 explicitly requested) wicked: eth0: changed state none -> device-exists, still waiting for event eth0 device-not-running wicked: Exit with status: 158
Hi,
The same works for me. Are you able to change the HW address using
other tools (e.g. ip link set eth0 address $HWADDR) on this interface?
--
Best Regards,
Pawel Wieczorkiewicz