¼¸ºõ·ÑÁËÁ½Ììʱ¼äÀ´µ·¹ÄÕâ¸öWireless,ÔÚWinxpÉÏ×°ÉÏÇý¶¯¾Í¿ÉÒÔÓÃÁË¡£µ«ÊÇLinuxȷʵºÜÂé·³£¬Õâ¾ÍÊÇΪʲôlinuxµ½ÏÖÔÚÎÞ·¨ÆÕ¼°µÄÒ»¸öÔÒò¡£
ÓÐÈË˵£¬Äã¸ù±¾²»»á×°£¬Äã¸ù±¾²»»áÓá£ÎÒÖ»ÏëßýÄãÒ»¾ä£º¡°²ÙÄãÂ裡¡±²»Ëµ·Ï»°ÁË¡£ÎªÁ˰²×°Wireless, ÍøÂçËÑË÷ÁËÒ»´óЩ£¬Ôö³¤ÁËÔÚLinuxÏÂWirelessÅäÖ㬵«ÊÇ»ù±¾ÉÏû°ïÉÏʲôæ¡£ËùÒÔÎÒҪд¸öÍêÕûµÄ¹ý³Ì¡£ÕâÆªÊʺÏFC8 X86_64µÄ»úÆ÷
Fedora Core 8 RT73 Wireless USB Tutorial:
yum install kernel kernel-devel gcc make
D-Link : DSL-G604T
USB Wireless Network : TL-WN321G USB
Firstly, you need download the official driver from here: RT2501USB(RT73:RT2571W/RT2573/RT2671)
# cp RT73_Linux_STA_Drv1.0.4.0.tar.gz /tmp/
# cd /tmp/
# tar zxvf RT73_Linux_STA_Drv1.0.4.0.tar.gz
# cd /tmp/RT73_Linux_STA_Drv1.0.4.0/Module/
# cp Makefile.6 ./Makefile
# make all ( officially asks to use make all, but what I think, it's better to use make && make install)
(Your Option # make && make install)
-----------------------------------------------------------------------------------
Once u used make install, u would see following output
[root@localhost Module]# make install
make -C /lib/modules/2.6.23.9-85.fc8/build \
INSTALL_MOD_DIR=extra SUBDIRS=/tmp/RT73_Linux_STA_Drv1.0.4.0/Module \
modules_install
make[1]: Entering directory `/usr/src/kernels/2.6.23.9-85.fc8-x86_64'
INSTALL /tmp/RT73_Linux_STA_Drv1.0.4.0/Module/rt73.ko
DEPMOD 2.6.23.9-85.fc8
make[1]: Leaving directory `/usr/src/kernels/2.6.23.9-85.fc8-x86_64'
Network device directory /etc/sysconfig/network-scripts
Module configuration file /etc/modprobe.conf
Create 'ifcfg-rausb0' in /etc/sysconfig/network-scripts/
append 'alias rausb0 rt73' to /etc/modprobe.conf
/sbin/depmod -a
-------------------------------------------------------------------------------
# mkdir /etc/Wireless
# mkdir /etc/Wireless/RT73STA/
# cp rt73.bin /etc/Wireless/RT73STA/
# dos2unix rt73sta.dat
# cp rt73sta.dat /etc/Wireless/RT73STA/rt73sta.dat
# cp ifcfg-rausb0 /etc/sysconfig/network-scripts/
# vi /etc/Wireless/RT73STA/rt73sta.dat
[Default]
CountryRegion=0
CountryRegionABand=7
WirelessMode=0
SSID=Your_Wireless Name
NetworkType=Infra
Channel=6
AuthMode=WPAPSK
EncrypType=TKIP
DefaultKeyID=1
Key1Type=0
Key1Str=Your Password
Key2Type=0
Key2Str=
Key3Type=0
Key3Str=
Key4Type=0
Key4Str=
WPAPSK=the WPAPSK Passworkd
TxBurst=0
PktAggregate=0
TurboRate=0
WmmCapable=0
AckPolicy=0;0;0;0
BGProtection=0
IEEE80211H=0
TxRate=12
RTSThreshold=2347
FragThreshold=2346
PSMode=CAM
TxPreamble=0
AdhocOfdm=0
FastRoaming=0
RoamThreshold=70
if u r unsure how to edit this section, u need to read here
/tmp/RT73_Linux_STA_Drv1.0.4.0/Module/README
----------------------------------------------------------
[root@localhost Module]# ifconfig rausb0 10.1.1.20 up
[root@localhost Module]# iwconfig
lo no wireless extensions.
eth1 no wireless extensions.
eth0 no wireless extensions.
rausb0 RT73 WLAN ESSID:off/any
Mode:Auto Channel=1 Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
-----------------------------------------------------------
unfortunately, iwconfig rausb0 scan failed. i dont known why, but it works at background.
[root@localhost Module]# iwlist rausb0 scan
rausb0 Interface doesn't support scanning.
----------------------------------------------------------
iwconfig to check if your Wireless card has been recognized or not
[root@localhost Module]# iwconfig
lo no wireless extensions.
eth1 no wireless extensions.
eth0 no wireless extensions.
rausb0 RT73 WLAN ESSID:"Your_Wireless Name"
Mode:Managed Channel=6 Access Point: 00:1B:11:15:01:73
Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Encryption key:xxx-xxx-xxx-xxx-xxx-xxx
if Encryption key:off , u need to use this to make the wireless connect to the Router
iwconfig rausb0 key s:Your_password
-------------------------------------------------------------------------------
Put these unacceptable modules to blacklist
#vi /etc/modprobe.d/blacklist
blacklist rt2x00lib
blacklist rt2x00usb
blacklist rt73usb
--------------------------------------------------------------------------------
# vi /etc/sysconfig/network-scripts/ifcfg-rausb0
DEVICE=rausb0
ONBOOT=yes
HWADDR=Your MAC Address
BOOTPROTO=dhcp
PEERDNS=no
## Confirm your AP supports dhcp or connects up the ethernet
## before set-up as a dynamic IP
#BOOTPROTO=dhcp
NETMASK=
DHCP_HOSTNAME=
IPADDR=
DOMAIN=
TYPE=Wireless
ESSID=Your Wirless Name
CHANNEL=6
MODE=Master
RATE=Auto
USERCTL=no
IPV6INIT=no
---------------------------------------------------------------------
#vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=localhost.localdomain
NOZEROCONF=yes (ensure you have this)
----------------------------------------------------------------------
also u can use
ifup or ifdown to switch on or off the network.
----------------------------------------------------------------------
it should work then
jellyxl ÓÚ 2009-10-24 11:09:12·¢±í:
Á´½ÓÓÐlinuxÇý¶¯£¿
rhinofly ÓÚ 2008-05-14 15:59:19·¢±í:
TP-Link WN321G Çý¶¯ÏÂÔØ£º http://www.tp-link.com/support/download.asp?a=1&m=TL%2DWN321G °üº¬Win98SE/Me/2000/XP/Vista/Linux/Macintosh Çý¶¯£¬ÄãÐèÒªÆäÖеġ°2008_0117_RT73_Linux_STA_Drv1.1.0.0.tar.bz2¡±Îļþ¡£
>/etc/rc.local
mkdir -p /opt/distfiles/src
cd /opt/distfiles/
rz -b #½«Îļþ·¢Ë͵½linux
tar xjf 2008_0117_RT73_Linux_STA_Drv1.1.0.0.tar.bz2 -C src
cd src/2008_0117_RT73_Linux_STA_Drv1.1.0.0/Module/
cp Makefile.6 ./Makefile
chmod 755 Configure
#ÄãÐèÒª°²×°kernel-source
ln -sf /usr/src/kernels/`uname -r`-`uname -p` /usr/src/linux-`uname -r`
make config
make all && make install
mkdir -p /etc/Wireless/RT73STA/
cp rt73.bin /etc/Wireless/RT73STA/
dos2unix rt73sta.dat
cp rt73sta.dat /etc/Wireless/RT73STA/rt73sta.dat
cat <
modprobe rt73
/sbin/ifconfig rausb0 inet 10.131.0.254 netmask 255.255.255.0 up
iwconfig rausb0 mode Ad-Hoc
iwconfig rausb0 nickname "My USB SOFT AP"
iwconfig rausb0 essid "Private Soft AP"
iwconfig rausb0 rate auto
iwconfig rausb0 key s:95958
iwconfig rausb0
EOF
modprobe rt73
/sbin/ifconfig rausb0 inet 10.131.0.254 netmask 255.255.255.0 up
iwconfig rausb0 mode Ad-Hoc
iwconfig rausb0 nickname "My USB SOFT AP"
iwconfig rausb0 essid "Private Soft AP"
iwconfig rausb0 rate auto
iwconfig rausb0 key s:95958
iwconfig rausb0
µã¶ÔµãµÄÎÞÏßÁ¬½Ó¾ÍokÁË£¬´ÓÆäËû»úÆ÷ʹÓÃ95958ÃÜÂëÁ¬½Ó¼´¿É¡£