Unable to configure Belkin F5D8053 Wireless N USB

First of all, I’m a completely new Linux user, as of three days ago. I’ve spent all of those three days working on this problem and I can’t for the life of me figure out what’s going on.

First, the vendor and product code for the non-functional device:

050D:815C

As per my understanding, I have to use ndiswrapper to get it to work. I have installed ndiswrapper and all its associated modules, and I’ve configured the Windows driver with it properly. The output of ndiswrapper -l says that both the driver and device are present.

I’ve also written an alias for it using ndiswrapper -m, modprobe’d it, and found it in the modprobe.d directory.

Everything SHOULD be working.

When I go into YaST and attempt to configure it, I can’t get the computer to recognize any of the hardware. I have my ethernet card showing in the list, but no wireless. I’ve tried a dozen times to add a new wireless device using ndiswrapper as the module name, but when I finish it, the new entry in the devices list says ‘no hwinfo’. (When I go back in and edit the entry, ndiswrapper is no longer present.)

Going back to the terminal, running iwconfig says I don’t have any devices configured as wlan0. Running rcnetwork restart lists only my ethernet card and makes no mention of any wireless devices.

For some reason I’m completely unable to associate ndiswrapper with wlan0.

What gives?? What am I doing wrong here?? I’ve gone through every little bit of information I can find out there on the internet and none of it seems to make a difference. I’ve also tried to configure a D-link DWL-G132 USB adapter, but I had exactly the same problems with that. :frowning:

Dansk59 wrote:
> First of all, I’m a completely new Linux user, as of three days ago.
> I’ve spent all of those three days working on this problem and I can’t
> for the life of me figure out what’s going on.
>
> First, the vendor and product code for the non-functional device:
>
> 050D:815C
>
> As per my understanding, I have to use ndiswrapper to get it to work.
> I have installed ndiswrapper and all its associated modules, and I’ve
> configured the Windows driver with it properly. The output of
> ndiswrapper -l says that both the driver and device are present.
>
> I’ve also written an alias for it using ndiswrapper -m, modprobe’d it,
> and found it in the modprobe.d directory.

First of all, you are correct and there is no in-kernel driver for that device
and you need to use ndiswrapper.

Does ndiswrapper show up in the output of ‘lsmod’? Does anything related to this
problem show in the output of dmesg?

I found this line in lsmod:

Module                  Size  Used by

ndiswrapper           179044  0 

And the only reference I could find to my wireless adapter in dmesg was this:

usb 1-1: New USB device found, idVendor=050d, idProduct=815c
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: F5D8053 N Wireless USB Adapter
usb 1-1: Manufacturer: Belkin

Yes and No.

http://blog.delgurth.com/tag/rt2870/

http://bbs.archlinux.org/viewtopic.php?id=60793

Should also work in an analogue way on openSUSE of course, it’s only a missing USB-ID.

Perhaps the new version (2.1.0.0) of the vendor driver “RT2870”

Ralink Technology: Linux

already supports this device ID, otherwise one needs just to add it.

Dansk59 wrote:
> I found this line in lsmod:
>
>
>
> Code:
> --------------------
> Module Size Used by
>
> ndiswrapper 179044 0
> --------------------
>
>
>
> And the only reference I could find to my wireless adapter in dmesg was
> this:
>
>
> Code:
> --------------------
> usb 1-1: New USB device found, idVendor=050d, idProduct=815c
> usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> usb 1-1: Product: F5D8053 N Wireless USB Adapter
> usb 1-1: Manufacturer: Belkin
> --------------------

OK, ndiswrapper is loaded and didn’t print any errors.

Your wifi device may not be called wlan0. What does /usr/sbin/iwconfig show?
Please post the output of ‘/sbin/ifconfig’ as well.

The new vendor driver (version 2.1.0.0) includes the USB-ID:


grep -ri 050d 2009_0302_RT2870_Linux_STA_v2.1.0.0/* |grep -i 815c
2009_0302_RT2870_Linux_STA_v2.1.0.0/os/linux/usb_main_dev.c:    {USB_DEVICE(0x050d,0x815c)},
2009_0302_RT2870_Linux_STA_v2.1.0.0/os/linux/usb_main_dev.c:    {USB_DEVICE(0x050d,0x815c)}, /* Belkin F5D8053 */

(After forgetting it for the last relese, the guys from Ralink now even put it into their sources twice :-))

I would go for the native driver.

  • Remove ndiswrapper

  • Install packages

**kernel-syms

kernel-source

gcc

make**

with yast

  • Download driver and unpack it

  • Change the following values in os/linux/config.mk

#ifdef WPA_SUPPLICANT_SUPPORT
# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=**y**
#endif // WPA_SUPPLICANT_SUPPORT //

