Page 3 of 15 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 142

Thread: Tenda W541U V2.0 Wireless USB Adapter / Ralink RT2070 How To

  1. #21
    Join Date
    Aug 2009
    Beans
    13

    Re: Tenda W541U V2.0 Wireless USB Adapter / Ralink RT2070 How To

    Quote Originally Posted by lesnoland View Post
    This should fix the problem if your "staging" module is loaded:

    Code:
    $cd os/linux
    $sudo cp ./rtk3070sta.ko /lib/modules/`uname -r`/kernel/drivers/staging/
    $sudo rmmod rt3070sta
    $sudo modprobe rt3070sta
    If no module is loaded when you plug in the device then you could add it to be loaded at startup. But my guess is that the rt3070sta.ko file is not in the right location.
    It turns out that this was pretty much exactly what was wrong.

    /lib/modules/`uname -r`/kernel/drivers/staging/rt3070/ contained an rt3070sta.ko, but it was different from the one I built. Copying rt3070sta.ko into <the staging path you mentioned>/rt3070/ works better, at least. Early indications seems to be that I need to do "sudo modprobe rt3070sta" by hand, though ...

    Thanks a bunch!


    EDIT: the early indications were wrong; lesnoland's fix is 100%.
    Last edited by ReneVYL; November 12th, 2009 at 04:34 AM.

  2. #22
    Join Date
    Sep 2007
    Beans
    32
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Tenda W541U V2.0 Wireless USB Adapter / Ralink RT2070 How To

    Quote Originally Posted by lesnoland View Post
    Try this:

    Code:
    $cd os/linux
    $sudo cp rt3070sta.ko /lib/modules/`uname -r`/kernel/drivers/staging/rt3070/
    $sudo rmmod rt3070sta.ko
    $sudo modporbe rt3070sta.ko
    You are right. Thanks to your instructions, my wireless works now. Now.. I need to get Network Manager applet to play nice with my usb wireless adapter.

  3. #23
    Join Date
    Nov 2009
    Beans
    16

    Re: Tenda W541U V2.0 Wireless USB Adapter / Ralink RT2070 How To

    Quote Originally Posted by VMUKKAMALA View Post
    You are right. Thanks to your instructions, my wireless works now. Now.. I need to get Network Manager applet to play nice with my usb wireless adapter.
    It's not working for me. I also have a WLI-UC-GN, and have followed every step/update in this thread, including the suggestions that were made to you. I get...

    linux# modprobe rt3070sta.ko
    FATAL: Module rt3070sta.ko not found.

    Also, I get:

    linux# ifconfig ra0 inet 192.168.0.33 up
    SIOCSIFADDR: No such device
    ra0: ERROR while getting interface flags: No such device
    ra0: ERROR while getting interface flags: No such device

    What can I do?

    Thanks,
    Jonah

  4. #24
    Join Date
    Mar 2008
    Beans
    33

    Re: Tenda W541U V2.0 Wireless USB Adapter / Ralink RT2070 How To

    Quote Originally Posted by Jonah11 View Post

    What can I do?

    Thanks,
    Jonah
    You can start by trying to insmod ./rt3070sta.ko driver from os/linux, as stated above.

    Also if you get some kind of error while compiling, installing, following the instructions tell us about it.

    Also post more info about your computer such as the following:

    Code:
    $uname -a; cat /etc/issue; ls -la /lib/modules

  5. #25
    Join Date
    Nov 2009
    Beans
    16

    Re: Tenda W541U V2.0 Wireless USB Adapter / Ralink RT2070 How To

    Quote Originally Posted by lesnoland View Post
    You can start by trying to insmod ./rt3070sta.ko driver from os/linux, as stated above.
    Thanks. I tried that, and insmod ran without error. However, I still get the same errors as in my latter post when I run modprobe and ifconfig.

    Also if you get some kind of error while compiling, installing, following the instructions tell us about it.
    I did not see any errors while compiling, but it's possible I missed something. Should I recompile and post the terminal output?

    Also post more info about your computer such as the following:



    Code:
    $uname -a; cat /etc/issue; ls -la /lib/modules
    I am running an acer aspire revo with the latest ubuntu installed.
    Code:
    Linux boxee-desktop 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686 GNU/Linux
    Ubuntu 9.10 \n \l
    
    total 20
    drwxr-xr-x  3 root root  4096 2009-10-28 15:57 .
    drwxr-xr-x 18 root root 12288 2009-11-17 20:41 ..
    drwxr-xr-x  5 root root  4096 2009-11-20 00:43 2.6.31-14-generic
    Please let me know if you need any further info.

    Thanks,
    Jonah

  6. #26
    Join Date
    Nov 2009
    Beans
    16

    Re: Tenda W541U V2.0 Wireless USB Adapter / Ralink RT2070 How To

    Anyone else have any hints for me? Thanks!

  7. #27
    Join Date
    Nov 2009
    Beans
    10

    Re: Tenda W541U V2.0 Wireless USB Adapter / Ralink RT2070 How To

    I did the following as the instructions suggested $sudo pico /etc/modprobe.d/blacklist.conf add the following lines: blacklist rt2x00usb blacklist rt2x00lib blacklist rt2800usb close and save. $sudo rmmod rt2x00usb (just in case) $sudo rmmod rt2x00lib (just in case) $sudo rmmod rt2800usb (just in case) And the dongle did not light up. I removed the above lines from /etc/modprobe.d/blacklist.conf and the dongle does light up but when doing a "dmesg" the following message is displayed at the end: Disabling channel 2467 MHz on phy3 due to Country IE [ 269.353614] cfg80211: Disabling channel 2472 MHz on phy3 due to Country IE [ 269.353619] cfg80211: Disabling channel 2484 MHz on phy3 due to Country IE [ 269.354736] phy3: Selected rate control algorithm 'minstrel' [ 269.356326] Registered led device: rt2800usb-phy3::radio [ 269.356364] Registered led device: rt2800usb-phy3::assoc [ 269.356401] Registered led device: rt2800usb-phy3::quality [ 269.427095] rt2800usb 1-1:1.0: firmware: requesting rt2870.bin [ 269.681281] ADDRCONF(NETDEV_UP): wlan1: link is not ready Any Ideas? Thanks for the great instructions, by the way.

  8. #28
    Join Date
    Nov 2009
    Beans
    1

    Re: Tenda W541U V2.0 Wireless USB Adapter / Ralink RT2070 How To

    Hi There,

    Has anyone got a copy of

    2009_0525_RT3070_Linux_STA_v2.1.1.0.tar.bz2

    The ralinktech site (link on first post) appears only to have some newer drivers

    2009_1110_RT3070_Linux_STA_v2.1.2.0.tar.bz2

    which when following these instructions, gives an error (during the UPDATE1 section of the post) on patching :

    patching file 2009_0525_RT3070_Linux_STA_v2.1.1.0/include/rtmp_os.h
    patching file 2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/rt_linux.c
    Hunk #1 FAILED at 1506.
    Hunk #2 FAILED at 1545.
    2 out of 2 hunks FAILED -- saving rejects to file 2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/rt_linux.c.rej
    patching file 2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/rt_main_dev.c
    Hunk #1 succeeded at 513 (offset 9 lines).
    Hunk #2 succeeded at 544 (offset 9 lines).
    Hunk #3 succeeded at 557 (offset 9 lines).

    If someone could post the v.2.1.1.0 version of these drivers I'd be most grateful.

    Many Thanks.

  9. #29
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Tenda W541U V2.0 Wireless USB Adapter / Ralink RT2070 How To

    Quote Originally Posted by Fruitbeard View Post
    Hi There,

    Has anyone got a copy of

    2009_0525_RT3070_Linux_STA_v2.1.1.0.tar.bz2

    The ralinktech site (link on first post) appears only to have some newer drivers

    2009_1110_RT3070_Linux_STA_v2.1.2.0.tar.bz2

    which when following these instructions, gives an error (during the UPDATE1 section of the post) on patching :

    patching file 2009_0525_RT3070_Linux_STA_v2.1.1.0/include/rtmp_os.h
    patching file 2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/rt_linux.c
    Hunk #1 FAILED at 1506.
    Hunk #2 FAILED at 1545.
    2 out of 2 hunks FAILED -- saving rejects to file 2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/rt_linux.c.rej
    patching file 2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/rt_main_dev.c
    Hunk #1 succeeded at 513 (offset 9 lines).
    Hunk #2 succeeded at 544 (offset 9 lines).
    Hunk #3 succeeded at 557 (offset 9 lines).

    If someone could post the v.2.1.1.0 version of these drivers I'd be most grateful.

    Many Thanks.
    Exactly the same happened to me just now with 2009_1110 driver from Ralink. Any ideas for us?

    PS. Before finding this thread I compiled 2009_1110 without this patch but it doesn't seem to work. Also in Connection Information in NetworkManager for driver it shows "usb" not RT3070 or RT2870. Any ideas please? I really got stuck with this. Ihave Tenda W311U which is 150Mb USB N adapter it seems with RT3070 (lsusb is giving 148e:3070).

    PPS. Also, I don't know if it matters, someone might know but in the /etc/Wireless folder there was RT3070STA folder created during my compiling but the file inside is named RT2870STA.dat have no idea why and whether that's good or bad.
    Last edited by darkod; December 4th, 2009 at 11:22 PM.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  10. #30
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Tenda W541U V2.0 Wireless USB Adapter / Ralink RT2070 How To

    @Fruitbeard
    In case you're still looking for solution, it seems I managed to get this going.
    First of all, sudo lsusb is reporting 148F:3070 Ralink which means RT3070 chip and not RT2870 but since the patch for RT3070 driver was giving me the same error like yours, I decided to give RT2870 driver a shot. I'm attaching the exact driver I used and the exact patch. On the Ralink website they still offer the same driver for RT2870, the 2009_0820 anyway so you can get it there too.

    1. Before compiling, edit the /os/linux/config.mk file and change wpa supplicant options from 'n' to 'y' (yes) if you want to use WPA. Put the patch file inside the 2009_0820 folder that will be created when you extract the driver. It has to be there or it won't work. Execute the patch with:

    patch -p1 < patchname

    2. Open /etc/modprobe.d/blacklist.conf and blacklist 2x00usb, 2x00lib and 2800usb as per the instructions in the first post here.

    3. Open /etc/modules and add
    rt2870sta

    4. Open /etc/rc.local and add
    # hack for wireless
    ifconfig ra0 up
    pkill NetworkManager

    That's it. Reboot and see if it works. I hope I didn't forget anything.
    Attached Files Attached Files
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

Page 3 of 15 FirstFirst 1234513 ... 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
  •