ÕâÁ½Ìì¸ù¾ÝʵÑéÊÒÐèÒª£¬Ò»Ö±ÔÚ²»Í£µÄÕÒlinuxÏÂÃæ¿ÉÓõÄÎÞÏßÍø¿¨£¬Ò²Ôø¾GOOGLEÁ˲»ÉÙ×ÊÁÏ¡£µ«ÊÇÕâЩ×ÊÁÏ¿´ÆðÀ´ºÜ¶à£¬µ«ÊÇʵ¼ÊÉÏ·ûºÏÎÒµÄÐèÇóµÄ¿ÉÒÔ˵ºÜÉÙ£¬Ö÷ÒªÓÐÒÔϼ¸¸öÎÊÌ⣺
Ò»¡¢ ´ó¶àÊǽ²Ê¹ÓÃndis wrapperµÄ·½Ê½¡£ÕâÖÖ·½·¨¶ÔÓÚÄں˰汾2.4.20µÄºÃÏñÓÐÀ§ÄÑ£¬¶ÔÓÚÆäwindows xpµÄÇý¶¯Ò²²»ÊÇ100%¿ÉÓ᣶øRH 9.0Ç¡Ç¡ÓõÄÊÇ2.4.20£¬Èç¹ûÔÙÐèÒª»»Äں˾ͱȽÏÂé·³ÁË¡£×îºÃÊÇÄÃÇý¶¯±à³öÄ£¿éÀ´Ö±½Ó¼ÓÔؾÍÄÜÓá£
¶þ¡¢ Ëù½²µÄÎÞÏßÍø¿¨¶àÊÇPCMICA¡¢USBµÄ£¬¶ÔÓÚ±ê×¼PCIµÄ½²µÄÏà¶Ô½ÏÉÙ¡£
Èý¡¢ Ëù½²µÄÎÞÏßÍø¿¨ÔÚÊг¡Éϲ»Ò»¶¨ºÃÂò£¬±ÈÈç˵¶ÔÓÚÏÖÔÚÂôµÄ½Ï¶àµÄTP-link¡¢D-LinkµÄÍø¿¨£¬ºÜÄÑÃ÷È·µÄÕÒµ½ÊÇ·ñ¿ÉÓõĻشð£¬ÍùÍù»Ø´ð¶¼ºÜº¬»ì¡£
¼øÓÚÒÔÉÏ·ÖÎö£¬ÎÒÊÔÓÃÁËmadwifiµÄÇý¶¯£¨¼ûÂÛ̳ÆäËüÌû×ÓÀïÎҵķÖÎö£©£¬Ê¹ÓÃÁ˵±Ç°×îºÃÂòÒ²×î±ãÒË£¨µ±È»¼Ù»õÒ²×î¶à£©µÄTp-link 550G 802.11GÍø¿¨¡£Õâ¸öÍø¿¨ÊDZê×¼PCIµÄ£¬´øtp-linkµÄÓòÕ¹¹¦ÄÜ£¬ÊÇTP-link 802.11gµÄ´ú±í²úÆ·¡£Ö®ËùÒÔÓÃtp-linkÖ÷ÒªÊÇÒòΪËü±ãÒË£¬Ò²ºÃÂò¡£
ÏÂÃæÎҵĽ²Êö¾Í²»×öʲô·ÖÎöÁË£¬ÍêÈ«°´ÎÒʵÏֵIJ½Öè¡£
Ò»¡¢ ÔÚ¹è¹ÈÎÒÒ»¸ö×öµçÄÔÉúÒâµÄÅóÓÑ´¦ÄÃÁ˸ötp-link 541GµÄ·ÓÉÆ÷£¬ÓÖÄÃÁËÒ»¸ö550GµÄÎÞÏßÍø¿¨¡£550GÖ»ÓС°ÓòÕ¹¡±£¨¼Ó´ó´«Êä¾àÀ룬ºÅ³ÆÊÒÍâ¿É´ï800Ã×£¬Ã»ÓÐÇ××ÔÊÔ¹ý£©Ã»ÓС°ËÙÕ¹¡±£¨×î¸ßËÙÂÊ×öµ½ÁË108Mb/s£¬¶øÇÒÓë±ê×¼µÄ54MÉ豸¼æÈÝ£©¡£±¾À´ÎÒÊÇ´òËãÄÃ650GµÄÍø¿¨£¬ÒòΪ650GÊÇÁ½Õ߶¼ÓеÄвúÆ·¡£µ«ÊÇÈ˼Ò˵650G³ö»õÉÙ£¬ÍòÒ»ÎÒÊÔ²»³É³§¼ÒÄÇÀï²»ºÃÍË»õ¡£Ò²²»ºÃÇ¿ÇóËùÒÔ¾Í×÷°ÕÁË¡£550GÒ²²»´íÁË¡£
¶þ¡¢ ÄûØÀ´Ö®ºóÏȵ÷AP¡£Ïȼòµ¥ËµÒ»ÏÂÎÒÃÇÏÖÔÚµÄÍøÂç»·¾³¡£ÎÒÃǾÍÒ»¸öÎÝ£¬20¶ą̀»úÆ÷£¬´ÓÉÏÃæ½»»»»ú½ÓÏÂÀ´Ò»¸ù100MµÄ¶ÔÍâµÄLANÏߣ¬½»»»»úÉÏ·ÖµÄ×ÓÍøÊÇ159.226.204.0/255.255.255.0.£¬Íø¹Ø159.226.204.199£¬È»ºóÊǶà¸öHUBÒ»¼¶Ò»¼¶µÄÍùÏ·֡£
Èý¡¢ APµÄ°²×°»¹ÊDZȽϼòµ¥µÄ¡£ÕÒ¸öHUB¿Ú£¬°ÑAPËĸöLAN¿ÚÖ®Ò»ÓëHUBÏàÁ¬¡£ÕÒһ̨±Ê¼Ç±¾Ò²½Óµ½ÕâHUBÉÏ£¬¸Ä±Ê¼Ç±¾µÄIPΪ192.168.1.250/255.255.255.0£¬´ò¿ªä¯ÀÀÆ÷·ÃÎÊAP http://191.268.1.1:80£¬ÔÚÕâ¸öWEB½çÃæÀïÏÈÉèAPµÄIPΪ159.226.204.250£¬ÉèessidΪwifiap£¬ÉèWEB¼ÓÃÜ·½Ê½£¬128λ¹²Ïí¿ÚÁîwifi000000001(13λASCIIÂë)¡£ÉèÍêºóÖØÆô£¬ÕÒÁ˸öѸ³Û±Ê¼Ç±¾½øwindowsÏȲâÊÔAP£¬¿ÉÒÔÁ¬ÉÏûÎÊÌâ¡£
ËÄ¡¢ ÏÂÃæ½²¹Ø¼üµÄÎÞÏßÍø¿¨µÄÅäÖá£ÕǪ̀װºÃÁËwindows xpºÍredhat 9.0˫ϵͳµÄ»úÆ÷£¬²ð»úÏä°ÑÔÀ´µÄLANÍø¿¨Äõô£¬»»ÉÏ550G¡£
Îå¡¢ ¿ª»úÏȽøwindows£¬Ö±½ÓÌáʾÕÒµ½Ó²¼þ¡£ÔÚË濨µÄÇý¶¯ÅÌÉÏÕÒ550G/650GµÄĿ¼ËÑË÷Çý¶¯£¬£¨°²×°ºóºÃÏñÊDz»ÓÃÖØÆô£©¡£È»ºó»¹ÔÚ×°TP-linkµÄ¹ÜÀí¹¤¾ß£¬ÔÚÎҵĵçÄÔÀïÕÒ¹âÅÌÉÏ550G/650GµÄĿ¼£¬¾ÍÒ»¸ösetup.exe×°Íê¼´¿É¡£ËÑË÷ÍøÂçÕÒµ½AP£¨¼ÇסessidΪwifiap£©£¬ÌîÈëÃÜÂë¾Í¿ÉÒÔÉÏÍøÁË¡£¶ÔÓÚIPµÄÉèÖÃÒ²ÊÇÒ»Ñù¡£×ÜÖ®ÔÚwindowsϵݲװºÜ¼òµ¥£¬ËµÃ÷Êé½²µÄºÜÏêϸÁË¡£
Áù¡¢ ÖØÆô½øred hat 9.0¡£Æô¶¯¹ý³ÌÖÐÌáʾÔÀ´Íø¿¨ÕÒ²»µ½ÁË£¬²»ÓÃÀí»á¡£Ïȼì²é/usr/src/linucÏÂÓÐûÓÐÔ´´úÂ룬Èç¹ûûÓоÍÓÃrpm -hvi kernel-source-2.4.20-8.rpm£¨ºÃÏñÔÚµÚ3ÕÅÅÌ£©×°ÉÏ¡£
Æß¡¢ ×¼±¸Ô´´úÂëĿ¼£º
# cd /usr/src/linux
# make menuconfig // ÔÚ¶Ô»°¿ò³öÏÖºóÖ±½ÓÑ¡exit£¬È»ºó±£´æÅäÖü´¿É
# vi Makefile // ÕÒµ½°æ±¾ºÅ´¦µÄ¡°EXTRAVERSION=8-custom¡±£¬¸Ä³É¡°EXTRAVERSION=8¡±
# make dep //×¢ÒâÖ»Ðèmake dep£¬²»Ðèmake
°Ë¡¢ ÔÚhttp://madwifi.sourceforge.netÏÂÔØ×îеÄÔ´´úÂë°ümadwifi-cvs-current.tar.gz.
¾Å¡¢ ±àÒë°²×°Çý¶¯£º
# tar zxvf madwifi-cvs-current.tar.gz
# cd madwifi
# make KERNELPATH=/usr/src/linux
# make install
# /sbin/modprobe ath_pci
ÒÔÉϸ÷²½¶¼¿ÉÄܳöÎÊÌ⣬ʹÓÃÄãµÄÖǻۺ;ÑéÈ¥½â¾ö°É¡£
# dmesg
³É¹¦ÅäÖúó£¬ÔÚdmesgÀï×îºóµÄÊä³öÓ¦¸Ã¿ÉÒÔ¿´µ½550GµÄÐÅÏ¢¡£
Ê®¡¢ ´Ëʱ/sbin/ifconfigÖ»ÄÜ¿´µ½Ò»¸ölo½Ó¿Ú¡£
# /sbin/ifconfig ath0 159.226.204.197 netmask 255.255.255.0
ÉÏÃæÒ»¾äÅäÖýӿÚath0µÄÊôÐÔ¡£½Ó¿ÚÊǽ¨Á¢ÆðÀ´ÁË£¬µ«ÊÇÊDz»Í¨µÄ¡£ÐèÒªÓÃiwconfigÅäÖÃÎÞÏß²ÎÊý¡£
# /sbin/iwconfig ath0 essid ¡°wifiap¡± mode managed key ¡°s:wifi000000001¡± rate auto
È»ºóÓÃiwconfigÓ¦¸Ã¿ÉÒÔ¿´µ½Íø¿¨³É¹¦µÄÁ¬½Ó£¬ËÙÂÊÓ¦¸ÃÊÇ54M. Õâʱping apÓ¦¸Ã¿ÉÒÔpingͨ£º
# ping 159.226.204.250
µ«ÊÇÉÏÍâÍø»¹²»ÐС£ÒòΪ·ÓÉûÓÐÅäÖ᣼ÓÒ»¾äĬÈÏ·ÓÉ£º
# route add default gw 159.226.204.199
Õâʱ¾Í¿ÉÒÔÉÏÍâÍøÁË¡£
# lynx www.google.com
ʮһ¡¢ ÅäÖóɹ¦Ö®ºó£¬¿ÉÒÔ¸ÄϵͳÅäÖÃʹ֮ÖØÆô»úÆ÷Äܹ»×Ô¶¯ÉúЧ¡£
# cd /etc/sysconfig/network-scripts
# cp ifcfg-eth0 ifcfg-ath0
# vi ifcfg-eth0 //°ÑÊײ¿µÄONBOOT=yes¸Ä³ÉONBOOT=no
# vi ifcfg-ath0 //°ÑÊײ¿µÄDEVICE=eth0¸Ä³ÉDEVICE=ath0
# vi etc/sysconfig/hwconfig //¿½±´Ò»¶ÎPCIµÄÉ豸£¬°Ñdriver¸Ä³Éath_pci£¬descÈÎÒâ¸Ä¡£
# vi /etc/rc.d/rc.local // ×îºó¼ÓÒ»¾ä/sbin/iwconfig ath0 essid ¡°wifiap¡± mode managed key ¡°s:wifi000000001¡± rate auto
Ê®¶þ¡¢ ÖØÆô¶¯»úÆ÷£¬ÔÙ²âÊÔ¡£All things done.
ÒÔÉÏÊÇÎÒ½¨Á¢ÎÞÏßAPºÍÔÚlinuxÏÂʹÓÃÎÞÏßÍø¿¨µÄÈ«¹ý³Ì£¬×ÜÖ®»¹ËãÊDZȽϼòµ¥µÄ¡£Õâ¸ömadwifiÇý¶¯ÊÊÓÃÓÚ¼¸ºõËùÓÐAtherosоƬµÄÍø¿¨£¨×¢ÒâÖ»Ö§³ÖPCI¡¢mini PCI¡¢pcmicaµÄ£¬²»Ö§³ÖUSBµÄ£©£¬ÄÚºË2.4¡¢2.6¶¼¿ÉÒÔ£¬Ò²¾ÍÊÇ˵´Óred hat7.3¾Í¿ÉÒÔÓ㬶øÇÒ²»ÓÃÖرàÄںˡ£Ï£ÍûÄܶÔÔÚlinuxÏÂʹÓÃÎÞÏßµÄÈËÒ»µã²Î¿¼¡£