hello, i have some problem with the ap mode:
first i have a problem compiling hostapd 0.6.0 against the curent
wireless-dev kernel:

i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -DHOSTAPD_DUMP_STATE
-I../src -I../src/crypto -I../src/utils -I../src/common
-I/usr/include/madwifi -I"/usr/src/linux"/net/mac80211 -DCONFIG_CTRL_IFACE
-DCONFIG_CTRL_IFACE_UNIX -DCONFIG_IAPP -DCONFIG_RSN_PREAUTH
-DCONFIG_PEERKEY -DCONFIG_IEEE80211W -DCONFIG_IEEE80211R
-DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_WIRED -DCONFIG_DRIVER_MADWIFI
-DCONFIG_DRIVER_PRISM54 -DCONFIG_DRIVER_DEVICESCAPE -DEAP_MD5 -DEAP_TLS
-DEAP_PEAP -DEAP_TTLS -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_SIM -DEAP_AKA
-DEAP_PAX -DEAP_PSK -DEAP_SAKE -DEAP_GPSK -DEAP_GPSK_SHA256 -DEAP_TLV
-DEAP_SERVER -DEAP_TLS_FUNCS -DPKCS12_FUNCS -DINTERNAL_SHA256
-DRADIUS_SERVER -DCONFIG_IPV6   -c -o ../src/l2_packet/l2_packet_linux.o
../src/l2_packet/l2_packet_linux.c
driver_devicescape.c: In function 'i802_if_update':
driver_devicescape.c:1032: error: 'PRISM2_HOSTAPD_UPDATE_IF' undeclared
(first use in this function)
driver_devicescape.c:1032: error: (Each undeclared identifier is reported
only once
driver_devicescape.c:1032: error: for each function it appears in.)
driver_devicescape.c: In function 'handle_frame':
driver_devicescape.c:1358: error: 'ieee80211_msg_set_aid_for_sta'
undeclared (first use in this function)
driver_devicescape.c:1416: error: 'ieee80211_msg_passive_scan' undeclared
(first use in this function)
make: *** [driver_devicescape.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-wireless/hostapd-0.6.0 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  hostapd-0.6.0.ebuild, line 97:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack
if relevant.

so i used the linux-2.6.22-rc3-mm1 kernel with the bcm43xx mac80211 stack
that are inside the kernel
here's my card:
07:00.0 Network controller: Broadcom Corporation BCM4318 [AirForce One
54g] 802.11g Wireless LAN Controller (rev 02)
so i bring my interface up and iwlist from another card gives me that:
          Cell 04 - Address: 00:10:18:F1:F2:F3
                    ESSID:"BRCM_TEST_SSID"
                    Protocol:IEEE 802.11b
                    Mode:Master
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Quality=79/100  Signal level=-50 dBm
                    Extra: Last beacon: 155ms ago
evry eddid i put gives me BRCM_TEST_SSID
so i have added it to both config files(from my script to put my card up
and from hostapd.conf)
and here the result of running hostapd:
# hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
Opening raw packet socket for ifindex 16
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
Hardware does not support configured mode
wlan0: IEEE 802.11 Hardware does not support configured mode (2)
Could not select hw_mode and channel. (-1)
rmdir[ctrl_interface]: No such file or directory
ELOOP: remaining socket: sock=4 eloop_data=0x80b3450 user_data=(nil)
handler=0x8080b70

what should i do in order to:
->debug the thing
->make a simple and open acess point work with my card

_______________________________________________
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to