VectorLinux
September 01, 2014, 05:55:09 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Problem installing usb wireless driver  (Read 3899 times)
daddyjack
Member
*
Posts: 3


« on: August 05, 2007, 12:43:35 am »

Greetings all
Im rather new to linux and finally settled on this distro. i have four partitions root, swap, usr local, and home. I have tweaked out VL SOHO 5.8 final to my liking except i cannot get my wireless usb device driver installed. The USB device on question can be found here.

http://anirudhs.chaosnet.org/blog/2005.10.23.html

I have the B1 version of the device and its driver can be located here.

http://www.ralinktech.com/ralink/Home/Support/Linux.html

the driver in question is the RT2500USB(RT2571/RT2572) (source Code)

for the love of god i cannot "./configure" the driver.
i can skip to the "make" part but it fails.
Am I doing something wrong in the read me?

any suggestions would be greatly appreicated

cheers
jack
Logged
bigpaws
Vectorian
****
Posts: 1847


« Reply #1 on: August 05, 2007, 06:22:46 am »

I downloaded the driver since I do not have this card.

The README states to change the permissions. Did you do that, if not follow below.

First as root in the command line go into the directory of the driver.

So since I have this driver in my home do this

cd RTUSB-SRC-V2.0.8.0

that will get to where you need to be then

chmod 644 *

then 

chmod 755 Configure

then 

cp Makefile.x Makefile               //Note: replace Makefile.x with your kernel ex Makefile 2.6.18.5

That should get you going in the Linux Configure area change the .x.x.x to the version number.

Now for the file that is being requested you make. This is for a Red Hat Setup. Here is a little change since the module <driver> will be loaded then go to /etc/rc.d/rc.local and at the bottom add
ifconfig rausb0 up
dhcpcd rausb0

NOTE: The Blue text are actual commands

HTH

Bigpaws
Logged
daddyjack
Member
*
Posts: 3


« Reply #2 on: August 05, 2007, 08:21:18 am »

ok it makes the 2.6.20.3 file but i cannot ./configure it.

if i skip that and go to $make as the instructions indicate

make -C lib/modules/2.6.20.3/build SUBDIRS= /home/mylocal account/RT25USB-SRC-V2.0.8
0 modules
make:***/lib/modules/2.6.20.3/build: No such file or directory.  Stop.
make:***[all] Error 2

what am i missing

btw thank you for the quick reply.
Logged
bigpaws
Vectorian
****
Posts: 1847


« Reply #3 on: August 05, 2007, 10:17:49 am »

Do you have the kernel sources installed?

If not use search for kernel sources and then install them.

Then try to do your configure.

Bigpaws
Logged
daddyjack
Member
*
Posts: 3


« Reply #4 on: August 06, 2007, 03:55:23 pm »

ok lets see.... gslapt updating got me the 2.6.20.7 source...not quite what i need so i did find the 2.6.20.3 kernel source  but im rather a n00b
i do not know what directory to place the source in... so i if can get some help in that area then i think i might get this problem fixed.
Logged
rbistolfi
Packager
Vectorian
****
Posts: 2282


« Reply #5 on: August 06, 2007, 04:35:57 pm »

You can get a vector package for your kernel from here:
http://vectorlinux.osuosl.org/veclinux-5.8/kernels/
It should be like kernel-src-2.6.xx.x-etc-etc.tlz
Then go to the location of the package, open a terminal right there and then login as root typing su and then your password. Then you can install the kernel sources typing installpkg <name_of_the_package>
Btw, what exactly happens when you try ./configure?
Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!
salmonix
Vectorite
***
Posts: 209


« Reply #6 on: August 15, 2007, 09:25:28 am »

This guy had success at least.
http://jeremydenise.net/en/node/189

Hope, that his success is not Debian related, not kernel related. The 2x00 project USB driver freezes kernel, they seem to focus on other chipped products now.
Pls. report your success or failure.
On 64bit with some 2.6.20 kernel I had no success. Note,that Ralink is not continuing the driver, the 2x00 project has no mature one.
Try their nightly tarball, and hope.
« Last Edit: August 15, 2007, 09:34:45 am by salmonix » Logged

VL 5.1.SOHO xFce
MikeCindi
Tester
Vectorian
****
Posts: 1073


« Reply #7 on: August 15, 2007, 07:39:15 pm »

You can also get the kernel sources for 2.6.20.3 off the install CD for 5.8 SOHO.
Logged

The plans of the diligent lead to profit...Pro. 21:5
VL64 7.1b3                                     RLU 486143
salmonix
Vectorite
***
Posts: 209


« Reply #8 on: August 18, 2007, 12:19:07 pm »

If U have not tried the hourly CVS rt2570 driver from the 2x00 project it is time to do that.
It is a piece of good news to tell that my DLink GWL-G122 rev.b1 usb is up and running with today`s CVS driver on a 2.4.33.3 kernel, with WEP (I know.....) and at 11Mbps (much more than nothing.)

Congrat to those at 2x00.

PS: and has worked all night.
« Last Edit: August 18, 2007, 11:02:31 pm by salmonix » Logged

VL 5.1.SOHO xFce
salmonix
Vectorite
***
Posts: 209


« Reply #9 on: August 19, 2007, 01:44:58 am »

Now crashed - after som 16 hours work. So, not perfect, but usable.
(U have to unload the module, and restart the whole process of setting it up.)
So it does worth downloading the CVS (and sending bugreports.)
Logged

VL 5.1.SOHO xFce
Nick
Member
*
Posts: 1


« Reply #10 on: October 11, 2007, 08:55:18 pm »

Hi,
I am also fairly new to linux and was having trouble installing the driver also. I am using the driver from RaLink. After I installed the kernel source, I had no trouble(thanks bigpaws). I would like to know if I can have it install the driver on startup so I don't have to mess with it every time. I tried following the steps in the readme, but it doesn't do anything when I turn on my computer.

Thanks, Nick
Logged
bigpaws
Vectorian
****
Posts: 1847


« Reply #11 on: October 12, 2007, 05:12:35 pm »

If you have this working then place the commands in /etc/rc.d/rc.local

So: if you use for example

modprobe ralink
ifconfig ra0
dhcpcd ra0

Then add those to the above mentioned area and you should be good to
go.

Quote
After I installed the kernel source, I had no trouble(thanks bigpaws)

Anytime Smiley

Bigpaws
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!