Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-27-2005, 06:20 PM   #1
Registered: Jan 2002
Location: Livonia, MI
Distribution: Ubuntu 10.04
Posts: 126

Rep: Reputation: 15
need eth2 to be eth0

Mandrake is detecting a couple of firewire ports as eth0 and eth1. I don't use these ports. I would like to assign my ethernet card to eth0 (right now it is eth2). How do I do this?
Old 04-27-2005, 07:17 PM   #2
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
Depends. If you use udev then a udev rule will do the trick

KERNEL="eth*", SYSFS{address}="NIC MAC Address", NAME="eth0"
Should do it (I think) although note that this will make all other net interfaces disappear and therefore may surprise you in the future should you ever add another network card.

As another option add a line "alias eth1394 none" to /etc/modprobe.conf which will prevent the firewire network module from loading in the first place.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
eth0 - eth1 - eth2 and how to determine which driver they are using vharishankar Linux - Networking 7 06-02-2005 10:52 PM
add eth2 varun_saa Mandriva 9 01-14-2005 09:04 AM
eth2 briankb713 Linux - Hardware 0 01-04-2005 08:28 PM
can't find eth2 device hamish Linux - Networking 4 12-03-2003 02:34 PM
eth0 eth1 and eth2 on boot sergiodemoura Linux - Newbie 4 12-03-2003 01:21 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration