LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 09-06-2010, 09:27 AM   #1
sababa.sababa
LQ Newbie
 
Registered: Jul 2010
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
usb-wlan and rt2870sta


Hi,

I've bought a usb wireless adapter, called belkin F6D4050 v1, and I can't get it working on Slackware 13.1. It uses the rt2870sta driver, that I suppose already is in the kernel.

modprobe -l rt2870sta gives:
Code:
kernel/drivers/staging/rt2870/rt2870.ko
but iwconfig says:
Code:
lo      no wieless extensions.

eth0    no wieless extensions.
I've blacklisted the rt2800usb driver (as suggested here: http://all-things-linux.blogspot.com...eless-usb.html), but that didn't help. I've also tried with installing this via deb2tgz:
http://packages.debian.org/squeeze/firmware-ralink
but that didn't solve the problem neither.

How to make iwconfig showing wlan0?

Thanks in advance for help!
 
Old 09-06-2010, 12:41 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,387

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
With the module, try
ifconfig wlan0 up

Then, if that sorts it, try without preloading the module.
 
Old 09-07-2010, 10:00 AM   #3
sababa.sababa
LQ Newbie
 
Registered: Jul 2010
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
ifconfig wlan0 up
...gave:
wlan0 ERROR while getting interface flags. No such device

What is meant with "With the module"?


After testing this command I uninstalled the tgz firmware package and downloaded another package with the firmware from http://www.ralinktech.com/support.php?s=2

I extracted the latter package. The content was a directory ( RT2870_Firmare_V22 )containing a license file and .bin file.
I copied the bin file to two locations -- I don't know which location is the best one:
/lib/firmware/rt2870.bin
/lib/firmware/RT2870_Firmare_V22/rt2870.bin
...but that didn't help neither.

Last edited by sababa.sababa; 09-07-2010 at 10:50 AM.
 
Old 09-07-2010, 10:43 AM   #4
sababa.sababa
LQ Newbie
 
Registered: Jul 2010
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
...

sorry for this bump post... I posted it by mistake. Is there any possibility to delete posts on this forum?

Last edited by sababa.sababa; 09-07-2010 at 10:56 AM.
 
Old 09-08-2010, 03:10 AM   #5
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,387

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
modprobe whatever module it takes. Check the logs to see if it requests the firmware, and note what it requests. in many boxes, the filename is respective to /lib/firmware
grep /var/log/messages or /var/log/syslog for the word 'firmware'
 
Old 09-08-2010, 01:50 PM   #6
sababa.sababa
LQ Newbie
 
Registered: Jul 2010
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks business_kid! I think the grep command gave some important information....

grep firmware /var/log/messages
...and...
grep firmware /var/log/syslog
...do not give any output, but...
grep rt2870sta/var/log/syslog
...gives multiple lines with this message...
Sep 8 10:22:06 Samsung_N210_Plus kernel: rt2870sta: version magic '2.6.33.4-smp SMP mod_unload 686 ' should be '2.6.33.4. mod_unload 486 '
...and at the end of the output:
Sep 8 10:22:06 Samsung_N210_Plus kernel: rt2870sta: module is from the staging directory, the quality us unknown, you have been warned

Unfortunately I don't exactly understand what this means.

Last edited by sababa.sababa; 09-09-2010 at 05:37 AM.
 
Old 09-09-2010, 03:05 AM   #7
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,387

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
It's complaining that you built the module 'i686' but built that kernel 'i486'. So it is reluctant to run i686 code in a 'i486 box' in case it crashes:-/. I've seen wireless errors, but you'd go a long way before hitting that!
 
Old 09-09-2010, 05:51 AM   #8
sababa.sababa
LQ Newbie
 
Registered: Jul 2010
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
Should I recompile the kernel, since rt2870sta is a part of it?
 
Old 09-09-2010, 11:26 AM   #9
sababa.sababa
LQ Newbie
 
Registered: Jul 2010
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
Hurray! I made it!

During my attempts to get it working I had installed other versions of rt2870sta. After uninstalling these versions I reinstalled the original kernel*txz package and followed the instructions on this site: http://all-things-linux.blogspot.com...eless-usb.html

I plugged the USB stick and rebooted.

As root:
modprobe rt2870
iwconfig wlan0 up
...and it seems to work.

Thanks business_kid for the help.

Last edited by sababa.sababa; 09-10-2010 at 06:34 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless problem with rt2870sta module in debian lenny ufosnorkis Linux - Wireless Networking 2 08-18-2010 10:26 AM
Help me install Ralink RT2870STA USB wireless driver ks8 Debian 14 04-29-2010 03:51 AM
wlan usb fdwally Linux - Newbie 1 11-11-2008 10:21 AM
Manually starting a USB WLAN key that uses the wlan-ng driver on Auditor PhantmShado Linux - Hardware 1 01-02-2006 05:44 PM
wlan-ng problems (senao/engenius wlan usb adapter) poo bear Linux - Wireless Networking 6 05-05-2004 05:54 PM


All times are GMT -5. The time now is 08:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration