Difference between revisions of "MadWifi"

From CBLFS
Jump to navigationJump to search
Line 36: Line 36:
 
'''KERNELPATH''' defaults to '''/lib/modules/`uname -r`/build'''.
 
'''KERNELPATH''' defaults to '''/lib/modules/`uname -r`/build'''.
  
== All Arch ==
+
== Non-Multilib ==
  
 
Compile the package:
 
Compile the package:
  
 
  make
 
  make
 +
 +
Install the package
 +
 +
make BINDIR=/usr/bin MANDIR=/usr/share/man install
 +
 +
== Multilib ==
 +
 +
=== 64Bit ===
 +
 +
Compile the package:
 +
 +
make CC="gcc ${BUILD64}"
  
 
Install the package
 
Install the package
  
 
  make BINDIR=/usr/bin MANDIR=/usr/share/man install
 
  make BINDIR=/usr/bin MANDIR=/usr/share/man install

Revision as of 17:25, 30 October 2008

Download Source: http://svn.madwifi.org/trunk
http://snapshots.madwifi.org/madwifi-ng-current.tar.gz

Introduction to MadWifi

MadWifi is short for Multiband Atheros Driver for Wireless Fidelity. In other words: this project provides a Linux kernel device driver for Atheros-based Wireless LAN devices. The driver works such that your WLAN card will appear as a normal network interface in the system. Additionally there is support for the Wireless Extensions API. This allows you to configure the device using common wireless tools (ifconfig, iwconfig and friends).[1]

Project Homepage: http://madwifi.org/wiki/MadWifi

Getting the source

If you have Subversion installed issue the following command to download the source:

svn checkout http://svn.madwifi.org/madwifi/trunk madwifi

You may also want to create a tarball to use at a later time:

tar cvjpf madwifi-r$(svnversion madwifi).tar.bz2 madwifi

Dependencies

Required

Non-Running Kernel

If you're attempting to build Madwifi for a kernel that's not currently running, also pass the following to make and make install.

KERNELPATH=/path/to/kernel/source

KERNELPATH defaults to /lib/modules/`uname -r`/build.

Non-Multilib

Compile the package:

make

Install the package

make BINDIR=/usr/bin MANDIR=/usr/share/man install

Multilib

64Bit

Compile the package:

make CC="gcc ${BUILD64}"

Install the package

make BINDIR=/usr/bin MANDIR=/usr/share/man install