Jump to content

how to connect to WEP-encrypted network?


redss
 Share

Recommended Posts

My netgear wireless card came with a gui utility that runs in MS-windows and scans for available wireless networks and enables me to connect to a network by entering the WEP password...

 

What is the best equivalent of this on linux? Haven't actually tried mandriva yet but I'm playing with a liveCD (whax) which has wlassistant and kwifimanager, but I cant connect to a WEP protected network with either utility.

Link to comment
Share on other sites

Go to the MCC, networking, wireless network and configure it. (MCC=Mandriva Control Center) It is also called "configure your computer" in the menu.

Link to comment
Share on other sites

All GUIs such as kwifimanager simply produce a configuration file for your wireless device. You can do this by creating and editing a configuration file. since you can connect to an unencripted AP, your card seems to be installed correctly. Find out the name of the wireless interface (could be wlan0, eth1, or similar), by running ifconfig or iwconfig as root. Then, edit the file /etc/sysconfig/network-scripts/ifcfg-<your interface name>. Google for ifcfg-<your interface name> to find out what commands to put there, and what they mean. Here is mine

 

DEVICE=eth1
USERCTL=yes
#BOOTPROTO=dhcp
NETMASK=255.255.255.0
BOOTPROTO=static
IPADDR=192.168.81.5
NETWORK=192.168.81.0
#ONBOOT=yes
ONBOOT=no
HWADDR=aa:bb:cc:dd:ee  # your card MAC address
MII_NOT_SUPPORTED=no
NEEDHOSTNAME=yes
#
TYPE=Wireless
MODE=Managed
ESSID=Myessid
NICNAME="myboxname"
ENCRYPTION=ON
# uncomment this line if using WEP (128 bit)
KEY="restricted s:my_WEP_key"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...