LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-28-2003, 10:51 PM   #1
once here
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Rep: Reputation: 0
wireless card (wpc11) won't work when WEP is enabled


I've got a fresh install of slackware-9.1.

When there is no security and the SSID is being broadcasted and everything from my AP, the card connects fine and everything works great. When I stop broadcasting the SSID, and configure my wireless.opts file so that the SSID's name is in there, the card connects and everything is fine. When I enable WEP on the AP and I add the key to my wireless.opts file, the card connects to the AP it appears, iwconfig yeilds positive results, but nothing comes through. I can't access the net or anything.

any ideas?

iwconfig spits out the correct key and the correct info for the configuration as far as I can tell, its just when WEP is enabled nothing happens, it connects (as far as I can tell) but nothing happens.

thanks a ton in advance
 
Old 11-29-2003, 12:08 AM   #2
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
If you use WEP, but leave SSID broadcast on, does it work? If so, I'd forget about SSID broadcast. It only makes it invisible to NetStumbler, but not to Kismet or Airsnort.
 
Old 11-29-2003, 12:27 AM   #3
once here
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
no, still doesn't work when SSID broadcasting is on

I didn't install any drivers or anything like that, the card started working right from a fresh install of slackware9.1, does that have anything to do with it?
 
Old 11-29-2003, 08:48 AM   #4
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
What card are you using?
Slack obviously recognized the card and loaded a driver, or you wouldn't be able to connect without WEP. lsmod will list the drivers the are loaded.

The simplest explanation is a WEP key mis-match, although you've checked that. Are you using 128 bit? The 26 digit hex key matches? (That is, you're not using a passphrase or anything.)
 
Old 11-29-2003, 09:04 AM   #5
once here
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
the card's a wpc11

I'm using a 64bit encryption, I could use a 128bit

is there any special way I should write the key or something?
 
Old 11-29-2003, 01:27 PM   #6
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
Use 128 bit for security and use a 26 digit hex key at both ends to avoid any passphrase or alphanumeric confusion.
iwconfig ethx key 12345abcde ...
I use the orinoco_cs driver and the key is stored in /ect/pcmcia/wireless.opts to keep from having to enter it after a reboot. Syntax for that file is:
KEY="1234-5abc-def6-7890 ..."
 
Old 11-29-2003, 02:47 PM   #7
once here
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
how can I figure out where the problem is? When I run iwconfig the info checks out, other than that I don't know how to troublehsoot it any further.

could you perhaps copy and paste your wireless.opts configuration so I coudl get a look at it? replace the key and everything, I just want to see what you have and compare it to my file.

thanks
 
Old 11-29-2003, 10:04 PM   #8
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
Sure. Here it is, minus the general comments by Jean Tourrilhes:

# Generic example (decribe all possible settings)
*,*,*,*)
INFO="Fill with your own settings..."
# ESSID (extended network name) : My Network, any
ESSID="wireless"
# NWID/Domain (cell identifier) : 89AB, 100, off
NWID=""
# Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary, auto
MODE="Managed"
# Frequency or channel : 1, 2, 3 (channel) ; 2.422G, 2.46G (frequency)
FREQ=""
CHANNEL=""
# Sensitivity (cell size + roaming speed) : 1, 2, 3 ; -70 (dBm)
SENS=""
# Bit rate : auto, 1M, 11M
RATE="auto"
# Encryption key : 4567, sassword
KEY="1234-abcd-5678-bcde-9876-3210-bb"
# RTS threshold : off, 500
RTS=""
# Fragmentation threshold : off, 1000
FRAG=""
# Other iwconfig parameters : power off, ap 01:23:45:67:89:AB
IWCONFIG=""
# iwspy parameters : + 01:23:45:67:89:AB
IWSPY=""
# iwpriv parameters : set_port 2, set_histo 50 60
IWPRIV=""
;;
esac
 
  


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 won't work with WEP jdudley2 Linux - Wireless Networking 3 05-25-2005 05:33 PM
Wireless card fails to link with DHCP enabled saydee Linux - Wireless Networking 1 01-20-2005 06:30 AM
Using wep in a wireless card PROBLEMS vador Linux - Software 1 06-05-2004 07:31 AM
Cannot get WEP to work on WPC11 Ver. 3 kman527 Linux - Wireless Networking 0 07-21-2003 09:56 PM
wireless card and wep firedude Linux - Wireless Networking 1 10-25-2002 06:07 AM

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

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