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 08-20-2004, 06:07 AM   #1
PeRKoniX
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Rep: Reputation: 0
Question Installing a driver


I want to setup my driver for my Wireless NIC, there's a cdrom with drivers for rh9.. in the readme it says:
Quote:
1) Compatibility.

RedHat 7.1
RedHat 7.2
RedHat 7.3
RedHat 8.0
RedHat 9.0

2) Installation Procedure

- run 'make config' to set up module install directory.
(If the new kernel has a different version string, you need to
change the directory. The default answer is correct for most users.)

- run 'make install'
(This will do everything (install the driver and the necessary files ).
(make sure that you logged on as root).

- run '/sbin/insmod rt2400.o' (as root)
run '/sbin/ifconfig ra0 inet YOUR_IP up'
run '/sbin/route add default gw YOUR_DEFAULT_GW dev ra0'
(where [YOUR_IP] like [192.168.1.1], [YOUR_DEFAULT_GW] like [192.168.1.254])

- run '/usr/local/bin/RaConfig' to start the Configuring Utility.
But when I do make config it says:
Quote:
make *** no rule to make target `config'. Stop.
and the same with make install.

anyone know what I'm doing wrong??


(there ar 2 files on the cd:
*README.TXT
*RT2400_LINUX.TGZ
 
Old 08-20-2004, 07:06 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
Quote:
(there ar 2 files on the cd:
*README.TXT
*RT2400_LINUX.TGZ
Seems the directions should have told you to unpack the stuff first......

Copy those two files to your /home directory.
run the command: tar -xvzf *RT2400_LINUX.TGZ
Note: the file name is case sensative, so pay attention to what it really looks like.
That should have created a folder in your /home directory which has a name very much like the file name.
cd into that folder and run the commands which you listed at the start of your thread.
 
Old 08-21-2004, 07:01 AM   #3
PeRKoniX
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
OK i have done that, ran make config and make install. without any error messages.

BUT

when I try to do
/sbin/insmod rt2400.o
it says:
Quote:
[root@localhost root]# /sbin/insmod rt2400.o
insmod: rt2400.o: No such file or directory
and when I give a correct path to rt2400.o it says:
Quote:
[root@localhost root]# /sbin/insmod /lib/modules/2.4.20-8/kernel/net/rt2400.o
/lib/modules/2.4.20-8/kernel/net/rt2400.o: unresolved symbol dev_base_R24f66f3d
/lib/modules/2.4.20-8/kernel/net/rt2400.o: unresolved symbol __netdev_watchdog_up_R19eface2
/lib/modules/2.4.20-8/kernel/net/rt2400.o: unresolved symbol skb_over_panic_R95644aaa
/lib/modules/2.4.20-8/kernel/net/rt2400.o: unresolved symbol alloc_skb_R57542abc
/lib/modules/2.4.20-8/kernel/net/rt2400.o: unresolved symbol eth_type_trans_R84df3c10
/lib/modules/2.4.20-8/kernel/net/rt2400.o: unresolved symbol netif_rx_R8d84bcda
/lib/modules/2.4.20-8/kernel/net/rt2400.o: unresolved symbol softnet_data_R67d71c0a
AND

/sbin/ifconfig ra0 inet ???.???.???.??? up
it says:
Quote:
[root@localhost root]# /sbin/ifconfig ra0 inet ???.???.???.??? up
SIOCSIFADDR: No such device
ra0: unknown interface: No such device
ra0: unknown interface: No such device
AND

/sbin/route add default gw ???.???.???.??? dev ra0
it says:
Quote:
[root@localhost root]# /sbin/route add default gw ???.???.???.??? dev ra0
SIOCADDRT: No such device
And when I do /usr/local/bin/RaConfig it runs the program but i get the message Device not found.
See the total LOG here

did I do something wrong again?



note:
???.???.???.??? = masked
 
Old 08-21-2004, 07:55 AM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
well.... i think you must use : insmod rt2400 ( leave out the ' .o ') in the first step,
and check with ' lsmod ' if it's loaded .

( better use modprobe ??? )

egag
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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