Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 08-16-2003, 10:01 PM   #1
LQ Newbie
Registered: Jun 2003
Posts: 10

Rep: Reputation: 0
WEP configuration for DWL520 in Linux


I am using a DWL520 wireless card on my RedHat Linux machine to connect to the wlan provided by my apt. They have given me an SSID and a WEP key.

I downloaded the prism2_pci driver from and built/installed it. I don't know how to configure the /etc/wlan/wlancfg-SSID file to pick up the WEP key. please help.

Further, the help file says that I should use

>ifconfig wlan0 <ip addr> netmask <> broadcast <>

How do I set this to use DHCP and automatically pick up the IP..

Old 08-17-2003, 07:00 AM   #2
Registered: Jun 2003
Location: Canada
Distribution: Red Hat 9
Posts: 94

Rep: Reputation: 15
just edit the /etc/wlan/wlancfg-SSID file like the following if you have 128bit WEP, then do a /etc/init.d/network restart

# [Dis/En]able WEP. Settings only matter if PrivacyInvoked is true
lnxreq_hostWEPEncrypt=true # true|false
lnxreq_hostWEPDecrypt=true # true|false
dot11PrivacyInvoked=true # true|false
dot11WEPDefaultKeyID=0 # 0|1|2|3
dot11ExcludeUnencrypted=true # true|false, in AP this means WEP is required.

# If PRIV_GENSTR is not empty, use PRIV_GENTSTR to generate
# keys (just a convenience)
PRIV_GENERATOR=/sbin/nwepgen # nwepgen, Neesus compatible
PRIV_KEY128=true # keylength to generate

# or set them explicitly. Set genstr or keys, not both.
dot11WEPDefaultKey0=****** YOUR WEP KEY HERE *********

# format: xx:xx:xx:xx:xx or
dot11WEPDefaultKey1= # xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
dot11WEPDefaultKey2= # e.g. 01:20:03:40:05 or
dot11WEPDefaultKey3= # 01:02:03:04:05:06:07:08:09:0a:0b:0c:0d
#=======SELECT STATION MODE===================
IS_ADHOC=n # y|n, y - adhoc, n - infrastructure

#======= INFRASTRUCTURE STATION ===================
# What kind of authentication?
AuthType="sharedkey" # opensystem | sharedkey (requires WEP)

#======= ADHOC STATION ============================
BCNINT=100 # Beacon interval (in Kus)
CHANNEL=6 # DS channel for BSS (1-14, depends
# on regulatory domain)
BASICRATES="2 4" # Rates for mgmt&ctl frames (in 500Kb/s)
OPRATES="2 4 11 22" # Supported rates in BSS (in 500Kb/s)
Old 08-18-2003, 02:13 PM   #3
LQ Newbie
Registered: Jun 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks a lot Ray..

I found out that my wireless LAN has a 64-bit encryption and they have give me a 10 character hex key for it..

should i change




and enter the key

dot11WEPDefaultKey1= AA:BB:CCD:EE

i will try the above mentioned steps and see.
thanks again for the help..



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
WEP configuration - Fedora wireless cidrolin Linux - Wireless Networking 2 02-20-2005 01:06 PM
WEP configuration using iwconfig clue=0 Linux - Wireless Networking 1 08-28-2004 08:53 PM
Linux/Debian, WEP and linux-wlan - cannot get it to work with WEP slewis1972 Linux - Wireless Networking 1 12-25-2003 04:48 PM
[acx100/dwl520+] configuration problems (?) compyfreak Linux - Networking 0 11-18-2003 03:25 PM
DLINK DWL520+ ( plus) working with linux is a myth? linuxlah Linux - General 5 09-09-2003 09:24 AM

All times are GMT -5. The time now is 07:32 AM.

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