Loading module before Network Configuring

Noah Dain noahdain at gmail.com
Tue Feb 15 23:37:26 UTC 2005


On Tue, 15 Feb 2005 21:47:07 +0100, "Mariano F.co Benítez Mulet"
<mariano at teragiga.com> wrote:
> Hi there.
> Here's my problem.
> 
> In the boot up sequence I'd need to add a module which will allow the
> "network detection" module to work properly.
> I usually do it after I logged in gnome but I'd like to do it in the
> boot process.
> Here is what I have to type to make it work:
> 
> insmod /lib/modules/2.6.10-2-386/kernel/drivers/char/acerhk.ko
> echo 1 > /proc/driver/acerhk/wirelessled
> 
> Is there a way this can be done without having to type it or to execute
> it after gnome is loaded?
> 
> Thanks in advance
> 
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 
add 'acerhk' to /etc/modules

you can also define actions to be executed before and after bring an
interface up or down

see 'man interfaces', look for 'up', 'pre-up', 'down', and 'post-down'

-- 
Noah Dain




More information about the ubuntu-users mailing list