LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-11-2010, 10:28 AM   #1
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Rep: Reputation: 1
Unhappy help on getting a wireless adapter to work in slackware 13.1


So I recently installed Slackware 13.1 and now want to get my D-Link DWA-140 to work with it. However I'm quite an amateur at Linux and can't seem to figure out how to. After following many different how-tos and tutorials this is where I am:
I got 2010_0709_RT2870_Linux_STA_v2.4.0.1 (supposedly USB driver)package and rt2870.bin (supposedly firmware) in my root catalog.
What I have already done with them:
make & make install in 2010_0709~
blacklisting modules 2x00usb, 2x00lib, 2800usb
modprobe rt2870sta
copying rt2870.bin to /lib/firmware

Regardless of everything, my adapter still is not active.. and how can I make the OS load the module at startup?

Last edited by gujedan; 10-11-2010 at 10:34 AM.
 
Old 10-11-2010, 11:24 AM   #2
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
I've had good luck using wicd to establish a wireless connection. The wicd program is located in /extra.
 
Old 10-11-2010, 12:05 PM   #3
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Original Poster
Rep: Reputation: 1
thanks for the suggestion. installed it, but it's not going to be of much use if my adapter does not work.
 
Old 10-11-2010, 08:48 PM   #4
wharg
LQ Newbie
 
Registered: Aug 2010
Distribution: Slackware
Posts: 11

Rep: Reputation: 1
Hi! Have you tried AlienBOB's how-to here? Worked great for me (infinite thanks to AlienBOB). Might save you some time to read it all the way through before fiddling with any files (and make a backup of the original rc file before hacking away at it), wish I had instead of the old 'when all else fails, read the instructions' method.

Hope this helps, good luck!
 
Old 10-11-2010, 10:04 PM   #5
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
I use Dink wireless router and Dink wireless pci adaptors and have never had wicd fail to hook-up.
You do have to set-up your password in wicd to match your router.
After installing wicd reboot your system.
Wicd works perfect on a stock (un-screwed with) system.
good luck & hope this helps.
 
Old 10-11-2010, 11:09 PM   #6
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by slackass View Post
After installing wicd reboot your system.
Why?
 
Old 10-12-2010, 12:11 AM   #7
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
Perhaps to get the wicd daemon running? As root, 'sh /etc/rc.d/rc.wicd start' would also work.
 
1 members found this post helpful.
Old 10-12-2010, 12:42 AM   #8
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
Quote:
Originally Posted by Richard Cranium View Post
Why?
Because that was the only way I could get it to work the first time I installed wicd. Been doing that way ever since.

But now, allend has taught me a new trick.
'sh /etc/rc.d/rc.wicd start'
Thanks allend!
 
Old 10-12-2010, 04:57 AM   #9
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Original Poster
Rep: Reputation: 1
thank you for all the help and hints. but my current problem is not related with connecting to a network, but with getting my adapter to work.

Last edited by gujedan; 10-12-2010 at 05:00 AM.
 
Old 10-12-2010, 05:25 AM   #10
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
Quote:
I got 2010_0709_RT2870_Linux_STA_v2.4.0.1 (supposedly USB driver)package and rt2870.bin (supposedly firmware) in my root catalog.
Are you sure that these are the drivers that you need? Have a look on the CD that came with it for the drivers. Should be a .INF file giving the info you need. Knowing how often wireless hardware changes, even across same model No's, it could be that you are trying the wrong drivers.

You might consider using ndiswrapper to get it going using the windows drivers.
 
Old 10-12-2010, 07:49 AM   #11
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Quote:
Originally Posted by gujedan View Post
thank you for all the help and hints. but my current problem is not related with connecting to a network, but with getting my adapter to work.
RT2870 is supported (CONFIG_RT2870=m) by the kernel so you will need to get the firmware in place.


EDIT: The firmware should be in '/lib/firmware' and is originally 'rt2870.bin'

Last edited by onebuck; 10-12-2010 at 08:21 AM. Reason: show firmware
 
Old 10-12-2010, 08:04 AM   #12
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
I think that the OP has been following a guide like this. http://www.cyberciti.biz/tips/linux-...s-adapter.html

Slackware 13.1 (with the 2.6.33.4 kernel, later than that cited in the above guide) already has support for the RT2870.

It might be better to revert to a default install, get the adaptor working using WEP initially and then try WPA2. If there is still a problem with WPA2, then look again at installing the proprietary driver.

PS - If the device works as well as the www.ralink.com website at the moment then you are SOL!
 
Old 10-12-2010, 11:44 AM   #13
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Original Poster
Rep: Reputation: 1
@vdemuth
I'm quite sure I have the right drivers but I'll give the windows ones a try.

@onebuck
Backed up the original rt2870.bin and replaced with the one from ralinktech.com (btw what does rt2870.bin* (green color) mean?) / anything special you mean by (CONFIG_RT2870=m)?

@allend
that is the guide i've mostly tried to follow. at the moment I don't think the security protocols really matter, I am just trying to get the adapter start (meaning I need to see the light blink on the adapter). thanks for the suggestions though, might turn out to be useful later.


so currently the adapter is detected (I can see it in lsusb), but no blinking lights or network interfaces related to it.

Last edited by gujedan; 10-12-2010 at 11:47 AM.
 
Old 10-12-2010, 11:56 AM   #14
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
What's the output from lsusb? There are 2 revisions of this wireless adapter, and drivers are available from d-links website for both.

Last edited by vdemuth; 10-12-2010 at 12:58 PM.
 
Old 10-12-2010, 12:59 PM   #15
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Quote:
Originally Posted by gujedan View Post
<snip>

@onebuck
Backed up the original rt2870.bin and replaced with the one from ralinktech.com (btw what does rt2870.bin* (green color) mean?) / anything special you mean by (CONFIG_RT2870=m)?

so currently the adapter is detected (I can see it in lsusb), but no blinking lights or network interfaces related to it.
I'm showing you that the module is available with Slackware kernel as firmware (rt2870.bin)& module is (CONFIG_RT2870=m) .

It sounds like you don't have the device configured.

What does 'ifconfig -a' show for original? What does 'lspci -vv' show for the original driver & show 'lsmod'?
 
  


Reply



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
Can't get USB wireless adapter to work with Xubuntu ajmo Linux - Wireless Networking 1 08-05-2007 06:41 AM
My wireless USB adapter seems to only work when it wants to JakeMH Linux - Hardware 3 09-23-2005 10:08 AM
How do i get my Wireless PCI Adapter to work! Prometheuz Linux - Wireless Networking 1 06-28-2005 10:31 PM
Having trouble getting my wireless network adapter to work killer^ Linux - Newbie 4 06-06-2005 04:30 PM
will my linksys wireless network adapter work? hockeykid Fedora 3 05-07-2004 11:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:29 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration