LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-08-2006, 11:40 AM   #1
fiberwire
LQ Newbie
 
Registered: Mar 2006
Distribution: Red Hat 9
Posts: 8

Rep: Reputation: 0
RH9 and Installing Drivers


OK I'm sure many of you will think this is a real newbish question, but how do I even install drivers for Linux? I know Windows inside and out and just started playing with Linux, but after all the documentation I read and commands I've looked up I still can't get anywhere. I'm trying to install the drivers for my onboard ethernet for my mobo. It's a 'VIA Networking Velocity Family Giga-bit Ethernet Adapter' and I'm stuck at number 5 where is says 'Compile'. I've tried dozens of compile commands but most of them say its not a recognized command or whatever. I know it's probably a simple thing, but I've looked everywhere and can't get it to work. Any help?


Please enter the following commands at the UNIX prompt. Remember, UNIX is case sensitive.

1) Create a temporary directory:
mkdir /temp

2) Change to the temporary directory:
cd /temp

3) Copy driver (.tgz file) from DOS disk, (mcopy below is one tool in
mtools, if you didn't install mtools, you can type
'mount -t msdos /dev/fd0 /mnt' and use 'cp /mnt/velocityget.tgz /temp'
command to copy the driver to the temporary directory):
mcopy a:velocityget.tgz .

4) untar the archive file:

tar xzvf velocityget.tgz
cd velocityget

5) Compile the driver source files and it will generate object file, and
copy it to correct driver installation path (The installation directory
is different in different kernel versions. In 2.4.x/2.6.x kernel, the path
is /lib/modules/KERNEL_VERSION/kernel/drivers/net/, and in 2.2.x kernel,
the path is /lib/modules/KERNEL_VERSION/net/, the KERNEL_VERSION (see
above) means the kernel version of your Linux distribution. If you don't
know your kernel version , please run 'uname -r' command in command
line. The kernel version will look like '2.2.16', '2.4.2-2smp' etc.) :
make install

6) Check configuration file (/etc/modules.conf or /etc/conf.modules or
/etc/modprobe.conf, it depends on your Linux distribution) for loading
kernel modules. Make sure the first line below is appeared in the
configuration file, where # is the interface number (eg: alias eth0
velocityfet). If you need to set the driver options, below second line
is an example to set the NIC to 100Mbps fullduplex mode (remember to
unmark the line if it is put in the configuration file).
alias eth# velocityget
 
Old 03-08-2006, 12:42 PM   #2
gmag
LQ Newbie
 
Registered: Jan 2005
Location: Bristol
Distribution: Fedora Core 5 Gentoo Slackware
Posts: 8

Rep: Reputation: 0
try
cd velocityget
./compile

then follow the rest of the instructions.
 
Old 03-08-2006, 10:02 PM   #3
fiberwire
LQ Newbie
 
Registered: Mar 2006
Distribution: Red Hat 9
Posts: 8

Original Poster
Rep: Reputation: 0
No such file or directory.
 
Old 03-08-2006, 10:30 PM   #4
fiberwire
LQ Newbie
 
Registered: Mar 2006
Distribution: Red Hat 9
Posts: 8

Original Poster
Rep: Reputation: 0
by the way, after I tar the file these are the files I get:

linux.txt
Makefile
velocity_main.h
velocity_main.c
velocity_cfg.h
velocity_mac.h
velocity_wol.h
velocity_wol.c
velocity_mii.h
velocity_dbg.h
velocity_desc.h
velocity_proc.h
velocity_proc.c
velocity_stats.h
velocity.h
 
Old 03-08-2006, 11:58 PM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
There's a Makefile, so just try "make" (no quotes).
 
Old 03-09-2006, 02:57 PM   #6
fiberwire
LQ Newbie
 
Registered: Mar 2006
Distribution: Red Hat 9
Posts: 8

Original Poster
Rep: Reputation: 0
It gives me the message "Linux kernel source not found. Stop."

You have to understand I have absolutely NO experience with Linux. I've been messing around with it for about 2 days now, that's it.
 
  


Reply


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
problems in installing drivers for myson mtd80x fast based ethernet card drivers pop_harish Linux - Hardware 0 02-12-2005 06:27 AM
Installing ALSA Drivers on RH9 for Asus P4PE-X on-board sound tkorstanje Red Hat 4 08-20-2004 04:27 AM
loading drivers on RH9 kidacekarate Linux - Newbie 2 01-21-2004 07:00 AM
RH9 and Ati drivers xphere Red Hat 1 09-25-2003 06:27 PM
RH9 problems with newest Nvidia drivers harthepirate Linux - Newbie 11 04-14-2003 09:11 PM


All times are GMT -5. The time now is 04:30 PM.

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