I'm 99% there, i can feel it in my water...
HAving spent ages trying to install the wrong drivers for my planex PCMCIA WiFi card (MadWifI) i found the Homepage of the ACX100/ACX111 wireless network driver project.
acx100.sourceforge.net/ which pointed me in the direction of
www.houseofcraig.net/acx100_howto.php which is oneof the best howto's i have ever read (i'm new to linux and over the last 3 weeks i have read a lot.)
I digress..
I followed the instructions, and am at a point where if i run iwlist wlan0 scan i get the results
wlan0 Scan completed :
Cell 01 - Address: 00:0F:34:CD:27
0
ESSID:"SBS-Guest"
Mode:Master
Frequency:2.417 GHz (Channel 2)
Quality=38/100 Signal level=13/100 Noise level=0/100
Encryption key
ff
Cell 02 - Address: 00:0F:34:A0:45:60
ESSID:"SBS-Guest"
Mode:Master
Frequency:2.462 GHz (Channel 11)
Quality=33/100 Signal level=6/100 Noise level=0/100
Encryption key
ff
So i can see our schools WiFi network...
We have NO WEP, no security at all, its an "OpenCampus"
However i can't pickup a DHCP Address using this network (and yes, i can on XP)
So i run an iwconfig and i get
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11b+/g+ ESSID:"" Nickname:"acx100 v0.2.0pre8"
Mode:Managed Frequency:2.417 GHz Access Point: 00:00:00:00:00:00
Bit Rate:1 Mb/s Tx-Power=15 dBm Sensitivity=1/3
Retry min limit:7 RTS thr
ff
Encryption key
ff
Power Management
ff
Link Quality:36/100 Signal level:11/100 Noise level:0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
and i can see what the problem is
Access Point: 00:00:00:00:00:00
Its not associating with the Accesspoint
So i have a look at the logs
tail -100 /var/log/messages
and i can see
Jul 11 08:19:12 localhost kernel: association: requesting capabilities 0x0021
Jul 11 08:19:14 localhost kernel: acx_timer: status = 3
Jul 11 08:19:14 localhost kernel: resend association request (attempt 5).
Jul 11 08:19:14 localhost kernel: Sending association request, awaiting response! NOT ASSOCIATED YET.
Jul 11 08:19:14 localhost kernel: association: requesting capabilities 0x0021
Jul 11 08:19:17 localhost kernel: acx_timer: status = 3
Jul 11 08:19:17 localhost kernel: resend association request (attempt 6).
Jul 11 08:19:17 localhost kernel: Sending association request, awaiting response! NOT ASSOCIATED YET.
Jul 11 08:19:17 localhost kernel: association: requesting capabilities 0x0021
Jul 11 08:19:19 localhost kernel: acx_timer: status = 3
Jul 11 08:19:19 localhost kernel: resend association request (attempt 7).
Jul 11 08:19:19 localhost kernel: Sending association request, awaiting response! NOT ASSOCIATED YET.
Jul 11 08:19:19 localhost kernel: association: requesting capabilities 0x0021
Jul 11 08:19:22 localhost kernel: acx_timer: status = 3
Jul 11 08:19:22 localhost kernel: resend association request (attempt 8).
Jul 11 08:19:22 localhost kernel: Sending association request, awaiting response! NOT ASSOCIATED YET.
Jul 11 08:19:22 localhost kernel: association: requesting capabilities 0x0021
Jul 11 08:19:24 localhost kernel: DROPPED IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:0c:76:fc:c7:cd:08:00 SRC=10.0.27.68 DST=10.0.27.255 LEN=213 TOS=0x00 PREC=0x00 TTL=128 ID=40416 PROTO=UDP SPT=138 DPT=138 LEN=193
Jul 11 08:19:24 localhost kernel: acx_timer: status = 3
Jul 11 08:19:24 localhost kernel: resend association request (attempt 9).
Jul 11 08:19:24 localhost kernel: Sending association request, awaiting response! NOT ASSOCIATED YET.
Jul 11 08:19:24 localhost kernel: association: requesting capabilities 0x0021
Jul 11 08:19:27 localhost kernel: acx_timer: status = 3
Jul 11 08:19:27 localhost kernel: resend association request (attempt 10).
Jul 11 08:19:27 localhost kernel: Sending association request, awaiting response! NOT ASSOCIATED YET.
Jul 11 08:19:27 localhost kernel: association: requesting capabilities 0x0021
Jul 11 08:19:29 localhost kernel: acx_timer: status = 3
Jul 11 08:19:29 localhost kernel: association request reply timeout, giving up.
Jul 11 08:19:29 localhost kernel: acx_set_status: Setting status = 1 (SCANNING)
Jul 11 08:19:29 localhost kernel: previous bss_table_count: 2
Jul 11 08:19:32 localhost last message repeated 24 times
Jul 11 08:19:32 localhost kernel: acx_timer: status = 1
Jul 11 08:19:32 localhost kernel: Stopping scan (stations found).
Jul 11 08:19:32 localhost kernel: Radio scan found 2 stations in this area
Jul 11 08:19:32 localhost kernel: <Scan Table> 0: SSID="SBS-Guest",CH=2,SIR=13,SNR=0
Jul 11 08:19:32 localhost kernel: peer_cap 0x0421, needed_cap 0x0001
Jul 11 08:19:32 localhost kernel: found station with matching ESSID! ("SBS-Guest" station, "" config)
Jul 11 08:19:32 localhost kernel: acx_complete_dot11_scan: matching station FOUND (idx 0), JOINING (00:0f:34:cd:27:d0)
Jul 11 08:19:32 localhost kernel: acx_cmd_join_bssid rates_basic 0x0027, rates_supported 0x01ff
Jul 11 08:19:32 localhost kernel: <acx_cmd_join_bssid> BSS_Type = 2
Jul 11 08:19:32 localhost kernel: <acx_cmd_join_bssid> JoinBSSID MAC:00:0f:34:cd:27:d0
Jul 11 08:19:32 localhost kernel: Incompatible basic rates
Jul 11 08:19:32 localhost kernel: Incompatible operational rates
Jul 11 08:19:32 localhost kernel: Sending authentication1 request, awaiting response!
Jul 11 08:19:32 localhost kernel: acx_set_status: Setting status = 2 (WAIT_AUTH)Jul 11 08:19:32 localhost kernel: 00:90:cc:9e:54:dd <4>00:90:cc:9e:54:dd <4>00:0f:34:cd:27:d0 <4>00:0f:34:cd:27:d0 <4>00:0f:34:cd:27:d0
Jul 11 08:19:32 localhost kernel: Algorithm is ok
Jul 11 08:19:32 localhost kernel: acx_process_authen auth seq step 2
Jul 11 08:19:32 localhost kernel: acx_set_status: Setting status = 3 (AUTHENTICATED)
Jul 11 08:19:32 localhost kernel: Sending association request, awaiting response! NOT ASSOCIATED YET.
Jul 11 08:19:32 localhost kernel: association: requesting capabilities 0x0021
Jul 11 08:19:32 localhost kernel: Association FAILED: peer station sent response status code 18: "Association denied due to requesting station not supporting all of the data rates in the BSSBasicRateSet parameter. TRANSLATION: peer station has an incompatible set of data rates configured, FIX IT!"!
Jul 11 08:19:33 localhost kernel: acx_timer: status = 3
Jul 11 08:19:33 localhost kernel: resend association request (attempt 2).
Jul 11 08:19:33 localhost kernel: Sending association request, awaiting response! NOT ASSOCIATED YET.
Jul 11 08:19:33 localhost kernel: association: requesting capabilities 0x0021
Jul 11 08:19:33 localhost kernel: DROPPED IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:0c:76:fc:c8:01:08:00 SRC=10.0.27.34 DST=10.0.27.255 LEN=235 TOS=0x00 PREC=0x00 TTL=128 ID=8936 PROTO=UDP SPT=138 DPT=138 LEN=215
Jul 11 08:19:36 localhost kernel: Starting radio scan
Jul 11 08:19:36 localhost kernel: acx_timer: status = 3
Jul 11 08:19:36 localhost kernel: resend association request (attempt 3).
Jul 11 08:19:36 localhost kernel: Sending association request, awaiting response! NOT ASSOCIATED YET.
Jul 11 08:19:36 localhost kernel: association: requesting capabilities 0x0021
Jul 11 08:19:38 localhost kernel: Got Info IRQ: status 0x0001, type 0xea00: (unknown)
Jul 11 08:19:38 localhost kernel: acx_timer: status = 3
Jul 11 08:19:38 localhost kernel: resend association request (attempt 4).
Jul 11 08:19:38 localhost kernel: Sending association request, awaiting response! NOT ASSOCIATED YET.
Jul 11 08:19:38 localhost kernel: association: requesting capabilities 0x0021
Jul 11 08:19:41 localhost kernel: acx_timer: status = 3
Jul 11 08:19:41 localhost kernel: resend association request (attempt 5).
Jul 11 08:19:41 localhost kernel: Sending association request, awaiting response! NOT ASSOCIATED YET.
Jul 11 08:19:41 localhost kernel: association: requesting capabilities 0x0021
Jul 11 08:19:43 localhost kernel: acx_timer: status = 3
Jul 11 08:19:43 localhost kernel: resend association request (attempt 6).
Jul 11 08:19:43 localhost kernel: Sending association request, awaiting response! NOT ASSOCIATED YET.
Jul 11 08:19:43 localhost kernel: association: requesting capabilities 0x0021
Jul 11 08:19:46 localhost kernel: acx_timer: status = 3
Jul 11 08:19:46 localhost kernel: resend association request (attempt 7).
Jul 11 08:19:46 localhost kernel: Sending association request, awaiting response! NOT ASSOCIATED YET.
Jul 11 08:19:46 localhost kernel: association: requesting capabilities 0x0021
Jul 11 08:19:48 localhost kernel: acx_timer: status = 3
Jul 11 08:19:48 localhost kernel: resend association request (attempt 8).
Jul 11 08:19:48 localhost kernel: Sending association request, awaiting response! NOT ASSOCIATED YET.
Jul 11 08:19:48 localhost kernel: association: requesting capabilities 0x0021
The line which is of interest to me is
Jul 11 08:19:32 localhost kernel: Association FAILED: peer station sent response status code 18: "Association denied due to requesting station not supporting all of the data rates in the BSSBasicRateSet parameter. TRANSLATION: peer station has an incompatible set of data rates configured, FIX IT!"!
Incompatible set of data rates...
So i look at the net_start config and the configurable portion looks like this
#!/bin/bash
#########################################
# start_net script #
# acx100 project #
# acx100.sourceforge.net #
# edited by arnie <urnotwelcome@gmx.de> #
#########################################
# with modifications by craig #
# summary at end of file #
#########################################
# Please edit below
# syntax is: VARIABLENAME=VALUE, with _no_ spaces in between
# make sure to _preserve_ any double-quotes (")
# text beginning with the comment delimiter (#) is ignored
# make sure to _preserve_ at least one space before any
# comment delimiters (#) that do not begin a line
# "uncommenting" a line means to remove it's leading "#" character
ESSID="" # THIS IS CASE SeNsItIvE!! any == associate to any ESSID
# Default rate configured as 11Mbps to not cause speed problems (while
# using auto rate) or connection problems (while not using auto rate)
# with non-22Mbps hardware...
RATE=22M
AUTORATE=1 # only disable auto rate if you know what you're doing...
CHAN=2 # it's useful to try to stick to channels 1, 6 or 11 only, since these don't overlap with other channels
SHORTPREAMBLE=1 # set a value of 1 in order to force "Short Preamble" (incompatible with very old WLAN hardware!) instead of peer autodetect
#TXPOWER=20 # 0..20 (dBm) (18dBm is firmware default) overly large setting might perhaps destroy your radio eventually!
MODE=Managed # Managed for infrastructure, Ad-hoc for peer-to-peer. NOTE: Auto mode is not supported any more, you HAVE to select a specific mode!
DEBUG=0xb # 0xffff for maximum debug info, 0 for none
# WEP Key(s)
# ascii keys (passphrase) should look like this: KEY="s:asciikey"
# hex keys should look like this: KEY="4378c2f43a"
# most wep users will want to use this line
KEY=""
# alternatively, you can uncomment and use these lines to
# set all 4 possible WEP keys
#KEY1="1234567890" #WEP64
#KEY2="1234567890"
#KEY3="1234567890"
#KEY4="1234567890"
# you must select which of the 4 keys above to use here:
#KEY="[1]" # for KEY1, "[2]" for KEY2, etc
ALG=open # open == Open System, restricted == Shared Key
#IP address
USE_DHCP=1 # set to 1 for auto configuration instead of fixed IP setting
IP=192.168.1.98 # set this if you did not set USE_DHCP=1
NETMASK=255.255.255.0 # set this if you did not set USE_DHCP=1
GATEWAY=192.168.1.254 # set this if you did not set USE_DHCP=1
LED_OFF=0 # set to 1 to turn off the power LED to save power
MTU_576=0 # set to 1 if you have buffer management problems
Question, anyone have any idea how to associate this nic with the AP?
H/W Config
WIFI Nic = Planex GWNS54GM
Access Point = Cisco
No WEP or Security on network
Works With XP SP2
I'll post ANY info required...