LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   belkin wireless usb F5D7050 HOWTO (https://www.linuxquestions.org/questions/linux-hardware-18/belkin-wireless-usb-f5d7050-howto-449166/)

asalford 05-27-2006 07:33 PM

belkin wireless usb F5D7050 HOWTO
 
Ubuntu 5.10 Belkin wireless usb device HOWTO

Disclaimer. I accept no responsibility for anything that goes wrong using this howto. If it breaks your system, I guess you get to keep both halves. If it makes your system urinate on the dog, I guess you get to give the dog a bath ;)

Model Number is F5D7050

Supplied driver on the disk was rt73 which is how I knew to download the ralink rt73 driver from:

http://www.ralinktech.com/supp-1.htm

I ran this on Ubuntu, but should work on most debian based distributions

sudo apt-get install build-essential

sudo cp Makefile.6 ./Makefile for kernels 2.6.* <-- ok

sudo chmod 755 on the Configure file <--- ok

./Configure <<-- since I'm running Ubuntu, I had to specify the headers.

you will have to adjust your /usr/src/ to your kernel so, change to yours accordingly

on my desktop ./Configure went ok, on my laptop however, I had to install the kernel headers and rerun ./Configure

sudo apt-get install linux-headers-X
X = the output of uname -r ## yours will probably be different than mine.
mY direct command structure was sudo apt-get install linux-headers-2.6.12-10

================================================================================
-------------------- Ralink RT73 Station configuration--------------------

Linux kernel source directory [/usr/src/linux-2.6.12-10-386]: /usr/src/linux-headers-2.6.12-10

Linux kernel source directory : /usr/src/linux-headers-2.6.12-10

Module install directory : /lib/modules/2.6.12-10-386/kernel/drivers/net
================================================================================
I added the missing definitions per lsusb output to the rtmp_def.h file

Bus 004 Device 002: ID 050d:705a Belkin Components

I entered

#define RTVID4 0x050d <<=== this should be located at almost the very end of the file
#define RTPID4 0x705a <<=== this should be located at almost the very end of the file

{USB_DEVICE(RTVID4,RTPID4)},\<<= this should be located at almost the very end of the file

make all <<=== on my desktop, make all went ok, on my laptop however, I had to install some packages.

sudo apt-get install gcc-3.4 <<== if make all fails looking for gcc-3.4

sudo mkdir -p /etc/Wireless/RT73STA/ (since it was not there)

The "-p" flag is used because the parent directory has to be made as well

sudo cp rt73.bin /etc/Wireless/RT73STA/

sudo cp rt73sta.dat /etc/Wireless/RT73STA/rt73sta.dat

sudo apt-get install sysutils

sudo chmod 777 rt73sta.dat so the rt73sta.dat can be written to on the dos2unix command

sudo dos2unix rt73sta.dat

sudo cp rt73.ko /lib/modules/2.6.12-10-386/kernel/drivers/net

sudo depmod -a

modprobe rt73

sudo ifconfig rausb0 inet up

sudo iwconfig rausb0 essid any <<=== if you know what your wireless router advertises, replace any with your router's advertisement

sudo dhclient rausb0

to test your connection, disable the other interfaces providing your access

route should update and show your rausb0 as your default GW.

acid_kewpie 05-28-2006 11:52 AM

Assuming that this is your own work, i'd suggest posting this as a LinuxAnswer here, it'll get a lot more exposure that way.

michalng 06-08-2006 03:46 AM

Hi asalford,

I've been hunting articles for USB adapter using the RT73 chipset and yours is the most complete.

I've managed to follow through and get the Wireless Adapter working.

Problem is upon reboot, it does not detects the connection, I have to use the WlanManager to manually select the access point.

What should be done to enable auto detect and connection to the access point upon reboot?

:) :)

asalford 06-10-2006 10:19 AM

edit rt73sta.dat and set essid or ssid =

in other words, leave it with a null value. try that and see :twocents:

chanders2006 07-05-2006 11:46 AM

