LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   SuSE 9.1 Pro WEP key network (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/suse-9-1-pro-wep-key-network-213833/)

sichen 08-05-2004 12:12 PM

SuSE 9.1 Pro WEP key network
 
Hello. I have been able to get wireless network to work on Suse 9.1 Professional but without WEP key. When I try to use Yast2 > Network Devices > Network Cards > Hardware Settings > Wireless Settings and put in a WEP key, it does not work.

Has anyone been able to use a wireless network with WEP key encryption in Suse 9.1 Professional? If so, can you tell me:

1. Does it support both 64- and 128-bit encryption or just 64-bit?
2. How does one configure it? Does one have to edit a network script or use Yast2?
3. What format is it expecting the wep key to be in? My router gives a four 10 alpha-numeric digits for 64-bit wep and a 26 alpha-numeric digit for 128-bit wep.

So far I found this article:
http://artm-friends.at/rm/mylinux.php#msw

But unfortunately, it does not actually work. Some of the mib requests are invalid on my computer, and it says that my WEP keys are too short when I put in 10 alpha-numeric digits.

Thank you!

Si Chen

emry 08-05-2004 08:36 PM

Quote:

1. Does it support both 64- and 128-bit encryption or just 64-bit?
Both, determined by the length of the key. 64 - being 10 digits.

Quote:

2. How does one configure it? Does one have to edit a network script or use Yast2?
This one seems to be the pain. I get different stories from varied sources soooo YMMV. During boot the ifup script is called. Located in /etc/sysconfig/network. I believe it reads the 'config' file and then the specific 'ifcfg-<device>' file which overrides the general 'config' file. Device being eth0 or wlan0 or whatever you use. Now I use ndiswrapper to enable my wlan0 interface and the 'ifcfg-wlan0' is own by root without write permissions. To be able set my WEP key I need to add write permissions to this file for group. Then I was able to edit the script manually and make changes. Here is my 'ifcfg-wlan0'

BOOTPROTO='dhcp'
MTU=''
REMOTE_IPADDR=''
STARTMODE='onboot'
WIRELESS_AP=''
WIRELESS_BITRATE='auto'
WIRELESS_CHANNEL=''
WIRELESS_ESSID='HOME'
WIRELESS_KEY='1234567890'
WIRELESS_MODE='Managed'
WIRELESS_NICK=''
WIRELESS_NWID=''
WIRELESS_POWER='yes'
_nm_name='static-0'

Quote:

3. What format is it expecting the wep key to be in? My router gives a four 10 alpha-numeric digits for 64-bit wep and a 26 alpha-numeric digit for 128-bit wep.
The same. If you use a string value append the key with 's: <key value>

And try this link - Suse Networking Forum


All times are GMT -5. The time now is 03:54 AM.