Page 1 of 29 12311 ... LastLast
Results 1 to 10 of 283

Thread: HOWTO: RT61 on Egdy Eft with WPA

  1. #1
    Join Date
    Nov 2006
    Location
    Germany
    Beans
    39
    Distro
    Kubuntu 6.10 Edgy

    Arrow HOWTO: RT61 on Egdy Eft with WPA

    This guide is for all Edgy users running a RT61 chipset WLAN card. If you follow all the steps described below, you should have running a WPA (WPA-PSK/TKIP) connection to your Access Point.
    Please let me know if you have any suggestions or if something is wrong.
    I've got everything running doing all these steps on a fresh and clean installation of Kubuntu Edgy Eft with standard options.

    1.) Download the latest original Ralink RT61 drivers from:
    Code:
    $> wget http://www.ralinktech.com/drivers/Linux/RT61_Linux_STA_Drv1.1.0.0.tar.gz
    Note: I wrote the guide for 1.0.4.0, but it is no longer available for download. However, it should work with the new driver as well. If it does, please post that.
    2.) Compile the Module
    Install the kernel headers corresponding to your kernel (In most cases it should be installed by default, but it seems there are derivates which won't do that)
    Code:
    sudo apt-get install linux-headers-`uname -r`
    Code:
    $> tar xvfz RT61_Linux_STA_Drv1.0.4.0.tar.gz
    $> cd RT61_Linux_STA_Drv1.0.4.0/Module/
    $> cp -f Makefile.6 Makefile
    $> make all
    3.) Get root
    Code:
    $> sudo su
    4.) Prepare Config directory for the module
    Code:
    #> mkdir -p /etc/Wireless/RT61STA/
    #> cp *.bin /etc/Wireless/RT61STA/
    #> cp rt61sta.dat /etc/Wireless/RT61STA/
    5.) Install Kernel Module
    Code:
    #> cp rt61.ko /lib/modules/`uname -r`/kernel/drivers/net/
    #> depmod
    6.) Configure module via rt61sta.dat (use binary edit mode)
    Code:
    #> vi -b /etc/Wireless/RT61STA/rt61sta.dat
    See readme file in Modules directory for description.
    For WPAPSK Authentification I've changed settings as following:
    Code:
    SSID=<SSID of Access Point>
    NetworkType=Infra
    AuthMode=WPAPSK
    EncrypType=TKIP
    WPAPSK=<Secret WPA key>
    NOTE: For some reason there seem to be problems if the WPA key is longer than 52 characters and/or contains non-alphanumeric characters.

    7.) Remove broken preinstalled Module
    #> modprobe --remove rt61pci
    8.) Load module rt61
    Code:
    #> modprobe rt61
    9.) Check whether device ra0 has been loaded
    Code:
    #> iwconfig
    10.) Configure and test device
    Code:
    #> ifconfig ra0 <IpAddress> netmask 255.255.255.0 up
    #> ping <Access Point>
    Now everything SHOULD work!

    Of course we want the device to be up after next reboot, so let's edit some more files:

    Edit modprobe and network config files

    Add broken module to blacklist:
    Code:
    #> echo 'blacklist rt61pci' >> /etc/modprobe.d/blacklist
    Add the new module to module autostart
    Code:
    #> echo 'rt61' >> /etc/modules
    and create an alias
    Code:
    #> echo 'alias ra0 rt61' >> /etc/modprobe.d/aliases
    Now add the interface with your settings to /etc/network/interfaces
    Code:
    #> vi /etc/network/interfaces
    comment out the preconfigured wlan0 interface and add following lines (with your ips)
    For a static IP address:
    Code:
    iface ra0 inet static
    address <your ip>
    netmask 255.255.255.0
    gateway <ip of your access point>
    auto ra0
    If you want to use DHCP (thanks to neveceral):
    Code:
    iface ra0 inet dhcp
    wireless-essid YOURESSID
    auto ra0

    Reboot - Try - Be Happy!
    Last edited by phq; November 23rd, 2006 at 08:49 AM.

  2. #2
    Join Date
    Nov 2005
    Beans
    13

    Re: HOWTO: RT61 on Egdy Eft with WPA

    Your tutorial is missing an important step. You do not have people downloading the kernel headers anywhere.

  3. #3
    Join Date
    Nov 2005
    Beans
    522
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: RT61 on Egdy Eft with WPA

    The drivers were in Dapper, are they broken in Edgy? ie. why do you need to compile from source? Looks to be much the same instructions as found here;

    http://www.ubuntuforums.org/showthread.php?t=132980

    ...apart from compiling the module.

  4. #4
    Join Date
    Oct 2006
    Location
    The Netherlands
    Beans
    82

    Re: HOWTO: RT61 on Egdy Eft with WPA

    Quote Originally Posted by techstop View Post
    The drivers were in Dapper, are they broken in Edgy? ie. why do you need to compile from source? Looks to be much the same instructions as found here;

    http://www.ubuntuforums.org/showthread.php?t=132980

    ...apart from compiling the module.
    Well for me the procedure in the first post DID work whereas the procedure in the other thread did not work for me.

    So, thanks a lot!

  5. #5
    Join Date
    Nov 2006
    Beans
    2

    Re: HOWTO: RT61 on Egdy Eft with WPA

    phq you are a star! For a week I've been following various guides, but none seemed to do the trick. Came across yours an hour ago and followed it to the letter. And now I have wireless again. Woohoo

  6. #6
    Join Date
    Nov 2006
    Beans
    45

    Re: HOWTO: RT61 on Egdy Eft with WPA

    I just can't get it working with WPA...

    It worked fine without encryption, with WEP128bit, but not with WPA-PSK and I defenitly do not know where to look for the (i bet it's my human...) error.

    Could anybody help me, please?
    Greets, Raubsau (noob)

  7. #7
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: HOWTO: RT61 on Egdy Eft with WPA

    Nice How-to

    This thread has been added to the UDSF wiki.

    bodhi.zazen
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  8. #8
    Join Date
    Nov 2006
    Location
    Germany
    Beans
    39
    Distro
    Kubuntu 6.10 Edgy

    Re: HOWTO: RT61 on Egdy Eft with WPA

    Thanks for your replies and I'm glad I was able to help some of you guys!

    Sure, this guide may contain similar steps as other guides, but I wanted to reflect exactly the steps I did to get it working on my machine. As i wrote this guide is especially for clean Edgy installations which requires some different steps than described in other guides (like blacklisting the rt61pci module and _not_ downloading any kernel headers).

  9. #9
    Join Date
    Nov 2006
    Location
    Germany
    Beans
    39
    Distro
    Kubuntu 6.10 Edgy

    Re: HOWTO: RT61 on Egdy Eft with WPA

    Quote Originally Posted by Raubsau View Post
    I just can't get it working with WPA...

    It worked fine without encryption, with WEP128bit, but not with WPA-PSK and I defenitly do not know where to look for the (i bet it's my human...) error.

    Could anybody help me, please?
    Greets, Raubsau (noob)
    tried the guide?

  10. #10
    Join Date
    Nov 2006
    Beans
    45

    Re: HOWTO: RT61 on Egdy Eft with WPA

    Yes, that's what I did. Still it won't work

    Or should I do the next clean install and try it again? It works fine without any encryption, but only a MAC filter for security? Too many bad kids around...

Page 1 of 29 12311 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •