ÉϸöÔÂÂòÁË¿éTP-Link 650GÎÞÏßÍø¿¨£¬±¾À´ÊÇÔÚWindows 2003ÉÏÓõģ¬Ò»Çж¼ºÜÕý³££¬µ«ÉÏÐÇÆÚ×°¸öFC5£¬µ«×°Çý¶¯Ê±²Å·¢ÏÖ650GûÓÐLinuxϵÄÇý¶¯£¬¶øÇÒLinuxÀïҲûÓдøTp-LinkµÄÇý¶¯³ÌÐò£»¾¹ýÔÚÍøÉϵIJéѯºÍѯÎÊ£¬¾ÍÑ¡ÔñÁËʹÓÃmadwifiµÄÇý¶¯¡£
ÎҵĻ·¾³FC5ÍêÈ«°²×°£¬ÄÚºË2.6£¬
ÏÂÃæÊÇÎÒµÄÖ÷Òª°²×°²½Ö裺
1¡¢µ½http://snapshots.madwifi.org/ÏÂÔØmadwifiÇý¶¯£»
2¡¢ÕÒµ½¸ÕÏÂÔصÄÎļþ£¬½âѹËõ¡¢±àÒ루²Î¿¼°ïÖúÎļþ£ºhttp://madwifi.org/wiki/UserDocs/FirstTimeHowTo£©£º
# tar zxvf madwifi-ng-current.tar.gz
½øÈë¸Õ½â³öÀ´µÄĿ¼:
# cd madwifi-ng-r1700-20060809
ÇåÀíÒÔÇ°°²×°¹ýWadWifiÄ£¿é:
# cd scripts
# ./madwifi-unload.bash
# ./find-madwifi-modules.sh /lib/modules/
# cd ..
±àÒë:
# make
³öÏÖ´íÎó: /lib/modules/2.6.15-1.2054_FC5/buildÎļþ²»´æÔÚ£¬µ½ÍøÉϲéһϰïÖú²Å·¢ÏÖҪװһ¸ö£ºkernel-2.6.15-1.2054_FC5.src¡£
3¡¢°²×°kernelµÄsrc.rpm
µ½£ºhttp://download.fedora.redhat.co ... -1.2054_FC5.src.rpmÏÂÔØkernel-2.6.15-1.2054_FC5.srcµÄ°²×°°ü¡£
ÏÂÃæÊÇ°²×°kernel-2.6.15-1.2054_FC5.srcµÄ¹ý³Ì
±àÒëÄÚºËÔ´Âë:
# rpm -ivh kernel-2.6.15-1.2054_FC5.src.rpm
# cd /usr/src/redhat/SPECS
# rpmbuild -bp --target $(uname -m) kernel-2.6.spec
# ls /usr/src/redhat/BUILD/kernel-2.6.15/
Config.mk linux-2.6.15.i686 vanilla xen xen-vanilla (ÓпÉÄÜÊÇi586ÎÒµÄÊÇi686)
# cd /usr/src
# mkdir kernels (ĬÈϵݲװÊÇûÓÐkernelsÕâ¸öÎļþ¼Ð£©
# cd kernels/
# ln -s ../redhat/BUILD/kernel-2.6.15/linux-2.6.15.i686/ 2.6.15-1.2054_FC5-i686
# cd 2.6.15-1.2054_FC5-i686/
# cp configs/kernel-2.6.15-i686.config .config
cp£ºÊÇ·ñ¸²¸Ç¡°.config¡±? y
ÐÞÕýMakefile
#uname -r £¨µÃµ½2.6.15-1.2054_FC5£©
2.6.15-1.2054_FC5
ÄÇô¾ÍÒª½«MakefileÖеÄ
EXTRAVERSION = -prep
»»³É
EXTRAVERSION = -1.2054_FC5
¼ÌÐø±àÒë:
#make mrproper
#make oldconfig
#make £¨±È½ÏºÄʱ£¬ÎÒÓÃÁËÒ»¸ö¶àСʱ£©
#make modules_install
µ½´ËÎÒÃÇÒªÓõÄÄں˱àÒëÍê³É¡£
4¡¢ÔٻعýÍ·À´°²×°WadWifi
½øÈëWadWifiµÄ°²×°ÎļþµÄĿ¼:
# cd madwifi-ng-r1700-20060809
±àÒë:
make
°²×°:
make install
ÔØÈëWadWifiÄ£¿é:
# modprobe ath_pci
´´½¨Ä£¿é½Ó¿Ú:
wlanconfig ath0 create wlandev wifi0 wlanmode sta
²é¿´:
# iwconfig
Èç¹ûÒ»ÇÐÕý³££¬Äã×°»á¿´µ½ÈçϵÄÀàËÆÐÅÏ¢:
lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
wifi0 no wireless extensions.
ath0 IEEE 802.11b ESSID:""
Mode:Managed Channel:0 Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power:0 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=0/94 Signal level=-95 dBm Noise level=-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Èç¹ûÄÜ¿´µ½ath0Óëwifi0ÄǾÍ˵Çý¶¯°²×°³É¹¦
5¡¢²éÕÒ²¢ÅäÖÃÁ¬½Ó
# modprobe wlan_scan_sta
# ifconfig ath0 up
# wlanconfig ath0 list scan
Èç¹ûÖÜΧÓÐÈȵã´æÔÚ£¬Ä㽫»á¿´µ½:
SSID BSSID CHAN RATE S:N INT CAPS
eddie 00:06:25:e8:3a:05 6 54M 36:0 100 EPs
ÓÉÓÚÎÒ¸Õ½Ó´¥LinuxÃüÁî²»ÊÇÌ«Ê죬ËùÒÔÏÂÃæÎҾ͸ÄÓÃÁËXÅäÖ㬲½ÖèÈçÏ£º
ÔÚÍøÂçÅäÖÃÀï°ÑÎÒµÄÄÇ¿é8139Íø¿¨½â³ýÁË£¬È»ºóн¨ÍøÂçÉ豸£¬Ñ¡ÒÔÌ«Íø¿¨£¬ÏÂÒ»²½£¬Ñ¡wifi0£¬ÏÂÒ»²½¸ù¾ÝÄãµÄÇé¿öÑ¡DHCP»òÖ¸¶¨IP£¬Íê³É£¬È»ºó¼¤»î¸Õ²Åн¨µÄÉ豸£»È»¿ÛÔËÐÐÃüÁ
# service network reboot
ÕÒµ½ÎÞÏßÍøÂç²é¿´Æ÷£¬´ò¿ª£ºÉèÖÃ
ÔÚSSID¿òÖÐÌîÉÏÄã¸Õ²Å²éÕÒµ½µÄSSID£¬Íø¿¨Óá°×Ô¶¯Ñ¡Ôñ¡±
Èç¹ûҪʹÓüÓÃÜ·½Ê½£¬Ñ¡ÖÐÏÂÃæµÄ¼ÓÃÜ¿ò£¬È»ºóÉèÒ»¸öÃÜÂ루ÕâÀïʹÓõļÓÃÜ·½Ê½ÊÇWEP£©£¬È»ºóÔÙµãÏÂÃæµÄ¼¤»îÄãÅäÖõÄÅäÖÃÎļþ£¬Ñ¡ÉÏ¡°¿ª»ú¼¤»î¡±£¬Ó¦Óá£
ÖØÆô
µ½´ËÎÞÏßÍø¿¨¾Í°²×°¡¢ÅäÖÃÍê³É£¬µ«Ö»ÄÜʹ54M£¬ÔÚhttp://madwifi.org/wiki/UserDocsÄã¿ÉÒÔÕÒµ½ÆäËü¼ÓÃÜ·½Ê½µÄÅäÖá£
ÓÉÓÚÎÒÊÇÒ»¸ö±ðLinuxÐÂÊÖ£¬ËùÒÔÓÐЩµØ·½¿ÉÄÜÀí½âµÄ²»ÊÇÌ«Çå³þ£¬Çë´ó¼Ò°üº¬¡£