В Fri, 22 Mar 2013 15:59:32 -0700 Marc Chamberlin <marc@marcchamberlin.com> пишет:
On 3/22/2013 10:14 AM, Andrey Borzenkov wrote:
В Fri, 22 Mar 2013 10:10:22 -0700 Marc Chamberlin <marc@marcchamberlin.com> пишет:
Thanks for writing Istvan, unfortunately no joy using your idea. Per Jesson pointed out that there is a bug which is causing the device ID to be randomly assigned to each NIC, so despite the fact that you might be able to get the assignments correct one time does not mean it will stay persistent the next time you reboot. Update to put back legacy persistent interface names is already submitted. And how does one go about getting this update? Marc...
Ehh ... "zypper patch" when it released? If you need it now:
https://build.opensuse.org/project/show?project=openSUSE%3AMaintenance%3A147... Guys - I believe the update came out today. I managed to get my external NIC configured long enough to install it, however still no joy getting my gateway computer to boot up with the network configured correctly, every time. It still behaves randomly, sometimes it works, more often not. I gave up on trying to use YaST to configure the two network cards on my gateway computer however, (it still gets confused when I try to use it to reverse the device names being assigned to each of my NICs) and manually configured the /etc/sysconfig/network/ifcfg-eth* files. Shown below is what I am seeing in log files, the files as they are configured, and the results when I
On 3/22/2013 9:12 PM, Andrey Borzenkov wrote: try to bring up the network manually - From boot.log - [FAILED] Failed to start LSB: Configure network interfaces and set up routing. See 'systemctl status network.service' for details. From systemctl status network.service - systemctl status network.service network.service - LSB: Configure network interfaces and set up routing Loaded: loaded (/etc/init.d/network) Active: failed (Result: exit-code) since Wed, 2013-03-27 11:27:08 PDT; 3min 22s ago Process: 505 ExecStart=/etc/init.d/network start (code=exited, status=7) CGroup: name=systemd:/system/network.service Mar 27 11:27:08 network.name.removed network[505]: 29 28 26 25 24 23 21 20 19 17 16 15 13 12 11 9 8 7 6 4 3 2 0 Mar 27 11:27:08 network.name.removed network[505]: eth0 device: Accton Technology Corporation SMC2-1211TX Mar 27 11:27:08 network.name.removed network[505]: eth0 is down Mar 27 11:27:08 network.name.removed network[505]: ..failed eth0 interface could not be set up until now Mar 27 11:27:08 network.name.removed network[505]: ..failed eth1 device: Intel Corporation 82573V Gigabit Ethernet Con Mar 27 11:27:08 network.name.removed network[505]: eth1 is down Mar 27 11:27:08 network.name.removed network[505]: ..failed eth1 interface could not be set up until now Mar 27 11:27:08 network.name.removed network[505]: ..failedSetting up service network . . . . . . . . . . . . ...failed Mar 27 11:27:08 network.name.removed systemd[1]: Failed to start LSB: Configure network interfaces and set up routing. Mar 27 11:27:08 network.name.removed systemd[1]: Unit network.service entered failed state Contents of /etc/sysconfig/network/ifcfg-eth0 cat ifcfg-eth0 BOOTPROTO='static' BROADCAST='' ETHTOOL_OPTIONS='' IPADDR='169.254.1.100/24' MTU='' NAME='82573V Gigabit Ethernet Controller (Copper)' NETWORK='' REMOTE_IPADDR='' STARTMODE='auto' USERCONTROL='no' Contents of /etc/sysconfig/network/ifcfg-eth1 cat ifcfg-eth1 BOOTPROTO='static' BROADCAST='' ETHTOOL_OPTIONS='' IPADDR='192.168.10.100/24' MTU='' NAME='SMC2-1211TX' NETWORK='' REMOTE_IPADDR='' STARTMODE='auto' USERCONTROL='no' Contents of /etc/udev/rules.d/70-persistent-net.rules - cat 70-persistent-net.rules # PCI device 0x8086:0x108b (e1000e) # PCI device 0x1113:0x1211 (8139too) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:29:70:57:84", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:13:20:7a:8a:fb", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" After booting up, the network is NOT working. When I manually bring up eth0 (note: this is trying to assign the wrong NIC to this device name.) - ifup eth0 eth0 device: Accton Technology Corporation SMC2-1211TX (rev 10) redirecting to systemctl try-restart dhcpd When I manually bring up eth1 (note: this is trying to assign the wrong NIC to this device name.) - ifup eth1 eth1 device: Intel Corporation 82573V Gigabit Ethernet Controller (Copper) (rev 03) redirecting to systemctl try-restart dhcpd From ifconfig (you can tell by looking at the MAC addresses that the wrong NIC is assigned the wrong device name and this is inconsistent with 70-persistent-net.rules.) - ifconfig eth0 Link encap:Ethernet HWaddr 00:E0:29:70:57:84 inet addr:169.254.1.100 Bcast:169.254.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4967 errors:0 dropped:0 overruns:0 frame:0 TX packets:350 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:358881 (350.4 Kb) TX bytes:27828 (27.1 Kb) eth1 Link encap:Ethernet HWaddr 00:13:20:7A:8A:FB inet addr:192.168.10.100 Bcast:192.168.10.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:19 errors:0 dropped:0 overruns:0 frame:0 TX packets:9 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1459 (1.4 Kb) TX bytes:1791 (1.7 Kb) Interrupt:17 Memory:93100000-93120000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:372 errors:0 dropped:0 overruns:0 frame:0 TX packets:372 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:36796 (35.9 Kb) TX bytes:36796 (35.9 Kb) Doing an rcnetwork restart or letting YaST restart the network does not help either. Dunno where else to look or what else I could/should configure, so appreciate any ideas... Marc... -- "The Truth is out there" - Spooky -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org