Page 1 of 8 123 ... LastLast
Results 1 to 10 of 79

Thread: Ralink RT5390 in 11.04

  1. #1
    Join Date
    Apr 2011
    Beans
    5

    Ralink RT5390 in 11.04

    Hi there,

    This is my first post here, so hello everyone

    I'll go through some background info first - I have recently installed Ubuntu 11.04 on my HP G62 laptop. The wireless card in this laptop is a Ralink RT5390 (I have confirmed this through lspci and via Windows). I'm a total linux noob, but I have researched the problem and tried following several instructions on the web for this particular wireless card (such as http://ubuntuforums.org/showpost.php...7&postcount=42), but I seem to be failing at the first hurdle every time.

    I have gotten as far as downloading the source code for the driver and attempting to compile it, but I can't seem to get it to compile. I seem to get the following result every time:

    make[2]: *** [/home/donald/Downloads/wireless/os/linux/../../os/linux/cfg80211.o] Error 1
    make[1]: *** [_module_/home/donald/Downloads/wireless/os/linux] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
    make: *** [LINUX] Error 2

    I have read on some pages that I should attempt to modify the config.mk and Makefile files, but being a noob I have no idea what to look out for or what to edit.

    I am aware that 11.04 is a new release of Ubuntu, could my issues be due to this being so recent and the driver requires an update from the vendor?

    Any assistance would be appreciated. Thanks.

  2. #2
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Ralink RT5390 in 11.04

    Please start with post #9 here. If you have a question, post back. This is a fairly advanced process, but if you follow each step carefully, you should be successful. I have subscribed to the thread, so, if you get stuck, shout and I'll help you.

    http://ubuntuforums.org/showthread.p...highlight=5390
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  3. #3
    Join Date
    Apr 2011
    Beans
    5

    Re: Ralink RT5390 in 11.04

    Quote Originally Posted by chili555 View Post
    Please start with post #9 here. If you have a question, post back. This is a fairly advanced process, but if you follow each step carefully, you should be successful. I have subscribed to the thread, so, if you get stuck, shout and I'll help you.

    http://ubuntuforums.org/showthread.p...highlight=5390
    For any searchers, this thread solved my problem.

  4. #4
    Join Date
    Mar 2010
    Beans
    8

    Re: Ralink RT5390 in 11.04

    For what it's worth, it didn't for me (at least yet); I can build the driver, and I see a wlan0, but NetworkManager doesn't see it, I can't create connections on it, and so on.

  5. #5
    Join Date
    May 2011
    Beans
    2

    Re: Ralink RT5390 in 11.04

    Quote Originally Posted by port86 View Post
    Hi there,

    This is my first post here, so hello everyone

    I'll go through some background info first - I have recently installed Ubuntu 11.04 on my HP G62 laptop. The wireless card in this laptop is a Ralink RT5390 (I have confirmed this through lspci and via Windows). I'm a total linux noob, but I have researched the problem and tried following several instructions on the web for this particular wireless card (such as http://ubuntuforums.org/showpost.php...7&postcount=42), but I seem to be failing at the first hurdle every time.

    I have gotten as far as downloading the source code for the driver and attempting to compile it, but I can't seem to get it to compile. I seem to get the following result every time:

    make[2]: *** [/home/donald/Downloads/wireless/os/linux/../../os/linux/cfg80211.o] Error 1
    make[1]: *** [_module_/home/donald/Downloads/wireless/os/linux] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
    make: *** [LINUX] Error 2

    I have read on some pages that I should attempt to modify the config.mk and Makefile files, but being a noob I have no idea what to look out for or what to edit.

    I am aware that 11.04 is a new release of Ubuntu, could my issues be due to this being so recent and the driver requires an update from the vendor?

    Any assistance would be appreciated. Thanks.
    Try this, it worked for me:
    -edit config.mk ( should be under ..../os/linux )
    -look for this line:
    HAS_CFG80211_SUPPORT=y
    -change "y" to "n" then recompile and run make install.

  6. #6
    Join Date
    May 2011
    Beans
    1

    Re: Ralink RT5390 in 11.04

    Quote Originally Posted by dr.s View Post
    Try this, it worked for me:
    -edit config.mk ( should be under ..../os/linux )
    -look for this line:
    HAS_CFG80211_SUPPORT=y
    -change "y" to "n" then recompile and run make install.
    This worked for me! Thank you!!

  7. #7
    Join Date
    Nov 2009
    Beans
    7

    Re: Ralink RT5390 in 11.04

    Hi,

    I am having the same problem too. The following error message is displayed.

    cp:cannot create regular file '/tftpboot': Permission denied.

    Any ways to resolve this?

  8. #8
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Ralink RT5390 in 11.04

    Quote Originally Posted by chareen View Post
    Hi,

    I am having the same problem too. The following error message is displayed.

    cp:cannot create regular file '/tftpboot': Permission denied.

    Any ways to resolve this?
    Sure. Instead of make and sudo make install, etc., instead, do:
    Code:
    sudo su
    make clean
    make
    make install
    etc., etc.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  9. #9
    Join Date
    Oct 2005
    Beans
    103
    Distro
    Lubuntu 11.10 Oneiric Ocelot

    Lightbulb Re: Ralink RT5390 in 11.04

    Hi, thanks a lot for all the people who contributed (specially chili and akshay)!!! Now I can use ubuntu! (using lubuntu really, on a HP Pavilion dm1 3060la).

    I wanted to put on one place all the steps necessary to config Ralink RT5390 in 11.04, so here is what I made and it worked (I only followed the steps mentioned here and on the referred threads and sub threads):

    Code:
    sudo apt-get install linux-headers-generic build-essential
    
    download RT5390PCIe from  http://www.ralinktech.com/support.php?s=2
    cd to the 2010_xxx extracted directory
    cd os/linux/
    Edit the config.mk file as below:
    HAS_ATE=y (no change, it was originally as is)
    HAS_WPA_SUPPLICANT=y (no change, it was originally as is)
    HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y (no change, it was originally as is)
    HAS_ANTENNA_DIVERSITY_SUPPORT=y originally was n -- this was the only thing I modified)
    
    Download patches (except x86_64, if you are on a x86_64 read Note below) from:
    https://build.opensuse.org/package/files?package=rt5390sta&project=driver%3Awireless
    
    patch -p0 < rt5390sta-2.4.0.4-config.patch 
    (applied patch detected -> enter -> apply anyway? -> y)
    patch -p0 < rt5390sta-2.4.0.4-convert-devicename-to-wlanX.patch 
    patch -p0 < rt5390sta-2.4.0.4-reduce_debug_output.patch 
    patch -p0 < rt5390sta-2.4.0.4-remove-potential-conflicts-with-rt2860sta.patch 
    patch -p0 < rt5390sta-2.4.0.4-return_nonvoid_function.patch 
    patch -p0 < rt5390sta-2.4.0.4-WPA-mixed.patch 
    sudo su 
    cp RT2860STA.dat RT5390STA.dat
    mkdir -p /etc/Wireless/RT5390STA
    cp RT5390STA.dat /etc/Wireless/RT5390STA
    make clean
    make
    make install
    modprobe rt5390sta
    exit
    Note: If you are using a x86_64 system, then obviously they need to also download and apply the 64-bit patch

    Please point out any errors... I'm a noob so only followed what I found.

    Cheers,
    Mguel
    Last edited by Mguel; July 22nd, 2011 at 12:10 AM. Reason: Note on x86_64 systems (thanks chili555)

  10. #10
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Ralink RT5390 in 11.04

    download patches (except 86_64) from:
    https://build.opensuse.org/package/f...ver%3Awireless
    I think your steps are accurate and excellent. I shall myself link to them in the future. I might just add that if a user is working on a x86_64 system, then obviously they need to also download and apply the 64-bit patch.

    Thank you for your compilation.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

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