LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 11-11-2009, 12:20 PM   #1
dlinux
Member
 
Registered: Jan 2007
Location: Portugal
Distribution: Slackware 13.0
Posts: 52

Rep: Reputation: 15
D-Link System DWA-140 802.11n Adapter [ralink rt2870] - Not recognized


Hi guys, i just bought a d-link usb adapter(DWA-140 802.11n) with the expectation that it would work with Linux, as it uses a ralink chipset. After recompiling the kernel with the appropriate drivers enabled, this is what I get when up'ing the wlan1 interface(the wireless usb adapter):
Quote:
root@dev:~# ifconfig wlan1 up
SIOCSIFFLAGS: No such file or directory
According to this thread - http://bbs.archlinux.org/viewtopic.php?id=81945 - the problem is with kernel 2.6.31 and not the previous versions, but unfortunately i downgraded do 2.6.30.9 and the same thing happened.

my dmesg prints the following after typing that command:
Quote:
rt2800usb 1-3:1.0: firmware: requesting rt2870.bin
phy2 -> rt2x00lib_request_firmware: Error - Failed to request Firmware
Isn't this firmware supposed to be compiled by the kernel??

Does anyone have this usb adapter running, and is it a problem of the latest 2.6.31 kernel?

I am running Slackware 13.0 (and as of this moment kernel 2.6.31.6).

Last edited by dlinux; 11-15-2009 at 12:59 PM.
 
Old 11-11-2009, 04:15 PM   #2
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
Not all firmware is supplied by the kernel. You can get ralink firmware here http://www.ralinktech.com/support.php?s=2
 
Old 11-11-2009, 04:28 PM   #3
DidierSpaier
LQ Newbie
 
Registered: Jun 2004
Location: Paris, France
Distribution: Slackware 12.2, kernel 2.6.30-smp
Posts: 6

Rep: Reputation: 0
(should have been posted under Didier Spaier)

Last edited by DidierSpaier; 11-11-2009 at 04:30 PM. Reason: wrong identity
 
Old 11-11-2009, 04:31 PM   #4
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,651

Rep: Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233
I think disturbed1 is right.

Choose Firmware RT2870USB(RT2870/RT2770), unzip the tarball and move rt2870.bin and the license to /lib/firmware.
 
Old 11-11-2009, 04:36 PM   #5
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 825

Rep: Reputation: 106Reputation: 106
I've been working on my wireless card now for a couple of weeks and trying to get it to work!! It's an EDIMAX, but it uses the same ralink chipset. I was pulling my hair out trying to get it to work, but it sounds that the firmware is the only thing I had left to install. I'll have to give that a try!!
 
Old 11-11-2009, 06:34 PM   #6
dlinux
Member
 
Registered: Jan 2007
Location: Portugal
Distribution: Slackware 13.0
Posts: 52

Original Poster
Rep: Reputation: 15
Thanks guys, now im able to initialize the interface.Unfortunately now I have another problem - Can't get dhcp to obtain an address other than the IPV4ALL 169.254.203.198 ....The wireless settings are perfect as I'm good to go with another usb wireless adapter so there must be something wrong with this one.I have noted that in my dmesg the following appears:
Quote:
ADDRCONF(NETDEV_UP):wlan1: link is not ready
Why in the hell is it not ready?
 
Old 11-11-2009, 06:47 PM   #7
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
Try to temporarily disable encryption, and use the DWA-140 802.11n to connect to the un-encrypted network.

I believe that dmesg code you posted elates to encryption incompatibilities. Either wrong passphrase, or the chosen level from the router is not compatible with the implemented level on the wireless device. I have an RT73 device that does not like wpa2 from some Belkin routers, but has worked fine with Linksys, 2Wire and some others.
 
Old 11-12-2009, 12:30 AM   #8
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 825

Rep: Reputation: 106Reputation: 106
Ok, I just tried it using Slackware 13. It FINALLY worked out of the box using wicd. Have you tried using wicd? If you are not running a gui, it has a text utility that runs on ncurses.
 
Old 11-12-2009, 05:07 AM   #9
dlinux
Member
 
Registered: Jan 2007
Location: Portugal
Distribution: Slackware 13.0
Posts: 52

Original Poster
Rep: Reputation: 15
I have tried connecting without encryption but the same thing happens. When I try with my other usb adapater - the D-Link System DWL-G122 802.11g Adapter [ralink rt73] - it works just fine and i can see this in dmesg:

Quote:
ADDRCONF(NETDEV_UP): wlan0: link is not ready
wlan0: authenticate with AP 00:25:86:bd:3b:76
wlan0: authenticated
wlan0: associate with AP 00:25:86:bd:3b:76
wlan0: RX AssocResp from 00:25:86:bd:3b:76 (capab=0x431 status=0 aid=1)
wlan0: associated
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
It should be something related either to the firmware or kernel driver. The problem is that I need the N adapter for it's extended range.

Last edited by dlinux; 11-12-2009 at 05:09 AM.
 
Old 11-12-2009, 09:40 AM   #10
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,651

Rep: Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233
If you didn't already, have a look at this other thread:
http://www.linuxquestions.org/questi...-probs-635827/

May it can help you to sort that out.
 
Old 11-23-2009, 06:35 AM   #11
Himilhil
Member
 
Registered: Jun 2009
Posts: 52

Rep: Reputation: 15
I have Windows as a second OS on my computer. Could Windows work with my D-Link DWA-510 if I set up firmware for Linux?
 
Old 12-28-2009, 12:19 AM   #12
truckin454
LQ Newbie
 
Registered: Dec 2009
Posts: 1

Rep: Reputation: Disabled
D-Link Wireless USB Adapter DWL-G122 powers off after few minutes

I couldn't get my internel card to turn on, so I plugged in a d-link usb wifi and got connected, but after just a few short minutes it powers down and disconnects. It restarts after reboot, and does the same thing, it recognizes it and connects auto, then after a few minutes powers down. What do I do to keep it powered up. I am very new to linux/ubuntu, and not too familiar with how to use the terminal and all, is there a way like windows that allows you to look at the system, tell it what to keep active or not?
Am running newest version of Ubuntu, just downloaded it a few days ago, took me this long just to get it on the internet, albeit just for the few short minutes before it powers down the usb stick
 
  


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
Intel WiFi Link 5100 - Is 802.11n (Draft-N) possible? Yankee_Fan Linux - Laptop and Netbook 3 08-22-2010 12:06 PM
Looking for a 802.11n usb or pcmcia wireless adapter nikosd Linux - Wireless Networking 1 10-26-2009 02:25 AM
D-link DWA-140 and driver installation HalifaxJ Linux - Software 1 04-23-2009 08:18 AM
Installing D-Link DWA-140 in openSUSE 11 hurtjo1 Linux - Hardware 0 03-22-2009 11:50 PM
D-Link DWA-140 802.11n USB (with Ralink RT2870 chispet) driver probs andywest Linux - Hardware 2 06-12-2008 01:40 PM


All times are GMT -5. The time now is 03:16 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration