Re: Why did UDEV renumber my ethernet interface again?

2012-03-01 Thread Martin Steigerwald
Am Donnerstag, 1. März 2012 schrieb Curt Howland:
> But, when the bug was fixed and UDEV started working again, the same
> entry was still in 70-persistent-net.rules to make it eth3.
> 
> Ok. I can live with it. I guess it's better than the good old days
> when one's ethernet ports, if there were more than one in the
> machine, would sometimes swap places. Ah, those were exciting times,
> with real incentive never to reboot!
> 
> Running Debian Sid means never saying one is bored.

I think you do not have to live with it.

Just change the ordering in the persistent net rules way to what suits you 
best. Just make sure that every network card has a different ethN ;).

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201203011925.54155.mar...@lichtvoll.de



Re: Why did UDEV renumber my ethernet interface again?

2012-02-29 Thread Curt Howland
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 27 February 2012, David Goodenough 
 was heard to say:
> On Monday 27 Feb 2012, Curt Howland wrote:
> > > What doesn't make sense is _why_. There is only one ethernet 
> > interface in this machine. Why is UDEV renumbering them _at_all_?
> >
> > Curt-
>
> I had the same thing, and I think it is because a bug in the script
> that processes network udev events was fixed.  I forget the bug
> number, but there was a trailing \ missing from a line.

Ok. Yes, I know my mailer breaks thread references, but that's because 
I get the digest. It's also why I am careful to fix the subject 
lines.

Here's the answer to the problem:

UDEV rules are never removed, only added. The fact that I have plugged 
USB wireless interfaces into this system has incremented the file 
70-persistent-net.rules up to eth2 behind my back. 

I had a motherboard failure a month ago, and when I put in the new 
motherboard I was not surprised that the new ethernet port (since I 
kept the same system drive, no reinstall) was given a new ethernet 
number, eth3.

The bug which Mr. Goodenough mentions above, for a short time, 
reverted my interface to eth0. Not knowing this was a bug, I figured 
the system had simply defaulted back to 0, that what I have learned 
are called persistent rules had removed themselves. Woopie, fine by 
me.

But, when the bug was fixed and UDEV started working again, the same 
entry was still in 70-persistent-net.rules to make it eth3.

Ok. I can live with it. I guess it's better than the good old days 
when one's ethernet ports, if there were more than one in the 
machine, would sometimes swap places. Ah, those were exciting times, 
with real incentive never to reboot!

Running Debian Sid means never saying one is bored.

Thank you to all who replied, it's been a "learning experience".

Curt-


- -- 
The secret of happiness is freedom, 
and the secret of freedom is courage. 
- - Thucydides


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBT065Ky9Y35yItIgBAQLg+wf+KYSRXu71q/QWZxNfWwnOvjMQE93YfNQX
zKRccFQ8UYGrRi687Nj0CULuyplO4Ubwe04i8boNKA06WNKyqPyb5fjPtTY/VAIr
QTvPfkJVuKrzNlIBBnjaOLHGihQrGoHY0MNrKnYJRYLT2RN7Ry/Ul/XZABXY5tv9
3IKh6KbYpqOwn/U2igdlxCJLHBlQyFuVymlVM+CNtqeaGMFOD9oEuFky4PW38r+m
Vj8uYOygyUbby3USrsQ9hq6Wjlf5XtXhhUE5wWI907le8wL7XDCWlCGqF3wpTkk2
8t49XxxEN0BuV29FdHfA0G4CS8wrbTUOE5A9Xjkcb199hqH/i5CV1g==
=WkxB
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201202291847.55464.howl...@priss.com



Re: Why did UDEV renumber my ethernet interface again?

2012-02-27 Thread Brad Rogers
On Mon, 27 Feb 2012 09:46:59 -0500
Curt Howland  wrote:

Hello Curt,

> What doesn't make sense is _why_. There is only one ethernet interface
> in this machine. Why is UDEV renumbering them _at_all_?

I'm guessing, as I don't understand UDEV at all.  Could it be that the
update sees the existing rules, sees that they don't match the current
setup, assumes hardware has been changed, and assigns a new port number
to be safe.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
What will you do when the gas taps turn?
The Gasman Cometh - Crass


signature.asc
Description: PGP signature


Re: Why did UDEV renumber my ethernet interface again?

2012-02-27 Thread David Goodenough
On Monday 27 Feb 2012, Curt Howland wrote:
> Dear Debianistas,
> 
> I'm aware of _what_ UDEV is doing, that is, renumbering my ethernet
> ports to prevent conflicts. Yeah. There's only one, but it's getting
> renumbered "eth3".
> 
> Trouble is, it wasn't renumbered yesterday. Just today. And a week ago.
> 
> About a week ago, UDEV decided to let eth0 remain eth0, which was
> nice, but I had to change /etc/network/interfaces because it had
> previously decided that eth0 should be eth3, and had been doing that
> since I installed it two years ago.
> 
> Yes, I'm running Unstable, so it's the UDEV updates that are doing
> this. That makes sense.
> 
> What doesn't make sense is _why_. There is only one ethernet interface
> in this machine. Why is UDEV renumbering them _at_all_?
> 
> Curt-
I had the same thing, and I think it is because a bug in the script
that processes network udev events was fixed.  I forget the bug 
number, but there was a trailing \ missing from a line.