Great HowTo. For some reason it does not work with dhcp though :-(
It works great with a static IP adress however... Any ideas?

BroX 07-06-2006 06:53 AM

Great post, thanks.

For those who have problems compiling the driver, the updated RT73 driver solved it for me: http://www.ralinktech.com/drivers/Li...1.0.3.6.tar.gz

Instead of
Code:

#define RTVID4 0x050d <<=== this should be located at almost the very end of the file
#define RTPID4 0x705a <<=== this should be located at almost the very end of the file
{USB_DEVICE(RTVID4,RTPID4)},\<<= this should be located at almost the very end of the file

one should now simply add
Code:

{USB_DEVICE(0x050d,0x705a)},\ <<-- substitute with your Vendor and Product ID's
Cheers, Leon.

colly 07-08-2006 07:37 AM

Hi, i've started installing the adapter and i've got through most of the HOW TO without any problems but when I enter -
Code:

sudo ifconfig rausb0 inet up
I get the following error message -
Code:

rausb0: ERROR while getting interface flags: No such device
Does anyone know what the problem could be or have any idea how to solve it?
Thanks for your help.

BroX 07-10-2006 04:52 AM

Is the driver loaded? Does rt73 show up in lsmod?

chebbes 07-13-2006 04:39 AM

Quote:

Originally Posted by LJSBrokken
Is the driver loaded? Does rt73 show up in lsmod?

I have the same problem. My device shows up in lsusb and the driver is present in lsmod. I'm using a Belkin F5D7050 and make the changes that you suggested to rtmp_defs.h

There are a few "warning: comparison of distinct pointer types lacks a cast" errors when I compile - was wondering if that might be anything to do with it? Apart from that, it all seems to install OK.

I'm using Debian Sarge, current headers 2.6.8-2-686

Bit of a newbie, so any advice would be appreciated.

If its any help, syslog shows the following in relation to the driver...

Jul 13 10:22:16 localhost kernel: cx8800[0]: AUD_STATUS: 0x6332 [mono/no pilot] ctl=BTSC_AUTO_STEREO
Jul 13 10:22:18 localhost kernel: rtusb init ====>
Jul 13 10:22:18 localhost kernel: usbcore: registered new driver rt73
Jul 13 10:22:19 localhost kernel: cx8800[0]: AUD_STATUS: 0x61f2 [mono/no pilot] ctl=BTSC_AUTO_STEREO

When I iwconfig rausb0, I get
debian:/home/chris/RT73_Linux_STA_Drv1.0.3.6/Module# iwconfig rausb0
rausb0 No such device

iwconfig gives
debian:/home/chris/RT73_Linux_STA_Drv1.0.3.6/Module# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 no wireless extensions.

eth2 no wireless extensions.

eth3 no wireless extensions.

sit0 no wireless extensions.


Any advice appreciated...
Thanks,
Chris

chebbes 07-24-2006 06:01 AM

Working with Zydex drivers
 
Just in follow-up, I've been laid up for a bit, so had time to play about with the different settings and do some web searching.

I've managed to get my device working;at least my laptop (Win9x with a PCMCIA wireless adaptor) sees the server (debian sarge 2.6.8-2-686, using Belkin USB F5D7050) and can ping it. Its working with encryption too.

From what I've read, the correct revision number is critical, as there are 3 different chipsets that they used.

Mine is v4 - this used the Zydex ZD1211B chipset. Full instructions and a good start up guide at the zydas website (sorry, it won't let me post URLs yet).

Hope that's helpful to someone. Now I just want to set up a bit of a wireless bridge, router and firewall on the server so I can roam and access the net in my flat. Although I'm a newbie, I'm really enjoying learning (a bit) about linux.

Chris

flinix 08-25-2006 08:42 AM

adapter
 
i have the same adapter,its version 3,it shows in my
ndiswrapper as driver present hardware present ,but thats it,it dosnt work,dosnt show in network system admin,any ideas

acid_kewpie 08-25-2006 09:21 AM

what about the rt73 driver natively? i just got a similar stick and it's working great with that. not seen anythign on google about certain revisions of chipset on them.

chebbes 08-26-2006 04:23 PM

ndiswrapper
 
Quote:

Originally Posted by acid_kewpie
what about the rt73 driver natively? i just got a similar stick and it's working great with that. not seen anythign on google about certain revisions of chipset on them.


Been a long tme since I updated this. Sorry!
I ended up using the RT73 Linux driver. It worked in the end, although somtimes requires a bit of plugging and unplugging. I tend to have ping running continuously on both terminals whilst doing that to detect when they connect.

I can't seem to set the parameters in /etc/network/interfaces - so I have to type in iwconfig essid ....etc each time I want to use it, but I'm sure there's an easy way round that.

As a bit of a newbie to Linux, I felt a huge sense of achievement in getting my main system to act as a wireless router!

Thanks for the comments,
Chris

flinix 08-26-2006 06:45 PM

re
 
im using the rt73 driver that came with the cdrom for my adapter,as i said it shows as driver present hardware present,so i did sommething right,im so near yet so far,i have been posting about this a lot i just cant seem to get an answer,when i saw this thread i reckoned it was my best chance,im using ubuntu 5.10

acid_kewpie 08-28-2006 03:09 AM

well i'd certainly get the very latest drivers from ralink directly, they're in beta so get updated fairly frequently.


All times are GMT -5. The time now is 04:00 AM.