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

Thread: Ralink RT3562 Oneiric 11.10 driver install guide

  1. #1
    Join Date
    Jul 2011
    Beans
    12

    Ralink RT3562 Oneiric 11.10 driver install guide

    For anybody looking to install drivers for Ralink Device 3062, I've finally managed to get it working so I thought I'd share.
    [Link to source updated; thanks Algorith]

    1. Check your wireless controller hardware

    lspci | grep Network
    You should get the following output
    Network controller: Ralink corp. Device 3062
    If so, you will need to install Ralink driver 3562.


    2. Download the driver source from the Ralink website
    http://www.ralinktech.com/en/04_support/support.php


    3. Extract the folder (DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217) to your home directory.


    4. Open DPO_RT.../os/linux/config.mk


    5. Change line 12 to read HAS_WPA_SUPPLICANT=y
    Change line 15 to read HAS_NATIVE_WPA_SUPPLICANT=y


    6. Open a terminal
    cd DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217
    7.
    sudo make
    8. Install the driver. (Thanks Algorith )
    sudo make install
    9. Next you need to blacklist the conflicting wireless drivers
    sudo gedit /etc/modprobe.d/blacklist.conf
    Add the following lines
    #Wireless drivers conflicting with rt3562sta
    blacklist rt2800pci
    blacklist rt2x00pci


    10. Tell linux to load the correct module on boot
    sudo gedit /etc/modules
    Append the following line
    rt3562sta


    11. Update the changes
    sudo update-initramfs -u
    12. Restart your system. You should see a list of available networks in the network manager next time it boots.

    If anyone has any problems with this please let me know and I'll try to help!
    Last edited by jackoneill87; March 7th, 2012 at 01:31 PM. Reason: Insert quote markers

  2. #2
    Join Date
    Jul 2009
    Beans
    2

    Re: Ralink RT3562 Oneiric 11.10 driver install guide

    I'm installing a Zonenet ZEW1690 card on 11.10. It is recognized as RaLink 3062 and uses the 3625 drivers. Your instructions worked for compiling the driver but not for installing.

    Apparently I also needed to update the firmware which is available on the RaLink website on the same page as the drivers. I used the instructions in this post to get it to work.

    To update firmware

    To compile and install drivers

  3. #3
    Join Date
    Feb 2010
    Beans
    48

    Re: Ralink RT3562 Oneiric 11.10 driver install guide

    I hacked a similar process together for my HP ProBook 4430s based on the RT3592.

    Attached is the code referenced above just in case the files are AWOL from the server.

    The above mentioned code changes need to be applied.
    Attached Files Attached Files

  4. #4
    Join Date
    Mar 2012
    Beans
    1

    Re: Ralink RT3562 Oneiric 11.10 driver install guide

    For me, these instructions needed some modification:

    In particular, the link from the OP in step 2 has gone away - the new link is
    http://www.ralinktech.com/en/04_support/support.php

    Second, in step 8, rather than a simple cp, I needed to do
    sudo make install
    (as per http://ubuntuforums.org/showthread.php?t=1608095 )

    --------
    BTW, a WPA supplicant is a daemon that implements key negotiation with a WPA authenticator

  5. #5
    Join Date
    Mar 2012
    Beans
    29

    Re: Ralink RT3562 Oneiric 11.10 driver install guide

    I am able to do most of this but am having a problem at step 9. I also had to change step 8 to:
    Code:
     sudo make install
    But anyway at step nine when I enter
    Code:
    sudo gedit /etc/modprobe.d/blacklist.conf
    It brings up the file that has to be changed but the terminal says:
    Code:
     (gedit:2092): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.VGSLAW': No such file or directory 
    
    (gedit:2092): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
    I have no idea why this is happening (no surprise, I'm new to linux) but I think that it's the reason that this whole method won't work for me.

    I am running ubuntu 11.10 and I'm certain I follwed all of the prior steps correctly, I would greatly appreciate some expert help right now!!!

  6. #6
    Join Date
    Jul 2011
    Beans
    12

    Re: Ralink RT3562 Oneiric 11.10 driver install guide

    Quote Originally Posted by JackOConnor View Post
    I am able to do most of this but am having a problem at step 9. I also had to change step 8 to:
    Code:
     sudo make install
    But anyway at step nine when I enter
    Code:
    sudo gedit /etc/modprobe.d/blacklist.conf
    It brings up the file that has to be changed but the terminal says:
    Code:
     (gedit:2092): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.VGSLAW': No such file or directory 
    
    (gedit:2092): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
    I'm not at a computer with Linux at the moment so I can't check this out in depth, but it seems like gedit is unable to create a temporary file because the folder it normally creates them in doesn't exist. That might be a bit of a problem in itself, but you might be able to root around the settings in gedit to fix it.

    As a work-around for the driver install you can add the lines directly to the file, instead of step 9, backup your file (this is important, I've learned it the hard way) and then try
    Code:
    sudo echo 'blacklist rt2800pci' >> /etc/modprobe.d/blacklist.conf
    sudo echo 'blacklist rt3562sta' >> /etc/modprobe.d/blacklist.conf
    this will append the lines to the end of the file directly. you can check to make sure it worked by viewing the last few lines of the file from the console
    Code:
     tail /etc/modprobe.d/blacklist.conf
    Similarly, in step 10 try
    Code:
    sudo echo rt3562sta >> /etc/modules
    Again, check to make sure it's worked using the tail command. If that doesn't work, once you have followed all the steps, please post the results of
    Code:
    lsmod | grep rt3562
    and I'll see if I can help you further.

  7. #7
    Join Date
    Mar 2012
    Beans
    29

    Re: Ralink RT3562 Oneiric 11.10 driver install guide

    No its ok I solved it. Didn't fully understand it but this tutorial worked for me.http://www.squidoo.com/how-to-install-ralink-3062-network-card-on-linux
    Thanks anyway though!!!

  8. #8
    Join Date
    May 2009
    Beans
    3

    Re: Ralink RT3562 Oneiric 11.10 driver install guide

    Hi there!

    It didn't work! I was using this driver 2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2.zip with all other Ubuntu versions and had no problems. (Here is my public link to the driver just in case: http://ubuntuone.com/1x62PHTNJdVraviQx7sFmx)

    When trying to install it with Oneiric, I get this following error message: root@ubuntu-HP:/tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2# make
    make -C tools
    make[1]: Entering directory `/tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory `/tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/tools'
    /tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/tools/bin2h
    cp -f os/linux/Makefile.6 /tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/os/linux/Makefile
    make -C /lib/modules/3.2.0-18-generic/build SUBDIRS=/tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/os/linux modules
    make[1]: Entering directory `/usr/src/linux-headers-3.2.0-18-generic'
    CC [M] /tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/os/linux/../../os/linux/rt_linux.o
    /tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/os/linux/../../os/linux/rt_linux.c: In function ‘duplicate_pkt’:
    /tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/os/linux/../../os/linux/rt_linux.c:550:3: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [enabled by default]
    /usr/src/linux-headers-3.2.0-18-generic/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
    /tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/os/linux/../../os/linux/rt_linux.c:552:3: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [enabled by default]
    /usr/src/linux-headers-3.2.0-18-generic/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
    /tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/os/linux/../../os/linux/rt_linux.c: In function ‘ClonePacket’:
    /tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/os/linux/../../os/linux/rt_linux.c:654:23: warning: assignment makes integer from pointer without a cast [enabled by default]
    /tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/os/linux/../../os/linux/rt_linux.c: In function ‘update_os_packet_info’:
    /tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/os/linux/../../os/linux/rt_linux.c:676:15: warning: assignment makes integer from pointer without a cast [enabled by default]
    /tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/os/linux/../../os/linux/rt_linux.c: In function ‘wlan_802_11_to_802_3_packet’:
    /tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/os/linux/../../os/linux/rt_linux.c:697:15: warning: assignment makes integer from pointer without a cast [enabled by default]
    /tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/os/linux/../../os/linux/rt_linux.c: In function ‘send_monitor_packets’:
    /tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/os/linux/../../os/linux/rt_linux.c:957:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
    /tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/os/linux/../../os/linux/rt_linux.c: At top level:
    /tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/os/linux/../../os/linux/rt_linux.c:1646:10: error: unknown field ‘ndo_set_multicast_list’ specified in initializer
    make[2]: *** [/tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/os/linux/../../os/linux/rt_linux.o] Error 1
    make[1]: *** [_module_/tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2/os/linux] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-18-generic'
    make: *** [LINUX] Error 2
    root@ubuntu-HP:/tmp/2010_01_28_RT2860_Linux_STA_v2.3.0.0_Alpha_v2#


    When installing using the changes you suggest, I don't get any error messages, but the driver doesn't seem to work, my Network Card doesn't detect any WI-FI.

    Do you think you can help? ))

    Thank you in advance,

    Andre

  9. #9
    Join Date
    Jul 2011
    Beans
    12

    Re: Ralink RT3562 Oneiric 11.10 driver install guide

    Hey, sorry to hear you're having trouble; I don't have access to my linux machine at the moment so I apologize if there's a mistake in any of the commands

    You said that the make command seems to work fine when you use some of the changes suggested. Can you try the following?

    1. Run the make command as you've been doing before (it might be worth while using sudo to make sure there are no permissions issues)If this runs without any ERROR messages, it's been successful, you might get 'warnings', but generally they're ok.

    2. From root directory of your downloaded folder run
    Code:
    sudo make install
    3. Check to see if the driver has been installed
    Code:
    ls /lib/modules/$(uname -r)/kernel/drivers/net | grep rt
    4. If you get a result along the lines of rt3562sta.ko then all's good so far so proceed to load the driver
    Code:
    sudo modprobe rt3562sta
    5. Check to see if the module has loaded properly
    Code:
    lsmod | grep rt
    6. Make sure the wireless is enabled
    Code:
    sudo ifconfig ra0 up
    Any available wireless networks should now be showing up.

    If it all seems to go well but the networks aren't showing up double check to make sure your wireless is physically switched on (I had this problem once and it took me hours to figure it out).

    If it fails anywhere else along the way just let me know how far you got, and what error messages it's giving you.

    p.s. it seems some people had to update firmware as well as installing a driver. Check the following thread
    http://ubuntuforums.org/showthread.p...zew1690&page=9 (post #90)

  10. #10
    Join Date
    Apr 2011
    Beans
    52
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ralink RT3562 Oneiric 11.10 driver install guide

    Quote Originally Posted by jackoneill87 View Post

    If anyone has any problems with this please let me know and I'll try to help!
    Worked perfectly for me, Jack on the Ralink 3592 chipset in a HP Probook4730s

    [One minor change - installed as per your directions, if I disconnect or line drops out, I need to reboot to get it going again, but at least it works now. Excellent and thanks for the clear advice.]

    Instead, I put the following into the 'blacklist' file, copied from here.
    http://www.squidoo.com/how-to-instal...-card-on-linux

    Code:
    sudo gedit /etc/modprobe.d/blacklist.conf 
    (or kwrite, nano, etc...)
    
    Once inside the blacklist.conf file you should append the following lines to the file
    
    blacklist rt2800pci
    blacklist rt2800lib
    blacklist rt2800usb
    blacklist rt2x00pci
    blacklist rt2x00lib
    blacklist rt2x00usb
    This allows the chipset to rediscover any broadcasting networks when disconnected, allows automatic reconnect.

    Can't thank you enough for the clear advice.

    Cheers.

    AF

    EDIT: Just upgraded to 12.04 pangolin and the network adapter wasn't recognised (again). Repeated these steps and it configured OK.

    Thanks again Jack
    Last edited by Andrew F in Australia; April 27th, 2012 at 02:11 AM.

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