Mailinglist Archive: opensuse-factory (776 mails)

< Previous Next >
Re: [opensuse-factory] 13.1 - why network eth0 is named instead ens33?
On 29/09/13 09:44, Per Jessen wrote:
Sid Boyce wrote:

On 28/09/13 22:04, James Knott wrote:
Sid Boyce wrote:
One cause is that /etc/udev/rules.d/ is missing as
happend on this box.
You can set them up appriately with the MAC addresses in the order
you require.
# cat /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="50:e5:49:c8:2e:8c", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1c:f0:5b:65:5a", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:0e:2e:f1:36:99", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="wlan0"
Is it my imagination, or is it the purpose of all these changes to
make administration more difficult? I have also been running Linux
for several years and never had a problem with NIC ID, at least with
up to 3 NICs. In my experience, the ID depends on the slot the NIC
is plugged into. According to the above, changing a NIC will require
editing a file, to ensure the same ID is used.
I agree.
After doing an upgrades via zypper dup I noticed there was a change to
ens65 or something like that but only on one of 3 boxes.
The other 2 boxes still had /etc/udev/rules.d/
Yes, on an update you should definitely be able to retain the existing
naming. I suggest you open a bugreport.

I shall leave as is for now as I created /etc/udev/rules.d/ on the one box where it was missing, subsequent updates have not changed it.

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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >