You are not logged in.

#1 2010-05-22 21:01:23

brandon88tube
Member
Registered: 2009-11-06
Posts: 84

Wireless with WPA2 AES help [SOLVED]

I've been reading the wiki pages trying to figure out how to get my wireless up and working properly. I can't seem to figure out what I really need to do and wanted to know if I could get some help/suggestions. First, I'll list my wireless hardware so everyone knows what I'm using.

Hardware:
D-Link DWA-140 USB < seems to report as being rt2870 chipset

IMPORTANT NOTE!
Even though I've been using Linux for a couple years now, I am still very ignorant when it comes to a lot of it as I usually don't have to mess with much for my everyday use. The only real time I need to is when I have to a setup or I broke something. I try to read and learn, but I still haven't gotten to the point where I can do a lot of it without having to search for hours online. I'm also using this install as a learning experience.

Last edited by brandon88tube (2010-05-26 01:08:32)

Offline

#2 2010-05-23 16:09:33

brandon88tube
Member
Registered: 2009-11-06
Posts: 84

Re: Wireless with WPA2 AES help [SOLVED]

Update: I've still been messing with wpa_cli and have no idea what I'm doing. The manual pages, and pretty much every website I've searched have no examples of how to actually use it. If someone could please help me go through how to set this up properly. I've tried following the wiki etc. to no avail.

Last edited by brandon88tube (2010-05-23 16:10:21)

Offline

#3 2010-05-23 16:20:06

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Wireless with WPA2 AES help [SOLVED]

I've still been messing with wpa_cli and have no idea what I'm doing.

Me neither. If you want help, you have to be a lot more descriptive about where you're failing.

Offline

#4 2010-05-23 17:29:24

brandon88tube
Member
Registered: 2009-11-06
Posts: 84

Re: Wireless with WPA2 AES help [SOLVED]

I'm failing pretty much at the very beginning. I can't even figure out how to setup a connection to even start. I don't know how much more descriptive I can get besides I tried to use wpa_cli for the first time and haven't been able to figure out how to do anything.

Offline

#5 2010-05-23 17:58:15

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Wireless with WPA2 AES help [SOLVED]

I suggest you try the "classic" approach outlined in the wp_supplicant wiki page and see how that goes.

Offline

#6 2010-05-23 22:17:34

brandon88tube
Member
Registered: 2009-11-06
Posts: 84

Re: Wireless with WPA2 AES help [SOLVED]

I'm still having a hard time getting this to work. My wpa_supplicant.conf looks like this.

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel

network={
       ssid="xxxx"
       proto=RSN
       key_mgmt=WPA-PSK
       pairwise=CCMP TKIP
       group=CCMP TKIP
       #psk="xxxxxxxxxx"
       psk="xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}

Whenever I try to bring wlan0 up it gives me

SIOCSIFFLAGS: No such file or directory

Offline

#7 2010-05-23 23:07:33

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Wireless with WPA2 AES help [SOLVED]

Do you have wlan0? What does ifconfig -a show?


Website - Blog - arch-home
Arch User since March 2005

Offline

#8 2010-05-23 23:44:01

brandon88tube
Member
Registered: 2009-11-06
Posts: 84

Re: Wireless with WPA2 AES help [SOLVED]

It shows up as wlan0 when I do ifconfig -a, so I don't understand the problem.

Offline

#9 2010-05-24 04:39:40

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: Wireless with WPA2 AES help [SOLVED]

I have the same dongle and this is what i had to do to get it working...

Install RT2870 from AUR
Place firmware in /lib/firmware
Blacklist rt2800usb, rt2x00usb, rt2x00lib
Add rt2870sta to daemons array
Modify /etc/Wireless/RT2870STA.dat
Add network in rc.conf

My interface name is ra0 and yours should be too. It only shows as ra0 once you get the module built from AUR.

Oh and you'll need to download the firmware from Ralink.

And you'll find the WPA options etc, in the /etc/RT2870STA.dat file. Though i still can't get WPA working while getting Wireless N speeds...

This should help more http://wiki.archlinux.org/index.php/Rt2870

Last edited by Mountainjew (2010-05-24 04:50:14)

Offline

#10 2010-05-25 01:40:11

brandon88tube
Member
Registered: 2009-11-06
Posts: 84

Re: Wireless with WPA2 AES help [SOLVED]

Thanks, I'll give that a shot. Though, I do find having to download some driver to use my internet somewhat of an oxymoron.

Offline

#11 2010-05-25 07:55:58

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: Wireless with WPA2 AES help [SOLVED]

Yea, kernels after 2.6.29 or so aren't supposed to need the driver anymore. But for some reason it wouldn't work for me. I'm sure there's probably an easier way to get it working. But i finally got it working with netcfg last night and i'm using wpa and getting wireless N speeds, finally.

Offline

#12 2010-05-25 15:30:00

brandon88tube
Member
Registered: 2009-11-06
Posts: 84

Re: Wireless with WPA2 AES help [SOLVED]

Do you get random disconnects a lot? I've read that using this driver tends to give frequent disconnects or something like that.

Offline

#13 2010-05-25 16:56:49

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: Wireless with WPA2 AES help [SOLVED]

Nope, well it was rock solid for a couple of months. Until lately it disconnects about once per day. Not sure what caused the change though, could have been the updated module.

Offline

#14 2010-05-26 01:06:50

brandon88tube
Member
Registered: 2009-11-06
Posts: 84

Re: Wireless with WPA2 AES help [SOLVED]

I got it to work, but not entirely sure what it was that got it to work. I kind of shotgunned it and blacklisted those three modules in rc.conf and I also added rt2870sta to the module list to load (rc.conf still), but I didn't download and install the driver. Instead I used the one that came with the kernel. After that, I was able to ifconfig wlan0 up and from there I figured out most of the rest.

Last edited by brandon88tube (2010-05-26 01:09:59)

Offline

#15 2010-05-26 11:24:08

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: Wireless with WPA2 AES help [SOLVED]

Cool, are you able to get wireless N speeds though? I just tried it without the AUR module and max bit rate is 54Mb/s. Guess i'll be sticking with the other module neutral

Offline

#16 2010-05-27 01:54:01

brandon88tube
Member
Registered: 2009-11-06
Posts: 84

Re: Wireless with WPA2 AES help [SOLVED]

I guess its the price you've got to pay for a reliable connection that never seems to cut out. When I tried the driver from the RLink site, I would constantly get disconnected and the speeds didn't seem all that faster.

Offline

#17 2010-05-27 12:53:42

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: Wireless with WPA2 AES help [SOLVED]

Being stuck on 54Mb/s with a 50Mb internet connection sucks though, max i get is 2MB download. With the ralink driver i get 5.5MB smile

Offline

Board footer

Powered by FluxBB