Problem trying to install using wpa_supplicant [Solved]

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Problem trying to install using wpa_supplicant [Solved]

Postby domedagen » Tue Aug 16, 2011 21:20

I'm trying to get my DWA-140 in a fresh install of Sabayon. I'm following this guidehttp://blog.greweb.fr/2011/01/how-to-make-dlink-dwa-140-perfectly-work-on-linux/ and I made it to step 5.
Code: Select all
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: Select all
sabayon mattias # ndiswrapper -l
drt2870 : driver installed
   device (07D1:3C0A) present (alternate driver: rt2800usb)


And here is my wpa_supplicant.conf file:
Code: Select all
network={
   ssid="Snaret"
   #psk="Correct pswd"
   psk=35487fb1c52502fa683cbd5abff5ee139ca17996e2584ee0c3869f6f3dc3cbea
}


It is a WPA/WPA2 network.
Last edited by domedagen on Wed Aug 17, 2011 14:35, edited 1 time in total.
domedagen
Baby Hen
 
Posts: 2
Joined: Tue Aug 16, 2011 21:08

Re: Problem trying to install using wpa_supplicant

Postby domedagen » Wed Aug 17, 2011 14:34

Turns out the card runs great without ndiswrapper (which he mentioned in tutorial) but on Ubuntu and Sabayon the system loads two drivers at once causing none of them to be used. I switched back to Ubuntu but I'll think the solutions works on Sabayon as well.

If you were skilled with computers you could have solved this yourself by first determining what driver you should be using by typing lsusb and then find out that it had multiple drivers loaded using lsmod | grep rt28. You should have black listed one of them but if you do not have these skills, or have a WPA-network, you can use this tutorial http://linuxforums.org.uk/hardware-compatibility/ralink-rt2870-based-usb-wireless-n-adapters-%28ubuntu%29/.

I suppose not having the drivers loaded caused the problem and that Arch Linux's way of manually installing things saved them from this problem.
domedagen
Baby Hen
 
Posts: 2
Joined: Tue Aug 16, 2011 21:08


Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 0 guests