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 same thing would happen if you had physical PCI cards, and you were swapping them around.
It always generates unique names for each unique MAC address that it sees.

You can rename it back to eth0 by editing
/etc/udev/rules.d/70-persistent-net.rules



Hi Kevin.

Thank you very much for your complete explanation.

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 back. I'm asking if there is a command that can say me: no, you don't have an eth0, you have an eth33 (for example). Of course now I know that I can see inside the 70-persistent-net.rules files and look for them (thanks again)

Regards

Juan


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to