How did you install wlan-ng?

As I recall wlan-ng drivers are installed out of the box on Mandrake 9.0
systems, but the way they are installed is very wrong.  Also the wlan-ng
userland tools are not installed.

Did you download and install a wlan-ng tarball?  If so which version?

----- Original Message -----
From: Johnny Stork
To: CLUG
Sent: Monday, November 11, 2002 1:23 AM
Subject: (clug-talk) Linksys WPC11 PCMCIA Card Help


I recently blew away RH 7.3 on my laptop (which was working fine...silly
guy), and installed Mandrake 9. I recall it took only around an hour to get
my Linksys WPC11 working with my WAP11 following the linux-wlan-ng
installation. But I neglected to make copies of my various wireless.opts,
wlan-ng.cong ect files before installing Mandrake. So guess what? I cant get
my WPC11 to work now and after 3-4 hours I give up and must ask for help.

Here is some output from /var/log/messages when restarting pcmcia services:

Nov 11 01:09:00 Laptop cardmgr[6799]: executing: './wlan-ng check wlan0'
Nov 11 01:09:00 Laptop cardmgr[6799]: executing: './wlan-ng stop wlan0'
Nov 11 01:09:00 Laptop cardmgr[6799]: stop cmd exited with status 1
Nov 11 01:09:00 Laptop cardmgr[6799]: executing: 'modprobe -r prism2_cs'
Nov 11 01:09:00 Laptop kernel: prism2sta_mlmerequest: Unknown mgmt request
message 0x00000143<5>prism2_cs.o: 0.1.14 Unloaded
Nov 11 01:09:00 Laptop kernel: p80211.o: 0.1.14 Unloaded
Nov 11 01:09:00 Laptop /etc/hotplug/net.agent: NET unregister event not
supported
Nov 11 01:09:00 Laptop cardmgr[6799]: exiting
Nov 11 01:09:02 Laptop cardmgr[7043]: watching 1 sockets
Nov 11 01:09:02 Laptop kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Nov 11 01:09:02 Laptop kernel: cs: IO port probe 0x0100-0x04ff: excluding
0x378-0x37f 0x4d0-0x4d7
Nov 11 01:09:02 Laptop kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Nov 11 01:09:02 Laptop cardmgr[7044]: starting, version is 3.2.0
Nov 11 01:09:02 Laptop cardmgr[7044]: socket 0: Bromax OEM 11Mbps 802.11b
WLAN Card (Prism 3)
Nov 11 01:09:02 Laptop cardmgr[7044]: executing: 'modprobe prism2_cs'
Nov 11 01:09:02 Laptop kernel: init_module: prism2_cs.o: 0.1.14 Loaded
Nov 11 01:09:02 Laptop kernel: init_module: dev_info is: prism2_cs
Nov 11 01:09:02 Laptop kernel: prism2_cs: index 0x01: Vcc 5.0, irq 3, io
0x0100-0x013f
Nov 11 01:09:02 Laptop cardmgr[7044]: executing: './wlan-ng start wlan0'
Nov 11 01:09:02 Laptop kernel: ident: nic h/w: id=0x801b 1.0.0
Nov 11 01:09:02 Laptop kernel: ident: pri f/w: id=0x15 1.0.5
Nov 11 01:09:02 Laptop kernel: ident: sta f/w: id=0x1f 1.3.4
Nov 11 01:09:02 Laptop kernel: MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
Nov 11 01:09:02 Laptop kernel: CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
Nov 11 01:09:02 Laptop kernel: PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/3
Nov 11 01:09:02 Laptop kernel: STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/9
Nov 11 01:09:02 Laptop kernel:
PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
Nov 11 01:09:02 Laptop kernel:
STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
Nov 11 01:09:02 Laptop kernel:
STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
Nov 11 01:09:02 Laptop kernel: Prism2 card SN: 99SA01000000
Nov 11 01:09:02 Laptop /etc/hotplug/net.agent: invoke ifup wlan0
Nov 11 01:09:03 Laptop cardmgr[7044]: + grep:
/proc/net/p80211/wlan0/wlandev: No such file or directory
Nov 11 01:09:03 Laptop cardmgr[7044]: + error: Autojoin indicated failure!


And from iwconfig.....

wlan0 IEEE 802.11-b ESSID:"non-spec"
Mode:Managed Frequency:2.422GHz Access Point: 44:44:44:44:44:44
Link Quality:0/100 Signal level:81/100 Noise level:27/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

So it looks like the card and driver are installed fine, but I cant seem to
set the ESSID anywhere in spite of
setting it in every config file I think is involved?

wlan.conf:

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

wireless.opts contents.......

# Pick up any Access Point, should work on most 802.11 cards
essidany,*,*,00:06:25:AB:40:AD)
INFO="WPC11"
ESSID="Penguin"
MODE="Managed"
;;


# Generic example (decribe all possible settings)
*,*,*,00:06:25:AB:40:AD)
INFO="WPC11"
ESSID="Penguin"
# NWID/Domain (cell identifier) : 89AB, 100, off
NWID=""
# Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary, auto
MODE="Managed"
# Frequency or channel : 1, 2, 3 (channel) ; 2.422G, 2.46G (frequency)
FREQ=""
CHANNEL="6"
# Sensitivity (cell size + roaming speed) : 1, 2, 3 ; -70 (dBm)
SENS=""
# Bit rate : auto, 1M, 11M
RATE="auto"
# Encryption key : 4567-89AB-CD, s:password
KEY=""
# RTS threshold : off, 500
RTS=""
# Fragmentation threshold : off, 1000
FRAG=""
# Other iwconfig parameters : power off, ap 01:23:45:67:89:AB
IWCONFIG=""
# iwspy parameters : + 01:23:45:67:89:AB
IWSPY=""
# iwpriv parameters : set_port 2, set_histo 50 60
IWPRIV=""
;;
esac



wlancfg-Penguin contents:

#=======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)




________________________________________
Johnny Stork
Calgary, AB
Canada

Open Solutions
Open Source & Linux Solutions for Business
http://www.open-solutions.ca

Academic Computers
http://www.academic-computers.com



Reply via email to