Page 1 of 11 123 ... LastLast
Results 1 to 10 of 283

Thread: HOWTO: RT61 on Egdy Eft with WPA

Hybrid View

  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
    Jun 2006
    Beans
    37

    Re: HOWTO: RT61 on Egdy Eft with WPA

    Quote Originally Posted by phq View Post
    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)
    Code:
    iface ra0 inet static
    address <your ip>
    netmask 255.255.255.0
    gateway <ip of your access point>
    auto ra0
    Settings for DHCP
    Code:
    iface ra0 inet dhcp
    wireless-essid YOURESSID
    auto ra0

  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 the dhcp settings, I will add them to the howto.
    tetris is so unrealistic...

  9. #9
    Join Date
    May 2005
    Location
    Kalmar, Sweden
    Beans
    31

    Re: HOWTO: RT61 on Egdy Eft with WPA

    I can't get this to work for some reason:

    Code:
    daniel@atlantis:~/RT61_Linux_STA_Drv1.0.4.0/Module$ make all
    make -C /lib/modules/2.6.17-10-server/build SUBDIRS=/home/daniel/RT61_Linux_STA_Drv1.0.4.0/Module modules
    make[1]: Entering directory `/lib/modules/2.6.17-10-server/build'
    make[1]: *** No rule to make target `modules'.  Stop.
    make[1]: Leaving directory `/lib/modules/2.6.17-10-server/build'
    make: *** [all] Error 2
    Any ideas?

  10. #10
    Join Date
    Mar 2006
    Beans
    559

    Re: HOWTO: RT61 on Egdy Eft with WPA

    when I do the iwconfig to check if the device is present, I get a ra0_ifrename...I can tell I'm close, but no device exists with that name...it seems to have a connection, though (the link light is blinking like crazy)

    any ideas?

Page 1 of 11 123 ... 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
  •