# # Original File # ------------- # http://Linux-Wireless.org/Install-Howto/Drivers/madwifi/madwifi-20040827-linux-2.6.8.1.Patch-Howto.txt # # # ========================================== # # # # Patch Madwifi Drivers for linux-2.6.8.1 # # - linux-2.6.8.1 requires some patches to the madwifi drivers # # # ========================================== # - tested on Suse-9.1 w/ linux-2.6.8.1 # # # # Using this Patch ( seems to work for us ) # ---------------- # http://article.gmane.org/gmane.linux.drivers.madwifi.user/3961 # http://users.informatik.haw-hamburg.de/~gropp_v/madwifi-2.6.8_and_-mm-040821.patch.bz2 # # # Another Patch ( we didnt test it ) # ------------- # http://article.gmane.org/gmane.linux.drivers.madwifi.user/3923 # http://www.linuxtux.org/misc/madwifi-20040814-2.6.8_fix.diff # # # # 27-Aug-04 amo Date-of-Birth # # # # Go to the working area # ---------------------- cd /usr/local/src # # # Get the latest madwifi sources # ------------------------------ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co madwifi # # # Make a 2nd copy that we will apply the patch into # ------------------------------------------------- cp -par madwifi madwifi-2.6.8.1 # cd madwifi-2.6.8.1 # # # Download the Patch # =================== wget http://users.informatik.haw-hamburg.de/~gropp_v/madwifi-2.6.8_and_-mm-040821.patch.bz2 # bzip2 -d madwifi-2.6.8_and_-mm-040821.patch.bz2 # # # First test the patch ( you should NOT see any errors ) # -------------------- patch -p1 --dry-run < ../madwifi-2.6.8_and_-mm-040821.patch # # # Apply the patch # --------------- patch -p1 < ../madwifi-2.6.8_and_-mm-040821.patch # # # Move the Patched madwifi drivers to long silly name # ----------------------------------------------------------------- mv madwifi-2.6.8.1 madwifi-20040827-patched-for-2.6.8.1 # # # Build the madwifi drivers as usual # ----------------------------------- # cd madwifi-20040827-patched-for-2.6.8.1 # make install # # # Install and Configure the Madwifi Drivers # ----------------------------------------- # http://Linux-Wireless.org/Install-Howto/WL/wl.install.sh # # # Conclusion # ---------- # Suse-9.1 w/ linux-2.6.8.1 seems to work w/ our NetGear WG311 and w/ WEP too # # # # #================================================================================================= # # # # Error Messages you get with an unpatched madwifi driver ( as of Aug 27 2004 ) with linux-2.6.8.1 # # # #================================================================================================= # # cd /usr/local/src/madwifi-20040827 # # .... # # CC [M] /usr/local/src/madwifi-20040827/net80211/ieee80211_proto.o CC [M] /usr/local/src/madwifi-20040827/net80211/ieee80211_wireless.o CC [M] /usr/local/src/madwifi-20040827/net80211/ieee80211_linux.o /usr/local/src/madwifi-20040827/net80211/ieee80211_linux.c: In function `ieee80211_sysctl_debug': /usr/local/src/madwifi-20040827/net80211/ieee80211_linux.c:369: error: too few arguments to function `proc_dointvec' /usr/local/src/madwifi-20040827/net80211/ieee80211_linux.c:374: error: too few arguments to function `proc_dointvec' /usr/local/src/madwifi-20040827/net80211/ieee80211_linux.c: At top level: /usr/local/src/madwifi-20040827/net80211/ieee80211_linux.c:386: warning: initialization from incompatible pointer type /usr/local/src/madwifi-20040827/net80211/ieee80211_linux.c:391: warning: initialization from incompatible pointer type make[3]: *** [/usr/local/src/madwifi-20040827/net80211/ieee80211_linux.o] Error 1 make[2]: *** [_module_/usr/local/src/madwifi-20040827/net80211] Error 2 make[2]: Leaving directory `/usr/local/src/linux-2.6.8.1' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/madwifi-20040827/net80211' make: *** [all] Error 1 # # # # End of file