[SOLVED] udev renames eth0 to p4p1 (?)
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2007
    Posts
    172
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    udev renames eth0 to p4p1 (?)

    On my fresh Fedora 15 install, my wired network adapter is named p4p1, rather than eth0. I'd like it to be named eth0. I have this line in dmesg:

    Code:
    [   69.167743] udev[611]: renamed network interface eth0 to p4p1
    But I don't see a rule in /etc/udev/rules.d that would cause this.

    This is how my ethernet device shows up in lspci:

    Code:
    03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
    What's causing udev to rename my adapter? I have another Fedora system which was upgraded from 14 that does not do this. I suppose I could write a rule to name it back, but I'm not sure if that's the right approach here. Any thoughts?

    Thanks.

  2. #2
    Join Date
    May 2010
    Location
    Adelaide, Australia
    Age
    25
    Posts
    671
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: udev renames eth0 to p4p1 (?)

    This was introduced in Fedora 15. See:
    http://fedoraproject.org/wiki/Featur...rkDeviceNaming
    http://fedoraproject.org/wiki/Fedora...Naming_Feature

    To disable this add this to the kernel line in /boot/grub/grub.conf:
    Code:
    biosdevname=0

  3. #3
    Join Date
    Jun 2007
    Posts
    172
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: udev renames eth0 to p4p1 (?)

    Thanks.

    The feature makes sense. It's too bad linux matlab ties its licencing to a network device named ethX.

  4. #4
    Join Date
    Aug 2010
    Posts
    134
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: udev renames eth0 to p4p1 (?)

    The new names make sense?

    The old names eth0, eth1, at least sounded like ethernet, whereas p4p1 is cryptic. The first p is for pci, but a pci card can be a lot of things and the letter p alone doesn't exactly jump out and suggest pci. The second p is for port, but who would have guessed it? I think the new names are a step backwards.
    Truthfulness is the main element of character.

  5. #5
    Join Date
    Aug 2009
    Location
    Waldorf, Maryland
    Posts
    7,345
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: udev renames eth0 to p4p1 (?)

    The documentation kind of sucks...

    On my systems there are two embeded ethernets.. so from the documentation they should be em0/em1... but they are PCI attached, so they come up p5p1 and p6p1... (there are no such slots as 5 & 6...)

    Fortunately, ifconfig was able to list them.

    The goals listed are reasonable - and it can make things better... but until you find the correct association it is confusing.

Similar Threads

  1. Udev
    By hp3000guy in forum Servers & Networking
    Replies: 1
    Last Post: 20th August 2011, 10:02 PM
  2. Replies: 0
    Last Post: 27th May 2010, 09:20 PM
  3. kernel renames wlan to eth
    By covex in forum Servers & Networking
    Replies: 4
    Last Post: 28th February 2008, 09:16 AM
  4. Replies: 1
    Last Post: 26th November 2007, 11:57 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •