You are not logged in.

#1 2007-04-04 19:45:01

djidji
Member
Registered: 2007-02-26
Posts: 57

installing a NIC driver and using it on startup

i just went through the process of installing a NIC driver but in order to use the nic i have to do every time computer is restarted

#insmod usr.o

how do i fix this so that the NIC is recognized as soon as the computer is started? thanks in advance...

Offline

#2 2007-04-05 11:55:02

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: installing a NIC driver and using it on startup

first do this:

# depmod -ae

If you can then do this:

modprobe usr

without any messages and the module gets loaded (check with lsmod), you can add "usr" to the MODULES array in /etc/rc.conf
if you get an error, try "modprobe usr.o"


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#3 2007-04-05 14:18:27

djidji
Member
Registered: 2007-02-26
Posts: 57

Re: installing a NIC driver and using it on startup

thanks for the response.

depmod -ae generates bunch of lines in the form

depmod:     softnet_data
depmod:     printk
etc....

modprobe usr did not return any messages. i made sure that usr was loaded with lsmod and than added usr in rc.conf in before network. however when i restarted the computer i had to load the module again. i checked first with lsmod and it wasn't loaded. any ideas?

Offline

#4 2007-04-05 17:40:40

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: installing a NIC driver and using it on startup

djidji wrote:

... i made sure that usr was loaded with lsmod and than added usr in rc.conf in before network. however when i restarted the computer i had to load the module again. i checked first with lsmod and it wasn't loaded. any ideas?

You put it before 'network'? That will be the DAEMONS array. You need to put 'usr' in the MODULES array.

Offline

#5 2007-04-05 18:22:43

djidji
Member
Registered: 2007-02-26
Posts: 57

Re: installing a NIC driver and using it on startup

yes that wasn't really smart... thank for the clarification - everything works well now.

Offline

Board footer

Powered by FluxBB