⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install

📁 和我之前上载的intel 802.11协议源码是配套的
💻
📖 第 1 页 / 共 2 页
字号:
If Intel PRO/Wireless 2915ABG Network Connection driver is built intoyour kernel (i.e. in kernel version 2.6.14 and later), you must de-configurethat capability and rebuild your kernel before upgrading ieee80211 subsystemand Intel PRO/Wireless 2915ABG Network Connection driver. In 2.6.x, this is *dis*abled via menuconfig (enter n for no):        Device Drivers ->                Network device support ->                        Network device support (NETDEVICES [=y]) ->                                Wireless LAN (non-hamradio) ->                                        Intel PRO/Wireless 2200BG and 2915ABG...NOTE:  If Intel PRO/Wireless 2915ABG Network Connection driver for Linux issupported as a module (this would show up as #define CONFIG_IPW2200_MODULE 1),you do not need to rebuild your kernel, but you will need to remove the binarymodule and relevant include files (see UPGRADING FROM PRIOR VERSIONS, below).6.   SYSFS-----------------------------------------------You will also need to have sysfs mounted.  This facility is used to queryand control the operation of the Intel PRO/Wireless 2915ABGNetwork Connection driver for Linux (found in the Intel PRO/Wireless 2915ABGNetwork Connection driver source directory).You can mount sysfs this by adding an entry to /etc/fstab similar to this:none            /sys            sysfs   defaults                0       0If the directory /sys does not already exist, you will need to create it:	% mkdir /sysYou can then mount the sysfs partition via:	% mount -a7.  UPGRADING FROM PRIOR VERSIONS-----------------------------------------------You may have an old version of the ieee80211 subsystem and Intel PRO/Wireless 2915ABG Network Connection driver if your Linux distributionincludes them, or if you have installed an earlier version of Intel PRO/Wireless2915ABG Network Connection driver yourself. In addition,kernel versions 2.6.14 and later are include the *old* version 1.0 ofthe Intel PRO/Wireless 2915ABG Network Connection driver (i.e. version 1.0.0)in the mainline source tree. You should upgrade to a more recent set of drivers.Before upgrading to a new ieee80211 subsystem and Intel PRO/Wireless 2915ABG Network Connection driver, you should remove old ieee80211subsystem, Intel PRO/Wireless 2915ABG Network Connection driver,*and* Intel PRO/Wireless 2100 Network Connection driver modules (so modprobe won't find them), as well as any related kernel configuration declarations(so that they don't affect the new build). To do this most easily, you canuse the 'remove-old' script, found in Intel PRO/Wireless 2915ABGNetwork Connection driver source directory, as in the following example:	% cd /your/path/to/ipw2200-1.2.0	% chmod 755 remove-old   (probably not necessary)	% . remove-old   <--- You need to run this as rootAnswer y to all of its questions.NOTE:  If you've already installed a new version of ieee80211 subsystem, thisremoves it!  Run this *before* installing the new ieee80211 subsystem!Since this script may not work thoroughly and reliably for your particulardistribution, the following is a summary of what you can do manually to checkand/or complete its work.1)  Remove any old ieee80211 subsystem and Intel PRO/Wireless 2915ABG    Network Connection driver modules from    /lib/modules/{VERSION}.  Find them via:	% for i in ieee80211 ipw2200; do \		find /lib/modules/`uname -r` -iname ${i}*; done    Remove whatever that finds, including directories and .h files (create    backup files, unless you're feeling adventurous!).    Failure to remove old modules may result in unresolved symbols    when you try to load your new drivers.2)  Comment out or remove any CONFIG_IEEE80211 or CONFIG_IPW declarations    in kernel's autoconf.h.  Find with:	% for i in IEEE80211 IPW; do \            grep CONFIG_${i} \            /lib/modules/`uname -r`/build/include/linux/autoconf.h; done    Use c-style comments (i.e. /* */) to comment out each line that it finds.    Use a pair of /* */ for each line separately, instead of trying to comment    out a block of several lines with a single pair of /* */.    3)  Comment out or remove any CONFIG_IEEE80211 or CONFIG_IPW declarations    in kernel's .config.  Find with:	% for i in IEEE80211 IPW; do \                grep CONFIG_${i} \                /lib/modules/`uname -r`/build/.config; done    Use shell-style comments (i.e. #) to comment out the entries it finds.    Failure to comment out these lines in steps 2) and 3) may affect the build    of your new module; settings in Intel PRO/Wireless 2915ABG    Network Connection driver Makefile are overridden by settings in the kernel    configuration.8.  BUILDING EXTERNAL (outside kernel source tree)-----------------------------------------------First, you need to install the ieee80211 modules. You can find the modulespackage and install instructions at http://ieee80211.sourceforge.netThen, you need to unpack the Intel PRO/Wireless 2915ABG NetworkConnection driver for Linux source code:	% tar xzvf ipw2200-1.2.0.tgz	% cd ipw2200-1.2.0The driver package contains a Makefile that can be used for building the driveroutside of the kernel tree.  To build it for the currently running kernel,simply type:	% make  <--- You may need to run this as rootNOTE: If you see any errors during the build process be sure to check theIssues section on the http://ipw2200.sf.net website as a patch may be availablefor your specific kernel configuration.  To build it for a different kernel than the running one, use the KSRCparameter:	% make KSRC=/path/to/kernelIf you wish to install the modules into your currently running kernel you cando so via:	# make install <--- You need to run this as rootIf you wish to install the modules into other place, you can do so via:	# make install KMISC=/path/to/install <--- You need to run this as rootThe Makefile for versions 1.0.6 and earlier defaults to building with DEBUGenabled.  Versions 1.0.7 and later default to no debug.  You can change thisby editing the Makefile (search for CONFIG_IPW2200_DEBUG), which will alsoinfluence the load script of Intel PRO/Wireless 2915ABGNetwork Connection driver to load with module parameter debugset to a default value embedded in the load script.9.  BUILDING WITHIN THE KERNEL SOURCE TREE-----------------------------------------------Starting with Linux kernel version 2.6.14, an old stable version ofIntel PRO/Wireless 2915ABG Network Connection driver isprovided in the kernel.The Intel PRO/Wireless 2915ABGNetwork Connection driver project does not currently provide patchesor other support for upgrading this driver within the kernel tree,and does not provide support for building within earlier kernel trees.10. LOADING FIRMWARE VIA HOT-PLUG -----------------------------------------------Before you can load the driver, you need the firmware image.  You can findinstructions for obtaining the firmware by going to:	http://ipw2200.sf.net/firmware.php.Once you have the firmware, unzip the archive. You should find eight (8)files within it:        LICENSE.ipw200-fw	A copy of the firmware license	ipw2200-bss.fw		BSS image (Managed mode)	ipw2200-ibss.fw		IBSS image (Ad-Hoc mode)	ipw2200-sniffer.fw	Sniffer image (Monitor mode)You can determine the version number of the file you have installed by running the following:	ver=() ; echo .You need to place all of these files into the hotplug firmware directory,e.g. /usr/lib/hotplug/firmware/  or  /lib/firmware/.  Check the contentsof the /etc/hotplug/firmware.agent to determine the specific location for yourdistribution. If you do not have /etc/hotplug/firmware.agent, then you need to upgrade yourhotplug scripts to something later than 2003_10_07.  You can obtain the latesthotplug scripts via the following link (look for hotplug,not firmwarehotplug): 	http://sourceforge.net/project/showfiles.php?group_id=17679Also, make sure that your kernel supports the hotplug firmware loader.  See thesection above, KERNEL REQUIREMENTS -- Configuration, on CONFIG_FW_LOADER .NOTE:  Loading this firmware image will not affect Intel PRO/Wireless 2915ABGNetwork Connection driver in any other operating systems you may boot.Each OS keeps its own copy of the firmware, and loads its own copy onto thehardware each time the OS initializes the card.11.  LOADING THE DRIVER-----------------------------------------------Before loading ipw2200.ko, the ieee80211 subsystem needs to be loaded first.If you've properly installed ieee80211 subsystem and Intel PRO/Wireless2915ABG Network Connection driver (and done depmod -a,which make install does), the following should load both:       # modprobe ipw2200  <--- You need to run this as rootIf built with DEBUG (default for ipw2200-1.0.6 and earlier, assuming it's notoverridden by kernel config file -- see BUILDING EXTERNAL section), the drivercan be loaded with a debug mode (a bit map of debug options) which you canselect from running the following script, found in Intel PRO/Wireless 2915ABGNetwork Connection driver source tree:	% . dvals    (shows debug options)	% modprobe debug=0x43fff   (this is a good value for a useful debug log)                OR	% . load debug=0x43fffThe ieee80211 module has a similar debug option.  Run idval in the ieee80211source tree to see its debug options.There are several other useful load-time module parameter options forIntel PRO/Wireless 2915ABG Network Connection driver seeREADME.ipw2200, Command Line Parameters section for more information.The load script, found in the Intel PRO/Wireless 2915ABGNetwork Connection driver source directory, is an easy wayto load ieee80211 subsystem, several of its cryptography modules, and ipw2200 module.It's a bit more complete (it loads some extra decryption modules), and automatic,than modprobe ipw2200.  It uses modprobe to load the ieee80211 componentsfrom their installed location, but insmod to load Intel PRO/Wireless 2915ABGNetwork Connection driver directly from its build directory.The load script also looks at the Makefile of Intel PRO/Wireless 2915ABGNetwork Connection driver to see if CONFIG_IPW2200_DEBUG is set,and will automatically load it with a default debug mode (and you can, ofcourse, edit the load script to modify the default debug mode).       # . load  <--- You need to run this as root       # . unload  <--- You need to run this as root12.  COMMON TROUBLESHOOTING TIPS-----------------------------------------------1.  The following Unknown symbol in module error appears when running theload script:[root@localhost ipw2200-1.0.7-pre10]# . loadUnloaded: ieee80211 ieee80211_crypt_tkip ieee80211_crypt_ccmp	  ieee80211_crypt_wep ieee80211_cryptinsmod: error inserting './ipw2200.ko': -1 Unknown symbol in moduleCAUSE:  One or both of the following kernel configuration files may still haveentries from old installations. Follow the removal instructions in thesection above titled UPGRADING FROM PRIOR VERSIONS.    /lib/modules/`uname -r`/build/include/linux/autoconf.h    /lib/modules/`uname -r`/build/.config2.  The following error appears in the dmesg kernel ring buffer output:ipw2200: ipw2200-bss.fw load failed: Reason -2ipw2200: Unable to load firmware: -2ipw2200: failed to register network deviceipw2200: probe of 0000:02:03.0 failed with error -5CAUSE: this may be due to any one of the following reasons:-  firmware in wrong location or wrong firmware version. Follow the   instructions in the section LOADING FIRMWARE VIA HOT-PLUG above.-  sysfs may not be mounted. Follow the instructions in the SYSFS section   above.3.  The following error appears when compiling the driver.make[1]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'make[1]: *** No rule to make target `modules'. Stop.make[1]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'make: *** [modules] Error 2CAUSE: make sure that the kernel source is installed on your machine

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -