public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] How to nail the order of modules loaded
  @ 2009-06-20  7:25 99% ` Dirk Heinrichs
  0 siblings, 0 replies; 1+ results
From: Dirk Heinrichs @ 2009-06-20  7:25 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 849 bytes --]

Am Samstag 20 Juni 2009 09:06:51 schrieb Konstantinos Agouros:
> Hi,
>
> I have a box that serves as a firewall and thus has different NICs.
> However when booting I run into a problem:
>
> One of the NICs needs the de4x5 driver another the tulip one. Udev
> loads tulip first, which then tries to claim the card the needs de4x5
> but this does not work. So I have to manually set things straight after-
> wards. Is there a way to force it to first load de4x5 and then tulip?
> /etc/modules.autoload.d seems to be used too late.

You can let udev assign persistant names to your network interfaces.

# cat /etc/udev/rules.d/10-local.rules
KERNEL=="eth*", ATTRS{address}=="00:1c:25:1a:ee:0c", NAME="lan0"
KERNEL=="wlan*", ATTRS{address}=="00:1e:4c:37:39:41", NAME="wlan0"

Then create the appropriate symlinks for them in /etc/init.d.

HTH...

	Dirk

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2009-06-20  7:06     [gentoo-user] How to nail the order of modules loaded Konstantinos Agouros
2009-06-20  7:25 99% ` Dirk Heinrichs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox