Page 1 of 4 123 ... LastLast
Results 1 to 10 of 366

Thread: Install linux drivers for ralink rt2870

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Beans
    2

    Install linux drivers for ralink rt2870

    Installing Linux to Ralink RT2870 driver
    Mess very much with this myself and found out how it should be done:

    1. Downloading the latest drivers http://www.ralinktech.com/support.php?s=2
    (As of this writing, while http://www.ralinktech.com.tw/data/dr....4.0.0.tar.bz2

    2. Extract the archive you downloaded.

    3. Open a terminal.

    4. Go into the folder you extracted (For me 2008_0925_RT2870_Linux_STA_v1.4.0.0 cd)

    5. Use gedit or nano (the text you like) and open Make File.

    6. Watch where the MODE is set to STA (MODE = STA) TARGET is set to LINUX (TARGET = LINUX) save and close.

    7. Visit the os / linux (cd os / linux)

    8. Open config.mk (with the text you like)

    9. Changing these from
    Quote
    # Support wpa_supplicant
    HAS_WPA_SUPPLICANT = n

    # Support for Native WpaSupplicant Network Maganger
    HAS_NATIVE_WPA_SUPPLICANT_SUPPORT = n
    to
    Quote
    # Support wpa_supplicant
    HAS_WPA_SUPPLICANT = y

    # Support for Native WpaSupplicant Network Maganger
    HAS_NATIVE_WPA_SUPPLICANT_SUPPORT = y

    10. Save and Close.

    11. Return to 2008_0925_RT2870_Linux_STA_v1.4.0.0.
    12. Run make. (Can you mail error messages back).
    13. Run make install as root (sudo make install, send feedback here also love)
    14. Visit the os / linux (cd os/linux)
    15. Run insmod rt2870sta.ko
    16. When will all work after my experience, if not follow the next step.
    17. Open /etc/network/interfaces (gedit /etc/network/interfaces).
    18. Please enter the first sentence
    auto ra0
    , Also the other

    iface ra0 inet dhcp
    (dhcp is standard, you need only change to what suits you love.
    19. Then all the work, use encryption, you can configure it with the System> Administration> Network, or network-admin in the terminal.
    20. Almost forgot that you must install build-essential (apt-get install build-essential).
    21. build-essential to be on CD you installed ubuntu with.
    22. How to install build-essential CD.
    23. Open the Terminal (Applications> Accessories> Terminal)
    24. Run apt-cdrom add-d / cdrom (replace / cdrom with the path cdrom is mounted with you)
    25. Run apt-get update.
    26. And run apt-get install build-essential.

    And as already said please respond to this post, or send a mail to nilsa5@tele2.no
    Last edited by nilsa5; May 17th, 2010 at 06:49 PM. Reason: Ralink have updated their download pages

  2. #2
    Join Date
    Dec 2008
    Beans
    1

    Re: Install linux drivers for ralink rt2870

    Thank you so much!! Finally something that works and easily to understand for a newby.

  3. #3
    Join Date
    Feb 2008
    Beans
    17

    Re: Install linux drivers for ralink rt2870

    very nice tutorial finally wireless working without any hassle

  4. #4
    Join Date
    Jan 2009
    Beans
    1

    Re: Install linux drivers for ralink rt2870

    Well, this procedure is working just partially for me. But they are a bit different from those provided by RALINK.
    The card is not found at startup and the system also freezes then, but it works if I plug it in afterwards....

    According to ralink you just have to write make, not make install.afterwards. Why this difference?

    Anybody knowing whether there will be automatic support for this chip/card in the future?

  5. #5
    Join Date
    Aug 2005
    Beans
    6

    Re: Install linux drivers for ralink rt2870

    I'm happy to confirm your method. I was trying a couple of different ways to compile the module, but none worked; when I tried out wicd (after uninstalling the gnome network manager) I saw, my USB Stick is being recognized though (ie, the module worked!), but I couldn't connect. This reminded me, that wpa_supplicant wasn't enabled in my /os/linux/config.mk as you described file

    I first had troubles doing the build process on Intrepid. As I have a Buffalo WLI-UC-G300N USB Wireless Adaptor (Ralink 2870, usb ), I followed a short how-to on a Japanese Blog. Moving the extracted driver files to /usr/src/ solved the problems building it (plus #sudo make).

    Further, I added the Device number from the lsusb output: "Bus 002 Device 004: ID 0411:00e8 MelCo., Inc." as line ca 186 in /include/rt2870.h
    Code:
    	{USB_DEVICE(0x0411,0x00e8)}, /* Buffalo */		\
    That's it, now I have a connection - however, it shows only 1 Mb/s.... Basestation is a fritz!box fon 7270 with wlan n switched on (as well as g)

    Any ideas about the connection speed improvements? My Reception is between 96-100%....

    Thanks anyway

    Nick

    Edit: my speed is now shown as 108 Mbit/s in the base station, as 243 Mbit/s in the network manager info dialog; seems to be perfect!
    Last edited by nick77; January 22nd, 2009 at 08:23 PM. Reason: change of speed status

  6. #6
    Join Date
    Apr 2005
    Location
    Sweden
    Beans
    202
    Distro
    Ubuntu

    Re: Install linux drivers for ralink rt2870

    I posted this wiki a while ago during the Intrepid beta. It works for me under both Intrepid and Jaunty alpha.

    http://ubunturt2870.pbwiki.com/FrontPage

    I have cleaned it up a bit.

  7. #7
    Join Date
    Jan 2009
    Location
    Bangkok, Thailand
    Beans
    208
    Distro
    Edubuntu 10.10 Maverick Meerkat

    Re: Install linux drivers for ralink rt2870

    There is another way to install Ralink drivers, and this is the one that I used. Works great!

    - Download rt2860-source_1.8.0.0-3_all.deb from

    http://packages.debian.org/sid/all/r...ource/download

    - install source .deb:

    Code:
    sudo dpkg -i rt2860-source_1.8.0.0-3_all.deb
    - compile
    Code:
    sudo aptitude install debhelper module-assistant
    Code:
    sudo module-assistant auto-install rt2860
    - install the module
    Code:
    sudo modprobe rt2860sta
    this should activate the new wireless interface without reboot

  8. #8
    Join Date
    Apr 2006
    Beans
    7

    Re: Install linux drivers for ralink rt2870

    wangsuda, right now my /etc/modules contains

    alias ra0 rt2870sta

    This should work the same way like your proposal, or am I wrong? Or do you want me to add your line in addition?

  9. #9
    Join Date
    Jan 2009
    Location
    Bangkok, Thailand
    Beans
    208
    Distro
    Edubuntu 10.10 Maverick Meerkat

    Re: Install linux drivers for ralink rt2870

    Quote Originally Posted by Brausepaul View Post
    wangsuda, right now my /etc/modules contains

    alias ra0 rt2870sta

    This should work the same way like your proposal, or am I wrong? Or do you want me to add your line in addition?
    All you need is the name of the driver module for it to boot automatically, hence just
    Code:
    rt2860sta
    added to the /etc file.

  10. #10
    Join Date
    Apr 2006
    Beans
    7

    Re: Install linux drivers for ralink rt2870

    I changed my /etc/modules file to

    fuse
    lp
    rtc
    #alias ra0 rt2870sta
    rt2860sta

    but I still have to run sudo insmod rt2870sta.ko manually to get my wireless to work.

Page 1 of 4 123 ... LastLast

Tags for this Thread

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
  •