CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
wpa_supplicant: initial import (verified compilation)
authorVictor Martinez <pitillo@ono.com>
Mon, 21 Dec 2009 16:29:23 +0000 (16:29 +0000)
committerVictor Martinez <pitillo@ono.com>
Mon, 21 Dec 2009 16:29:23 +0000 (16:29 +0000)
wpa_supplicant/.footprint [new file with mode: 0644]
wpa_supplicant/.md5sum [new file with mode: 0644]
wpa_supplicant/Pkgfile [new file with mode: 0644]
wpa_supplicant/README [new file with mode: 0644]

diff --git a/wpa_supplicant/.footprint b/wpa_supplicant/.footprint
new file mode 100644 (file)
index 0000000..c1d554d
--- /dev/null
@@ -0,0 +1,15 @@
+drwxr-xr-x     root/root       etc/
+-rw-------     root/root       etc/wpa.conf
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/man/
+drwxr-xr-x     root/root       usr/man/man5/
+-rwxr-xr-x     root/root       usr/man/man5/wpa_supplicant.conf.5.gz
+drwxr-xr-x     root/root       usr/man/man8/
+-rwxr-xr-x     root/root       usr/man/man8/wpa_background.8.gz
+-rwxr-xr-x     root/root       usr/man/man8/wpa_cli.8.gz
+-rwxr-xr-x     root/root       usr/man/man8/wpa_passphrase.8.gz
+-rwxr-xr-x     root/root       usr/man/man8/wpa_supplicant.8.gz
+drwxr-xr-x     root/root       usr/sbin/
+-rwxr-xr-x     root/root       usr/sbin/wpa_cli
+-rwxr-xr-x     root/root       usr/sbin/wpa_passphrase
+-rwxr-xr-x     root/root       usr/sbin/wpa_supplicant
diff --git a/wpa_supplicant/.md5sum b/wpa_supplicant/.md5sum
new file mode 100644 (file)
index 0000000..fc71f3a
--- /dev/null
@@ -0,0 +1 @@
+0efb8fcedf0a8acf6f423dfdb0658fdd  wpa_supplicant-0.6.9.tar.gz
diff --git a/wpa_supplicant/Pkgfile b/wpa_supplicant/Pkgfile
new file mode 100644 (file)
index 0000000..7d8ea33
--- /dev/null
@@ -0,0 +1,23 @@
+# Description: User space IEEE 802.1X/WPA supplicant (wireless client) 
+# URL: http://hostap.epitest.fi/wpa_supplicant/
+# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
+# Arch Maintainer: CRUX-ARM System
+# Depends on: openssl ncurses readline
+
+name=wpa_supplicant
+version=0.6.9
+release=1
+source=(http://hostap.epitest.fi/releases/$name-$version.tar.gz)
+
+build () {
+  cd $name-$version/$name
+  cp defconfig .config
+  echo "CONFIG_READLINE=y" >> .config
+  make
+  install -d $PKG/{usr/sbin,usr/man/man{8,5},etc}
+  install wpa_{cli,passphrase,supplicant} $PKG/usr/sbin
+  install doc/docbook/wpa_{background,cli,passphrase,supplicant}.8 $PKG/usr/man/man8
+  install doc/docbook/wpa_supplicant.conf.5 $PKG/usr/man/man5
+  echo -e "ctrl_interface=/var/run/wpa_supplicant\n" > $PKG/etc/wpa.conf
+  chmod 0600 $PKG/etc/wpa.conf
+}
diff --git a/wpa_supplicant/README b/wpa_supplicant/README
new file mode 100644 (file)
index 0000000..300fc8b
--- /dev/null
@@ -0,0 +1,44 @@
+README for wpa_supplicant
+
+
+REQUIREMENTS
+
+Kernel driver for your wireless card, e.g. ndiswrapper or ipw2100. 
+See the wpa_supplicant homepage for supported drivers.
+
+
+PRE-INSTALL
+
+
+POST-INSTALL
+
+1. Create a network setup for wpa_supplicant:
+
+   wpa_passphrase <ssid> <your_secret> >> /etc/wpa.conf
+
+   See the sample configuration file wpa_supplicant.conf in the
+   sources for a complete description of the available options 
+   for wpa_supplicant. 
+
+2. Change your wlan start script to use wpa_supplicant.
+
+   Following an example for the centrino ipw2100 driver, no need 
+   to do anything with iwconfig:
+
+   /sbin/modprobe ipw2100
+   /sbin/ifconfig eth1 xxx.xxx.xxx.xxx netmask 255.255.255.xxx
+   /sbin/route add default gw xxx.xxx.xxx.xxx
+   /usr/sbin/wpa_supplicant -B -Dwext -ieth1 -c/etc/wpa.conf
+
+   Note: the above configuration makes use of the generic wext
+         wpa_supplicant driver (Linux wireless extensions), 
+         which is the preferred nowadays. Use this driver for
+         ndiswrapper as well.
+
+
+PRECAUTION
+
+As off version 0.6.8 the -w option of wpa_supplicant was removed.
+See the ChangeLog for more infos. This may cause troubles because
+using the -w option was the recommend way to start wpa_supplicant
+until version 0.6.