On 20/08/14 01:50, Sid Boyce wrote:
On 20/08/14 01:25, Felix Miata wrote:
On 2014-08-20 00:07 (GMT+0100) Sid Boyce composed:
BTW I have bug #889307 open against wicked with requested input added. [ https://bugzilla.novell.com/show_bug.cgi?id=889307 ] I removed /etc/udev/rules.d/70-persistent.net which causes a problem. "wicked convert /etc/sysconfig/network >network.xml" "mv network.xml > /etc/wicked/ifconfig/", when network starts up it says it's skipping use of this file for a higher priority config file but doesn't say what. Found I still needed /etc/sysconfig/network/ifcfg-* files in place to have the network configured. Renamed /etc/sysconfig/network/routes to /etc/sysconfig/network/ifcfg-routes to get the default route configured. Remaining question is why it's skipping network.xml. I haven't got around to running the individual commands suggested. On host gx27c that I was having init complete leaving route missing, I purged /etc/udev/rules.d/, kept net.ifnames=0 on cmdline, and rebooted to find eth0 happily working as expected, but also a freshly created /etc/udev/rules.d/70-persistent-net.rules. These are the names I saw originally and only lo was configured. I had to change the names, e.g ifcfg-eth0 changed to ifcfg-enp3s0:- # wicked ifstatus all wicked: Ignoring config /etc/wicked/ifconfig/network.xml because of higher prio config lo up link: #1, state up type: loopback config: compat:/etc/sysconfig/network/ifcfg-lo leases: ipv4 static granted leases: ipv6 static granted addr: ipv4 127.0.0.1/8 addr: ipv6 ::1/128
enp3s0 up link: #2, state up, mtu 1500 type: ethernet, hwaddr 50:e5:49:c8:2e:8c config: compat:/etc/sysconfig/network/ifcfg-enp3s0 leases: ipv4 static granted addr: ipv4 192.168.2.201/24
enp5s6 up link: #3, state up, mtu 1500 type: ethernet, hwaddr 00:1c:f0:5b:65:5a config: compat:/etc/sysconfig/network/ifcfg-enp5s6 leases: ipv4 static granted addr: ipv4 192.168.10.10/24 route: ipv4 default via 192.168.10.103
wlp0s22f2u4u4u2 up link: #4, state up, mtu 1500 type: wireless config: compat:/etc/sysconfig/network/ifcfg-wlp0s22f2u4u4u2 leases: ipv6 dhcp granted
I now see, it's ignoring /etc/wicked/ifconfig/network.xml and using /etc/sysconfig/network/ifcfg-* but without them only lo gets configured. Regards Sid.
Those results was some weeks ago and there have been many updates to wicked since. I moved /etc/sysconfig/network to / on one box and rebooted - it's all good. sabre:~ # wicked ifstatus all lo up link: #1, state up type: loopback config: /etc/wicked/ifconfig/network.xml leases: ipv4 static granted leases: ipv6 static granted addr: ipv4 127.0.0.1/8 addr: ipv6 ::1/128 enp8s0 up link: #2, state up, mtu 1500 type: ethernet, hwaddr 54:04:a6:32:0b:3c config: /etc/wicked/ifconfig/network.xml leases: ipv4 static granted addr: ipv4 192.168.10.21/24 route: ipv4 default via 192.168.10.103 route: ipv4 192.168.2.0/24 via 192.168.10.2 wlp0s19f2u3 up link: #3, state up, mtu 1500 type: wireless config: /etc/wicked/ifconfig/network.xml leases: ipv4 dhcp granted leases: ipv6 dhcp granted addr: ipv4 192.168.1.3/24 Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org