LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 11-07-2007, 01:40 AM   #1
PETROSHP
LQ Newbie
 
Registered: Jan 2007
Posts: 24

Rep: Reputation: 15
cannot connect on wifi with WEP key 128bit


Hi all,

yesterday I was in a friend's house having wireless connection with a router D-Link and a WEP key 128bit. It was unable for me to connect since it was not accepting the key I was entering (2 other notebooks where running on XP where connected and running!!). Since at home I have it open I have not realise that for a year and a half now!!! I tried another's friend wifi connection with the same criteria (different router) as well and still the same problem.

Can anyone tell me why's that happening??

Thanks in advance
 
Old 11-07-2007, 02:31 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
WEP has a few problems with it, and getting a linux client connected can prove difficult. First off, a 128 bit WEP password can ONLY be 13 chars long to work properly. A 64 bit can only be 5. The problem is if the password isn't the "correct" length, the router will basically fill in the blanks, or take letters away, to get it to the correct number of digits. Some routers chop off the end of the password, others the beginning, in short, it is a royal mess. My sister is using 128 bit WEP, and with a linksys router, the ascii -> hexi-decimal conversion is "wrong". By that I mean if you dump her password into an online converter, it will say the hexi passphrase should be cc6e4773f09e83752c8d123456, but her router says it should be another string, meaning the router simply isn't converting the password correctly.

The key to gaining authentication against WEP is to see what hexi-string the router has on itself. I copied the string off my sister's, and now I use that string as my authentication, with the help of the iwconfig command.

Also, for the record, WEP is hyper insecure. It is virtually no protection at all. Anybody with 2 seconds of linux skills can crack a WEP key in literally 5 seconds. All the headers of the allegedly encrypted traffic contains the key in them. By collecting enough packets going to or from the router, you can crack the key. WPA is the only authentication that is actually secure. You can crack a WEP key by capturing any packets, getting a WPA key means you have to capture a whole slew of packets as a user is authenticating against the router, which usually isn't possible.

Peace,
JimBass
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wifi wep key crack Cap_pro Linux - Security 2 09-18-2007 07:58 AM
Aironet 350 driver/fiirmware for 128bit WEP WindsorKnot Linux - Wireless Networking 3 04-04-2007 02:51 PM
Quick wifi question - wep key chud67 Slackware 4 09-22-2006 06:27 AM
Syntax of WEP key in wifi-radar adamsjw2 Linux - Wireless Networking 0 08-26-2006 10:52 AM
Planet PCMCIA WiFi card can't change WEP key set shneoh Linux - Wireless Networking 2 07-03-2004 12:04 PM


All times are GMT -5. The time now is 03:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration