




Code: Select all
ls hostap/wpa_supplicant/
Makefile aes_wrap.c config.d developer.txt driver_hostap.c driver_wext.h priv_netlink.h todo.txt wpa_supplicant.c xsupplicant.patch
README aes_wrap.h config.h driver.h driver_prism54.c l2_packet.c sha1.c wpa.h wpa_supplicant.conf
aes.c config.c config.o driver_hermes.c driver_wext.c l2_packet.h sha1.h wpa_passphrase.c wpa_supplicant.hCode: Select all
make config
cc config.o -o config
/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.3/../../../crt1.o(.rodata+0x4): undefined reference to `main'
config.o(.text+0x20c): In function `wpa_config_parse_ssid':
/root/download/tar/wl/hostap/wpa_supplicant/config.c:89: undefined reference to `hexstr2bin'Code: Select all
echo "CONFIG_DRIVER_HERMES=y" >> ${CONFIG}


Yes, I have. And I got it to build with version 0.27 or so.Paolope wrote:Has no one tried that before?
SnapPaolope wrote:And I need it for the university's network.

Of course. OS X was able just after Software Update, maybe this wasn't able before 10.2, don't know exactly.zenlunatic wrote:Does WPA even work on OS X? I don't remember seeing an option for it.





Code: Select all
cp wpa_supplicant-0.4.1/* wl718/hostap/wpa_supplicant/Code: Select all
CONFIG_DRIVER_HERMES=y
CFLAGS += -I../../hcf -I../../include -I../../include/hcf
CFLAGS += -I../../include/wirelessCode: Select all
cc -MMD -O2 -Wall -g -I../driver/modules -I../utils -I../hostapd -I../../hcf -I../../include -I../../include/hcf -I../../include/wireless -DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_WEXT -DCONFIG_DRIVER_PRISM54 -DCONFIG_DRIVER_HERMES -DCONFIG_DRIVER_ATMEL -DCONFIG_DRIVER_WIRED -DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_LEAP -DEAP_TLV -DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DPKCS12_FUNCS -DCONFIG_SMARTCARD -DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE -c -o driver_hermes.o driver_hermes.c
driver_hermes.c: In function `wpa_driver_hermes_associate':
driver_hermes.c:450: Warnung: Verarbeiten des Argumentes 1 von »wpa_driver_wext_set_freq« streicht Qualifizierer von Zeiger-Zieltypen
driver_hermes.c:452: Warnung: Verarbeiten des Argumentes 1 von »wpa_driver_wext_set_ssid« streicht Qualifizierer von Zeiger-Zieltypen
driver_hermes.c:454: Warnung: Verarbeiten des Argumentes 1 von »wpa_driver_wext_set_bssid« streicht Qualifizierer von Zeiger-Zieltypen
driver_hermes.c: In function `wpa_driver_hermes_scan':
[...]
Code: Select all
# ./wpa_supplicant -v
wpa_supplicant v0.0 - Copyright (c) 2003-2004, Jouni Malinen <jkmaline@cc.hut.fi>
# ./wpa_supplicant -D hermes -c /etc/wpa_supplicant.conf
Line 278: unknown network field 'proto'.
Line 280: unknown network field 'auth_alg'.
Line 281: unknown network field 'identity'.
Line 282: unknown network field 'priority'.
Line 283: failed to parse network block.
Failed to read configuration file '/etc/wpa_supplicant.conf'.
# cat /etc/wpa_supplicant.conf |grep -v "#"
network={
ssid="funk123fh"
proto=WPA
key_mgmt=WPA-EAP
auth_alg=LEAP
identity="********************************"
priority=1
}

Code: Select all
# make -f wlags49.mk h1_cs_sta
make -C wireless -f wlags49_cs.mk wlags49_h1_cs_sta.o
make[1]: Entering directory `/root/download/tar/wl718/wireless'
wlags49_cs.mk:5: ../config.mk: Datei oder Verzeichnis nicht gefunden
make[1]: *** No rule to make target `../config.mk'. Stop.
make[1]: Leaving directory `/root/download/tar/wl718/wireless'
make: *** [h1_cs_sta] Error 2Code: Select all
# make -f wlags49.mk pci
make -C wireless -f wlags49_pci.mk wlags49_h2_stap.o
make[1]: Entering directory `/root/download/tar/wl718/wireless'
make -C ../lib libstap-h2.a
make[2]: Entering directory `/root/download/tar/wl718/lib'
gcc -o ../hcf/mmd_stap_h2.o -O -Wall -I. -I../include/hcf -I../include/wireless -I../hcf -I../hcf -I../hcf -I../firmware -I/lib/modules/2.6.10-gentoo-r6/build/include -I../include -D__KERNEL__ -DMODULE -DWVLAN_49 -DUSE_WPA -DHERMES2 -c ../hcf/mmd.c
In Datei, eingefügt von ../include/hcf/hcfcfg.h:767,
von ../hcf/hcf.h:81,
von ../hcf/mmd.c:62:
../include/wireless/wl_version.h:92:31: linux/modversions.h: Datei oder Verzeichnis nicht gefunden
In file included from ../hcf/hcf.h:81,
from ../hcf/mmd.c:62:
../include/hcf/hcfcfg.h:771: Warnung: »int« ist Standardtyp in Deklaration von »EXPORT_NO_SYMBOLS«
../include/hcf/hcfcfg.h:771: Warnung: Datendefinition hat keinen Typ oder Speicherklasse
make[2]: *** [../hcf/mmd_stap_h2.o] Error 1
make[2]: Leaving directory `/root/download/tar/wl718/lib'
make[1]: *** [stap-h2] Error 2
make[1]: Leaving directory `/root/download/tar/wl718/wireless'
make: *** [pci] Error 2Code: Select all
../include/wireless/wl_version.h:92:31: linux/modversions.h: Datei oder Verzeichnis nicht gefunden

But why can't I get wpa_supplicant built even with the available 2.4 kernel sources?JoseJX wrote:Until the Airport (orinoco) driver is rewritten to support the ieee80211 stack, there won't be WPA support.
That answers the other thread I had running on that topic. Do you know if this will be fixed anytime soon... ish?JoseJX wrote:Until the Airport (orinoco) driver is rewritten to support the ieee80211 stack, there won't be WPA support.


It is possible to get WPA-PSK working with the 802.11b Airport card but you need an up-to-date firmware. I've described the necessary steps here. However, there's no WPA2 support till this day.Massimo B. wrote:Is there some progress today with latest kernels?
Some time ago I got the PowerBook and even AirportExtreme is now completely working with WPA2. Would be nice to ntegrate the old iBook with Airport 1 into WPA2 secured network.
