|
From: Bradlee L. <bra...@gm...> - 2009-09-02 14:20:07
|
There is not an /etc/udev or a /lib/udev on my system (it's DL 1.2.15
I think). Maybe you're on the new RC version?
On Tue, Sep 1, 2009 at 9:52 PM, Serge Leschinsky<fi...@in...> wrote:
> Hello Bradlee,
>
> Bradlee Landis wrote:
>> How does devil linux decide how to order the ethernet devices?
> To be precise, it does not DL, but udev subsystem. The answer on your question
> is somewhere inside '/lib/udev/write_net_rules' (it's shell script) :-)
>
>> installed it on about 10 servers, and it does it the same way every
>> time:
>> Physical Device
>> 1 eth2
>> 2 eth3
>> 3 eth0
>> 4 eth1
>> 5 eth7
>> 6 eth6
>> 7 eth5
>> 8 eth4
>
> You can check the order of your NICS in
> '/etc/udev/rules.d/70-persistent-net.rules' file (and change the order, if you
> want).
>
> On my system it looks like the following:
>
> root@Devil:~ # cat /etc/udev/rules.d/70-persistent-net.rules
> # This file was automatically generated by the /lib/udev/write_net_rules
> # program, run by the persistent-net-generator.rules rules file.
> #
> # You can modify it, as long as you keep each rule on a single
> # line, and change only the value of the NAME= key.
>
> # PCI device 0x10ec:0x8169 (r8169)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR{address}=="00:14:d1:16:ab:c5", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
>
> # PCI device 0x10ec:0x8139 (8139too)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR{address}=="00:0a:e6:88:8f:4d", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
>
>
> Sincerely,
> Serge
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Devil-linux-discuss mailing list
> Dev...@li...
> https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss
>
|