Instructions for using the ralink rt73 chipset for the Wireless 802.11b/g Turbo Mode USB2.0 High-Gain Adapter EW-7318USg in fedora 8.
http://www.edimax.com/en/support_det...p%3D1&pd_id=8:
See post2 for additional comments and updates to this guide:
http://forums.fedoraforum.org/showpo...57&postcount=2
_____________________________
ralink modules included in fedora 8 kernel update:
/lib/modules/2.6.23.9-85.fc8/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
/lib/modules/2.6.23.9-85.fc8/kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko
/lib/modules/2.6.23.9-85.fc8/kernel/drivers/net/wireless/rt2x00/rt2x00usb.ko
/lib/modules/2.6.23.9-85.fc8/kernel/drivers/net/wireless/rt2x00/rt61pci.ko
/lib/modules/2.6.23.9-85.fc8/kernel/drivers/net/wireless/rt2x00/rt73usb.ko
/lib/modules/2.6.23.9-85.fc8/kernel/drivers/net/wireless/rt2x00/rt2400pci.ko
/lib/modules/2.6.23.9-85.fc8/kernel/drivers/net/wireless/rt2x00/rt2500pci.ko
/lib/modules/2.6.23.9-85.fc8/kernel/drivers/net/wireless/rt2x00/rt2500usb.ko
When i upgraded the kernel and rebooted wlan0 worked as usual however on the second reboot with the new kernel i received a lot of errors. Blacklisting the other modules is sufficient and is reliable and trouble free.
To blacklist the modules from start up type at the prompt:
Code:
su -
gedit /etc/modprobe.d/blacklist
insert the following:
Code:
blacklist rt2x00lib
blacklist rt2x00pci
blacklist rt2x00usb
blacklist rt61pci
blacklist rt73usb
blacklist rt2400pci
blacklist rt2500pci
blacklist rt2500usb
save and exit
Next type at the prompt
If you want to delete the modules instead of open a terminal and the type at the prompt: It is not required but i have the left the step here for interest sake.
Code:
su -
rm -rf /lib/modules/2.6.23.9-85.fc8/kernel/drivers/net/wireless/rt2x00/rt73usb.ko
depmod -a
NOTE
Do not
plugin your adapter until you have finished compiling the driver and REBOOTED your machine. Always insert your adapter before you boot up and remove it after you have shutdown. i had to do a complete re-installation of fedora because as i inserted the wireless adapter straight after i compiled the driver.
Update: if the wireless adapter is no longer detected i believe the problem is with the daily driver module from serialmonkey. Download version rt73-cvs-2007070309 from the link at the bottom of this post as it is reliable and has never failed on me once. Other driver versions have failed at times. Compile and the module as usual. and you will be back online in no time at all.
To update module:
a). Copy the serialmonkey rt73 driver to the home directory
b). Open a terminal and type at the prompt:
Code:
cd /home/jonathon/rt73-cvs-2007070309/Module
make clean
make
c).Now do the make install command:
Code:
su -
cd /home/jonathon/rt73-cvs-2007070309/Module
make install
d). You need to create 'network-script' if you have not done so before:
Add the following information with the 'Hdwaddr'. To find the 'hdwaddr' for the card type at the prompt:
Code:
su
gedit /etc/sysconfig/network-scripts/ifcfg-wlan0
Code:
# rt73
DEVICE=wlan0
BOOTPROTO=dhcp
HWADDR=00:0E:2E:CE:72:D1
ONBOOT=yes
TYPE=wireless
save and exit.
reboot
_______________________
Installation guide starts here. See
update above for removing or blacklisting modules from the new kernel.
1. The first step is to update Fedora 8 and reboot.
Note you can install gcc during the fedora 7 installation which will also give you the kernel-devel and kernel-headers as well which are needed to compile the kernel module.
Code:
yum -y install kernel kernel-headers kernel-devel gcc
2. Next you need to blacklist the rt drivers that come your current kernel to prevent it from loading at the boot (see update above for blacklist)
After you have deleted the module type at the prompt:
3. Next download the rt73 (USB) driver from
http://rt2x00.serialmonkey.com/rt73-cvs-daily.tar.gz
4. Unpack the folder and install the rt73 driver using the instructions in the 'README' file.
Example:
[jonathon@localhost ~]$
Code:
cd /home/jonathon/rt73-cvs-2008010205/Module
[jonathon@localhost Module]$
make[1]: Entering directory `/usr/src/kernels/2.6.23.9-85.fc8-i686'
CC [M] /home/jonathon/rt73-cvs-2008010205/Module/rtmp_main.o
CC [M] /home/jonathon/rt73-cvs-2008010205/Module/mlme.o
CC [M] /home/jonathon/rt73-cvs-2008010205/Module/connect.o
CC [M] /home/jonathon/rt73-cvs-2008010205/Module/rtusb_bulk.o
CC [M] /home/jonathon/rt73-cvs-2008010205/Module/rtusb_io.o
CC [M] /home/jonathon/rt73-cvs-2008010205/Module/sync.o
CC [M] /home/jonathon/rt73-cvs-2008010205/Module/assoc.o
CC [M] /home/jonathon/rt73-cvs-2008010205/Module/auth.o
CC [M] /home/jonathon/rt73-cvs-2008010205/Module/auth_rsp.o
CC [M] /home/jonathon/rt73-cvs-2008010205/Module/rtusb_data.o
CC [M] /home/jonathon/rt73-cvs-2008010205/Module/rtmp_init.o
CC [M] /home/jonathon/rt73-cvs-2008010205/Module/sanity.o
CC [M] /home/jonathon/rt73-cvs-2008010205/Module/rtmp_wep.o
CC [M] /home/jonathon/rt73-cvs-2008010205/Module/rtmp_info.o
CC [M] /home/jonathon/rt73-cvs-2008010205/Module/rtmp_tkip.o
CC [M] /home/jonathon/rt73-cvs-2008010205/Module/wpa.o
CC [M] /home/jonathon/rt73-cvs-2008010205/Module/md5.o
CC [M] /home/jonathon/rt73-cvs-2008010205/Module/rt2x00debug.o
LD [M] /home/jonathon/rt73-cvs-2008010205/Module/rt73.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/jonathon/rt73-cvs-2008010205/Module/rt73.mod.o
LD [M] /home/jonathon/rt73-cvs-2008010205/Module/rt73.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.23.9-85.fc8-i686'
!!! WARNING: Module file much too big (>1MB)
!!! Check your kernel settings or use 'strip'
*** Module rt73.ko built successfully
[jonathon@localhost Module]$
Password:
[root@localhost ~]#
Code:
cd /home/jonathon/rt73-cvs-2008010205/Module
[root@localhost Module]#
*** Install module in /lib/modules/2.6.23.9-85.fc8/extra ...
make[1]: Entering directory `/usr/src/kernels/2.6.23.9-85.fc8-i686'
INSTALL /home/jonathon/rt73-cvs-2008010205/Module/rt73.ko
DEPMOD 2.6.23.9-85.fc8
make[1]: Leaving directory `/usr/src/kernels/2.6.23.9-85.fc8-i686'
/sbin/depmod -a
*** Update /etc/modprobe.d/ralink alias for wlan*
*** Install firmware in /lib/firmware ...
*** Check old config ...
[root@localhost Module]#
5. The next step is to configure the wlan0 settings as stated in the 'README' file. Unfortunately it does not tell you the ipconfig and iwconfig commands so you can connect online.
Open a terminal or continue on and INSERT your own Internet configuration into the following commands:
(A tip for newbies; type 'ipconfig /all' in the 'command prompt' in windows xp while testing your wireless card to obtain the internet configuration details eg internet address, default gateway and DNS server configuration.)
[jonathon@localhost ~]$ su -
Password:
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
wlan0 Scan completed :
Cell 01 - Address: 00:1A:70:E5:53:59
ESSID:"aroon"
Mode:Managed
Channel:5
Encryption key:off
Bit Rates:0 kb/s
[root@localhost ~]#
Code:
iwconfig wlan0 ap 00:1A:70:E5:53:59
or could use the following command instead:
Code:
iwconfig wlan0 ap any
[root@localhost ~]#
Code:
ifconfig wlan0 192.168.1.102 netmask 255.255.255.0
[root@localhost ~]#
Code:
echo nameserver 192.168.1.1 > /etc/resolv.conf
[root@localhost ~]#
Code:
echo nameserver 203.121.130.39 >> /etc/resolv.conf
[root@localhost ~]#
Code:
echo nameserver 203.144.255.72 >> /etc/resolv.conf
[root@localhost ~]#
Code:
cat /etc/resolv.conf
nameserver 192.168.1.1
nameserver 203.121.130.39
nameserver 203.144.255.72
[root@localhost ~]#
Code:
route add default gw 192.168.1.1
[root@localhost ~]#
wlan0 Link encap:Ethernet
HWaddr 00:0E:2E
E:72
1
inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20e:2eff:fece:72d1/64 Scope:Link
6.Now to
enable wlan0 to start on boot you need to create a network script. Open a terminal and type the following:
Add the following information with the 'Hdwaddr'. To find the 'hdwaddr' for the card type at the prompt:
Code:
su
gedit /etc/sysconfig/network-scripts/ifcfg-wlan0
Code:
# rt73
DEVICE=wlan0
BOOTPROTO=dhcp
HWADDR=00:0E:2E:CE:72:D1
ONBOOT=yes
TYPE=wireless
save and exit.
Now if you want to assign a static ip address then use the following layout with your own internet configuration:
Code:
# rt73
DEVICE=wlan0
BOOTPROTO=static
ONBOOT=yes
HWADDR=00:0E:2E:CE:72:D1
IPADDR=192.168.1.102
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
BROADCAST=192.168.1.255
When you reboot wlan0 (rt73) will automatically start. You can also start your wireless connection in
System>Network> and click to activate wlan0 if the connection stops. Network manager does not work for some reason so you have to it manually.
Great job serialmonkey cheers johnny
rt73-cvs-2007070309