Page 10 of 13 FirstFirst ... 89101112 ... LastLast
Results 91 to 100 of 128

Thread: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

  1. #91
    Join Date
    May 2011
    Beans
    12

    Re: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

    Quote Originally Posted by akshay.guleria@gmail.com View Post
    Problem:
    Got a brand new HP laptop - HP g62x. Installed ubuntu 10.10 and found that I do not have a wlan interface as one would expect with an active wireless connection.

    Thanks to
    Great discussion on similar work here @ http://ubuntuforums.org/showthread.php?t=1600498. Just a different card.

    Solution:
    I used the above thread to do my work - banged my head against the wall a couple of times but it was fun . I am listing down steps that finally worked for me. But before that, my configurations:
    • Ubuntu 10.10
    • 64 bit
    • WPA2 wireless network
    • OS was freshly installed and there was no specific customization prior to this
    • RaLink Device 5390. (use lspci to see your model number)



    1. Download the driver from ralinktech.com --> Software --> Linux
    2. Unzip the download zip file anywhere. I did it in the default Downloads directory
    3. cd to the 2010_xxx extracted directory
    4. cd os/linux/
    5. 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)
    6. Go back to the 2010_xx directory
    7. run command 'make'
    8. Make sure 'make compile' exists without errors. I got an error "too many arguments to format" towards the end of the compile but it did compile successfully eventually. And so I ignored the errors. You would see ***errors*** if the compile is not successful. In which, something went wrong and you may need to tweak the makefile or config.mk files before compile is successful.
    9. run command 'make install' as root. This is not listed in the README_STA_pci file that comes with downloaded driver zip file. This takes of copying the file to /lib/modules/2.6.35-22-generic/kernel/drivers/net/wireless/rt5390sta.ko. running depmod, creating /etc/Wireless/... folder.
    10. Edit the /etc/modules and add the line at the end of this file
      rt5390sta
    11. Edit the file /etc/modprobe.d/blacklist.conf and add the below line to it...
      blacklist rt2800pci
    12. Reboot and you should see an ra0 interface when you run the command 'ifconfig'
    13. You may have to run '/etc/init.d/network-manager restart' command to have it show in the first go.
    14. Once, the wireless icon shows up, look for your wireless SSID and there you go surfing
    Hi, thanks for the thread! Sorry to reopen it after so many months, but I'm having the same issue, and when I ran the make command, I got *** errors ***.
    I'm running 11.04 on a compaq presario CQ56, I have the Ralink 5390 card. I don't really know how to tweak the Makefile or config.mk file to get it to complete successfully.


    Here is the error message I got:

    /home/samz/2010_1216_RT5390_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/cfg80211.c:2594:2: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’
    make[2]: *** [/home/samz/2010_1216_RT5390_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/cfg80211.o] Error 1
    make[1]: *** [_module_/home/samz/2010_1216_RT5390_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
    make: *** [LINUX] Error 2



    For whatever it's worth, this is the relevant output of lspci -v:

    02:00.0 Network controller: Ralink corp. Device 5390
    Subsystem: Hewlett-Packard Company Device 1636
    Flags: bus master, fast devsel, latency 0, IRQ 11
    Memory at 93500000 (32-bit, non-prefetchable) [size=64K]
    Capabilities: <access denied>


    Any help on this would really be appreciated!

  2. #92
    Join Date
    May 2011
    Beans
    2

    Re: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

    Quote Originally Posted by Samzystrange View Post
    Hi, thanks for the thread! Sorry to reopen it after so many months, but I'm having the same issue, and when I ran the make command, I got *** errors ***.
    I'm running 11.04 on a compaq presario CQ56, I have the Ralink 5390 card. I don't really know how to tweak the Makefile or config.mk file to get it to complete successfully.


    Here is the error message I got:

    /home/samz/2010_1216_RT5390_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/cfg80211.c:2594:2: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’
    make[2]: *** [/home/samz/2010_1216_RT5390_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/cfg80211.o] Error 1
    make[1]: *** [_module_/home/samz/2010_1216_RT5390_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
    make: *** [LINUX] Error 2



    For whatever it's worth, this is the relevant output of lspci -v:

    02:00.0 Network controller: Ralink corp. Device 5390
    Subsystem: Hewlett-Packard Company Device 1636
    Flags: bus master, fast devsel, latency 0, IRQ 11
    Memory at 93500000 (32-bit, non-prefetchable) [size=64K]
    Capabilities: <access denied>


    Any help on this would really be appreciated!
    Had a similar error on an HP laptop with Ralink 5390, try this:
    -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.

  3. #93
    Join Date
    Jan 2009
    Location
    Oakland, CA, USA
    Beans
    9
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

    Quote Originally Posted by Samzystrange View Post
    Hi, thanks for the thread! Sorry to reopen it after so many months, but I'm having the same issue, and when I ran the make command, I got *** errors ***.
    I'm running 11.04 on a compaq presario CQ56, I have the Ralink 5390 card. I don't really know how to tweak the Makefile or config.mk file to get it to complete successfully.


    Here is the error message I got:

    /home/samz/2010_1216_RT5390_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/cfg80211.c:2594:2: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’
    make[2]: *** [/home/samz/2010_1216_RT5390_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/cfg80211.o] Error 1
    make[1]: *** [_module_/home/samz/2010_1216_RT5390_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
    make: *** [LINUX] Error 2
    I was getting a similar error when trying to compile using Ubuntu 11.04.

    My Computer: HP Compaq Presario CQ56

    However, I decided to burn the 10.04 LTS, and I installed that on the laptop, and then the instructions posted in this thread worked perfectly! However, I upgraded to 10.10 and some of the finicky connection problems that others have described are happening to me now.

  4. #94
    Join Date
    Aug 2006
    Location
    Siesta Key, Fl
    Beans
    126
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

    I need to reopen this as well, please please.

    I have a hp dm-1, ralink 5390.

    Followed all instructions. Get the following error on 'sudo make install':

    studio4@TinyUbuntu:~/RT$ sudo make install
    make -C /home/studio4/RT/os/linux -f Makefile.6 install
    mkdir: cannot create directory `/etc/Wireless': File exists
    make[1]: Entering directory `/home/studio4/RT/os/linux'
    rm -rf /etc/Wireless/RT2860STA
    mkdir /etc/Wireless/RT2860STA
    cp /home/studio4/RT/RT2860STA.dat /etc/Wireless/RT2860STA/.
    cp: cannot stat `/home/studio4/RT/RT2860STA.dat': No such file or directory
    make[1]: *** [install] Error 1
    make[1]: Leaving directory `/home/studio4/RT/os/linux'
    make: *** [install] Error 2
    studio4@TinyUbuntu:~/RT$


    I continued, including edit /etc/modules to add the line 'rt5390sta' at the end.

    I see the wireless now, and I can see my router, but cannot connect to it, although it keeps trying it just never connects.

  5. #95
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,428
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

    This is the kwik 'n durty solution:
    Code:
    sudo gedit /home/studio4/RT/RT2860STA.dat
    Add one line:
    Code:
    Default
    Proofread, save and close gedit. Next do:
    Code:
    make clean
    make
    Continue the instructions as before.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  6. #96
    Join Date
    Aug 2006
    Location
    Siesta Key, Fl
    Beans
    126
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

    That was a fast response. Thank you for it. It got rid of the error but I still cannot connect. I am in an endless loop of trying to connect.

    One thing, I errorred on the reboot command so I manually rebooted. Don't know if that is pertinent but thought I'd better mention it.

    Thanks again for all the help.

  7. #97
    Join Date
    May 2011
    Beans
    1

    Re: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

    Hello,

    While trying the solution given (on Ubuntu 10.10 32 bits), in step 7 ("make"), I get the following error message:

    ...
    cp -f /home/agonzalez/drivers/2010_1216_RT5390_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/rt5390sta.ko /tftpboot
    cp: could not create regular file «/tftpboot»: Permission denied

    I'm surprised that the Makefile apparently is trying to write a file in / directory. Why? How could I complete this step?

  8. #98
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,428
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

    I'm surprised that the Makefile apparently is trying to write a file in / directory. Why? How could I complete this step?
    Run as super-user:
    Code:
    sudo su
    make clean
    make 
    make install
    modprobe rt5390sta
    exit
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  9. #99
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,428
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

    Quote Originally Posted by guest5 View Post
    That was a fast response. Thank you for it. It got rid of the error but I still cannot connect. I am in an endless loop of trying to connect.

    One thing, I errorred on the reboot command so I manually rebooted. Don't know if that is pertinent but thought I'd better mention it.

    Thanks again for all the help.
    Any interesting messages here?
    Code:
    dmesg | grep -e 539 -e wlan -e ra0
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  10. #100
    Join Date
    Aug 2006
    Location
    Siesta Key, Fl
    Beans
    126
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

    Any interesting messages here?
    Code:

    dmesg | grep -e 539 -e wlan -e ra0


    studio4@TinyUbuntu:~$ dmesg | grep -e 539 -e wlan -e ra0
    [ 0.000000] Memory: 2666900k/2735104k available (5189k kernel code, 62924k reserved, 2539k data, 700k init, 1820972k highmem)
    [ 0.000000] .data : 0xc15116e1 - 0xc178c4c0 (2539 kB)
    [ 0.004539] mce: CPU supports 6 MCE banks
    [ 0.332227] pci 0000:02:00.0: [1814:539f] type 0 class 0x000280
    [ 0.539772] ACPI: Lid Switch [LID]
    [ 0.539910] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
    [ 0.539919] ACPI: Power Button [PWRF]
    [ 1.236539] hub 5-0:1.0: USB hub found
    [ 1.583539] ahci 0000:00:11.0: AHCI 0001.0200 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
    [ 16.958851] rt5390 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    [ 16.958927] rt5390 0000:02:00.0: setting latency timer to 64
    [ 28.496214] wlan0: no IPv6 routers present
    studio4@TinyUbuntu:~$

    Please note: This pc is running 11.04, 32 bit (I think)
    Last edited by guest5; May 16th, 2011 at 01:53 PM. Reason: add note

Page 10 of 13 FirstFirst ... 89101112 ... 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
  •