Setting options for loaded modules?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Does anyone know of a way to pass options to a network module that is loaded for a kickstart over NFS? For instance, if it were not kickstart I would perhaps do something like this in the "modules.conf":

     alias eth0 e1000
     option e1000 Speed=100 Duplex=2

Looking through the "loader" source code it looks like it passes a static NULL for loaded network modules to "mlLoadModule()" for "args" which is "modload()" option arguments (at least as far as I can tell).

Shoving the option(s) into our custom boot floppy "initrd.img"'s "/etc/modules.conf" file doesn't seem to have an effect either.

Is there some way to do this? Note: I'm not stuck on the speed/duplex issue specifically. We have other network modules, which we ultimately load (kickstart) through as well, that need specific options set (like wireless options). Basically, the question is, can you set options on any of the loaded net modules that you will be kickstarting through during the kickstart load up.

Thanks,

			- Matt

--

---------------------------------------------------------------------
Matt Fahrner                                    2 South Park St.
Manager of Networking                           Willis House
Burlington Coat Factory Warehouse               Lebanon, N.H.  03766
TEL: (603) 448-4100 xt 5150                     USA
FAX: (603) 443-6190                             Matt.Fahrner@xxxxxxxx
---------------------------------------------------------------------





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux