Mailinglist Archive: opensuse-bugs (5243 mails)

< Previous Next >
[Bug 809843] Random eth0/eth1 name space with two Ethernet driver modules

Dr. Werner Fink <werner@xxxxxxxx> changed:

What |Removed |Added
InfoProvider|werner@xxxxxxxx |

--- Comment #13 from Dr. Werner Fink <werner@xxxxxxxx> 2013-03-19 08:33:57 UTC
(In reply to comment #12)

Just add a variable HWADDR with the hardware address of the network device to
the ifcfg-eth<#> files. Then a rule file


with e.g.

for cfg in /etc/sysconfig/network/ifcfg-eth* ; do
unset HWADDR
. $cfg
test -n "$HWADDR" || continue
echo 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*"', \
'ATTR{address}=="'$HWADDR'", ATTR{dev_id}=="0x0", ATTR{type}=="1",' \
'KERNEL=="eth*", NAME="'$ETHNUM'"' >

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >