Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-01-2006, 04:43 PM   #1
LQ Newbie
Registered: Mar 2006
Posts: 5

Rep: Reputation: 0
Post using encryption with iwconfig (wi-fi connection)


I encoutner problems to connect through wi-fi using encryption with command iwconfig: when I'm doing:
iwconfig eth1 key restricted
iwconfig eth1 key XXXX-XXXX-XX
conection is refused. Why that??
I suppose in this case that's WEP which is used by default as protocol of encryption even if it is not clearly mentionned in the documentation (man iwconfig) and normally WEP should be supported by most cards (for me it is a centrino chipset on a laptop) but eventually wpa should be supported too. Is there any unix command to print supported encryption type?

Thank you in advance for any suggestion
Old 04-01-2006, 05:22 PM   #2
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 64
You either need to add the key in hex format like this
iwconfig eth1 key XXXX-XXXX-XXXX-XXXX

or as dec like this
iwconfig eth1 key XXXXXXXXXX


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
how to keep iwconfig encryption key odysseus.lost Linux - Wireless Networking 7 09-04-2005 04:10 PM
where does iwconfig get these? linuxhippy Slackware 2 04-18-2005 01:16 AM
Using iwconfig cck23 Linux - Wireless Networking 22 07-06-2004 08:23 AM
iwconfig citrus Linux - Wireless Networking 3 01-03-2004 02:16 PM
Mandrake 9.0 Wireless Works without encryption.. does not with encryption topcat Linux - Wireless Networking 3 05-04-2003 09:47 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration