Setting up Edimax EW-7318USg under Linux

by

This is from here:

Edimax EW-7318USg aka Hawking HWUG1 (rebranded in US)

# Driver : rt73
# Chipset : Ralink
Ralink RT2571W chipset (can be used with rt73 drivers)
chipset : RT2571WF or RT2528L

HOWTO:RT2500 wireless cards etc. sticky
Ralink 257x/2671 using RT73 driver?

======================
I think that you might be doing some of these steps in the wrong order. eg from the instructions I was given you need to blacklist first. Here are the instructions I use:

1. sudo rmmod rt73usb (remove old drivers)

2. sudo gedit /etc/modprobe.d/blacklist and add these lines to the end of the file:

blacklist rt73usb
blacklist rt2570
blacklist rt2x00lib
blacklist rt2500usb
blacklist rt2x00usb

3. sudo apt-get install build-essential

4. sudo apt-get install linux-headers-`uname –r`

5. get the latest version of the driver source from the serialmonkey site. The name is rt73-cvs-daily.tar.gz. I saved it in my user dir:

6. sudo wget http://rt2x00.serialmonkey.com/rt73-cvs-daily.tar.gz -O ~/rt73-cvs-daily.tar.gz

7. sudo tar -zxvf rt73-cvs-daily.tar.gz

8. cd ~/rt73*/Module

9. sudo make

10. if the file produced is 2Mb in size there is a problem as it should be about 250Kb. To fix this, use the “strip” command:
strip –S rt73.ko

11. sudo make install

12. sudo modprobe rt73

13. as sudo, edit /etc/modules – add the text rt73 at the end

14. as sudo, create text file called rt73 in /etc/modprobe.d

15. put the text “alias wlan0 rt73” in this file

16. remove /etc/modprobe.conf as it’s no longer needed (back it up first – but note I didn’t have one)

17. add the following to /etc/network/interfaces file. You might need to customise this to suit your particular situation (eg if you don’t use WPA encryption):

auto wlan0
iface wlan0 inet dhcp
pre-up ifconfig wlan0 up
pre-up ifconfig wlan0 down
pre-up ifconfig wlan0 up
pre-up iwconfig wlan0 essid “yourSSID” # use quotes if you have spaces in the name of essid
pre-up iwconfig wlan0 mode Managed
pre-up iwpriv wlan0 set Channel=11 # change channel accordingly
pre-up iwpriv wlan0 set AuthMode=WPAPSK
pre-up iwpriv wlan0 set EncrypType=TKIP
pre-up iwpriv wlan0 set WPAPSK=”yourkey”
pre-up ifconfig wlan0 up

18. reboot

Advertisements

5 Responses to “Setting up Edimax EW-7318USg under Linux”

  1. Vinicius Assef Says:

    Great post! Thank you.

    The driver is not available on the link above. I’ve found it at http://sourceforge.net/projects/rt2400 and made manual download to my home dir.


    Vinicius Assef

  2. Tom Says:

    You, my friend, are a life saver. Many, many thanks!

  3. Charlie Says:

    Help! I am trying to get an Edimax WW-7318USG running on a Kubuntu Hardy system (kernel 2.6.24). I went through the whole procedure listed here, and rt73 installs just fine. However, the system never recognizes the adapter, so there’s no wlan0 available and thus nothing for rt73 to do!

    When I plug in the adapter, I just get

    kernel: [92396.334414] usb 5-7: new high speed USB device using ehci_hcd and address 7
    kernel: [92396.605502] usb 5-7: configuration #1 chosen from 1 choice

    lsusb says only (for this device)

    Bus 005 Device 006: ID 7392:7318

    with no other identifying information.

    Does anyone know how to get the system to recognize this as a wireless network adapter and assign it wlan0 ?

  4. Thiago Says:

    Driver is not found…

  5. VPN-Zugang Says:

    VPN-Zugang…

    Setting up Edimax EW-7318USg under Linux « Look here first!…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: