[lwlan-user] wlan-ng dies constantly

Janus Christensen linux-wlan-user@lists.linux-wlan.com
29 Jul 2003 22:26:46 +0200


--=-J3AjKib+Ag58Aa6EeWUh
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hello,

I have installed the wlan-ng RPM's provided at
http://prism2.unixguru.raleigh.nc.us/ on a Red Hat 9 box with a NetGear
MA311 wireless PCI adapter (on a Dell OptiPlex DX204). I am currently
trying to find whether the problems I am experiencing are due to the
RPM's themselves or a misconfiguration of wlan-ng on my part. I would
have liked to contact the packager of the wlan-ng RPM's, but I have so
far been unable to find his email address at the website.

Wlan-ng dies more or less constantly. Sometimes it runs for hours on end
without a hitch and then *poof* its gone. Doing

  /etc/rc.d/init.d/wlan restart

usually cures the problem for a few minutes -- or in some cases for a
few seconds -- and the the link dies again. From what I can see, the
link only dies when there is no or little activity on the link; when
there is heavy traffic, i.e. when I am downloading a big file over a
long period of time, the link stays up. That I find kind of wierd, since
I would expect instabilities to occur during heavy load, but maybe
that's just me.  ,-)

On the same box I have a Windows 2000 installation, and on the rare
occasions when I dual boot into that OS, I never experience any problems
with the link.

I have attached the /etc/wlan.conf and /etc/wlancfg-WLAN files. Let me
know if there is any other information that is needed to help me with
this problem. Thanks!

-- 
Janus Christensen ______________________________________________________
I want something that'll give me the stamina of a young werewolf, the
vision of a shaman, the thoughts of a serial killer and the gentleness
of a hungry vampire bat.  --  Spider Jerusalem, Transmetropolitan

--=-J3AjKib+Ag58Aa6EeWUh
Content-Description: 
Content-Disposition: inline; filename=wlan.conf
Content-Type: text/x-sh; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

#! /bin/sh 
# Wireless LAN adapter configuration
#
# etc/wlan/wlan.conf
#
# Copyright (C) 1999 AbsoluteValue Systems, Inc.  All Rights Reserved.
# --------------------------------------------------------------------
#
# linux-wlan
#
#   The contents of this file are subject to the Mozilla Public
#   License Version 1.1 (the "License"); you may not use this file
#   except in compliance with the License. You may obtain a copy of
#   the License at http://www.mozilla.org/MPL/
#
#   Software distributed under the License is distributed on an "AS
#   IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
#   implied. See the License for the specific language governing
#   rights and limitations under the License.
#
#   Alternatively, the contents of this file may be used under the
#   terms of the GNU Public License version 2 (the "GPL"), in which
#   case the provisions of the GPL are applicable instead of the
#   above.  If you wish to allow the use of your version of this file
#   only under the terms of the GPL and not to allow others to use
#   your version of this file under the MPL, indicate your decision
#   by deleting the provisions above and replace them with the notice
#   and other provisions required by the GPL.  If you do not delete
#   the provisions above, a recipient may use your version of this
#   file under either the MPL or the GPL.
#
# --------------------------------------------------------------------
#
# Inquiries regarding the linux-wlan Open Source project can be
# made directly to:
#
# AbsoluteValue Systems Inc.
# info@linux-wlan.com
# http://www.linux-wlan.com
#
# --------------------------------------------------------------------
#
# Portions of the development of this software were funded by 
# Intersil Corporation as part of PRISM(R) chipset product development.
#
# --------------------------------------------------------------------
# This file is sourced by all configuration scripts.
#
# The WLAN_DEVICES variable identifies the device names of each WLAN device.
# If you have more than one, make sure each one is identified in a whitespace
# separated list that's assigned to WLAN_DEVICES.

WLAN_DEVICES="wlan0"

# Below is the list of channels to scan, when we scan.
ChannelList="01:02:03:04:05:06:07:08:09:0a:0b:00:00:00"
# Below is the min and max time we linger on a channel during a scan.
ChannelMinTime=200
ChannelMaxTime=250
# And here we have the master scan toggle. 
WLAN_SCAN=n

##########
# Note:  To bind to a specific network, change the SSID to something different
#        and create the file /etc/wlan/wlancfg-<SSID> with your network-
#        specific settings.  If this file is not present, the settings in
#        /etc/wlancfg/wlancfg-DEFAULT are used.
#
# for example:
#    SSID_wlan0="linux-wlan"
# This expects a file called "/etc/wlan/wlancfg-linux-wlan" to be present.
#
# Use a SSID of "" to associate with any network in range.
#########

SSID_wlan0="WLAN"
ENABLE_wlan0=y
#SSID_wlan1=""
#ENABLE_wlan1=n
#SSID_wlan2=""
#ENABLE_wlan2=n

--=-J3AjKib+Ag58Aa6EeWUh
Content-Description: 
Content-Disposition: inline; filename=wlancfg-WLAN
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

#=======USER MIB SETTINGS=============================
# You can add the assignments for various MIB items
#  of your choosing to this variable, separated by 
#  whitespace.  The wlan-ng script will then set each one.
# Just uncomment the variable and set the assignments 
#  the way you want them.

#USER_MIBS="p2CnfRoamingMode=1 p2CnfShortPreamble=mixed"

#=======WEP===========================================
# [Dis/En]able WEP.  Settings only matter if PrivacyInvoked is true
lnxreq_hostWEPEncrypt=false     # true|false
lnxreq_hostWEPDecrypt=false     # true|false
#dot11PrivacyInvoked=false	# 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=false		# keylength to generate
PRIV_GENSTR=""

# or set them explicitly.  Set genstr or keys, not both.
dot11WEPDefaultKey0=**:**:**:**:**:**:**:**:**:**:**:**:**
#dot11WEPDefaultKey0=		# 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="opensystem"		# 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)


--=-J3AjKib+Ag58Aa6EeWUh--