#ifdef NATIVE_WPA_SUPPLICANT_SUPPORT
# Support Native WpaSupplicant for Network Maganger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=****y****
#endif // NATIVE_WPA_SUPPLICANT_SUPPORT //

Compile


make
make -C tools
make[1]: Entering directory `/tmp/2009_0302_RT2870_Linux_STA_v2.1.0.0/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/tmp/2009_0302_RT2870_Linux_STA_v2.1.0.0/tools'
/tmp/2009_0302_RT2870_Linux_STA_v2.1.0.0/tools/bin2h
cp -f os/linux/Makefile.6 /tmp/2009_0302_RT2870_Linux_STA_v2.1.0.0/os/linux/Makefile
make  -C  /lib/modules/2.6.27.19-3.2-default/build SUBDIRS=/tmp/2009_0302_RT2870_Linux_STA_v2.1.0.0/os/linux modules
make[1]: Entering directory `/usr/src/linux-2.6.27.19-3.2-obj/x86_64/default'
make -C ../../../linux-2.6.27.19-3.2 O=/usr/src/linux-2.6.27.19-3.2-obj/x86_64/default/. modules
  CC [M]  /tmp/2009_0302_RT2870_Linux_STA_v2.1.0.0/os/linux/../../common/crypt_md5.o
  CC [M]  /tmp/2009_0302_RT2870_Linux_STA_v2.1.0.0/os/linux/../../common/crypt_sha2.o
  CC [M]  /tmp/2009_0302_RT2870_Linux_STA_v2.1.0.0/os/linux/../../common/crypt_hmac.o

----------- snip --------

  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/2009_0302_RT2870_Linux_STA_v2.1.0.0/os/linux/rt2870sta.mod.o
  LD [M]  /tmp/2009_0302_RT2870_Linux_STA_v2.1.0.0/os/linux/rt2870sta.ko
make[1]: Leaving directory `/usr/src/linux-2.6.27.19-3.2-obj/x86_64/default'

and install the driver:


su

password

mkdir /lib/modules/$(uname -r)/updates

strip --strip-debug os/linux/rt2870sta.ko

cp os/linux/rt2870sta.ko /lib/modules/$(uname -
r)/updates/

depmod

Check:


modinfo rt2870sta|grep -i 815c
alias:          usb:v**050D**p**815C**d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v**050D**p**815C**d*dc*dsc*dp*ic*isc*ip*

Packages for openSUSE 10.3-11.1 available in my OBS repository:

Index of /repositories/home:/Akoellh

rt2870sta-kmp-flavor

Use the output of “uname -r” to find out kernel flavor and kernel version as well as “cat /etc/SuSE-release” to find out architecture of your installation.

Alright, I followed your instructions and I think I’ve got something working now.

# iwconfig 
lo        no wireless extensions. 
 
eth0      no wireless extensions. 
 
pan0      no wireless extensions. 
 
ra0       RT2870 Wireless  ESSID:""  Nickname:"RT2870STA" 
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated    
          Bit Rate:1 Mb/s    
          RTS thr:off   Fragment thr:off 
          Encryption key:off 
          Link Quality=10/100  Signal level:0 dBm  Noise level:-87 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0 
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

My next question is how I go about making Linux realize that it needs to use ra0 to communicate with the outside world. I still can’t seem to configure anything with YaST.

Any hints?

I really am sorry to be a bother about this guys, but I don’t know enough about Linux to take even a wild guess at what I should do next. Can anyone offer any advice? I’d really like to get the internet working so that I can start using the OS and learning my way around it…

after >>make try >>make install and then install with YaST from the NON-OSS-Repository the ralink-firmware (if you have a LAN connection). Then connect then wlan-stick and you’ll see it in the NetworkManager as ra0 interface.

It is important to note, that the newest version of rt2870 is needed, versions < 2.1 do not support the USB ID of this device.


modinfo rt2870sta |grep -E 'version|name|815'
filename:       /lib/modules/2.6.27.21-0.1-default/updates/rt2870sta.ko
version:        2.1.1.0
srcversion:     B177768AE29855986969AB1
alias:          usb:v**050D**p**815C**d*dc*dsc*dp*ic*isc*ip*
vermagic:       2.6.27.21-0.1-default SMP mod_unload modversions

Ready made packages are available in the OBS:

Software.openSUSE.org

(Search for rt2870)

tezlee1 wrote:

> hey. i have been tring to install my Belkin F5D8053 usb wireless N
> device. i read up that i had to use the rt2870sta driver for the device.
> i installed the driver package and when i try to do “sudo modprobe
> rt2870sta” it says FATAL: error inserting rt2870sta
> (/lib/…/rt2870sta.ko) invalid module format.

Where did you get that driver? :-?

If it comes from the standard /oss repository, just open a bugzilla.

If it comes from anywhere at OBS, just contact the repo owner.

Greetings,


Camaleón