LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-01-2011, 02:26 PM   #1
splinux
Member
 
Registered: Jun 2011
Location: Sri Lanka
Distribution: centos,redhat,ubuntu
Posts: 90

Rep: Reputation: Disabled
Solve the Linux driver problem..Please help anyone


1) Create a temporary directory:
mkdir /temp

2) Change to the temporary directory:
cd /temp

3) Copy driver (rhinefet.tgz) 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/rhinefet.tgz /temp'
command to copy the driver to the temporary directory):
mcopy a:rhinefet.tgz .

4) untar the archive file:
tar xzvf rhinefet.tgz
cd src

5) Compile the driver source files and it will generate rhinefet.o, 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
rhinefet). 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# rhinefet
#options eth# speed_duplex=2

7) Reboot now:
shutdown -r now

8) Install your driver module (If the driver module is in the wrong place,
an error message will appear, and say that can't find the driver
module):
insmod rhinefet.o

9) Use ifconfig command to assign the IP address, where # is network
interface number:
ifconfig eth# <IP>

10) Check the interface works:
ping <remote_host_IP>






this message is available file in read file

what i want to do in the 5th step ? i could not able do..
how to compile according to this message

Last edited by splinux; 07-01-2011 at 02:30 PM.
 
Old 07-01-2011, 02:37 PM   #2
splinux
Member
 
Registered: Jun 2011
Location: Sri Lanka
Distribution: centos,redhat,ubuntu
Posts: 90

Original Poster
Rep: Reputation: Disabled
i am using the centOS 5.6
 
Old 07-01-2011, 02:50 PM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
what i want to do in the 5th step ? i could not able do..
how to compile according to this message

Usually you execute the make command.
 
Old 07-01-2011, 10:33 PM   #4
splinux
Member
 
Registered: Jun 2011
Location: Sri Lanka
Distribution: centos,redhat,ubuntu
Posts: 90

Original Poster
Rep: Reputation: Disabled
but it is not working
 
Old 07-01-2011, 10:39 PM   #5
flamelord
Member
 
Registered: Jun 2011
Distribution: Arch Linux
Posts: 151

Rep: Reputation: 34
have you tried running just make before running make install?
 
Old 07-01-2011, 10:46 PM   #6
splinux
Member
 
Registered: Jun 2011
Location: Sri Lanka
Distribution: centos,redhat,ubuntu
Posts: 90

Original Poster
Rep: Reputation: Disabled
yeah i tried..

when i type the mae
it is saying "Makefile:16 *** Linux kernel source not found. stop.

Last edited by splinux; 07-01-2011 at 10:51 PM.
 
Old 07-01-2011, 10:56 PM   #7
flamelord
Member
 
Registered: Jun 2011
Distribution: Arch Linux
Posts: 151

Rep: Reputation: 34
do you have the kernel-dev package installed? If not, that is probably your problem.
 
Old 07-01-2011, 11:41 PM   #8
splinux
Member
 
Registered: Jun 2011
Location: Sri Lanka
Distribution: centos,redhat,ubuntu
Posts: 90

Original Poster
Rep: Reputation: Disabled
ok i am downloading the http://rpm.pbone.net/index.php3/stat...s.plus.src.rpm

and installing in few minutes
 
Old 07-01-2011, 11:42 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
install the kernel-devel rpm's
and while you are at it do two groupinstalls
Code:
su -
yum groupinstall "Development Tools" "Development Libraries"
also just HOW old is this code ????
the instructions you posted talk about the 2.2 and 2.4 versions of the kernel

this might not compile with centOS 5.6 gcc 4.1
you might need the older gcc 3.4
Code:
yum search gcc34
It should be there as gcc34 or gcc-3.4 or compact-gcc34 something like that.
 
  


Reply



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
[SOLVED] Hi. Looking to solve issue for nx9010 broadcom wireless driver fhcortez Linux - Hardware 3 04-04-2011 03:36 AM
how to solve solve broken shell problem prasanth.george Red Hat 1 01-21-2011 09:48 AM
Can anyone solve this Case-Sensitive problem on Linux OS? yuvanth Linux - General 1 09-12-2007 06:17 AM
Why doesn't Linux support UPnP to solve its device driver problems? john_walsh54 Linux - Hardware 2 05-31-2004 09:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:22 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
Open Source Consulting | Domain Registration