Re: How to know the name of an ethernet interface.

2009-09-14 Thread Stefan Monnier
> But about the ifconfig -a command; it only reports the interfaces > configured in the /etc/X11/interfaces file, so (in my case) if I _do not_ No it doesn't. It doesn't look at /etc/*/interfaces at all. Stefan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with

Re: How to know the name of an ethernet interface.

2009-09-14 Thread Juan Lavieri
Roberto De Oliveira escribió: But about the ifconfig -a command; it only reports the interfaces configured in the /etc/X11/interfaces file, so (in my case) if I _do not_ edit the /etc/udev/rules file as you said and I change into my /etc/X11/interfaces file my eth2 back to eth0, ifconfig wo

Re: How to know the name of an ethernet interface.

2009-09-14 Thread Juan Lavieri
Boyd Stephen Smith Jr. escribió: In <4aaedfdd.1030...@cantv.net>, Juan Lavieri wrote: But about the ifconfig -a command; it only reports the interfaces configured in the /etc/X11/interfaces file, Nope. ifconfig -a lists all devices active in the kernel. The "-a" stands for "all" (as oppos

Re: How to know the name of an ethernet interface.

2009-09-14 Thread Boyd Stephen Smith Jr.
In <4aaedfdd.1030...@cantv.net>, Juan Lavieri wrote: >But about the ifconfig -a command; it only reports the interfaces >configured in the /etc/X11/interfaces file, Nope. ifconfig -a lists all devices active in the kernel. The "-a" stands for "all" (as opposed to just the configured ones, whi

Re: How to know the name of an ethernet interface.

2009-09-14 Thread Roberto De Oliveira
> > But about the ifconfig -a command;   it only reports the interfaces > configured in the /etc/X11/interfaces file, so (in my case) if I _do not_ > edit the /etc/udev/rules file as you said and I change into my > /etc/X11/interfaces file my eth2 back to eth0, ifconfig would never see eth2 > b

Re: How to know the name of an ethernet interface.

2009-09-14 Thread Juan Lavieri
Jerome BENOIT escribió: Hello Juan, actually you can name it via udev: you may have a generated rules file that you can modify. /etc/udev/rules.d/70-persistent-net.rules hth, Jerome Juan Lavieri wrote: Hi. The past weekend I did change my motherboard. The new one has the ethernet interfa

Re: How to know the name of an ethernet interface.

2009-09-14 Thread Juan Lavieri
Kevin Ross escribió: My questio is: How can I know what name is asigned to a such a card? Is there any command? ifconfig -a I have only one and it's eth2, why? When you swapped motherboards, udev saw new Ethernet interfaces with new MAC addresses, so it assigned new names to them. The sa

Re: How to know the name of an ethernet interface.

2009-09-14 Thread Jerome BENOIT
Hello Juan, actually you can name it via udev: you may have a generated rules file that you can modify. /etc/udev/rules.d/70-persistent-net.rules hth, Jerome Juan Lavieri wrote: Hi. The past weekend I did change my motherboard. The new one has the ethernet interface integrated into it (no

RE: How to know the name of an ethernet interface.

2009-09-14 Thread Kevin Ross
> My questio is: How can I know what name is asigned to a such a card? > Is there any command? ifconfig -a > I have only one and it's eth2, why? When you swapped motherboards, udev saw new Ethernet interfaces with new MAC addresses, so it assigned new names to them. The same thing would happ