首 页文章中心

Linux学习网

您的位置Linux学习网 > Linux基本应用 > 文章内容

FC8 无线网络 RT73 TL_WN321G USB

作者:佚名  来源:不详  发布时间:2007-12-31 9:43:00
这篇适合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
收藏本页到: 365Key | del.icio.us | | 添加到雅虎收藏+
  • 网站帮助 - 广告合作 - 网站地图