> Don't sweat it. It comes up and it works. Right?
Ok, I have gotten it to work in Ad-Hoc mode, ie. my win2000 box picks
up the SSID, but when I switch to infrustructure no dice. I get the
following errors when I restart the network:
/etc/init.d/wlan restart
Shutting Down WLAN Devices:message=lnxreq_ifstate
ifstate=disable
resultcode=success
Starting WLAN Devices:message=dot11req_mibset
mibattribute=dot11PrivacyInvoked=false
resultcode=success
message=dot11req_mibset
mibattribute=dot11ExcludeUnencrypted=false
resultcode=success
[root@babylon root]# [ OK ]
Then:
[root@babylon root]# ifup wlan0
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Function not implemented.
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device wlan0 ; Function not implemented.
and a series of errors:
p80211knetdev_har_start_xmit: Tx attempt prior to association, frame
droped
And no signal is picked up on my Win2000 machine? There is a nice
howto here:
http://www.siliconvalleyccie.com/lin...m#_Toc76573764
which states in trouble shooting:
Kernel Log Errors
p80211 Kernel errors in /var/log/messages usually point to an
incorrectly configured SSID or may also be due to a NIC card with an
outdated firmware version.
Nov 13 22:24:54 bigboy kernel: p80211knetdev_hard_start_xmit: Tx
attempt prior to association, frame dropped.
So it could be that SSID is configured incorrectly, but I don't see
it. Here is my wlan.conf file:
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:0 0: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="fairfield"
ENABLE_wlan0=y
#SSID_wlan1=""
#ENABLE_wlan1=n
#SSID_wlan2=""
#ENABLE_wlan2=n
And here is the file wlancfg-fairfield:
#=======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
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= # 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)
As I stated above, if I change IS_ADHOC=y, I can see the SSID on my
win2000 machine; I beleive the card is working.
Am I missing something, or is there an issue with firmware on this
card as suggested by the howto? BTW, how do you determine the fireware
version in linux?
Thanks again for any suggestions.
-Dustin