LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Really confused (http://www.linuxquestions.org/questions/linux-newbie-8/really-confused-253227/)

jeep99899 11-10-2004 09:45 AM

Really confused
 
I am still trying to install the NIC card drivers on a Red Hat Linux box. I have a folder that contain the drivers. Where do I put this folder? Here are the instruction broadcom gives: Do I navigate to the SRC folder within the folder I created? I do this and I get may errors in regards to folders not existing. I am lost.

=============================

The following are general guidelines for installing the driver. Refer to
DISTRIB.TXT for additional installation notes for various Linux distributions.

1. Create a directory and extract the files:

tar xvzf bcm5700-<version>.tar.gz

2. Build the driver bcm5700.o as a loadable module for the running kernel:

cd src
make

3. Test the driver by loading it:

insmod bcm5700.o

If loading the driver on Red Hat 7.3, 2.1 AS or other newer kernels with the
tg3 driver, refer to the "Removing tg3 Driver" in DISTRIB.TXT before loading
the driver.

4. Install the driver and man page:

make install

See RPM instructions above for the location of the installed driver.

5. To configure network protocol and address, refer to various Linux
documentations.

ror 11-10-2004 09:56 AM

when it tells you do cd src it assumes you are reading the readme from inside it's extracted folder.

egag 11-10-2004 11:43 AM

just fill in : tar xvzf bcm5700-<version>.tar.gz
<version> should be the version-number . see filename

egag

kevinatkins 11-10-2004 12:20 PM

hello,

if you've got a tgz / tar.gz archive, you can extract its contents wherever you wish - i tend to use /usr/local/src, but you could use your /home directory instead. if you do use eg. /usr/local/src, you may need to be root to copy stuff there.

anyway, wherever you decide, the src folder will be within the folder containing the files you extracted. now, if you extracted the archive as the root user, you'll need to remain root when you run 'make', or you may well get errors as you describe..

the object of the exercise is to compile the source code in the src folder, which will result in a kernel module (bcm5700.o) which you can then load. you'll almost certainly need to have the kernel source installed on your machine - should be available on your distro CDs. but just give compilation a try first - you might be good to go already..

have another go and post back with progress

ror 11-10-2004 12:38 PM

you can make as a user but make install (if required) must be done as root.

jeep99899 11-10-2004 03:58 PM

Thanks all. It is now up and operational, Now that was a learning experience. Thanks for all your help.


All times are GMT -5. The time now is 11:31 PM.