Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Mandriva

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-23-2008, 08:08 PM
Bill Unruh
 
Posts: n/a
ethernet numbering-- how to make sense of it?

have a machine which had an onboard intel e100 which I switched off in the
bios. I put in a realtex gigabit card instead. That did not work well, so I
took it out and put in an intel gigabit card. Now, each time the ethernet
device went up by 1. Thus the internal was originally eth0. Then the
realtek was eth1, and the intel gigabit was eth2. But each time commented
out the appropriate line in /etc/modprobe.conf before booting up with the
new card, but the new card still had the higher number. Where in the world
is the system remembering that once upon a time there used to be a
different card which had eth1 or eth0? Why is the new card not numbered
eth0?

Thanks.

Reply With Quote
  #2 (permalink)  
Old 07-23-2008, 08:20 PM
Bill Unruh
 
Posts: n/a
Re: ethernet numbering-- how to make sense of it?

Bill Unruh <unruh@physics.ubc.ca> writes:

> have a machine which had an onboard intel e100 which I switched off in the
>bios. I put in a realtex gigabit card instead. That did not work well, so I
>took it out and put in an intel gigabit card. Now, each time the ethernet
>device went up by 1. Thus the internal was originally eth0. Then the
>realtek was eth1, and the intel gigabit was eth2. But each time commented
>out the appropriate line in /etc/modprobe.conf before booting up with the
>new card, but the new card still had the higher number. Where in the world
>is the system remembering that once upon a time there used to be a
>different card which had eth1 or eth0? Why is the new card not numbered
>eth0?


>Thanks.


As always you post on netnews and the answer comes back-- this time by
telepathy. I found the location where the numbering gets done --
/etc/udev/rules.d/62-create_persistent.rules

Lines like
SUBSYSTEM=="net", ACTION=="add", ENV{INTERFACE}!="*.*",
SYSFS{address}=="00:0a:cd:15:84:d0", NAME="eth1", ENV{MDV_CONFIGURED}="yes"

Ie udev changes the number of the ethernet devices according the mac
address of the card. This is useful I am sure in many cases, where y ou
want consistancy of naming if you have multiple cards, so the system does
not randomly assign a number. However in my case it was a pain.

Thanks to whoever sent me that telepathic message:-)

Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Mandriva


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:04 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Hybrid Car Rental | Jordans | J j benitez | Credit Card | Problem Mortgage



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109