1
0
forked from ports/opt

madwifi: FS#272

This commit is contained in:
Till Biedermann 2008-05-11 00:16:36 +02:00
parent f10c8bfd68
commit cddc599096
3 changed files with 26 additions and 25 deletions

View File

@ -2,20 +2,20 @@ drwxr-xr-x root/root lib/
drwxr-xr-x root/root lib/modules/
drwxr-xr-x root/root lib/modules/<kernel-version>/
drwxr-xr-x root/root lib/modules/<kernel-version>/net/
-rwxr-xr-x root/root lib/modules/<kernel-version>/net/ath_hal.ko
-rwxr-xr-x root/root lib/modules/<kernel-version>/net/ath_pci.ko
-rwxr-xr-x root/root lib/modules/<kernel-version>/net/ath_rate_amrr.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/net/ath_hal.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/net/ath_pci.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/net/ath_rate_amrr.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/net/ath_rate_minstrel.ko
-rwxr-xr-x root/root lib/modules/<kernel-version>/net/ath_rate_onoe.ko
-rwxr-xr-x root/root lib/modules/<kernel-version>/net/ath_rate_sample.ko
-rwxr-xr-x root/root lib/modules/<kernel-version>/net/wlan.ko
-rwxr-xr-x root/root lib/modules/<kernel-version>/net/wlan_acl.ko
-rwxr-xr-x root/root lib/modules/<kernel-version>/net/wlan_ccmp.ko
-rwxr-xr-x root/root lib/modules/<kernel-version>/net/wlan_scan_ap.ko
-rwxr-xr-x root/root lib/modules/<kernel-version>/net/wlan_scan_sta.ko
-rwxr-xr-x root/root lib/modules/<kernel-version>/net/wlan_tkip.ko
-rwxr-xr-x root/root lib/modules/<kernel-version>/net/wlan_wep.ko
-rwxr-xr-x root/root lib/modules/<kernel-version>/net/wlan_xauth.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/net/ath_rate_onoe.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/net/ath_rate_sample.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/net/wlan.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/net/wlan_acl.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/net/wlan_ccmp.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/net/wlan_scan_ap.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/net/wlan_scan_sta.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/net/wlan_tkip.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/net/wlan_wep.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/net/wlan_xauth.ko
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/80211debug

View File

@ -9,6 +9,7 @@ release=1
source=(http://dl.sf.net/$name/$name-$version.tar.bz2)
build(){
cd $name* && make KERNELPATH=/usr/src/linux-$(uname -r)
make DESTDIR=$PKG BINDIR=/usr/bin MANDIR=/usr/man install
cd $name* && make KERNELPATH=/lib/modules/$(uname -r)/build
make DESTDIR=$PKG BINDIR=/usr/bin MANDIR=/usr/man install
find $PKG/lib/modules/ -type f | xargs chmod 0644
}

View File

@ -1,18 +1,18 @@
PRE-INSTALL
Kernel sources must exist in /usr/src/linux[-version]
Kernel sources must exist in /lib/modules/[version]/build
POST-INSTALL
Run depmod -a, edit /etc/modprobe.conf and /etc/rc.d/net. The module
name is ath_hal or ath_pci, depending on your card. The wireless
ifdevice name is ath0. Something like this should work:
Run depmod -a, edit /etc/modprobe.conf and /etc/rc.d/net. The module
name is ath_hal or ath_pci, depending on your card. The wireless
ifdevice name is ath0. Something like this should work:
/etc/modprobe.conf:
alias ath0 ath_pci
/etc/modprobe.conf:
alias ath0 ath_pci
/etc/rc.d/net:
iwconfig ath0 essid myid
iwconfig ath0 key mykey
dhcpcd ath0
/etc/rc.d/net:
iwconfig ath0 essid myid
iwconfig ath0 key mykey
dhcpcd ath0