Ovislink OP-W54USB WiFi driver compilation on 1.0.8r1

Using applications, configuring, problems
Post Reply
Message
Author
dinacre
Posts: 4
Joined: Tue 07 Mar 2006, 22:40

Ovislink OP-W54USB WiFi driver compilation on 1.0.8r1

#1 Post by dinacre »

Hi,

I'm having some problem in understanding how to approach the compilation in Puppy (taht seems to be different from the other regular size distribution).

I own a new USB Ovislink OP-W54USB wireless key (rt2500/2400 usb device) and I'm trying to get it working with Puppy.
As far as the existing driver doesn't work with it I looked for other solution as the driver compilation.


I've installed the new Puppy1.0.8r1Mozilla on my HD and everything works fine as before and copied the usr_devx.sfs in the "/".

I tried to compile two different driver one from Ralink Ovislink site and one from community (rt2500-cvs)without any success.

Could you please help me in solving this problem?


Thanks

Find attached some details in case.



Following the Ralink instruction I get the following:

-------------------- Ralink RT2500 Station Configuration --------------------

Linux kernel source directory : /usr/src/linux-2.4.29

sed: can't read /usr/src/linux-2.4.29/Makefile: No such file or directory
sed: can't read /usr/src/linux-2.4.29/Makefile: No such file or directory
sed: can't read /usr/src/linux-2.4.29/Makefile: No such file or directory
sed: can't read /usr/src/linux-2.4.29/Makefile: No such file or directory
expr: syntax error
./Configure: line 103: [: -lt: unary operator expected
Module install directory [/lib/modules/2.4.29]:


Here the output trying to compile the community drive:


==============================================
#
# ls
2.4.x iwpriv_usage.txt rt2560.h rtmp_wep.c
2.6.x load rt_config.h sanity.c
assoc.c Makefile rtmp_data.c sync.c
auth.c md5.c rtmp_def.h TESTING
auth_rsp.c md5.h rtmp.h unload
connect.c mlme.c rtmp_info.c wpa.c
CVS mlme.h rtmp_init.c wpa.h
docs oid.h rtmp_main.c
eeprom.c README rtmp_tkip.c
ifcfg-ra0 RT2500STA.dat rtmp_type.h
# make
Makefile:153: /lib/modules/2.4.29/build/Rules.make: No such file or directory
make: *** No rule to make target `/lib/modules/2.4.29/build/Rules.make'. Stop.
#







->Here the Ralink readme section


* README
*
* Ralink Tech Inc.
*
* http://www.ralinktech.com
*

==============================================
ModelName:
===========
RT2500USB

==============================================
Driver lName:
===========
rt2570.ko

==============================================
Ralink Hardware:
===========
Ralink 802.11b/g wireless network card.

==============================================
Description:
=============
This is a linux device driver for Ralink RT2500USB b/g WLAN Card.
This driver implements basic 802.11 function. Infrastructure and Ad-hoc mode with open or
shared or wpapsk authentication method. WEP-40 and WEP-104 or tkip encryption.


===============================================
Compatibility:
===================
Testing has been done with LinEX kernel 2.6.9, Fedora Core 3.
You may encounter some rough edges when working with recent other Linux kernels branch.


===============================================
FILE LAYOUT:
=============
*.c : c files
*.h : header files
Makefile.6 :Makefile for kernel 2.6
Makefile.4 :Makefile for kernel 2.4
./LINUX_RACONFIG_Vx.x.x.x : source code for utility RaConfig2500 version x.x.x.x
./LINUX_RACONFIG_Vx.x.x.x/bin/LINUX/RaConfig2500 : utility RaConfig2500

==============================================
Build Instructions:
====================

1) cp Makefile.x Makefile // x is your kernel
1-1) $make config // if at kernel 2.4 series
2) $make
3) $insmod rt2570.ko # Insert driver module
4) $ifconfig rausb0 up # Bring up device
5) $dhclient rausb0 # Get network IP address

Note: Script functionality:
Configure retrive linux version
6) ./LINUX_RACONFIG_Vx.x.x.x/bin/"Linux"/RaConfig2500

if lack of libstdc++.so.6, cp ./LINUX_RACONFIG_Vx.x.x.x/libstdc++.so.6 /usr/lib

7)Edit(or add the line) in /etc/modules.conf
alias rausb0 rt2570

8) Create and edit 'ifcfg-rausb0' file in /etc/sysconfig/network-script/
DEVICE='rausb0'
ONBOOT='yes'
BOOTPROTO='dhcp'

++++++++++++++++++++++++++++++++++++++++++++++




-Here the community rt2500 module guide:


Installation instructions for the rt2500 Module

==============================================
Build Instructions:
====================
For 2.4 or 2.6 series kernel:
a. $tar -xvzf rt2500-x.x.x.tar.gz
go to "./rt2500-x.x.x/Module" directory.

b. $make # compile driver source code

c. $make install # installs kernel module driver

(read end of file for FedoraCore3 specific information)

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

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#2 Post by tempestuous »

To compile modules you need the configured kernel source. Go ahead and investigate this on the developer page if you wish, it's worthwhile knowledge to acquire, but in the case of Ralink drivers the hard work has already been done. Download ralink-cvs.tar.gz, ralink_README, and ralink-connect from http://mymirrors.homelinux.org/puppy/wireless/

I should point out that if your adaptor is USB then the chipset will be RT2570, not RT2500, so the correct module to load is "rt2570".

dinacre
Posts: 4
Joined: Tue 07 Mar 2006, 22:40

#3 Post by dinacre »

Thank you for your reply. I'll check deeply the developer pages (maybe I misunderstod the HowTo forum's topic on which only the presence of usr_devx.sfs is required to compile).

I'll try the prechewed module ralink 2570.

It's strange that Ralink provide his linux driver 2500usb dedicated and not 2570...


thank again

dinacre
Posts: 4
Joined: Tue 07 Mar 2006, 22:40

#4 Post by dinacre »

:lol: :lol: :lol:
Finally I decided to stop wasting my time and using the developer driver. Now I know deeply Puppy but I won it working. It works!!! Thanks all.

Post Reply