Add the wpa_supplicant optional package. It should be stable and is working on

the limited set of hardware I could test it with.
By installing the wpa_supplicant one can now join WEP/WPA/WPA2 networks by
either selecting them in the network prefs/network status applet or using
"ifconfig <interface> join <network name> [password]". The wpa_supplicant opens
a dialog asking for more details if it can't connect with the given information.
Note that there is no way to automatically store that extra info right now, so
it has to be provided on each join. The configuration can however be stored
manually into the /boot/common/settings/network/wireless_networks config file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42775 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2011-09-28 00:33:45 +00:00
parent dd9a0d1d4b
commit e94e30ff78
1 changed files with 18 additions and 1 deletions

View File

@ -90,7 +90,8 @@ if $(HAIKU_ADD_ALTERNATIVE_GCC_LIBS) = 1
# Welcome - introductory documentation to Haiku
# WifiFirmwareScriptData - data files needed by install-wifi-firmwares.sh
# WonderBrush - native graphics application
# WQY-MicroHei - Chinese font
# wpa_supplicant - a WPA Supplicant with support for WPA and WPA2
# WQY-MicroHei - Chinese font
# XZ-Utils - file archiving utility
# Yasm - the assembler utility
@ -1750,6 +1751,22 @@ if [ IsOptionalHaikuImagePackageAdded WonderBrush ] {
}
# wpa_supplicant
if [ IsOptionalHaikuImagePackageAdded wpa_supplicant ] {
if $(TARGET_ARCH) != x86 {
Echo "No optional package wpa_supplicant available for $(TARGET_ARCH)" ;
} else if $(HAIKU_GCC_VERSION[1]) >= 4) {
InstallOptionalHaikuImagePackage
wpa_supplicant-0.7.3-x86-gcc4-2011-09-27.zip
: $(baseURL)/wpa_supplicant-0.7.3-x86-gcc4-2011-09-27.zip ;
} else {
InstallOptionalHaikuImagePackage
wpa_supplicant-0.7.3-x86-gcc2-2011-09-27.zip
: $(baseURL)/wpa_supplicant-0.7.3-x86-gcc2-2011-09-27.zip ;
}
}
# WQY-MicroHei
if [ IsOptionalHaikuImagePackageAdded WQY-MicroHei ] {
InstallOptionalHaikuImagePackage