Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1250667
  • 博文数量: 793
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 5025
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-28 17:58
文章分类

全部博文(793)

文章存档

2011年(1)

2008年(792)

我的朋友

分类: LINUX

2008-08-28 18:06:13

 
这篇适合FC8X86_64的机器

FedoraCore8RT73WirelessUSBTutorial:

yuminstallkernelkernel-develgccmake

D-Link:DSL-G604T
USBWirelessNetwork:TL-WN321GUSB

Firstly,youneeddownloadtheofficialdriverfromhere:RT2501USB(RT73:RT2571W/RT2573/RT2671)

#cpRT73_Linux_STA_Drv1.0.4.0.tar.gz/tmp/
#cd/tmp/
#tarzxvfRT73_Linux_STA_Drv1.0.4.0.tar.gz
#cd/tmp/RT73_Linux_STA_Drv1.0.4.0/Module/
#cpMakefile.6./Makefile

#makeall(officiallyaskstousemakeall,butwhatIthink,it''sbettertousemake&&makeinstall)
(YourOption#make&&makeinstall)

-----------------------------------------------------------------------------------
Onceuusedmakeinstall,uwouldseefollowingoutput

[root@localhostModule]#makeinstall

make-C/lib/modules/2.6.23.9-85.fc8/build\
INSTALL_MOD_DIR=extraSUBDIRS=/tmp/RT73_Linux_STA_Drv1.0.4.0/Module\
modules_install
make[1]:Enteringdirectory`/usr/src/kernels/2.6.23.9-85.fc8-x86_64''
INSTALL/tmp/RT73_Linux_STA_Drv1.0.4.0/Module/rt73.ko
DEPMOD2.6.23.9-85.fc8
make[1]:Leavingdirectory`/usr/src/kernels/2.6.23.9-85.fc8-x86_64''
Networkdevicedirectory/etc/sysconfig/network-scripts
Moduleconfigurationfile/etc/modprobe.conf
Create''ifcfg-rausb0''in/etc/sysconfig/network-scripts/
append''aliasrausb0rt73''to/etc/modprobe.conf
/sbin/depmod-a

-------------------------------------------------------------------------------

#mkdir/etc/Wireless

#mkdir/etc/Wireless/RT73STA/

#cprt73.bin/etc/Wireless/RT73STA/

#dos2unixrt73sta.dat

#cprt73sta.dat/etc/Wireless/RT73STA/rt73sta.dat
#cpifcfg-rausb0/etc/sysconfig/network-scripts/

#vi/etc/Wireless/RT73STA/rt73sta.dat

[Default]
CountryRegion=0
CountryRegionABand=7
WirelessMode=0
SSID=Your_WirelessName
NetworkType=Infra
Channel=6
AuthMode=WPAPSK
EncrypType=TKIP
DefaultKeyID=1
Key1Type=0
Key1Str=YourPassword
Key2Type=0
Key2Str=
Key3Type=0
Key3Str=
Key4Type=0
Key4Str=
WPAPSK=theWPAPSKPassworkd
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

ifurunsurehowtoeditthissection,uneedtoreadhere
/tmp/RT73_Linux_STA_Drv1.0.4.0/Module/README

----------------------------------------------------------

[root@localhostModule]#ifconfigrausb010.1.1.20up
[root@localhostModule]#iwconfig
lonowirelessextensions.

eth1nowirelessextensions.

eth0nowirelessextensions.

rausb0RT73WLANESSID:off/any
Mode:AutoChannel=1BitRate=54Mb/s
RTSthr:offFragmentthr:off
Encryptionkey:off

-----------------------------------------------------------


unfortunately,iwconfigrausb0scanfailed.idontknownwhy,butitworksatbackground.
[root@localhostModule]#iwlistrausb0scan
rausb0Interfacedoesn''tsupportscanning.


----------------------------------------------------------

iwconfigtocheckifyourWirelesscardhasbeenrecognizedornot

[root@localhostModule]#iwconfig
lonowirelessextensions.

eth1nowirelessextensions.

eth0nowirelessextensions.

rausb0RT73WLANESSID:"Your_WirelessName"
Mode:ManagedChannel=6AccessPoint:00:1B:11:15:01:73
BitRate=54Mb/s
RTSthr:offFragmentthr:off
Encryptionkey:xxx-xxx-xxx-xxx-xxx-xxx

ifEncryptionkey:off,uneedtousethistomakethewirelessconnecttotheRouter

iwconfigrausb0keys:Your_password

-------------------------------------------------------------------------------

Puttheseunacceptablemodulestoblacklist
#vi/etc/modprobe.d/blacklist


blacklistrt2x00lib
blacklistrt2x00usb
blacklistrt73usb

--------------------------------------------------------------------------------
#vi/etc/sysconfig/network-scripts/ifcfg-rausb0

DEVICE=rausb0
ONBOOT=yes
HWADDR=YourMACAddress
BOOTPROTO=dhcp
PEERDNS=no



##ConfirmyourAPsupportsdhcporconnectsuptheethernet
##beforeset-upasadynamicIP
#BOOTPROTO=dhcp

NETMASK=
DHCP_HOSTNAME=
IPADDR=
DOMAIN=
TYPE=Wireless
ESSID=YourWirlessName
CHANNEL=6
MODE=Master
RATE=Auto
USERCTL=no
IPV6INIT=no


---------------------------------------------------------------------


#vi/etc/sysconfig/network



NETWORKING=yes
HOSTNAME=localhost.localdomain
NOZEROCONF=yes(ensureyouhavethis)
----------------------------------------------------------------------



alsoucanuse

ifuporifdowntoswitchonoroffthenetwork.



----------------------------------------------------------------------

itshouldworkthen

FC8 无线网络 RT73 TL_WN321G USBFC8 无线网络 RT73 TL_WN321G USBFC8 无线网络 RT73 TL_WN321G USBFC8 无线网络 RT73 TL_WN321G USBFC8 无线网络 RT73 TL_WN321G USBFC8 无线网络 RT73 TL_WN321G USBFC8 无线网络 RT73 TL_WN321G USBFC8 无线网络 RT73 TL_WN321G USBFC8 无线网络 RT73 TL_WN321G USBFC8 无线网络 RT73 TL_WN321G USB
阅读(600) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~