LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 05-05-2005, 01:41 AM   #1
chris71mach1
LQ Newbie
 
Registered: Apr 2005
Location: DFW
Distribution: Debian
Posts: 17

Rep: Reputation: 1
Wireless WEP encryption


I need to figure out how to get WEP encryption running from a Linksys WRT54G wireless router to 2 wireless boxes, one running WinXP home and the other running debain sarge. setting it up on the router and the windows box should be a breeze, but i dont know where to set up the WEP on the linux box, or what file to edit with the encryption key.

any help, docs, and whatever else would be appreciated.

thanks

Last edited by chris71mach1; 05-05-2005 at 01:45 AM.
 
Old 05-05-2005, 10:35 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
man iwconfig.
as in, 'iwconfig wlan0 key HEXWEPKEY'
 
Old 05-06-2005, 06:54 AM   #3
raxxal
Member
 
Registered: Jul 2004
Location: Los Angeles
Distribution: Mandrake 2007
Posts: 109

Rep: Reputation: 15
Re: Wireless WEP encryption

Quote:
Originally posted by chris71mach1
I need to figure out how to get WEP encryption running from a Linksys WRT54G wireless router to 2 wireless boxes, one running WinXP home and the other running debain sarge. setting it up on the router and the windows box should be a breeze, but i dont know where to set up the WEP on the linux box, or what file to edit with the encryption key.

any help, docs, and whatever else would be appreciated.

thanks
This is a script that I have in my home dir, if the WiFi does not start when the machine boots, I type this commands, I put them in a file called "wlan", that's it:

echo "Loading ndiswrapper..."
modprobe ndiswrapper

echo "Setting mode Managed..."
iwconfig wlan0 mode Managed

echo " -- Setting ESSID"
iwconfig wlan0 essid HomeNet

echo " --Setting to channel 11..."
iwconfig wlan0 channel 11

echo " --Turning on managed mode..."
iwconfig wlan0 mode Managed

echo " --Setting encryption key"
iwconfig wlan0 key restricted XXXXE6358666EEFA3B0624XXXX

echo "Bringing up interface wlan0..."
ifconfig wlan0 up

echo "Activating UP address via DHCP..."
dhclient wlan0
 
Old 05-25-2007, 08:41 PM   #4
chadwick
Member
 
Registered: Apr 2005
Location: At the 100th Meridian where the great plains begin
Distribution: Debian Testing on T60 laptop
Posts: 105

Rep: Reputation: 16
Thanks raxxal! Works like a charm.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Problem with wep encryption on ipw2200 intel wireless card. dmh11686 Linux - Wireless Networking 1 03-20-2005 07:47 AM
How can I set WEP Encryption? yjftwo Linux - Wireless Networking 4 09-14-2004 02:53 AM
Wireless - DHCP no encryption / WEP Oxyacetylene Linux - Wireless Networking 2 04-20-2004 08:36 AM


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