Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: RaLink RT2561/RT61 wireless card installation

  1. #1
    Join Date
    Jan 2008
    Location
    Manchester, UK
    Beans
    57
    Distro
    Ubuntu 10.10 Maverick Meerkat

    RaLink RT2561/RT61 wireless card installation

    Hi,

    I'm having trouble installing my RaLink RT2561/RT61 wireless card. It seems that this driver causes problems for all ubuntu users, and I've tried a couple of work arounds, none of which work for me.

    Firstly I downloaded the most recent driver from here:

    http://www.ralinktech.com/support.php?s=2

    RT2501PCI/mPCI/CB(RT61:RT2561/RT2561S/RT2661) is the driver I downloaded. Next I performed the following steps:

    Code:
    robinsjp@home-desktop:~$ sudo apt-get install linux-headers-`uname -r` build-essential gcc
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    linux-headers-2.6.32-24-generic is already the newest version.
    build-essential is already the newest version.
    gcc is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    I extracted the contents of the download to a directory on the Dekstop. The drivers are in a "Module" subdirectory. I navigate to that folder and do the following:

    Code:
    robinsjp@home-desktop:~/Desktop/2010_0825_RT61_Linux_STA_v1.1.2.6/Module$ make all
    make -C /lib/modules/2.6.32-24-generic/build SUBDIRS=/home/robinsjp/Desktop/2010_0825_RT61_Linux_STA_v1.1.2.6/Module modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.32-24-generic'
      CC [M]  /home/robinsjp/Desktop/2010_0825_RT61_Linux_STA_v1.1.2.6/Module/rtmp_init.o
    /home/robinsjp/Desktop/2010_0825_RT61_Linux_STA_v1.1.2.6/Module/rtmp_init.c: In function ‘NICLoadFirmware’:
    /home/robinsjp/Desktop/2010_0825_RT61_Linux_STA_v1.1.2.6/Module/rtmp_init.c:2919: error: implicit declaration of function ‘current_fsuid’
    /home/robinsjp/Desktop/2010_0825_RT61_Linux_STA_v1.1.2.6/Module/rtmp_init.c:2920: error: implicit declaration of function ‘current_fsgid’
    make[2]: *** [/home/robinsjp/Desktop/2010_0825_RT61_Linux_STA_v1.1.2.6/Module/rtmp_init.o] Error 1
    make[1]: *** [_module_/home/robinsjp/Desktop/2010_0825_RT61_Linux_STA_v1.1.2.6/Module] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-24-generic'
    The source refuses to compile. I've tried creating a /module subdirectory in the linux headers folder, as per this page:

    http://www.physics.nmt.edu/~rsonnenf...ink-2561-rt61/

    I've also tried

    Code:
    sudo KBUILD_NOPEDANTIC=1 make all
    as this page suggests http://ubuntuforums.org/showthread.php?t=1274079 but neither of these things help.

    I'm using Ubuntu 10.04 32 bit.

    Any help is appreciated.

  2. #2
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    22,480
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: RaLink RT2561/RT61 wireless card installation

    I couldn't build it either, using all the power of the gray beard. What is going wrong with the built-in rt61pci?
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  3. #3
    Join Date
    Jan 2008
    Location
    Manchester, UK
    Beans
    57
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: RaLink RT2561/RT61 wireless card installation

    Hi
    Thanks for the quick reply.

    The problem I'm having with rt61pci is that the wireless signal seems to be very weak. If I'm sat directly on top of the router, then it's fine, but if I move away a few metres the signal is lost completely. I don't have windows installed on this box so I can't do a direct comparison with the windows driver, but I have two laptops here that pick up several surrounding wireless networks, while the box using rt61pci is only picking up one network.

    I've been googling this for the past couple of hours and several people have reported weak wireless signals with rt61pci, like this bug report for instance:

    https://bugs.launchpad.net/ubuntu/+s...ux/+bug/508882

    I'm not sure if building the driving from RaLink will help, but as things stand the card is unusable. Just for reference:

    Code:
    lspci | grep Ra
    01:06.0 Network controller: RaLink RT2561/RT61 802.11g PCI
    Code:
    lsmod | grep rt61
    rt61pci                18920  0 
    crc_itu_t               1371  1 rt61pci
    rt2x00pci               5995  1 rt61pci
    rt2x00lib              27509  2 rt61pci,rt2x00pci
    eeprom_93cx6            1333  1 rt61pci
    Code:
    iwconfig
    lo        no wireless extensions.
    
    eth2      no wireless extensions.
    
    wlan1     IEEE 802.11bg  ESSID:"eTec"  
              Mode:Managed  Frequency:2.462 GHz  Access Point: 00:13:64:3B:24:FF   
              Bit Rate=54 Mb/s   Tx-Power=11 dBm   
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Power Management:on
              Link Quality=54/70  Signal level=-56 dBm  
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    Thanks

  4. #4
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    22,480
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: RaLink RT2561/RT61 wireless card installation

    I'm not sure I have any viable answer. You might try:
    Code:
    sudo rmmod -f rt61pci
    sudo modprobe rt61pci nohwcrypt=1
    It's the only parameter available, according to modinfo rt61pci and I'm not sure how it could affect your issue, but it costs nothing to try.

    If it works, we can write a conf file and make it permanent.

    You might email the developer of the Ralink tarball and complain that the file won't make.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  5. #5
    Join Date
    Jan 2008
    Location
    Manchester, UK
    Beans
    57
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: RaLink RT2561/RT61 wireless card installation

    I tried adding this option, and it doesn't improve the signal as far as I can see, there is only one visible network. I'll try emailing RaLink and see if I get a reply from them.

    Edit:

    http://rt2x00.serialmonkey.com/phpBB...php?f=5&t=6075

    This seems to cover the problem I'm facing. Maybe I'll jump on that thread and hope someone can help us out.
    Last edited by jpr0; September 14th, 2010 at 02:54 AM.

  6. #6
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    22,480
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: RaLink RT2561/RT61 wireless card installation

    Have you tried linux-backports-modules-wireless? There is evidently an updated rt61pci in there.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  7. #7
    Join Date
    Jan 2008
    Location
    Manchester, UK
    Beans
    57
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: RaLink RT2561/RT61 wireless card installation

    Okay it will take a while to download this. Just to be sure, uname -r gives: 2.6.32-24-generic

    So I should install the following package?

    linux-backports-modules-wireless-2.6.32-24-generic-pae

    (I initially installed the wrong one, for 2.6.35... should I remove this?)

  8. #8
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    22,480
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: RaLink RT2561/RT61 wireless card installation

    I don't think you want pae. You should find and install linux-backports-modules-wireless-2.6.32-24-generic as well as linux-backports-modules-wireless-lucid-generic. The latter is designed to keep installing the latest version when a newer kernel image is installed; 2.6.32-555, for example.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  9. #9
    Join Date
    Apr 2007
    Location
    Morrisville, NY
    Beans
    2,149

    Re: RaLink RT2561/RT61 wireless card installation

    Btw - not to barge in on your thread chili but jpr0 I thought you should know PAE is "Physical Address Extension" and it's an ideal kernel for utilizing more than 3.2 GB of memory if you ever wanted to.

  10. #10
    Join Date
    Jan 2008
    Location
    Manchester, UK
    Beans
    57
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: RaLink RT2561/RT61 wireless card installation

    Quote Originally Posted by strAlan View Post
    Btw - not to barge in on your thread chili but jpr0 I thought you should know PAE is "Physical Address Extension" and it's an ideal kernel for utilizing more than 3.2 GB of memory if you ever wanted to.
    Thanks, I wasn't aware of what it was exactly. It's handy to know though, because I want to put more than 3 Gb in my own computer (the one I'm on at the moment isn't mine) and I was thinking of switching to a 64 bit OS. They don't seem as thoroughly supported as the 32 bit versions though.

    Anyway, chili I installed the wireless backports module, but I don't notice any difference in the rt61pci module:

    Code:
    modinfo rt61pci 
    filename:       /lib/modules/2.6.32-25-generic/updates/compat-wireless-2.6.34/rt61pci.ko
    license:        GPL
    firmware:       rt2661.bin
    firmware:       rt2561s.bin
    firmware:       rt2561.bin
    description:    Ralink RT61 PCI & PCMCIA Wireless LAN driver.
    version:        2.3.0
    author:         http://rt2x00.serialmonkey.com
    srcversion:     A658F54642571F722E33A38
    alias:          pci:v00001814d00000401sv*sd*bc*sc*i*
    alias:          pci:v00001814d00000302sv*sd*bc*sc*i*
    alias:          pci:v00001814d00000301sv*sd*bc*sc*i*
    depends:        rt2x00pci,rt2x00lib,crc-itu-t,eeprom_93cx6
    vermagic:       2.6.32-25-generic SMP mod_unload modversions 586 
    parm:           nohwcrypt:Disable hardware encryption. (bool)
    It's late here so I'm going to sleep. I'll check back here tomorrow. Thanks for your help.

Page 1 of 3 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
  •