David


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/201202271533.26614.david.goodeno...@btconnect.com



Re: Why did UDEV renumber my ethernet interface again?

2012-02-27 Thread Camaleón
On Mon, 27 Feb 2012 09:46:59 -0500, Curt Howland wrote:

> I'm aware of _what_ UDEV is doing, that is, renumbering my ethernet
> ports to prevent conflicts. Yeah. There's only one, but it's getting
> renumbered "eth3".

Your ethernet card is having some sort of personality problem :-P

> Trouble is, it wasn't renumbered yesterday. Just today. And a week ago.

Oh, clearly udev wants to test your patience.
 
> About a week ago, UDEV decided to let eth0 remain eth0, which was nice,
> but I had to change /etc/network/interfaces because it had previously
> decided that eth0 should be eth3, and had been doing that since I
> installed it two years ago.

You know how to prevent this, right?
 
> Yes, I'm running Unstable, so it's the UDEV updates that are doing this.
> That makes sense.

Have been any updates for the kernel?
 
> What doesn't make sense is _why_. There is only one ethernet interface
> in this machine. Why is UDEV renumbering them _at_all_?

Does dmesg ("dmesg|grep -i eth") tell you something about what's going on?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jig6tg$288$1...@dough.gmane.org



Re: Why did UDEV renumber my ethernet interface again?

2012-02-27 Thread Javier Barroso
On Mon, Feb 27, 2012 at 3:46 PM, Curt Howland  wrote:
> Dear Debianistas,
>
> I'm aware of _what_ UDEV is doing, that is, renumbering my ethernet
> ports to prevent conflicts. Yeah. There's only one, but it's getting
> renumbered "eth3".
>
> Trouble is, it wasn't renumbered yesterday. Just today. And a week ago.
>
> About a week ago, UDEV decided to let eth0 remain eth0, which was
> nice, but I had to change /etc/network/interfaces because it had
> previously decided that eth0 should be eth3, and had been doing that
> since I installed it two years ago.
>
> Yes, I'm running Unstable, so it's the UDEV updates that are doing
> this. That makes sense.
>
> What doesn't make sense is _why_. There is only one ethernet interface
> in this machine. Why is UDEV renumbering them _at_all_?
mmm, what does /etc/udev/70-persistent-net.rule file say ?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAL5yMZTdU=TG-P0++b7PU9Pn5Km8KWgesjEJn=uxsbdqb3a...@mail.gmail.com



Re: Why did UDEV renumber my ethernet interface again?

2012-02-27 Thread Carlo Borelli
2012/2/27 Curt Howland 

> Dear Debianistas,
>
> I'm aware of _what_ UDEV is doing, that is, renumbering my ethernet
> ports to prevent conflicts. Yeah. There's only one, but it's getting
> renumbered "eth3".
>
> Trouble is, it wasn't renumbered yesterday. Just today. And a week ago.
>
> About a week ago, UDEV decided to let eth0 remain eth0, which was
> nice, but I had to change /etc/network/interfaces because it had
> previously decided that eth0 should be eth3, and had been doing that
> since I installed it two years ago.
>
> Yes, I'm running Unstable, so it's the UDEV updates that are doing
> this. That makes sense.
>
> What doesn't make sense is _why_. There is only one ethernet interface
> in this machine. Why is UDEV renumbering them _at_all_?
>
>
Sincerely dunno why, it appear a strange behaviour.
Do you tried to manually modify  /etc/udev/rules.d/70-persistent-net.rules
and restart udev and networks services?


Why did UDEV renumber my ethernet interface again?

2012-02-27 Thread Curt Howland
Dear Debianistas,

I'm aware of _what_ UDEV is doing, that is, renumbering my ethernet
ports to prevent conflicts. Yeah. There's only one, but it's getting
renumbered "eth3".

Trouble is, it wasn't renumbered yesterday. Just today. And a week ago.

About a week ago, UDEV decided to let eth0 remain eth0, which was
nice, but I had to change /etc/network/interfaces because it had
previously decided that eth0 should be eth3, and had been doing that
since I installed it two years ago.

Yes, I'm running Unstable, so it's the UDEV updates that are doing
this. That makes sense.

What doesn't make sense is _why_. There is only one ethernet interface
in this machine. Why is UDEV renumbering them _at_all_?

Curt-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cagy8_s3aajawko8+uzzte8cd47sveay-ti5rgk8wozzrsld...@mail.gmail.com