dwl-500 hostap newbie questions

bunkertor at tiscali.it bunkertor
Tue Aug 12 01:36:55 PDT 2008


 hi to all and many many thanks for impressive work you're doing!
then sorry for my english. i know it's not my best skill with many other 
things...
anyway i hope someone can see what i mean! any help will be appreciate!
im newbie in linux and totally new about wireless stuff and hostap(d) but i'd 
like to make an open AP run to connect 
our wifi laptops to home wired network =)
i run fedora core 4 with 2.6.17-1.2142_FC4 as kernel and i compiled pcmcia-cs-
3.2.8 with success
(even if deprecated with this kernel).
first i downloaded last stable release hostap driver: hostap-driver-0.4.9 and 
i tried to compile
them becouse in the kernel tree i missed some hostap crypt modules: 

hostap_crypt_tkip.ko, 
hostap_crypt_wep.ko, 
hostap_crypt_ccmp.ko

i had got only these ones as "native"

hostap.ko,
hostap_cs.ko,
hostap_pci.ko,
hostap_plx.ko

but i had this error during compiling:

=============================================================================================
[root at bran hostap-driver-0.4.9]# make
make -C /lib/modules/2.6.17-1.2142_FC4/build SUBDIRS=/usr/local/hostap-driver-
0.4.9/driver/modules \
        MODVERDIR=/usr/local/hostap-driver-0.4.9/driver/modules modules
make[1]: Entering directory `/usr/src/kernels/2.6.17-1.2142_FC4-i686'
scripts/Makefile.build:17: /usr/local/hostap-driver-0.4.9
/driver/modules/Makefile: No such file or directory
make[2]: *** No rule to make target `/usr/local/hostap-driver-0.4.9
/driver/modules/Makefile'.  Stop.
make[1]: *** [_module_/usr/local/hostap-driver-0.4.9/driver/modules] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.17-1.2142_FC4-i686'
make: *** [2.6] Error 2
[root at bran hostap-driver-0.4.9]#
=============================================================================================

i know the kernel i run is not supported by hostap driver yet but i can't 
understand why script delete every file 
in driver/module directory.
and also i dont know where is pcmcia-cs root to copy driver/modules/hostap.c 
there (2nd install methode in README).
anyway with hostap kernel driver and cardmgr (using /etc/pcmcia/config with 
hostap_cs bind) i can configure my card: 
i can see the device and his virtual like this:

=============================================================================================
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

Warning: Driver for device wifi0 has been compiled with version 20
of Wireless Extension, while this program supports up to version 19.
Some things may be broken...

wifi0     IEEE 802.11b  ESSID:"BUNKERTOR"  Nickname:"bran"
          Mode:Ad-Hoc  Frequency:2.412 GHz  Cell: 02:05:91:B1:B9:27
          Bit Rate=11 Mb/s   Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

wlan0     IEEE 802.11b  ESSID:"BUNKERTOR"  Nickname:"bran"
          Mode:Ad-Hoc  Frequency:2.412 GHz  Cell: 02:05:91:B1:B9:27
          Bit Rate=11 Mb/s   Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-100 dBm  Noise level=-100 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:7659   Missed beacon:0

sit0      no wireless extensions.
=============================================================================================

it should be ok, but when i trying to connect to the wifi link with laptops, i 
can connect
but there are no signals in ad-hoc mode and link quality is 0.
changing mode in "master" with wireless tools, i got another strange result:

=============================================================================================
wifi0     IEEE 802.11b  ESSID:"BUNKERTOR"  Nickname:"bran"
          Mode:Master  Frequency:2.412 GHz  Access Point: 00:05:5D:5B:B9:27
          Bit Rate=11 Mb/s   Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

wlan0     IEEE 802.11b  ESSID:"BUNKERTOR"  Nickname:"bran"
          Mode:Master  Frequency:2.412 GHz  Access Point: 00:05:5D:5B:B9:27
          Bit Rate=11 Mb/s   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:11590   Missed beacon:0

sit0      no wireless extensions.
=============================================================================================

no link quality, no signal level, no noise. is it normal??
then i try to use wireless tool to understand more about behavior of the card, 
but strange things
dont stop:

=============================================================================================
[root at bran hostap-driver-0.4.9]# iwlist scann
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

eth1      Interface doesn't support scanning.

Warning: Driver for device wifi0 has been compiled with version 20
of Wireless Extension, while this program supports up to version 19.
Some things may be broken...

wifi0     No scan results
wlan0     No scan results
sit0      Interface doesn't support scanning.

[root at bran hostap-driver-0.4.9]#
=============================================================================================

