View Full Version : Can't get driver to install!
agent_js03
03-28-2005, 10:43 PM
Hi.
I have a linksys USB wireless internet card. I really want it to work with my redhat 9. I downloaded the at76c503a.tar.gz file from http://at76c503a.berlios.de/. When I unzipped it and looked at it, there was a readme file that said you gotta go to terminal, access the directory, and type "make install". Sounds simple enough. I did this, and got a bunch of "file not found" errors. I am a noob at linux, so what am I missing?
Thanks!
CuratoR
03-30-2005, 12:04 PM
Plzz post those exact error message here, you can copy paste it.
When do you get this error? While doing make or while doing make install.
Whats the kernel version you're using?
The readme says,
Reqirements:
------------
Kernel 2.4.x. I am developing the driver on 2.4.20, but it
reportedly also works on 2.4.19, 2.4.18 and 2.4.16. I am not sure
about 2.5.x.
If you haven't updated the kernel that came with rh9, its probably 2.4.x, so the driver should compile. But if you've updated to 2.5.x and above it won't.
Plzz issue "uname -r" command on a console and check the kernel version. Also don't forget to post that error message.
And plzzz either login as root or su and change to root before issuing make and make install.
agent_js03
03-30-2005, 04:28 PM
Sorry for leaving that out.
Here is the error message from the part where I type in "make":
--------------------------------------------------------------------------------------------------
[follower@localhost at76c503-0.11]$ \make
gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common -Wno-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSION=\"v0.11\" -I/lib/modules/2.4.20-31.9/build/include -c at76c503.c
make: gcc: Command not found
make: *** [at76c503.o] Error 127
[follower@localhost at76c503-0.11]$
---------------------------------------------------------------------------------------------------
my kernel is:
2.4.20-31.9
It does this after I type in "make". When I type "make install" I get:
----------------------------------------------------------------------------------------------------
[follower@localhost at76c503-0.11]$ make install
mkdir -p /lib/modules/2.4.20-31.9/kernel/drivers/usb/
for f in at76c503.o usbdfu.o at76c503-rfmd.o at76c503-rfmd-acc.o at76c505-rfmd.o at76c503-i3861.o at76c503-i3863.o at76c505-rfmd2958.o; do install -m 644 -o 0 -g 0 $f /lib/modules/2.4.20-31.9/kernel/drivers/usb//$f; done
install: cannot stat `at76c503.o': No such file or directory
install: cannot stat `usbdfu.o': No such file or directory
install: cannot stat `at76c503-rfmd.o': No such file or directory
install: cannot stat `at76c503-rfmd-acc.o': No such file or directory
install: cannot stat `at76c505-rfmd.o': No such file or directory
install: cannot stat `at76c503-i3861.o': No such file or directory
install: cannot stat `at76c503-i3863.o': No such file or directory
install: cannot stat `at76c505-rfmd2958.o': No such file or directory
make: *** [install] Error 1
[follower@localhost at76c503-0.11]$
----------------------------------------------------------------------------------------------------------------
Am I using the wrong driver?
Thanks!
CuratoR
03-30-2005, 06:24 PM
Well,
in a console issue this command, "rpm -qa |grep gcc" and paste the output here.
issue these commands as well, "gcc" and "cc", what does it say? command not found or no input files?
Go to Add/Remove Packages from System Settings and make sure Development Tools are installed. If not installed, install it. Its under the Development heading, just tick it and click update, ou gotta prove the installation source probably CDs. And then start make and and make install.
And plzz log in as root while doing all the aboves!
agent_js03
03-30-2005, 10:21 PM
Now that you mention it, I don't have developer tools installed.
When I go to the add/remove programs, I tell it to install the developer tools, but it keeps looking for the packages that this installation depends on in my system instead of on the redhat cd's or online. Is there a way to fix this?
CuratoR
03-31-2005, 06:38 AM
So, u mean the add/remove packages gives dependency errors?
Well, do it manually then, mount your rh9 installation cds(or the source folder if you've extracted somewhere) browse to the rpms folder and then install them one by one. install the gcc and glibc packages, you may use "rpm -ivh packagename --nodeps" to make it easy for you to install the packages witout dependency errors.
If you can figure it out, thats OK. If not post back. I'll give you detailed instructions. Right now I'm in a rush. I'll check in after 4/5 hours.
agent_js03
03-31-2005, 08:40 PM
Hey, Curator.
I manually installed the rpm's necessary to install developer tools. Thanks for the advice. This time when I typed in "make", it worked great without any problems. But when I type "make install", I get an error. Here it is:
[follower@localhost at76c503-0.11]$ make install
mkdir -p /lib/modules/2.4.20-31.9/kernel/drivers/usb/
for f in at76c503.o usbdfu.o at76c503-rfmd.o at76c503-rfmd-acc.o at76c505-rfmd.o at76c503-i3861.o at76c503-i3863.o at76c505-rfmd2958.o; do install -m 644 -o 0 -g 0 $f /lib/modules/2.4.20-31.9/kernel/drivers/usb//$f; done
install: cannot stat `at76c503.o': No such file or directory
install: cannot stat `usbdfu.o': No such file or directory
install: cannot stat `at76c503-rfmd.o': No such file or directory
install: cannot stat `at76c503-rfmd-acc.o': No such file or directory
install: cannot stat `at76c505-rfmd.o': No such file or directory
install: cannot stat `at76c503-i3861.o': No such file or directory
install: cannot stat `at76c503-i3863.o': No such file or directory
install: cannot stat `at76c505-rfmd2958.o': No such file or directory
make: *** [install] Error 1
[follower@localhost at76c503-0.11]$
BTW, I am getting all of my instructions from
http://at76c503a.berlios.de/support.html#get
Is there something I am doing wrong?
Thanks!
CuratoR
04-01-2005, 02:56 AM
Are you sure make ran successfully?
I have told you so many times to log in as root while doing make and make install but looks like you're not doing it. Either login as root or su to root, and then then try it. Also do "make clean" first.
change to root or login as root
#make clean
#make
if this is a success
#make install
basically you don't need to be root for running "make" but you need to be root to do make install. Otherwise you won't have permission to copy files in /lib/modules/.../, this is what make install does.
Plzz post back.
agent_js03
04-03-2005, 08:36 PM
I think you're probably right, curator. Now that I try the "make" command again, I see all the errors I get. BTW, I have been logged into root this whole time. I tried make clean and got this message:
-----------------------------------------------
[root@localhost at76c503-0.11]# make clean
rm -f core *.o *~ a.out *.d
rm -f *.s *.i .config
[root@localhost at76c503-0.11]#
------------------------------------------------
Since there were no messages containing errors, I assume that this all went over correctly. Now's the bad part. I'm still getting error messages after typing "make". I'd post it here, but it's way too long and the terminal can't even hold it all. Ultimately it ends in "make: *** [at76c503.o] Error 1".
When I type in "make install", I get:
-------------------------------------------------
[root@localhost at76c503-0.11]# make install
mkdir -p /lib/modules/2.4.20-31.9/kernel/drivers/usb/
for f in at76c503.o usbdfu.o at76c503-rfmd.o at76c503-rfmd-acc.o at76c505-rfmd.o at76c503-i3861.o at76c503-i3863.o at76c505-rfmd2958.o; do install -m 644 -o 0 -g 0 $f /lib/modules/2.4.20-31.9/kernel/drivers/usb//$f; done
install: cannot stat `at76c503.o': No such file or directory
install: cannot stat `usbdfu.o': No such file or directory
install: cannot stat `at76c503-rfmd.o': No such file or directory
install: cannot stat `at76c503-rfmd-acc.o': No such file or directory
install: cannot stat `at76c505-rfmd.o': No such file or directory
install: cannot stat `at76c503-i3861.o': No such file or directory
install: cannot stat `at76c503-i3863.o': No such file or directory
install: cannot stat `at76c505-rfmd2958.o': No such file or directory
make: *** [install] Error 1
[root@localhost at76c503-0.11]#
---------------------------------------------------
Could it be a problem that the directory is not immediately in the home of "root"? What might I do?
agent_js03
04-03-2005, 08:38 PM
BTW, sorry, I was wrong when I said that I was always logged into root- I obviously wasn't when I posted the previous reply. But I did try it in root and it didn't work.
CuratoR
04-04-2005, 08:37 AM
agent_js03,
you have to post the output produced by make for me to get a clue as to what might be wrong.
If make didn't ran successfully, theres no point in doing make install.
Another thing to check, does the kernel source matches your running kernel version. I can see that your running kernel version is 2.4.20-31.9. From where did you install the kernel source? from the installation CD or from somewhere else?
I'll try to test it on 2.4 kernel and see if the driver compiles fine.
I don't have a 2.4.x kernel running machine rt now.
CuratoR
04-08-2005, 08:05 AM
agent,
I just tested the driver with 2.4.20-8 and it didn't compile successfully. From their README, the driver should compile with 2.4.20 :eek:. You may want to contact the developer now.
Going thru their website, I saw that they provide rpm packages for the driver.
http://sunsite.informatik.rwth-aachen.de/ftp/pub/packages/extrpms/redhat/9/en/i386/RPMS.extrpms/at76c503a-cvs20030728-tn1.i386.rpm
Have you tried it already?
It will be much more easier for you since the package contains precompiled driver.
agent_js03
04-10-2005, 09:42 PM
Curator,
Sorry I'm taking so long to reply- english teacher giving me crapload of homework.
I installed the rpm's before- but all it does is say they're installed- what do I do next? I assumed that after installing the rpm mine would automatically show up as a wireless network device on the list. Nothing doing. Is there something else I need to do after installing the rpm?
Thanks!
CuratoR
04-13-2005, 06:14 AM
agent,
After installing the driver, you have to load the driver modules and do the configuration accordingly.
Theres some instruction for starting and configuring the driver at
http://at76c503a.berlios.de/support.html#get . Look under "Starting the device" & "Configure the device".
agent_js03
04-13-2005, 04:09 PM
Curator,
Thanks for the help so far. The link you gave says that I should plug it in and watch the "syslog". I must be a real noob at this linux; what is a syslog and where can I access it? Is it somewhere in the "system tools" menu?
Thanks again.
agent_js03
04-18-2005, 02:55 PM
O.K., now that I look at it, it seems that after I installed the update from RHN, there are three kernel folders on my system and two show up as options at startup. The one I boot from is 2.4.20-31.9; the other one that shows up is 2.4.20-8. When I explore the other one, 2.4.20-19x, I see that the drivers are installed there, but I don't see any trace of it in the kernel I boot from. Is that supposed to happen? Has the driver installed on the wrong kernel, and do I need to fix it somehow?
Thanks!
vBulletin v3.6.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.