From: <Use...@zo...> - 2007-12-08 17:12:14
|
colinux:~# uname -a Linux colinux 2.6.22-co-0.8.0 #1 PREEMPT Mon Dec 3 23:34:07 CET 2007 i686 GNU/Linux shows an, em, effect on debian 4.0: Effect: After the second start of colinux the network is not working anymore. An attempt to start the network from console manually complaints like this: colinux:~# /etc/init.d/networking restart Reconfiguring network interfaces...SIOCSIFADDR: No such device eth0: ERROR while getting interface flags: No such device SIOCSIFNETMASK: No such device eth0: ERROR while getting interface flags: No such device Failed to bring up eth0. SIOCSIFADDR: No such device ... #cat /proc/net/dev shows an eth device number greater eth0, incremented with each boot. The effect is (currently) only seen on debian 4.0 (etch). Workarround: 1st step: Assign a fixed MAC address in the colinux config: For example: eth0=pcap-bridge,,0A:C0:71:65:08:00, (implicit ethernet device is not recommanded) eth0=pcap-bridge,"WindowsNameOfYourEthernet",0A:C0:71:65:08:00, eth0=tuntap,LAN-TAP V8(colinux),0A:C0:71:65:08:00, Attention: The "second" nibble (from left) should have only the values 2,6,A or E. The remainder does not matter as long as it is unique in your LAN. 2nd step: remove all entries in "/etc/udev/rules.d/z25_persistent-net.rules" like these: SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:ff:06:be:41:00", NAME="eth0" # PCI device 0x1a55:0x0005 (conet) SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:ff:25:e6:00:00",NAME="eth1" (Typically the file is empty except the comment header) Rainer |