this is dmesg, is it ok?

=============================================================================================
[root at bran hostap-driver-0.4.9]# dmesg | grep host
hostap_cs: 0.4.4-kernel (Jouni Malinen <jkmaline at cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x01: , irq 169, io 0x0100-0x013f
wifi0: defaulting to host-based encryption as a workaround for firmware bug in 
Host AP mode WEP
=============================================================================================

this is hostap_diag output

=============================================================================================
[root at bran hostap-utils-0.2.8]# ./hostap_diag wlan0
Host AP driver diagnostics information for 'wlan0'

NICID: id=0x800c v1.0.0 (PRISM II (2.5) PCMCIA (SST parallel flash))
PRIID: id=0x0015 v1.1.1
STAID: id=0x001f v1.8.2 (station firmware)
[root at bran hostap-utils-0.2.8]#
=============================================================================================

lspci

=============================================================================================
00:0b.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 80)
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 168
        Interrupt: pin A routed to IRQ 169
        Region 0: Memory at ef005000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
        Memory window 0: 70000000-71fff000 (prefetchable)
        Memory window 1: 72000000-73fff000
        I/O window 0: 00001400-000014ff
        I/O window 1: 00001800-000018ff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt- PostWrite+
        16-bit legacy interface ports at 0001
=============================================================================================

some infos about card i have

=============================================================================================
[root at bran hostap-utils-0.2.8]# cardctl ident
Socket 0:
  product info: "D", "Link DWL-650 11Mbps WLAN Card", "Version 01.02", ""
  manfid: 0x0156, 0x0002
  function: 6 (network)

[root at bran hostap-utils-0.2.8]# pccardctl ls
Socket 0 Bridge:        [yenta_cardbus]         (bus ID: 0000:00:0b.0)
Socket 0 Device 0:      [hostap_cs]             (bus ID: 0.0)
=============================================================================================

lsmod

=============================================================================================
Module                  Size  Used by
uhci_hcd               24525  0
ppp_synctty            10945  0
ppp_generic            30037  1 ppp_synctty
slhc                    6977  1 ppp_generic
parport_pc             28461  1
lp                     13185  0
parport                37897  2 parport_pc,lp
autofs4                21957  1
it87                   20709  0
hwmon_vid               2881  1 it87
hwmon                   3781  1 it87
i2c_isa                 5697  1 it87
i2c_dev                 9441  0
i2c_core               22721  3 it87,i2c_isa,i2c_dev
sunrpc                163557  1
ipv6                  248513  22
dm_mod                 61269  0
video                  17733  0
button                  7121  0
battery                10821  0
ac                      5189  0
ohci_hcd               22109  0
ehci_hcd               33741  0
snd_intel8x0           32861  0
snd_ac97_codec         95073  1 snd_intel8x0
snd_ac97_bus            2625  1 snd_ac97_codec
snd_seq_dummy           4165  0
snd_seq_oss            33957  0
snd_seq_midi_event      7873  1 snd_seq_oss
snd_seq                54957  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          9293  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            40657  0
snd_mixer_oss          18241  1 snd_pcm_oss
snd_pcm                86084  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              25285  2 snd_seq,snd_pcm
snd                    56001  9 snd_intel8x0,snd_ac97_codec,snd_seq_oss,
snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              10145  1 snd
snd_page_alloc         10953  2 snd_intel8x0,snd_pcm
sis900                 24897  0
hostap_cs              67073  3
hostap                119369  1 hostap_cs
ieee80211_crypt         7105  1 hostap
3c59x                  44905  0
mii                     5825  2 sis900,3c59x
floppy                 61373  0
ext3                  136137  5
jbd                    60629  1 ext3
aic7xxx               142577  6
scsi_transport_spi     25537  1 aic7xxx
sd_mod                 21697  9
scsi_mod              139341  3 aic7xxx,scsi_transport_spi,sd_mod
=============================================================================================

i dont know how to do at this time... im not sure my wifi card is working fine 
or not with hostap driver
(for a lot of ppl it's working) or i'm doing mistakes in configuration.
i hope this report can be useful to gurus for debug my situation, if not and 
if you want let me know
what is needed more.

thanks in advance for any help.
bye.



______________________________________________________________________
Saldi Estivi
Offerte di prodotti in saldo a prezzi estremamente vantaggiosi. Approfitta della grande comodit? di fare acquisti da casa tua, senza nemmeno uscire, rimanere imbottigliato nel traffico e perdere tempo prezioso.
http://shopping.tiscali.it/




More information about the Hostap mailing list