LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   wirelesss encrpytion not working (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/wirelesss-encrpytion-not-working-243781/)

morehead21 10-17-2004 11:26 AM

wirelesss encrpytion not working
 
Ok i have a dell c400 with a dell true mobile 1150 minipci card installed running fedora core2.

The wireless works fine in my house where i have no encryption. At work however we have 128 bit encryption and when i try to iwconfig my wireless card with proper settings it refuses to accept them. however if i type in only part of my key it accepts it. Also when i do
Code:

iwlist encryption
i get
Code:

eth1 2 key sizes : 40 bits, 104 bits
so im thinking the max key size i can put in is 104 bits? when i had windows on here it worked with 128 bit key. Am i using the wrong driver or something ? im using the orinoco_cs module . thanks in advance for any help with this

secesh 10-17-2004 12:11 PM

fyi -- 128 bit wireless encryption is not exactly accurate...

WEP calls for a 24 bit Initialization Vector, and the remainder of the cypher strength is the actual key -- 104+24 = 128.. this holds for all key strengths with WEP. -- 40+24 is what windows will call a 64-bit key.

--how did you enter the key using iwconfig?

morehead21 10-17-2004 12:38 PM

i tried setting it in a number of differnet ways:
Code:

# iwconfig eth1 key passpasspasspasspasspassbb
# Error for wireless request "Set Encode" (8b2A):
#SET failed on device eth1 ; invalid argument "passpasspasspasspasspassbb"

Code:

# iwconfig eth1 key s: passpasspasspasspasspassbb
# Error for wireless request "Set Encode" (8b2A):
#  SET failed on device eth1 ; invalid argument "passpasspasspasspasspassbb"

Code:

# iwconfig eth1 enc passpasspasspasspasspassbb
# Error for wireless request "Set Encode" (8b2A):
#  SET failed on device eth1 ; invalid argument "passpasspasspasspasspassbb"

but if i do:

Code:

# iwconfig eth1 key s: 123456
i get no errors

passpass.. is the key for the office and im told its already in hex so no need to convert it ( i thought hex was a-f 1-8 but i guess i was wrong?)

2Gnu 10-18-2004 11:34 AM

Hex is 0-9, a-f
Syntax for setting via iwconfig is:
iwconfig eth0 key abcde12345 ... 10 digits for 64 (40) bit and 26 digits for 104 (128) bit

Syntax for setting it in /etc/pcmcia/wireless.opts is:
KEY="abcd-1234-0987-fedc-..."

fatrandy13 10-19-2004 12:58 AM

try typing wlcardconfig and follow the easy on screen instructions...

morehead21 10-19-2004 04:26 PM

apparently i dont have that program on my computer couldnt find it anywhere. But to update this issue i got it working on my home network with 128 bit encryption. I had to type in the key as such: xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xx i think the problem may lie somewhere in the key my office lan is using or something


All times are GMT -5. The time now is 05:16 PM.