Link to home
Start Free TrialLog in
Avatar of dissolved
dissolved

asked on

Installing NIC driver in linux

Let's say I had a NIC in my linux box that wasnt on the HCL, so the driver wasnt loaded. How would I go about getting the drive installed.

Let's start real basic. Say I throw the cdrom in with the linux driver on it
then do a

cp /mnt/cdrom/driver  /tmp

Now it's on the hard drive. What would I do from there? Does /etc house drivers or is it /dev??
Thanks
Avatar of Luxana
Luxana
Flag of Australia image

HI,

3 options

1) you have you "driver" compiled inside the kernel

2)you can have module(driver)outside the kernel
/lib/modules/2.6.8.1-3-386/kernel
and use modprobe command to install module
what modules are you currently using check with
lsmod

3) on cdrom . If you have it on cdrom there are step by step instruction what you need to do to make it work
SOLUTION
Avatar of Luxana
Luxana
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dissolved
dissolved

ASKER

its mandrake 10.
lspci  is not a command on the shell i'm using. hmmm

If the driver was compiled inside my kernel , how would I get it?

thanks
in that case it should load your NIC automaticaly.

learn more about modules here:

http://www.tldp.org/HOWTO/Module-HOWTO/
http://www.tldp.org/LDP/lkmpg/2.6/html/x204.htm

in future if you need more informations about linux this is very good webpage:
http://www.tldp.org/
"Say I throw the cdrom in with the linux driver on it"

As Luxana stated, there should be documentation on the cd (assuming it was something like the nic manufacturer's cd that included linux-specific drivers....if you've got a windows/Netware/BeOS/Rhapsody/CPM/OS2/OS9/Atari/Nintendo/PS2 OS driver cd it won't do you any good in Linux.  Are you certain you have a linux driver?  If so, have you viewed the cd to look for installation instructions?)
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial