linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kevin Wilson <wkevils@gmail.com>
To: linux-hotplug@vger.kernel.org
Subject: How to avoid renaming of network devices (eth5 to eth0, eth6 to eth1, and so on)
Date: Sat, 25 Aug 2012 10:33:54 +0000	[thread overview]
Message-ID: <CAGXs5wWP4mY=cqSbOJeu6Uwa2z8X5Jeks--Qv9_LyZ5vSDJfmw@mail.gmail.com> (raw)

Hello,

I am using Ubuntu with udev on a Linux machine

From time to time it happens that network devices are renamed after boot,
and this is due to udev (I know for sure that the reason for this is
uboot,  because if I delete the udev
network rules file from /etc/udev/rules.d/, and reboot again, this
renaming does not occur).

What I mean more specifically is this:
I boot and I have (when running "ifconfig -a") eth0, eth1, eth2, eth3
(I have 4 network cards).
sometimes after reboot I get with ""ifconfig -a" " the following :
eth6, eth7, eth8, eth9

(I cannot specify at which occasions exactly does it happen, whether
it is as a result of some setting
I change,  etc.)

How can I prevent this renaming of network devices ? Can I somehow prevent
udev renaming of network interfaces totally ?

rgs,
Kevin

             reply	other threads:[~2012-08-25 10:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-25 10:33 Kevin Wilson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-09-16 16:12 How to avoid renaming of network devices (eth5 to eth0, eth6 to eth1, and so on) Kay Sievers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGXs5wWP4mY=cqSbOJeu6Uwa2z8X5Jeks--Qv9_LyZ5vSDJfmw@mail.gmail.com' \
    --to=wkevils@gmail.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).