Page 5 of 13 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 128

Thread: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

  1. #41
    Join Date
    Feb 2011
    Beans
    4

    Re: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

    I created a new thread for all of us dm1z'ers, as this one is marked solved and isn't likely to see any attention.

    Go post there so we can get the help we need!

    http://ubuntuforums.org/showthread.php?t=1685430

  2. #42
    Join Date
    Feb 2011
    Beans
    3
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

    Hi,

    I had the same problem with my HP G62 with Ralink 5390 network adapter. I could compile the driver by downloading the source code from Ralink but after installing it tried to connect forever without success. I also saw the "3.061929] AsicAdjustTxPower 1314 -> aaaa6666" in dmesg over and over. I did some research and I found that OpenSUSE includes this driver in their releases and does some modifications to it. I took their code, which is the same you can get from Ralink website. Basically, I followed the same steps as described at the top of this thread, but with the additional SUSE patches. Here are the steps that I followed:

    1. Download code from here
    https://build.opensuse.org/package/b...ry=11.3-update

    In the future, more recent releases could be used. I used 11.3-update.

    2. Apply the patches contained in the RPM. I left out rt5390sta-2.4.0.4-gcc-warnings-x86_64.patch as I am using 10.10 32-bit.

    3. Rename RT2860STA.dat as RT5390STA.dat

    5. Build as shown at the beginning of this thread: make

    6. make install will fail as the .dat file was renamed. Hence, copy manually
    sudo mkdir /etc/Wireless/RT5390STA
    sudo cp /etc/Wireless/RTA5390STA/RTA5390STA.dat

    7. Copy manually the kernel module to your modules directory.
    sudo cp ./os/linux/rt5390sta.ko /lib/modules/2.6.35-25-generic/kernel/drivers/net/wireless/

    8. Edit /etc/modules to add the line 'rt5390sta'

    9. Reboot and find your network SSID. It may be possible that you need to restart the network manager with 'sudo restart network-manager'

    Now I can connect to my wireless network. I have tried with WEP and WPA2.

    I know this is for 32-bit but as I saw the same problems discussed here, this could also help in the 64-bit version.

  3. #43
    Join Date
    Feb 2011
    Beans
    4

    Re: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

    How do I apply certain patches (and leave out certain others) from rpm package? Please pardon my ignorance but I never had to deal with rpms in the Ubuntu environment.

  4. #44
    Join Date
    Feb 2011
    Beans
    3
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

    Hi edwin_aldrin,

    To open an RPM package, just download it then double-click on it as you would do with any TAR or ZIP. It will be opened and you will see the contents. You will see a TAR with the driver code from Ralink and a set of patches. Just extract the contents of the RPM to some directory of your choice. Then, extract the driver code TAR in that directory and your directory should look like

    #cd myDir
    #ls
    driverCodeDir
    patch1.patch
    patch2.patch
    ...
    patchN.patch

    then change to the driver code directory and apply the patches as follows
    #cd driverCodeDir
    #patch -p0 <../patch1.patch
    #patch -p0 <../patch2.patch
    ..
    #patch -p0 <../patchN.patch

    To know the order in which you need to apply the patches, look at the rt5390sta.spec file lines 38-44. If you are using 10.10 32-bit apply all patches except rt5390sta-2.4.0.4-gcc-warnings-x86_64.patch. For 10.10 64-bit, apply all patches.

  5. #45
    Join Date
    Feb 2011
    Beans
    6

    Re: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

    Quote Originally Posted by ricardon View Post
    Hi,

    I had the same problem with my HP G62 with Ralink 5390 network adapter. I could compile the driver by downloading the source code from Ralink but after installing it tried to connect forever without success. I also saw the "3.061929] AsicAdjustTxPower 1314 -> aaaa6666" in dmesg over and over. I did some research and I found that OpenSUSE includes this driver in their releases and does some modifications to it. I took their code, which is the same you can get from Ralink website. Basically, I followed the same steps as described at the top of this thread, but with the additional SUSE patches. Here are the steps that I followed:

    1. Download code from here
    https://build.opensuse.org/package/b...ry=11.3-update

    In the future, more recent releases could be used. I used 11.3-update.

    2. Apply the patches contained in the RPM. I left out rt5390sta-2.4.0.4-gcc-warnings-x86_64.patch as I am using 10.10 32-bit.

    3. Rename RT2860STA.dat as RT5390STA.dat

    5. Build as shown at the beginning of this thread: make

    6. make install will fail as the .dat file was renamed. Hence, copy manually
    sudo mkdir /etc/Wireless/RT5390STA
    sudo cp /etc/Wireless/RTA5390STA/RTA5390STA.dat

    7. Copy manually the kernel module to your modules directory.
    sudo cp ./os/linux/rt5390sta.ko /lib/modules/2.6.35-25-generic/kernel/drivers/net/wireless/

    8. Edit /etc/modules to add the line 'rt5390sta'

    9. Reboot and find your network SSID. It may be possible that you need to restart the network manager with 'sudo restart network-manager'

    Now I can connect to my wireless network. I have tried with WEP and WPA2.

    I know this is for 32-bit but as I saw the same problems discussed here, this could also help in the 64-bit version.
    Confirmed working on dm1z, Kernel 2.6.35-25 on 10.10 64-bit. Let's hope that turns into out-of-box support soon.

  6. #46
    Join Date
    Feb 2011
    Beans
    3

    Re: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

    Since some of you guys got it working, can you guys tell me what I am doing wrong?

    First I patch in the order of the .spec file. (all patches as i am 64bit)
    Rename RT5390STA.dat
    sudo make
    sudo make install
    sudo mkdir -p /etc/Wireless/RT5390STA
    sudo cp RT5390STA.dat /etc/Wireless/RTA5390STA/
    sudo cp ./os/linux/rt5390sta.ko /lib/modules/2.6.35-25-generic/kernel/drivers/net/wireless/
    Edit /etc/modules to add the line 'rt5390sta'
    reboot
    then sudo restart network-manager

    I have a feeling I am forgetting something simple or stupid :/

  7. #47
    Join Date
    Feb 2011
    Beans
    1

    Re: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

    Quote Originally Posted by ricardon View Post
    Hi,

    I had the same problem with my HP G62 with Ralink 5390 network adapter. I could compile the driver by downloading the source code from Ralink but after installing it tried to connect forever without success. I also saw the "3.061929] AsicAdjustTxPower 1314 -> aaaa6666" in dmesg over and over. I did some research and I found that OpenSUSE includes this driver in their releases and does some modifications to it. I took their code, which is the same you can get from Ralink website. Basically, I followed the same steps as described at the top of this thread, but with the additional SUSE patches. Here are the steps that I followed:

    1. Download code from here
    https://build.opensuse.org/package/b...ry=11.3-update

    In the future, more recent releases could be used. I used 11.3-update.

    2. Apply the patches contained in the RPM. I left out rt5390sta-2.4.0.4-gcc-warnings-x86_64.patch as I am using 10.10 32-bit.

    3. Rename RT2860STA.dat as RT5390STA.dat

    5. Build as shown at the beginning of this thread: make

    6. make install will fail as the .dat file was renamed. Hence, copy manually
    sudo mkdir /etc/Wireless/RT5390STA
    sudo cp /etc/Wireless/RTA5390STA/RTA5390STA.dat

    7. Copy manually the kernel module to your modules directory.
    sudo cp ./os/linux/rt5390sta.ko /lib/modules/2.6.35-25-generic/kernel/drivers/net/wireless/

    8. Edit /etc/modules to add the line 'rt5390sta'

    9. Reboot and find your network SSID. It may be possible that you need to restart the network manager with 'sudo restart network-manager'

    Now I can connect to my wireless network. I have tried with WEP and WPA2.

    I know this is for 32-bit but as I saw the same problems discussed here, this could also help in the 64-bit version.
    Confirming this works (for at least 15 minutes) on a dm1z-3000 with 64-bit Natty (11.04) connecting to a WPA network. No need to add anything to /etc/modules, but I did need to run "sudo depmod -a", turn on the wireless card and then reboot. (I think that might be because I'd previously been tinkering with the non-RPM version.)

  8. #48
    Join Date
    Feb 2011
    Beans
    4

    Re: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

    Worked for me. I am also on a 32-bit version. The patches rock and roll. I am loving this.

    mr_roboto, did u blacklist 2860? You might want to look at the steps described at the beginning of the thread, on page 1.

  9. #49
    Join Date
    Jun 2006
    Beans
    11

    Re: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

    Quote Originally Posted by mr_roboto View Post
    Since some of you guys got it working, can you guys tell me what I am doing wrong?

    First I patch in the order of the .spec file. (all patches as i am 64bit)
    Rename RT5390STA.dat
    sudo make
    sudo make install
    sudo mkdir -p /etc/Wireless/RT5390STA
    sudo cp RT5390STA.dat /etc/Wireless/RTA5390STA/
    sudo cp ./os/linux/rt5390sta.ko /lib/modules/2.6.35-25-generic/kernel/drivers/net/wireless/
    Edit /etc/modules to add the line 'rt5390sta'
    reboot
    then sudo restart network-manager

    I have a feeling I am forgetting something simple or stupid :/
    You either need to wait and rename the .dat until after your run 'make install' or you need to run 'sudo depmod -a'

  10. #50
    Join Date
    Feb 2011
    Beans
    3

    Re: Ralink 5390 wifi card in Ubuntu 10.10 64 bit

    Quote Originally Posted by mrmagos View Post
    You either need to wait and rename the .dat until after your run 'make install' or you need to run 'sudo depmod -a'
    Yep that did it, I moved the .dat after the make and make install. Thanks everyone, working great on my hp dm1z maverick 64bit

Page 5 of 13 FirstFirst ... 34567 ... 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
  •