LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-16-2011, 04:34 PM   #1
searching_for_answers
Member
 
Registered: Sep 2009
Location: Sweden
Distribution: Mandriva
Posts: 44

Rep: Reputation: 21
Trying to install DWA-140 revB "could not set interface wlan0 flags"


I'm trying to install D-Link DWA-140 in a fresh install of Sabayon. Im following this guide How to make DLink DWA-140 B2 perfectly work on Linux and I've reached step 5 where I get this error msg:
Code:
sabayon mattias # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf
Could not set interface wlan0 flags: No such file or directory
Failed to initialize driver interface
ndiswrapper says this:
Code:
sabayon mattias # ndiswrapper -l
drt2870 : driver installed
	device (07D1:3C0A) present (alternate driver: rt2800usb)
And my entire wpa_supplicant.conf consists of
Code:
network={
	ssid="Snaret"
	#psk="Correct pswd"
	psk=35487fb1c52502fa683cbd5abff5ee139ca17996e2584ee0c3869f6f3dc3cbea
}
Help!
 
Old 08-17-2011, 09:19 AM   #2
searching_for_answers
Member
 
Registered: Sep 2009
Location: Sweden
Distribution: Mandriva
Posts: 44

Original Poster
Rep: Reputation: 21
Solution

Got help over at the Ubuntu IRC. It appears that if you hover the mouse over Network Manager it will say something like: "Device not active(firmware missing)". From here you will know that two drivers are loaded at once, causing none to be used. You do this by first determining what driver you should be using by "lsusb"(I think) and then "sudo lsmod | grep rt28" to see that two are loaded.

Now you need to follow the guide Ralink RT2870 based USB Wireless N adapters (Ubuntu) by Mark Greaves (PCNetSpec).

Got this to work on my Ubuntu 10.04 64-bit. I suppose not having firmware installed caused the problem. Also, you dont need to use ndiswrapper the drivers are loaded by default.
 
  


Reply

Tags
wpasupplicant


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
"iw wlan0 set channel x" not making any effect beder Slackware 8 05-20-2011 08:40 AM
"SET failed on device wlan0." What does this mean? tbbmw Linux - Wireless Networking 2 08-01-2008 01:55 AM
net working eth0 eth1 wlan0 "no connection" "no LAN" "no wi-fi" Cayitano Linux - Newbie 5 12-09-2007 08:11 PM
"wlan0" interface not recognized with NETGEAR WG111 USB Wireless Network Adapter lasindi Slackware 18 04-10-2007 11:18 PM
"wlan0" interface not recognized with NETGEAR WG111 USB Wireless Network Adapter lasindi Slackware - Installation 3 09-24-2005 06:51 PM


All times are GMT -5. The time now is 11:42 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