Re: 2 eth and boot
Matt Zagrabelny wrote: > i found in the martin f krafft debian system book: > > (i havent tried it though, so i cant comment if it works or not) > > # grep eth /etc/udev/rules.d/local-netifaces > KERNEL="eth*", SYSFS{address}="00:00:de:ad:be:ef", NAME="eth0" > KERNEL="eth*", SYSFS{address}="00:00:fe:ed:ba:be", NAME="eth1" Thanks for pointing that out. I have been trying to use the order in /etc/modules to keep track of my network cards, but that doesn't work any longer in unstable. There are some more detailed instructions for writing these rules (and finding out the SYSFS address) here: http://www.sicherheitsschwankung.de/node/9 -- Cheers, Sven Arvidsson http://www.whiz.se PGP Key ID 760BDD22 signature.asc Description: Digital signature
Re: 2 eth and boot
> > How i make to alwais be the same? > > i have read that udev can do this for you, but have never done it > myself. > i found in the martin f krafft debian system book: (i havent tried it though, so i cant comment if it works or not) # grep eth /etc/udev/rules.d/local-netifaces KERNEL="eth*", SYSFS{address}="00:00:de:ad:be:ef", NAME="eth0" KERNEL="eth*", SYSFS{address}="00:00:fe:ed:ba:be", NAME="eth1" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: 2 eth and boot
On Tue, 2006-01-03 at 11:42 -0800, Enrique Morfin wrote: > Hi! > > Happy new year! > > I have a box with 2 eth (1 intel, 1 3com) > > each time it boot, eth0 and eth1 are different: > > boot one: intel=eth0 3com=eth1 > boot two: intel=eth1 3com=eth0 > > well, not alwais change, it seams to be random. > > How i make to alwais be the same? i have read that udev can do this for you, but have never done it myself. -matt zagrabelny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: 2 eth and boot
I have a box with 2 eth (1 intel, 1 3com) each time it boot, eth0 and eth1 are different: boot one: intel=eth0 3com=eth1 boot two: intel=eth1 3com=eth0 well, not alwais change, it seams to be random. How i make to alwais be the same? Interesting... i have two identical cards and they are always the same... Having two different ones you might try putting the respective modules in /etc/modules in the order you want them, but i'm no expert. You can check dmesg in order to see what modules you need This is a known problem and is currently being worked on by Debian Developers. For now, putting the modules in /etc/modules should be sufficient. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: 2 eth and boot
On 1/3/06, Enrique Morfin <[EMAIL PROTECTED]> wrote: > Hi! > > Happy new year! > > I have a box with 2 eth (1 intel, 1 3com) > > each time it boot, eth0 and eth1 are different: > > boot one: intel=eth0 3com=eth1 > boot two: intel=eth1 3com=eth0 > > well, not alwais change, it seams to be random. > > How i make to alwais be the same? Warning: Hack follows. You could try installing 'ifrename' and then create a startup script that calls it before the interfaces are brought up. I'd suggest finding the hardware address of each nic and then naming the interfaces after them in some way (ie: eth00132096C267). Then there'd be no doubt which interface was which. Of course, it could be a real pain if you ever installed a new NIC. Maybe it'd be better to use 'lspci' to decide the name of the NIC. I dunno. Lots of options here.
Re: 2 eth and boot
On Tue, 3 Jan 2006 11:42:34 -0800 (PST) Enrique Morfin <[EMAIL PROTECTED]> wrote: > Hi! > > Happy new year! > > I have a box with 2 eth (1 intel, 1 3com) > > each time it boot, eth0 and eth1 are different: > > boot one: intel=eth0 3com=eth1 > boot two: intel=eth1 3com=eth0 > > well, not alwais change, it seams to be random. > > How i make to alwais be the same? > > Thanks > > > > > __ > Yahoo! for Good - Make a difference this year. > http://brand.yahoo.com/cybergivingweek2005/ > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > Interesting... i have two identical cards and they are always the same... Having two different ones you might try putting the respective modules in /etc/modules in the order you want them, but i'm no expert. You can check dmesg in order to see what modules you need HTH Andrei -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
2 eth and boot
Hi! Happy new year! I have a box with 2 eth (1 intel, 1 3com) each time it boot, eth0 and eth1 are different: boot one: intel=eth0 3com=eth1 boot two: intel=eth1 3com=eth0 well, not alwais change, it seams to be random. How i make to alwais be the same? Thanks __ Yahoo! for Good - Make a difference this year. http://brand.yahoo.com/cybergivingweek2005/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]