LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-28-2010, 06:41 PM   #1
ansichart
LQ Newbie
 
Registered: Feb 2010
Posts: 4

Rep: Reputation: 0
Atheros error "set encode" (AR9285). Can't set an encryption key


I keep getting the following error when I run the following:
Quote:
# iwconfig wlan0 key s4ssw0rd
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid Argument
No matter what method I try for setting an encryption key for my card, it doesn't work. I am only able to connect to wireless access points that don't use encryption.

details:
I have an Atheros AR9285 wireless card, I have the mac80211,ath9k modules loaded. Also when I run lspci, my Atheros AR9285 card shows up on the list.
I am using the 2.6.30.9 kernel.

Please help me.
 
Old 05-28-2010, 07:42 PM   #2
fruttenboel
Member
 
Registered: Jul 2008
Location: Tilburg NL
Distribution: Slackware 14.2 ciurrent, kernel 3.18.11
Posts: 270

Rep: Reputation: 48
Quote:
Originally Posted by ansichart View Post
I keep getting the following error when I run the following:

No matter what method I try for setting an encryption key for my card, it doesn't work. I am only able to connect to wireless access points that don't use encryption.

details:
I have an Atheros AR9285 wireless card, I have the mac80211,ath9k modules loaded. Also when I run lspci, my Atheros AR9285 card shows up on the list.
I am using the 2.6.30.9 kernel.

Please help me.
For some reason I always get the impression that people prefer a panic request at LQ over a decent search of the internet using Yahoo and (if Yahoo fail) Google.

You would have found http://alien.slackbook.org/dokuwiki/...ckware:network and http://fruttenboel.verhoeven272.nl/linux/gallium4.html, among others.

For the record: if it works in Slackware, it will work in lesser disto's as well, albeit slightly different.
 
Old 06-03-2010, 01:31 AM   #3
ansichart
LQ Newbie
 
Registered: Feb 2010
Posts: 4

Original Poster
Rep: Reputation: 0
I am trying to do this in Arch Linux now, and those links did not help me. The following files don't exist:
/etc/rc.d/rc.inet1
/etc/rc.d/rc.wireless.conf

I did search google:
http://www.google.com/search?q=ar928...encode%22+8b2a

I've also tried using compat-wireless, and I still get the same error when setting the encryption key.
http://wireless.kernel.org/en/users/Download

The only thing that I've not tried is using ndiswrapper with my windows drivers, which I'd rather not use. I will use that if I absolutely HAVE to.

I am not a Linux newbie. I've spent many hours trying to get this to work.
 
Old 06-04-2010, 03:41 AM   #4
fruttenboel
Member
 
Registered: Jul 2008
Location: Tilburg NL
Distribution: Slackware 14.2 ciurrent, kernel 3.18.11
Posts: 270

Rep: Reputation: 48
Quote:
Originally Posted by ansichart View Post
I am trying to do this in Arch Linux now, and those links did not help me. The following files don't exist:
/etc/rc.d/rc.inet1
/etc/rc.d/rc.wireless.conf
Those are standard files in standard Linux. Candy cane Linux is nice, as long as you have candy cane computer and candy cane equipment.

Of course! And now I also suddenly realize what the underlying problem is: Newbies don't know how to search Google...

The best way to search Google is by using http://search.yahoo.com Yaho have no blacklist
The second best way is to go to www.google.com and do a search.

If you are looking for the Longshine IR2114 router you must enter "Longshine IR2114" WITH the quotes.
If you now get a lot of girly pictures, you add '- nude' (without the quotes).
If you get other bad results, add other '-' options.
Look further than just pages 1 and 2.
Open multiple TAB's in your browser (Ctrl-LeftMouse or MiddleMouse) so your search results page stays loaded.

If you hit upon something interesting: open a new TAB and start a new search based on the new keywords. Use quotes and minusses where appropriate.

Quote:
I am not a Linux newbie. I've spent many hours trying to get this to work.
Of course. It's oldfashioned to state you become an experienced user after some years. You, after two hours, have left the stage of newbyness. Wellcome to the club of hackers.
 
Old 06-04-2010, 02:26 PM   #5
ansichart
LQ Newbie
 
Registered: Feb 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by fruttenboel View Post
Those are standard files in standard Linux.

Of course! And now I also suddenly realize what the underlying problem is: Newbies don't know how to search Google...
I know how to use Google. I did use quotes in my search, and I know about using the minus symbol. I have used some of Google's advance search options in the past.
Quote:
http://search.yahoo.com Yaho have no blacklist
Yes, Google's blocklist is used when sites violates the SEO rules, to mislead people to their site.
Quote:
Of course. It's oldfashioned to state you become an experienced user after some years. You, after two hours, have left the stage of newbyness. Wellcome to the club of hackers.
No, I've been using Linux for around 3 years now. I've used Ubuntu, Debian, Slackware, Back|Track, and Arch Linux. I've also had some exposure to others distros.

I was saying that I am not a linux newbie, meaning that I am not new to linux, and that I've been working on this problem for several hours now and I keep hitting dead ends.

I did figure out the problem by the way. Instead of entering the key as a string with the s: option, I am able to enter it in with hexadecimal characters as long as 'key' is the ONLY paramter with the iwconfig command. I thought this was kind of strange, but that's the only way I can get this to work.

Last edited by ansichart; 06-04-2010 at 02:27 PM.
 
  


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
Fedora 10 iwconfig error: Error for wireless request "Set Encode" (8B2A) :SET failed mishkind Linux - Laptop and Netbook 2 05-10-2009 02:43 PM
Please Help - NDISWrapper - Error for wireless request "Set Encode" (8B2A) hanika98 Linux - Wireless Networking 2 03-11-2009 08:44 AM
"Set Encode" (8B2A) error while trying to add WEP key dahouse Linux - Wireless Networking 20 04-30-2007 11:41 AM
Error for wireless request "Set Encode" (8B2A), help me jiasen_ma Linux - Wireless Networking 4 05-25-2006 02:33 PM
Error for wireless request "Set Encode" (8B2A) for ath0 Suse 9.0 debasisdan Linux - Wireless Networking 2 04-19-2006 01:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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