LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-01-2003, 03:15 PM   #1
abiagi
Member
 
Registered: Aug 2003
Location: Orange County, CA
Distribution: slackware 9.0
Posts: 104

Rep: Reputation: 15
Installing driver


I am trying to install drivers for my network adapter which is built into My abit Ic7g. I have downloaded them from intel and it is one file with a .tar extension. It's saved in a windows partition. I can't download it from slackware linux because i need the driver to connect to the internet. How do i install it in Linux. Help.
 
Old 09-01-2003, 04:00 PM   #2
smith847be
Member
 
Registered: Jun 2003
Location: Hanover, New Hampshire, USA
Distribution: Debian Sid (Unstable)
Posts: 143

Rep: Reputation: 15
I'm not sure about how to install that particular driver, but I can tell you how to get to your Windows partition from Linux and at least extract the file. If this is your original kernel (probably is), then it should have the FAT32 filesystem built in.
First, boot Linux and get to a superuser command prompt (either if you boot to it, or launch 'xterm' or something similar if you're under KDE, GNOME, or other X Windows shells) by typing $ su in the command prompt. Now, do $ cd /etc and use your favorite text editor to open 'fstab'. Add a line to the bottom of it saying something like this:

/dev/hda1 /winblows auto rw,user,noauto 0 0

That is, if your Windows partition is under hda1. You can make '/winblows' whatever you want - that is your mount point (i.e. where the partition will show up). Now save and you will be able to type $ mount /winblows (or mount /whatever-you-made-it). You will now be able to browse through your Windows partition and read/write to it as if it was your Linux one. You can now copy your .tar file over to your Linux partition and extract it ($ tar -xvf whatever.tar). (Note: you can actually extract and do most anything on your windows partition as you can on your Linux partition, but there are a few things, like sripts, that can be argumentative on the windows partition.) There should be a README file or something in that .tar file. Just follow that.
 
Old 09-01-2003, 06:48 PM   #3
abiagi
Member
 
Registered: Aug 2003
Location: Orange County, CA
Distribution: slackware 9.0
Posts: 104

Original Poster
Rep: Reputation: 15
ok, how do i copy the file and where do I extract the driver?
 
Old 09-01-2003, 07:07 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
# Guides to software management
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

# Compiling/installing kernel modules
You will need to have installed:
1. The developmental packages (compiler)
2. The kernel source code that matches your running kernel
3. The module source or install code

Check out your system and look under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed:
Code:
[fancy@tinwhistle fancy]$ su -
Password: 
[root@tinwhistle root]# uname -r
2.4.18-3
I am running kernel version 2.4.18-3. Do I have the proper source code?
Code:
[root@tinwhistle root]# cd /usr/src
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          136 Jun 12 14:53 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
I do have the same kernel version source code installed in the directory /usr/src/linux-2.4.18-3 and there is a symbolic link named linux-2.4 pointing to it.

If you don't see something similiar to this (but in color), you will need to install the kernel source.

NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need, so I may as well make one now to save editing the files in the source code to install.So, I'll make it just now:
Code:
[root@tinwhistle src]# ln -s linux-2.4.18-3 linux         
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          160 Jun 12 15:46 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun 12 15:46 linux -> linux-2.4.18-3
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
Ah, there it is, so that's done.

Next, did I install the compiler?
Code:
[root@tinwhistle src]# gcc -v          
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
[root@tinwhistle src]#
Yes, I have a compiler installed.

If you don't have those two things installed, you have to install them first off your install CD.

If they are installed, download the source and happy comiling. Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing.
 
  


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
installing driver GUNN01 Linux - Newbie 1 12-27-2004 07:18 PM
please help with installing the hostap-driver-o.1.3 driver for wireless card chrisseattle Linux - Wireless Networking 1 03-26-2004 12:46 PM
I need help installing a driver matahchuah Linux - General 1 03-19-2004 09:19 AM
I need help installing a driver matahchuah Linux - Wireless Networking 2 02-22-2004 09:48 PM
Installing a driver rjc915 Linux - General 2 10-16-2003 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Open Source Consulting | Domain Registration