On Sunday 07 Apr 2013 18:48:02 Nick Khamis wrote:
> I just did got udev updated. Did all the steps in the news:
> 
> 1. tempfs in kernel

I guess you're talking about:  CONFIG_DEVTMPFS=y


> 2. nothing in /etc/udev/rules.d

That's OK.


> 3. removed udev-postmount from runlevel

Good.


> 4) check fstab for the /tmp....

I guess again you mean:  /dev


> And it changed!!!!!

If your NICs changed their name then most likely the drivers were built in the 
kernel and not as modules.

If so, you have following  3 options:

1. Go with the new names.  Change your entries in /etc/conf.d/net to use the 
new names as these are shown here:

  ls -la /sys/class/net/

and then change the symlinks in your /etc/init.d/from the old interface names 
to the new:

  cd /etc/init.d
  rm net.eth0 && ln -s net.lo net<New_Name>
  ls -l net.<New_Name>
  lrwxrwxrwx 1 root root 6 Mar 31 11:51 /etc/init.d/net.enp11s0 -> net.lo

the last line is what mine shows, for what used to be net.eth0 on *my* 
machine.


2. You categorically don't want the new 'predictable' names and you want to 
stay as you were:

Rebuild your kernel with the drivers for the NICs as modules.  The kernel 
*should* rename them to what they were before.  I can't vouch for this, but 
NICs which are not built in here were not renamed by udev.


3. You categorically don't want the new 'predictable' names and you want to 
stay as you were, but you don't want to rebuild the kernel:

3.1 Create a new empty file:

  touch /etc/udev/rules.d/80-net-name-slot.rules

and reboot.  The kernel will rename the interfaces hopefully as they were 
before.

3.2  Instead of creating the empty 80-net-name-slot.rules file, append this 
option in your grub kernel line:

  net.ifnames=0


I hope some of the above will work for you and you'll be able to get back 
where you were a couple of days ago.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to