Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-24-2005, 06:51 PM   #1
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
auto-load nic driver on boot? (slack)

i have an Asus P4p-800Deluxe Motherboard with integrated NIC (3COM Gigabit LOM 3C940).
i downloaded the driver from the asus site (the .tar.gz file is in the .zip file) and followed the directions within the included readme file

it says there is basically 2 commands which will load the driver:
'make load' and 'insmod 3c2000.o'
i forget which one, but for one of them it says command not found, when a normal user.. therefore i must enter the command as root.

im wondering where i can put the contents of the driver (in my home directory shouldnt be necessary at all) and what file i can edit so that this command to load the driver will automatically be ran everytime i boot the computer

if someone can help me or guide me with this, itll be yet one more step closer to being that much more comfortable with linux as a future permanent OS. i cant believe iv even gotten this far, considering its slack.

thanks for any input.

i was just checking out the online man page from LQ about insmod and it mentions /etc/modules.conf ... im in M$ right now so cant check.. but does this file maybe contain modules to load at boot time, and i can just add a line to this?

Last edited by nadroj; 04-24-2005 at 07:36 PM.
Old 04-24-2005, 08:00 PM   #2
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401

Rep: Reputation: 30
In Slackware, you need to add the appropriate commands to the /etc/rc.d/rc.local file -- also make sure that the file is marked executable. Anything you put in this file will be executed during the last bit of the boot process.
Old 04-24-2005, 08:13 PM   #3
Registered: Dec 2003
Location: Next to Equator
Distribution: GNU/Linux 2.6.14
Posts: 382

Rep: Reputation: 30
i am not sure , but i suspect it is in the kernel and it is called SK98LIN_T1 under the network section of the config. Can you rebuild the kernel with this driver built in? Sorry i dont know for sure.

If you have some generic lan card, like from realtek or via or intel, you can plug it in for your immediate usage of linux, as these are normally detected by slackware. When you are in linux environment, it's easier for you to find the solution as you can immediately experiment whet you have learned. Good luck.
Old 04-24-2005, 08:18 PM   #4
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Original Poster
Rep: Reputation: 60
ok.. first thanks.

so i chmod the file you said and make it +x...
and add that command as a new line to the end of the file (make load, or the other one i mentioned, whichever..)
where should i put the 3c2000 (or whatever the exact name was) folder which contains the driver and all the .c/.h files?

also, on a side note.. i see so much about rc.. what is this? i saw a post in a thread somewhere on LQ that said 'man rc' to see what it was but i have done that and it isnt found (or 'nothing appropriate')
Old 04-24-2005, 08:21 PM   #5
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Original Poster
Rep: Reputation: 60
i have no clue how to compile kernels and all that fancy jazz.. im quite a newbie to linux still so thats way beyond me right now i think.
i have an onboard nic from 3Com
Old 04-24-2005, 08:42 PM   #6
Andy Alt
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Debian64 stable, LFS 7.1
Posts: 393

Rep: Reputation: 50
Most of the startup scripts are in the /etc/rc.d dir. If you load
that driver from rc.local in that dir, you might not get network
because I believe that's the last one that's run upon bootup. Perhaps
I'm wrong and it doesn't matter. If you notice that it matters,
you'll see rc.modules in that same dir. Edit that one instead. You'll
see most of your kernel modules are loaded from there. Maybe your
card is already in there. How I figured out which to load for my
NIC was to run rc.hotplug, then check the output with 'dmesg | less'
then found the appropriate module in /etc/rc.d/rc.modules and deleted
# sign in front of it. Also, Slackware will look for
/etc/rc.d/rc.netdevice (chmod 700 or 755) with one line to
load the module for your NIC. Maybe add a #!/bin/sh to the top if
you'd like and make it two lines. Those are all scripts in that
directory and viewable with more, most, less; and editable with pico
or vi, or whatever you care to use for a text editor.

The only advantage to rc.netdevice instead of loading it from
rc.modules is manageability. If you ever need to refer to the module,
you don't have to scroll through rc.modules, you can just view


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
grub doesn't auto-load kernel, time/date auto-change, k3b cannot load kenji1903 Red Hat 16 03-27-2005 08:48 PM
where to set up "modprobe 3c59x" to load nic driver on boot? zero79 Debian 3 04-15-2004 03:42 PM
Slack+kernel2.6.4 modules don't load ? how to start integrated kernel driver? elfenoir Slackware - Installation 1 03-23-2004 03:07 AM
NIC driver install issues w/ Slack 9.1 Conpen2000 Linux - Newbie 6 01-04-2004 09:44 PM
Auto Load x0rfbserver (VNC) On Boot zipur Linux - Software 5 10-08-2002 11:20 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration