public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dirk Heinrichs <dirk.heinrichs@online.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to nail the order of modules loaded
Date: Sat, 20 Jun 2009 09:25:49 +0200	[thread overview]
Message-ID: <200906200925.49727.dirk.heinrichs@online.de> (raw)
In-Reply-To: <1245481611.436368@rumba>

[-- 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 --]

  reply	other threads:[~2009-06-20  7:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-20  7:06 [gentoo-user] How to nail the order of modules loaded Konstantinos Agouros
2009-06-20  7:25 ` Dirk Heinrichs [this message]
2009-06-20  7:42   ` Dale
2009-06-20  9:04     ` Dirk Heinrichs
2009-06-20  8:06   ` Neil Bothwick
2009-06-20  9:06     ` Dirk Heinrichs
2009-06-20  9:12       ` Dirk Heinrichs
2009-06-20 10:48       ` Neil Bothwick
2009-06-20 12:38         ` Dirk Heinrichs
2009-06-20 16:10       ` Konstantinos Agouros
2009-06-20 17:54         ` Dirk Heinrichs
2009-06-21  6:48           ` Konstantinos Agouros
2009-06-20 18:54         ` Neil Bothwick
2009-06-21  6:50           ` Konstantinos Agouros

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200906200925.49727.dirk.heinrichs@online.de \
    --to=dirk.heinrichs@online.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox