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