Page 28 of 29 FirstFirst ... 1826272829 LastLast
Results 271 to 280 of 283

Thread: HOWTO: RT61 on Egdy Eft with WPA

  1. #271
    Join Date
    Mar 2007
    Location
    Florida
    Beans
    73
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: RT61 on Egdy Eft with WPA

    This didn't work for me, so heres what I did to make it work perfectly.

    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`
    ^^ Did NOT need to do.

    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
    ENTER FOLLOWING:

    Code:
    [Default]
    NetworkType=Infra
    AuthMode=SHARED
    EncrypType=WEP
    DefaultKeyID=1
    Key1=<KEY>
    SSID=<WIRELESS SSID>
    7.) Remove broken preinstalled Module


    8.) Load module rt61
    Code:
    #> modprobe rt61
    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
    Create file named StartWifi.sh in /etc/init.d/
    Code:
    #!/bin/sh
    sudo modprobe --remove rt61pci
    sudo modprobe rt61
    sudo iwpriv ra0 set NetworkType=Infra
    sudo iwpriv ra0 set AuthMode=SHARED
    sudo iwpriv ra0 set EncrypType=WEP
    sudo iwpriv ra0 set DefaultKeyID=1
    sudo iwpriv ra0 set Key1=<KEY>
    sudo iwpriv ra0 set SSID=<WIRELESS SSID>
    sudo dhclient ra0
    Enter the following terminal commands
    Code:
    sudo chmod 0755 /etc/init.d/StartWifi.sh
    sudo ln -s /etc/init.d/STartWifi.sh /etc/rc2.d/S90StartWifi.sh
    Reboot - Try - Be Happy!

    Now, If you do a kernel update do the following:

    copy rt61.ko from /lib/modules/(OLD KERNEL)/kernel/drivers/net to /lib/modules/(NEW KERNEL)/kernel/drivers/net

    then run the following terminal command:
    Code:
     sudo depmod
    And that should be it!!!

    I did not make this up myself, I took some of the info from this post, some from another post, and some from help from very nice people in IRC.

  2. #272
    Join Date
    Aug 2006
    Location
    Columbia, Missouri
    Beans
    10
    Distro
    Ubuntu 6.06 Dapper

    Re: HOWTO: RT61 on Egdy Eft with WPA

    YES! SUCCESS! Thank you so much! This has taken me an entire week to figure out since Im noobtastic, but now all is well in the universe! I can go on with my life.=D>

  3. #273
    Join Date
    Sep 2006
    Location
    Denmark
    Beans
    Hidden!
    Distro
    Xubuntu 8.10 Intrepid Ibex

    Re: HOWTO: RT61 on Egdy Eft with WPA

    Has anyone upgraded to Feisty yet? I've thought about doing it but if it means that the wireless is not going to work then i'd rather not. Any suggestions? I read here http://ubuntuforums.org/showthread.php?t=408987 something about not being able to use WAP. Is this true?

    Any suggestions???
    UlTraNoiz3

  4. #274
    Join Date
    Sep 2006
    Location
    Oklahoma
    Beans
    Hidden!

    Re: HOWTO: RT61 on Egdy Eft with WPA

    Quote Originally Posted by ultranoize View Post
    Has anyone upgraded to Feisty yet? I've thought about doing it but if it means that the wireless is not going to work then i'd rather not. Any suggestions? I read here http://ubuntuforums.org/showthread.php?t=408987 something about not being able to use WAP. Is this true?

    Any suggestions???
    I was unable to connect to any network, let alone see any network.

  5. #275
    Join Date
    May 2007
    Location
    england
    Beans
    1
    Distro
    Ubuntu 7.04 Feisty Fawn

    Smile Re: HOWTO: RT61 on Egdy Eft with WPA

    Following this howto, seems to work ok, on my freshly installed 2.6.20-15 Feisty Fawn system with Lynksys wmp54g and BT Wireless service. One deviation from the procedure...

    My "make all" did not work when building the driver as downloaded from ralinktech.com. I had to comment out one line (197) in file RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c to get it to build:

    #if WIRELESS_EXT >= 12
    // net_dev->get_wireless_stats = RT61_get_wireless_stats;
    net_dev->wireless_handlers = (struct iw_handler_def *) &rt61_iw_handler_def;
    #endif

    The wireless.h file on my system has been changed to remove get_wireless_stats.

    Aside from that, procedure works fine. My rt61sta.dat file reads:

    [Default]
    CountryRegion=0
    CountryRegionABand=7
    WirelessMode=0
    SSID=BTHomeHub-181B
    NetworkType=Infra
    Channel=0
    AuthMode=OPEN
    EncrypType=WEP
    DefaultKeyID=1
    Key1Type=hexadecimal
    Key1Str=.......... (my 10 digit hex key entered in here)
    Key2Type=0
    Key2Str=
    Key3Type=0
    Key3Str=
    Key4Type=0
    Key4Str=
    WPAPSK=abcdefghijklmnopqrstuvwxyz
    TxBurst=0
    PktAggregate=0
    WmmCapable=0
    APSDCapable=0
    APSDAC=0;0;0;0
    BGProtection=0
    IEEE80211H=0
    TxRate=0
    RTSThreshold=2347
    FragThreshold=2346
    RoamThreshold=75
    PSMode=CAM
    TxPreamble=0
    FastRoaming=0

    Hope this helps!
    Ciao...

  6. #276
    Join Date
    Jun 2006
    Beans
    70

    Re: HOWTO: RT61 on Egdy Eft with WPA

    I have been wrestling with wifi and Feisty for over a week. Everything worked fine until I upgraded to 7.04!

    Well, after some tinkering, I have gotten the wifi to work following the tutorial mentioned in post #4 of this thread, as modified by post #1. However, it only boots up manually and I cannot get wifi to fire up on start up...I need to manually launch every time I boot up?" But it does not fire up wifi on start up....any suggestions?

  7. #277
    Join Date
    May 2005
    Location
    Flateby, Norway
    Beans
    71
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOWTO: RT61 on Egdy Eft with WPA

    I'm bringing this thread up again.
    I have a machine with Fluxbuntu (based on Ubuntu Dapper drake) and the rt61 wireless. Previously my network has had WEP encryption. Back then everything worked fine and I had my network connection working. I recently changed that to WPA-PSK. Now, I tried to change the setup for this Fluxbuntu-machine to use WPA-PSK. What I did was the following:

    -Changed to WPA-PSK in /etc/wireless/RT61STA/rt61sta.dat according to this guide.

    -In /etc/network/interfaces I commented out the unused interfaces and I added

    Code:
     iface ra0 inet dhcp
     wireless-essid <MYESSID>
     auto ra0
    Then I tested the setup with

    Code:
    ifup ra0
    All worked fine, I got on the net like a piece of cake. Ok, reboot to see that it works like it should...

    BANG!

    The #¤%& machine won't boot! it hangs on "starting ra0" and I don't get any further!
    Can anybody help me? Obviously I need to use a live CD to fix this, but what should I do?

    Also, at the same time this happened, I lost my wireless connection on my laptop, which I had running in order to read this guide while working. Now I can't connect to the wireless network, neither in Ubuntu (Feisty) nor in Windows (it's a dual-boot system)
    Cabled network is fine.

    Hans Petter

  8. #278
    Join Date
    Sep 2007
    Beans
    11

    Re: HOWTO: RT61 on Egdy Eft with WPA

    Thanks for the HOWTO... Seems to have got my card up and running... Only issue I am now having is that I can't see the base station when scanning...

    Code:
    sudo iwlist ra0 scan
    Code:
    ra0       Scan completed :
              Cell 01 - Address: 00:14:7F:57:1C:4B
                        ESSID:"BTHomeHub-E488"
                        Mode:Managed
                        Channel:6
                        Encryption key:on
                        Bit Rates:0 kb/s
              Cell 02 - Address: 00:14:C1:04:C1:50
                        ESSID:"USR9108"
                        Mode:Managed
                        Channel:11
                        Encryption key:off
                        Bit Rates:0 kb/s
              Cell 03 - Address: 00:13:49:A0:BA:EE
                        ESSID:"ZyXEL"
                        Mode:Managed
                        Channel:6
                        Encryption key:off
                        Bit Rates:0 kb/s
    Great. Only those are my neighbours - mine is not showing up. It is an apple airport extreme base station. I have tried turning off ALL security on it and it still won't show up in the scans.

    Code:
    iwconfig
    Code:
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    ra0       RT61 Wireless  ESSID:""  Nickname:""
              Mode:Auto  Frequency:2.412 GHz  Bit Rate=54 Mb/s   
              RTS thr:off   Fragment thr:off
    Code:
    cat /etc/Wireless/RT61STA/rt61sta.dat
    Code:
    [Default]
    CountryRegion=0
    CountryRegionABand=7
    WirelessMode=0
    SSID=Wireless
    NetworkType=Infra
    Channel=0
    AuthMode=WPAPSK
    EncrypType=TKIP
    DefaultKeyID=1
    Key1Type=0
    Key1Str=0123456789
    Key2Type=0
    Key2Str=
    Key3Type=0
    Key3Str=
    Key4Type=0
    Key4Str=
    WPAPSK=myplaintextpassword
    TxBurst=0
    PktAggregate=0
    WmmCapable=0
    APSDCapable=0
    APSDAC=0;0;0;0
    BGProtection=0
    IEEE80211H=0
    TxRate=0
    RTSThreshold=2347
    FragThreshold=2346
    RoamThreshold=75
    PSMode=CAM
    TxPreamble=0
    FastRoaming=0
    Anyone any ideas about this?

    Oh. And I am running a fresh install of feisty 7.04...

    Thanks
    Alex

  9. #279
    Join Date
    Aug 2007
    Beans
    37
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: RT61 on Egdy Eft with WPA

    The link to the actual driver at Ralinktech.com seem to be down. Can't get further without this..

    Thanks for a nice How-to anyway, just hope this helps. ^^

  10. #280
    Join Date
    Sep 2006
    Location
    Oklahoma
    Beans
    Hidden!

    Re: HOWTO: RT61 on Egdy Eft with WPA

    Quote Originally Posted by googlah View Post
    The link to the actual driver at Ralinktech.com seem to be down. Can't get further without this..

    Thanks for a nice How-to anyway, just hope this helps. ^^
    Newer versions of Ubuntu have the RT61 driver module already.

Page 28 of 29 FirstFirst ... 1826272829 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
  •