LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 09-11-2004, 12:25 AM   #1
fatrandy13
Member
 
Registered: Jun 2004
Location: new jersey
Distribution: anything debian based, long live apt-get
Posts: 230

Rep: Reputation: 30
WEP encryption password


I have a wireless network in my house and ive been running knoppix just fine with it all set up, but recently i put a WEP encryption password on the network, and i havnt been able to figure out how to enter it for my one computer running linux. My other computers are all running windows and it was easy to put the WEP key in. If anyone knows how i can easily just put the WEP key in to get up on the network i would appreciate it, thanx.
 
Old 09-11-2004, 02:33 AM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
If your interface is called eth0 and your key is xxxxxxxxxx hex, you would write type
Code:
iwconfig eth0 key xxxxxxxxxx
If the key is an ascii string some_string, then do
Code:
iwconfig eth0 key s:some_string
 
Old 09-11-2004, 10:38 AM   #3
flyfishin
Member
 
Registered: Aug 2003
Location: KC, MO
Distribution: CentOS, RHEL, SuSE, Fedora
Posts: 243

Rep: Reputation: 30
If you want to work with a passphrase instead of trying to type in a WEP key you can find a slick little perl script here:

http://www.mattfoster.clara.co.uk/madwifi-7.htm
 
Old 09-11-2004, 11:46 AM   #4
fatrandy13
Member
 
Registered: Jun 2004
Location: new jersey
Distribution: anything debian based, long live apt-get
Posts: 230

Original Poster
Rep: Reputation: 30
when i type in "iwconfig wlan0 key xxxxxxxxxx" (no quotes), i get errors (my wireless interface is wlan0)

when i type iwconfig, in the little wireless summary that comes up for wlan0, it says Encryption key: off

Do i have to somehow turn that on first, before entering the key

Last edited by fatrandy13; 09-11-2004 at 11:48 AM.
 
Old 09-11-2004, 12:46 PM   #5
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
what errors do you get?
 
Old 09-13-2004, 09:57 PM   #6
fatrandy13
Member
 
Registered: Jun 2004
Location: new jersey
Distribution: anything debian based, long live apt-get
Posts: 230

Original Poster
Rep: Reputation: 30
root@box:/home/Marzig76# iwconfig wlan0 key open XXXXXXXXXXXXXXXXXXXXXXX
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Operation not supported.
root@box:/home/Marzig76#



root@box:/home/Marzig76#


wlan0 IEEE 802.11-DS ESSID:"Wireless" Nickname:"Wireless"
Mode:Auto Channel:0 Access Point: 00:00:00:00:00:00
Bit Rate:2Mb/s Tx-Power:-279748768 dBm
Retry min limit: 8 RTS thr: off Fragment thr: off
Encryption key: off
Link Quality:0/92 Signal level:-69 dBm Noise level:-90 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Last edited by fatrandy13; 09-14-2004 at 01:43 AM.
 
Old 09-14-2004, 01:39 PM   #7
flyfishin
Member
 
Registered: Aug 2003
Location: KC, MO
Distribution: CentOS, RHEL, SuSE, Fedora
Posts: 243

Rep: Reputation: 30
Did you try:

iwconfig device key xxxxxxxxxxxxxx


?


Drop the open and see what happens.
 
Old 09-14-2004, 02:24 PM   #8
fatrandy13
Member
 
Registered: Jun 2004
Location: new jersey
Distribution: anything debian based, long live apt-get
Posts: 230

Original Poster
Rep: Reputation: 30
same results
 
Old 09-14-2004, 02:33 PM   #9
flyfishin
Member
 
Registered: Aug 2003
Location: KC, MO
Distribution: CentOS, RHEL, SuSE, Fedora
Posts: 243

Rep: Reputation: 30
As Berhanie mentioned, are you using a hex key or an ascii key?
 
Old 09-14-2004, 11:56 PM   #10
fatrandy13
Member
 
Registered: Jun 2004
Location: new jersey
Distribution: anything debian based, long live apt-get
Posts: 230

Original Poster
Rep: Reputation: 30
its a hex key...
 
Old 09-15-2004, 01:36 AM   #11
fatrandy13
Member
 
Registered: Jun 2004
Location: new jersey
Distribution: anything debian based, long live apt-get
Posts: 230

Original Poster
Rep: Reputation: 30
at this point, i thinking about just taking the encryption off, but i'm scared about wireless hacking
 
Old 09-15-2004, 10:30 AM   #12
flyfishin
Member
 
Registered: Aug 2003
Location: KC, MO
Distribution: CentOS, RHEL, SuSE, Fedora
Posts: 243

Rep: Reputation: 30
Hmmm.... iwconfig is the way to set it. I'm out of possible answers. You'll have to try googling for your wireless card and knoppix and see if someone else has figured out that's up. I would definitely work on getting some kind of encryption to work. It's too easy to fireup kismet and monitor someone's unencrypted network.
 
Old 09-15-2004, 11:49 AM   #13
fatrandy13
Member
 
Registered: Jun 2004
Location: new jersey
Distribution: anything debian based, long live apt-get
Posts: 230

Original Poster
Rep: Reputation: 30
thanx for the help, the weird thing is that the network worked just fine before i set encryption....anyway, i'll figure somthing out, but if anyone else knows what could be wrong, let me know..thanx
 
Old 09-15-2004, 12:12 PM   #14
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Quote:
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Operation not supported.
I would guess that your driver/card doesn't support WEP. You might consider updating to the latest driver and trying again.
 
Old 09-15-2004, 02:39 PM   #15
fatrandy13
Member
 
Registered: Jun 2004
Location: new jersey
Distribution: anything debian based, long live apt-get
Posts: 230

Original Poster
Rep: Reputation: 30
well ive used this card on a windows pc and it worked with encryption just fine..also as for the drivers, i am using the linux wlan drivers..and they're updated
 
  


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
Wireless WEP encryption chris71mach1 Linux - Security 3 05-25-2007 08:41 PM
Do I need WPA_supplicant for WEP encryption? irena56 Linux - Software 2 09-29-2005 09:00 AM
WEP encryption not decrypting linuxhippy Slackware 5 04-16-2005 01:48 PM
How can I set WEP Encryption? yjftwo Linux - Wireless Networking 4 09-14-2004 02:53 AM
apple airport and wep encryption spyderusa11 Linux - Wireless Networking 9 01-26-2004 11:19 AM

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

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