What to do now?

Jamie jamie
Sat Jan 11 16:28:20 PST 2003


Jouni,
	Thanks for asking, This message is REALLY long, with a lot of info, I tried 
to be as breif as possible, without omitting anything necessary.
<lots of stuff added below>
On Saturday 11 January 2003 01:22 pm, Jouni Malinen wrote:
: On Fri, Jan 10, 2003 at 07:04:40AM -0800, Linux Rocks! wrote:
: > My cards (Proxim RangeLan-DS) still dont work under linux :(
: > They do respond under linux (I can change modes, and see the lights do
: > different things...) but I dont have them doing anything usefull.
: > They Do work under windows95/98. (but ... windows doesnt do what I need)
Yes (assuming all the things I trierd were correct!) Ive tested the laptops in 
many situations. Ive set 2 laptop up in windows, had success.  tested the 
laptop with a real ap under windows, had success. tested the hostap, and the 
orinoco modules with the ap w/no success.
I think Ive tried 1 laptop in windows, and one in linux, using all the various 
possible combonations of settings, with no success.
<keep reading...>
:
: Have you tested running one card in Linux as an AP (i.e., using Host AP
: driver in Master mode) and another card in Windows as a client that
: tries to associate with the AP? I haven't noticed anything in your dmesg
: logs etc. that would indicate cause for problems, so this is a bit
: difficult to solve.
Yes! I agree... atleast when I had errors... I had something to work on... Ive 
just setup the cards with one windows box, and one linux box. windows98 has 
these settings:
Mode: Infrastructure (this is also known as managed right?)
SSID: ANY (This is supposed to scan...), Ive also tried jamienet
EtherNEt Conversion: RCF 1042
TXRate: Fully Automatic
WEP: Disabled
PS Mode: Disabled (ive also tried enabled)
(This I think is what worked with the AP at the LUG)

Linux box: (running hostap_cs, using lastest 2002-10-12):
(I have 3 different kernels/modules on the machine, but Im currently using 
2.4.20-rc-3)
Ive editied my /etc/pcmcia/config to add: source ./hostap_cs.conf
and Ive added in my /etc/pcmcia/hostap_cs.conf

card "JamieTest PRISM RangeLAN-DS/LAN PC CARD"
   manfid 0x0126, 0x8000
   bind "hostap_cs" 

# Optional configuration parameters for hostap_cs.o
# module "hostap_cs" opts "channel=6 essid=any ignore_cis_vcc=1"
 module "hostap_cs" opts "channel=3 iw_mode=3 essid=jamienet ignore_cis_vcc=1"
(this sets the card to Master Mode, use essid jamietest, and ignore the 
voltage issue (I do get errors with it set to 0)

Heres my DMESG:
<snipped stuff of no importance...>
cs: IO port probe 0x0a00-0x0aff: excluding 0xa68-0xa6f 0xaa0-0xaa7 0xaf8-0xaff
cs: memory probe 0x0d0000-0x0dffff: clean.
hostap_crypt: registered algorithm 'NULL'
hostap_cs: hostap_cs.c 0.0.0 2002-10-12 (SSH Communications Security Corp, 
Jouni Malinen)
hostap_cs: (c) Jouni Malinen <jkmaline at cc.hut.fi>
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
prism2_config()
hostap_cs: ignoring Vcc=50 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f
hostap_cs: Registered netdevice wlan0
prism2_hw_init()
prism2_hw_config: initialized in 9094 iterations
wlan0: NIC: id=0x8002 v1.0.0
wlan0: PRI: id=0x15 v0.3.0
wlan0: STA: id=0x1f v0.8.3
wlan0: defaulting to host-based encryption as a workaround for firmware bug in 
Host AP mode WEP
wlan0: LinkStatus=2 (Disconnected)

cat /proc/Interrupts
bubba at lapdance:~$ cat /proc/interrupts 
           CPU0       
  0:     733578          XT-PIC  timer
  1:        302          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  3:        135          XT-PIC  hostap_cs
 10:        563          XT-PIC  NE2000
 12:          1          XT-PIC  PS/2 Mouse
 14:       1773          XT-PIC  ide0
NMI:          0 
ERR:          0

root at lapdance:~# iwconfig wlan0
wlan0     IEEE 802.11-b  ESSID:"jamienet"  
          Mode:Master  Frequency:2.422GHz  Access Point: 00:60:B3:6F:63:CC  
          Bit Rate:11Mb/s   Tx-Power:-12 dBm   Sensitivity=1/3  
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

 ifconfig -a:
root at lapdance:~# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:A0:D1:01:0D:86  
          inet addr:192.168.14.20  Bcast:192.168.14.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:394 errors:0 dropped:0 overruns:0 frame:0
          TX packets:285 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:35154 (34.3 Kb)  TX bytes:144579 (141.1 Kb)
          Interrupt:10 Base address:0x300 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

wlan0     Link encap:Ethernet  HWaddr 00:60:B3:6F:63:CC  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:3 Base address:0x100 
I hadnt built the hostap utils... so I cd'd to the directory, and did make. it 
made the utils! I tried :
hostap_diag wlan0 -r wlan0, but that failed. so I tried:
./hostap_diag -r wlan0 and got the following(Very long!)

root at lapdance:~/wirless/hostap-2002-10-12/utils# ./hostap_diag -r wlan0
Host AP driver diagnostics information for 'wlan0'

NICID: id=0x8002 v1.0.0 (HWB3163-01,02,03,04 Rev A)
PRIID: id=0x0015 v0.3.0
STAID: id=0x001f v0.8.3 (station firmware)

Known RIDs (Resource IDentifiers)

FC00=CNFPORTTYPE=6
FC01=CNFOWNMACADDR=00:60:b3:6f:63:cc
FC02=CNFDESIREDSSID=jamienet
FC03=CNFOWNCHANNEL=3
FC04=CNFOWNSSID=jamienet
FC05=CNFOWNATIMWINDOW=0
FC06=CNFSYSTEMSCALE=1
FC07=CNFMAXDATALEN=2304
FC08=CNFWDSADDRESS=00:00:00:00:00:00
FC09=CNFPMENABLED=0
FC0A=CNFPMEPS=0
FC0B=CNFMULTICASTRECEIVE=1
FC0C=CNFMAXSLEEPDURATION=100
FC0D=CNFPMHOLDOVERDURATION=100
FC0E=CNFOWNNAME=
FC10=CNFOWNDTIMPERIOD=1
FC20=UNKNOWN1=33
FC21=UNKNOWN2=33
FC23=CNFWEPDEFAULTKEYID=0
FC24=CNFDEFAULTKEY0=<21><00><24><fc><00><00>
FC25=CNFDEFAULTKEY1=<21><00><25><fc><00><00>
FC26=CNFDEFAULTKEY2=<21><00><26><fc><00><00>
FC27=CNFDEFAULTKEY3=<21><00><27><fc><00><00>
FC28=CNFWEPFLAGS=<00><00>
FC2A=CNFAUTHENTICATION=1
FC2C=CNFTXCONTROL=512
FC2D=CNFROAMINGMODE=1
FC30=CNFRCVCRCERROR=0
FC31=CNFMMLIFE=65000
FC32=CNFALTRETRYCOUNT=7
FC33=CNFBEACONINT=100
FC35=CNFSTAPCFINFO=<01><00>
FC40=CNFTIMCTRL=1
FC41=UNKNOWN3=<00><00><00><00><00><00>
FC42=CNFTHIRTY2TALLY=0
FC80=GROUPADDRESSES=
FC81=CREATEIBSS=1
FC82=FRAGMENTATIONTHRESHOLD=2346
FC83=RTSTHRESHOLD=2347
FC84=TXRATECONTROL=15
FC85=PROMISCUOUSMODE=0
FCB0=CNFSHORTPREAMBLE=0
FCB3=CNFBASICRATES=<03><00>
FCB4=CNFSUPPORTEDRATES=<0f><00>
FCE0=TICKTIME=0
FCE1=SCANREQUEST=<ff><3f><20><00>
FCE2=JOINREQUEST=<21><00><e2><fc><00><00><00><00>
FD00=MAXLOADTIME=60000
FD01=DOWNLOADBUFFER=<60><00><00><00><00><10>
FD02=PRIID=0x15 v0.3.0
FD03=PRISUPRANGE=0 0x03 1 1-2
FD04=CFIACTRANGES=1 0x02 1 1-1
FD0A=NICSERNUM=SA01000000  
FD0B=NICID=0x8002 v1.0.0
FD0C=MFISUPRANGE=0 0x01 1 1-1
FD0D=CFISUPRANGE=0 0x02 1 1-1
FD10=CHANNELLIST=<ff><07>
FD11=REGULATORYDOMAINS=<10>
FD12=TEMPTYPE=1
FD13=CIS=<01><03><00><00><ff><17><04><67><5a><08><ff><1d><05><03><67><5a><08><ff><1c><04><03><00><00><ff><15><23><05><00><50><52><4f><58><49><4d><00><52><61><6e><67><65><4c><41><4e><2d><44><53><2f><4c><41><4e><20><50><43><20><43><41><52><44><00><00><ff><20><04><26><01><00><80><21><02><06><00><22><02><01><07><22><05><02><40><42><0f><00><22><05><02><80><84><1e><00><22><02><03><07><22><02><05><01><1a><07><03><02><e0><03><00><00><01><1b><10><c1><01><19><77><b5><1e><35><b5><3c><36><36><05><46><7f><ff><ff><ff><00><00><00> 
+ 352*<ff>
FD20=STAID=0x1f v0.8.3
FD21=STASUPRANGE=0 0x04 1 1-6
FD22=MFIACTRANGES=1 0x01 1 1-1
FD23=CFIACTRANGES2=1 0x02 1 1-1
FD40=PORTSTATUS=8
FD41=CURRENTSSID=jamienet
FD42=CURRENTBSSID=00:60:b3:6f:63:cc
FD43=COMMSQUALITY=<00><00><1b><00><1b><00>
FD44=CURRENTTXRATE=2
FD45=CURRENTBEACONINTERVAL=100
FD46=CURRENTSCALETHRESHOLDS=<36><00><36><00><36><00><0a><00><02><00><06><00>
FD47=PROTOCOLRSPTIME=100
FD48=SHORTRETRYLIMIT=8
FD49=LONGRETRYLIMIT=5
FD4A=MAXTRANSMITLIFETIME=512
FD4B=MAXRECEIVELIFETIME=512
FD4C=CFPOLLABLE=0
FD4D=AUTHENTICATIONALGORITHMS=<01><00><01><00>
FD4F=PRIVACYOPTIONIMPLEMENTED=1
FD88=SCANRESULTSTABLE=<01><00><03><00>
FDC0=PHYTYPE=2
FDC1=CURRENTCHANNEL=3
FDC2=CURRENTPOWERSTATE=1
FDC3=CCAMODE=2
FDC6=SUPPORTEDDATARATES=<02><04><0b><16>
FFFE=BUILDSEQ=<00><00><00><00>
FFFF=FWID=0003C0.HEX<00><00><INTERNAL STAT<00><00>

WOW Thats a lot of info! I have no idea what all of that means, but Id say 
that it suggests somethings working right! (hopefully you will understand 
what isnt working right!

Ill try to get the current cvs, could you remind me how/where?

Thanks in advance for help.

Jamie

:
: I would suggest setting up one Host AP, make sure it is in Master mode
: and that the netdevice is UP. After this, try to associate with it using
: another laptop with Windows (that has been tested to work with another
: AP). If this does not work, please send me output of following commands
: from the laptop running Host AP driver (run these after the failed test,
: before having changed anything in the Host AP configuration):
:
: dmesg
: cat /proc/interrupts
: iwconfig wlan0
: ifconfig -a
: hostap_diag wlan0 -r wlan0
:
: (hostap_diag is in the utils directory of the Host AP driver package).
:
: I would also ask you to repeat the test with latest CVS version of the
: Host AP driver if you are still using the latest release (2002-10-12).





More information about the Hostap mailing list