Page 1 of 37 12311 ... LastLast
Results 1 to 10 of 366

Thread: Install linux drivers for ralink rt2870

  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
    Beans
    4

    Question Re: Install linux drivers for ralink rt2870

    Hi,

    I have tried every thing. After a fresh install of ubuntu 8.10 and updated I follow the procedure it works but the minute I reboot the machine no wireless connection although the led on the usb adaptor blinks

    My problem is the following when I compile and install:

    make -C tools
    make[1]: Entering directory `/home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory `/home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/tools'
    /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/tools/bin2h
    cp -f os/linux/Makefile.6 /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/Makefile
    make -C /lib/modules/2.6.27-9-generic/build SUBDIRS=/home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.27-9-generic'
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/md5.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/mlme.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/rtmp_wep.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/action.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/cmm_data.o
    /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/cmm_data.c: In function ‘RTMP_FillTxBlkInfo’:
    /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/cmm_data.c:713: warning: label ‘FillTxBlkErr’ defined but not used
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/rtmp_init.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/rtmp_tkip.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/cmm_sync.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/eeprom.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/cmm_sanity.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/cmm_info.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/cmm_wpa.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/dfs.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/spectrum.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../sta/assoc.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../sta/aironet.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../sta/auth.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../sta/auth_rsp.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../sta/sync.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../sta/sanity.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../sta/rtmp_data.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../sta/connect.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../sta/wpa.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_profile.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_main_dev.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/sta_ioctl.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/ba_action.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/2870_main_dev.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/2870_rtmp_init.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/rtusb_io.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/rtusb_bulk.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/rtusb_data.o
    CC [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/cmm_data_2870.o
    LD [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/rt2870sta.o
    Building modules, stage 2.
    MODPOST 1 modules
    WARNING: modpost: Found 1 section mismatch(es).
    To see full details build your kernel with:
    'make CONFIG_DEBUG_SECTION_MISMATCH=y'
    CC /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/rt2870sta.mod.o
    LD [M] /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/rt2870sta.ko
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-9-generic'
    cp -f /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/rt2870sta.ko /tftpboot
    make -C /home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux -f Makefile.6 install
    mkdir: cannot create directory `/etc/Wireless': File exists
    make[1]: Entering directory `/home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux'
    rm -rf /etc/Wireless/RT2870STA
    rm: cannot remove `/etc/Wireless/RT2870STA/RT2870STA.dat': Permission denied
    make[1]: *** [install] Error 1
    make[1]: Leaving directory `/home/gordon/Desktop/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux'
    make: *** [install] Error 2



    Could any body help me there please , the kernel is 2.6.27-9-generic?
    Last edited by abibabou; January 25th, 2009 at 07:55 PM.

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

    Re: Install linux drivers for ralink rt2870

    Look on my wiki. You need to use sudo for both make and make install.

    Code:
    sudo make
    sudo make install
    Usually you don't have to use sudo when compiling but now you do.

  9. #9
    Join Date
    Jan 2009
    Beans
    4

    Lightbulb Re: Install linux drivers for ralink rt2870

    Thhank you for this prompt reply, but one problem still remains:

    After a fresh install of ubuntu 8.10 and updated I follow the procedure it works but the minute I reboot the machine, no wireless connection although the led on the usb adaptor blinks, cannot see any wireless network from the desktop only a wired connection works although like I said before the usb adaptor led blinks.

    It seems the gnoome-network-admin hangs!

    Any advice?

  10. #10
    Join Date
    Dec 2007
    Beans
    68
    Distro
    Ubuntu 10.04 Lucid Lynx

    Post Re: Install linux drivers for ralink rt2870

    Hi RaZoR1394,
    Make works perfectly.

    One very minor improvement in your wiki which I didn't dare make:
    after
    You need to change some inf....
    cd os/linux
    Problem is although the light on my logilink usb blinks I don't see the network manager's green orbiting dots followed by the blue wifi bars when I boot or when I insert the wifi usb.

    However, if I insert another wifi usb (siemens) the green dots appear and then the blue bars and when I swap the usb sticks then the logilink does work. I verified this with connection info and it does really use 802.11n.

    Any idea why I have to insert the other usb stick first in order to "jumpstart" the network manager?

Page 1 of 37 12311 ... 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
  •