Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: driver RT2870 STA_v1.2.1.0 not working. Wifi adapter SMCWUSB-N LUBUNTU (Ubuntu 15.10)

Hybrid View

  1. #1
    Join Date
    Jan 2016
    Beans
    23

    driver RT2870 STA_v1.2.1.0 not working. Wifi adapter SMCWUSB-N LUBUNTU (Ubuntu 15.10)

    Hello

    I have been trying to get this WIFI adapter working under this LUBUNTU (Ubuntu 15.10) with no success so far. Apparently the official website for Ralink devices was closed and I had to try therefore with different versions of the driver RT2870. I found all of them in "driverscollection dot com". The last driver I have tried is 2007_1220_RT2870_Linux_STA_v1.2.1.0. The launch of the command "make" did not end successfully with driver as you can see in the following lines:

    Code:
    CC [M]  /home/x/Descargas/2007_1220_RT2870_Linux_STA_v1.2.1.0/os/linux/../../os/linux/rt_profile.o
    /home/x/Descargas/2007_1220_RT2870_Linux_STA_v1.2.1.0/os/linux/../../os/linux/rt_profile.c: In function ‘RTMPReadParametersHook’:
    /home/x/Descargas/2007_1220_RT2870_Linux_STA_v1.2.1.0/os/linux/../../os/linux/rt_profile.c:778:20: error: ‘struct task_struct’ has no member named ‘fsuid’
      orgfsuid = current->fsuid;
                        ^
    /home/x/Descargas/2007_1220_RT2870_Linux_STA_v1.2.1.0/os/linux/../../os/linux/rt_profile.c:779:20: error: ‘struct task_struct’ has no member named ‘fsgid’
      orgfsgid = current->fsgid;
                        ^
    /home/x/Descargas/2007_1220_RT2870_Linux_STA_v1.2.1.0/os/linux/../../os/linux/rt_profile.c:780:9: error: ‘struct task_struct’ has no member named ‘fsuid’
      current->fsuid=current->fsgid = 0;
             ^
    /home/x/Descargas/2007_1220_RT2870_Linux_STA_v1.2.1.0/os/linux/../../os/linux/rt_profile.c:780:24: error: ‘struct task_struct’ has no member named ‘fsgid’
      current->fsuid=current->fsgid = 0;
                            ^
    /home/x/Descargas/2007_1220_RT2870_Linux_STA_v1.2.1.0/os/linux/../../os/linux/rt_profile.c:1369:9: error: ‘struct task_struct’ has no member named ‘fsuid’
      current->fsuid = orgfsuid;
             ^
    /home/x/Descargas/2007_1220_RT2870_Linux_STA_v1.2.1.0/os/linux/../../os/linux/rt_profile.c:1370:9: error: ‘struct task_struct’ has no member named ‘fsgid’
      current->fsgid = orgfsgid;

    What is more, all of these drivers displayed different errors after launching the command "make". That is why I would really appreciate if you could help me by replying with any suggestion to get this adapter working properly.

    Please find attached my file wireless-info.tar.gz with the corresponding information that might give an insight about the problem I am dealing with.

    By the way, I know this USB Wifi adapter is not broken because it keeps working great under Windows Vista.

    Thanks in advance for any tip or guideline you can think of.
    Last edited by thosecars822; January 5th, 2016 at 10:57 PM.

  2. #2
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,606
    Distro
    Ubuntu 17.10 Artful Aardvark

    Re: driver RT2870 STA_v1.2.1.0 not working. Wifi adapter SMCWUSB-N LUBUNTU (Ubuntu 15

    The last driver I have tried is 2007_1220_RT2870_Linux_STA_v1.2.1.0.
    rt_profile.c:1370:9: error: ‘struct task_struct’ has no member named ‘fsgid’
    What you see here is Linux code for, "Stop. Quit.You can't compile a 2007 antique on my shiny new 15.10 (built in October, 2015) system."

    You already have the correct driver, rt2800usb. It scans and sees networks.

    I do see this:
    Region: Europe/Madrid (based on set time zone)

    country 00: DFS-UNSET
    I recommend that your regulatory domain be set explicitly. Check yours:
    Code:
    sudo iw reg get
    If you get 00, that is a one-size-maybe-fits-all setting. Find yours here: http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 Then set it temporarily:
    Code:
    sudo iw reg set IS
    Of course, substitute your country code if not Iceland. Set it permanently:
    Code:
    gksudo gedit /etc/default/crda
    Use nano or kate or leafpad if you don't have the text editor gedit.

    Change the last line to read:
    Code:
    REGDOMAIN=IS
    Proofread carefully, save and close the text editor.

    Reboot with the ethernet detached and tell us what happens.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  3. #3
    Join Date
    Jan 2016
    Beans
    23

    Re: driver RT2870 STA_v1.2.1.0 not working. Wifi adapter SMCWUSB-N LUBUNTU (Ubuntu 15

    Thank you for your tip. I appended "ES" after "REGDOMAIN=" in this file "/etc/default/crda" as you suggested, then I unplugged the ethernet cable and I rebooted my computer eventually. For some reason I keep on however seeing this country code "00" as follows after launching the command "sudo iw reg get":

    country 00: DFS-UNSET
    (2402 - 2472 @ 40), (N/A, 20), (N/A)
    (2457 - 2482 @ 40), (N/A, 20), (N/A), NO-IR
    (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, NO-IR
    (5170 - 5250 @ 80), (N/A, 20), (N/A), NO-IR
    (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, NO-IR
    (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, NO-IR
    (5735 - 5835 @ 80), (N/A, 20), (N/A), NO-IR
    (57240 - 63720 @ 2160), (N/A, 0), (N/A)

    I just created the file wireless-info.txt. I will attach here the recreated file wireless-info.txt

    Needless to say the Wifi adapter does not work either after updating the file "/etc/default/crda" as explained.

    Thanks in advance for any other suggestion.

  4. #4
    Join Date
    Jan 2016
    Beans
    4

    Re: driver RT2870 STA_v1.2.1.0 not working. Wifi adapter SMCWUSB-N LUBUNTU (Ubuntu 15

    I'm having troubles with the pci 3290... have you tried to downgrade your kernel? Some threads about the 3290 suggests to downgrade and that to attempt to build the driver.

  5. #5
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,606
    Distro
    Ubuntu 17.10 Artful Aardvark

    Re: driver RT2870 STA_v1.2.1.0 not working. Wifi adapter SMCWUSB-N LUBUNTU (Ubuntu 15

    Quote Originally Posted by nicotra-davide-5 View Post
    I'm having troubles with the pci 3290... have you tried to downgrade your kernel? Some threads about the 3290 suggests to downgrade and that to attempt to build the driver.
    He doesn't have the infamous 3290. He has 157e:300e TRENDnet SMC SMCWUSB-N 802.11bgn 2x2:2 Wireless Adapter [Ralink RT2870]
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  6. #6
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,606
    Distro
    Ubuntu 17.10 Artful Aardvark

    Re: driver RT2870 STA_v1.2.1.0 not working. Wifi adapter SMCWUSB-N LUBUNTU (Ubuntu 15

    Quote Originally Posted by thosecars822 View Post
    Thank you for your tip. I appended "ES" after "REGDOMAIN=" in this file "/etc/default/crda" as you suggested, then I unplugged the ethernet cable and I rebooted my computer eventually. For some reason I keep on however seeing this country code "00" as follows after launching the command "sudo iw reg get":

    country 00: DFS-UNSET
    (2402 - 2472 @ 40), (N/A, 20), (N/A)
    (2457 - 2482 @ 40), (N/A, 20), (N/A), NO-IR
    (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, NO-IR
    (5170 - 5250 @ 80), (N/A, 20), (N/A), NO-IR
    (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, NO-IR
    (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, NO-IR
    (5735 - 5835 @ 80), (N/A, 20), (N/A), NO-IR
    (57240 - 63720 @ 2160), (N/A, 0), (N/A)

    I just created the file wireless-info.txt. I will attach here the recreated file wireless-info.txt

    Needless to say the Wifi adapter does not work either after updating the file "/etc/default/crda" as explained.

    Thanks in advance for any other suggestion.
    Yikes; just yikes.

    Please let us see:
    Code:
    sudo modprobe -r ndiswrapper
    sudo modprobe rt2800usb
    iwconfig
    You have tried a little bit of everything, it appears!
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  7. #7
    Join Date
    Jan 2016
    Beans
    23

    Re: driver RT2870 STA_v1.2.1.0 not working. Wifi adapter SMCWUSB-N LUBUNTU (Ubuntu 15

    The output for the mentioned code
    Code:
    sudo modprobe -r ndiswrapper
    sudo modprobe rt2800usb
    iwconfig
    is the following:

    Code:
    x@x-G31T-M2:~$ sudo modprobe -r ndiswrapper
    [sudo] password for x: 
    x@x-G31T-M2:~$ sudo modprobe rt2800usb
    x@x-G31T-M2:~$ iwconfig
    wlx0013f7c99c1b  IEEE 802.11bgn  ESSID:off/any  
              Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
              Retry short limit:7   RTS thr:off   Fragment thr:off
              Power Management:off
              
    lo        no wireless extensions.
    
    ens33     no wireless extensions.
    Now the device blinks again but it does not work anyways.
    Last edited by thosecars822; January 7th, 2016 at 06:24 PM.

  8. #8
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,606
    Distro
    Ubuntu 17.10 Artful Aardvark

    Re: driver RT2870 STA_v1.2.1.0 not working. Wifi adapter SMCWUSB-N LUBUNTU (Ubuntu 15

    Quote Originally Posted by thosecars822 View Post
    The output for the mentioned code
    Code:
    sudo modprobe -r ndiswrapper
    sudo modprobe rt2800usb
    iwconfig
    is the following:

    Code:
    x@x-G31T-M2:~$ sudo modprobe -r ndiswrapper
    [sudo] password for x: 
    x@x-G31T-M2:~$ sudo modprobe rt2800usb
    x@x-G31T-M2:~$ iwconfig
    wlx0013f7c99c1b  IEEE 802.11bgn  ESSID:off/any  
              Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
              Retry short limit:7   RTS thr:off   Fragment thr:off
              Power Management:off
              
    lo        no wireless extensions.
    
    ens33     no wireless extensions.
    So now you have a wireless interface. Does it scan and see networks?
    Code:
    sudo iwlist scan
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  9. #9
    Join Date
    Jan 2016
    Beans
    23

    Re: driver RT2870 STA_v1.2.1.0 not working. Wifi adapter SMCWUSB-N LUBUNTU (

    Thank you. I have not found yet any thread for the driver RT2870 that said something about that. What is more, I have never downgraded a kernel before. I'll take a look at this approach. Thank you for the idea by the way.

    Which Linux kernel should I downgrade to in order to try the last suggestion?
    Last edited by howefield; January 28th, 2016 at 11:15 AM.

  10. #10
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,606
    Distro
    Ubuntu 17.10 Artful Aardvark

    Re: driver RT2870 STA_v1.2.1.0 not working. Wifi adapter SMCWUSB-N LUBUNTU (Ubuntu 15

    Then I tried this:
    Code:

    x@x-G31T-M2:~$ sudo iwconfig wlx0013f7c99c1b essid TP-LINK_AC1980
    x@x-G31T-M2:~$

    After doing that I logged (http://192.168.1.1) in the router's admin admin website in order to check whether my computer shows up in the list of the devices connected wirelessly to the router. Unfortunately I do not see it there yet.
    There is a step missing:
    Code:
    sudo dhclient wlx0013f7c99c1b
    It may not succeed with Network Manager running, but let's see what it reports.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

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