How do I load a kernel module before DHCP?

Zelmo3

Senior member
Dec 24, 2003
772
0
0
For my laptop's wi-fi I'm using Linuxant's driverloader kernel module. It's working fine, except that during boot-up it doesn't load until after the DHCP client tries to get an address from the router. So DHCP spends a minute or two querying a server it can't connect to, then gives up and goes on with the boot process, and the driverloader module is loaded and my wi-fi available sometime after that.

I can then go into a terminal and ifup the connection, but I'd like to have it up before DHCP starts. Is there a way to load the module earlier, or make DHCP wait until later?
 

Zelmo3

Senior member
Dec 24, 2003
772
0
0
Thanks, that did the trick.
I just didn't know that file was processed so early ;)
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
It makes sense that the file is processed so early because of all of the potential dependencies solved by various modules. I don't think I had ever thought about it, but it's one of those "duh" things now that I have. :p