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:42 99%   ` Dale
  0 siblings, 0 replies; 1+ results
From: Dale @ 2009-06-20  7:42 UTC (permalink / raw
  To: gentoo-user

Dirk Heinrichs wrote:
> 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
>   

Could he not just build the modules into the kernel and then not have to
worry about the loading at all?  Heck, the only module I use is nvidia
but it is not a "in kernel" option.

Just a though.  He may have a reason for using modules.

Dale

:-)  :-) 



^ 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     ` Dirk Heinrichs
2009-06-20  7:42 99%   ` Dale

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