Author Topic: RT2870STA wifi Driver  (Read 4176 times)

Offline cavy

  • Trusted User
  • Member
  • *****
  • Posts: 477
  • Karma: 97
  • Caveman
    • View Profile
  • Peppermint version(s): Peppermint Ten
RT2870STA wifi Driver
« on: February 24, 2017, 02:23:05 am »
Hi fellow pepperminters,

I have hit a brickwall with this driver install. Only MS instructions with packaging, Linux drivers were on mini CD. Extracted tar.bz and tried to read the 'makefile' and 'read-me' files, as clear as mud.

Came across this forum Q&A, during my research: http://linuxforums.org.uk/index.php?topic=852.15;PHPSESSID=f419mtmladgbe8nn2dcito7qt2 , even downloaded the drivers from page 2, treid them, as they had instructions.

Then tried cloned drivers from  GIT, but their instructions resulted in failure and numerous errors during make.

Enclose read-me and makefile, hopefully you will translate this for me and give me some pointers how to correctly read such documents. My head hurts...!

Also inxi -F, iwconfig, sudo lshw -C network, sudo iwlist scanning, lsmod

SPECS

Spoiler (click here to view / hide)
[close]


THE DEVICE  "WOSUK Wifi Dongle 600Mbps Dual Band 2.4G/5G AC600 Wireless Usb Network Adapter Card Usb"

&
 
File MT7612U_DPO_LinuxSTA_3.0.0.1_20140718.tar.bz2  3.4Mb
« Last Edit: February 24, 2017, 03:46:01 am by cavy »
“We know what we are, but not what we may be.”

Various machines to sample the delights of Linux

Offline cavy

  • Trusted User
  • Member
  • *****
  • Posts: 477
  • Karma: 97
  • Caveman
    • View Profile
  • Peppermint version(s): Peppermint Ten
Re: RT2870STA wifi Driver
« Reply #1 on: February 24, 2017, 02:25:23 am »
As I maxed out: have TO post these spoilers separate

READ-ME

Spoiler (click here to view / hide)
[close]


MAKEFILE

Spoiler (click here to view / hide)
[close]
« Last Edit: February 24, 2017, 02:27:57 am by cavy »
“We know what we are, but not what we may be.”

Various machines to sample the delights of Linux

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: RT2870STA wifi Driver
« Reply #2 on: February 24, 2017, 04:32:58 am »
Those instructions are very old...

What's the output from:
Code: [Select]
lsusband
Code: [Select]
sudo lshw -C networkand
Code: [Select]
rfkill list
« Last Edit: February 24, 2017, 05:10:30 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline cavy

  • Trusted User
  • Member
  • *****
  • Posts: 477
  • Karma: 97
  • Caveman
    • View Profile
  • Peppermint version(s): Peppermint Ten
Re: RT2870STA wifi Driver
« Reply #3 on: February 25, 2017, 03:36:22 am »
G'Day mate  :D

lsusb

Code: [Select]
anthony@tower ~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 10d5:000d Uni Class Technology Co., Ltd
Bus 001 Device 004: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 001 Device 003: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

sudo lshw -C network

Code: [Select]
anthony@tower ~ $ sudo lshw -C network
[sudo] password for anthony:
  *-network               
       description: Ethernet interface
       product: Ethernet Connection (2) I219-V
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       logical name: enp0s31f6
       version: 31
       serial: d0:17:c2:8a:4d:1b
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.7-4 ip=192.168.0.11 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:124 memory:f7000000-f701ffff

rfkill list  (this didn't return anything?)

Code: [Select]
anthony@tower ~ $
anthony@tower ~ $ rfkill list
anthony@tower ~ $

 8)
“We know what we are, but not what we may be.”

Various machines to sample the delights of Linux

Offline cavy

  • Trusted User
  • Member
  • *****
  • Posts: 477
  • Karma: 97
  • Caveman
    • View Profile
  • Peppermint version(s): Peppermint Ten
Re: RT2870STA wifi Driver
« Reply #4 on: February 25, 2017, 03:44:16 am »
With my old coal powered usb wifi dongle. That was plug and go, unlike the newer and allegedly better dual band thingie, lol...!   :-\

 sudo lshw -C network

Code: [Select]
anthony@tower ~ $ sudo lshw -C network
  *-usb:1                 
       description: Wireless interface
       product: MT7601U Wireless Adapter
       vendor: Ralink Technology, Corp.
       physical id: 7
       bus info: usb@1:7
       logical name: wlx243c200b907e
       version: 0.00
       serial: 24:3c:20:0b:90:7e
       capabilities: usb-2.01 ethernet physical wireless
       configuration: broadcast=yes driver=mt7601u driverversion=4.4.0-64-generic firmware=N/A ip=192.168.0.14 link=yes maxpower=160mA multicast=yes speed=480Mbit/s wireless=IEEE 802.11bgn
“We know what we are, but not what we may be.”

Various machines to sample the delights of Linux

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: RT2870STA wifi Driver
« Reply #5 on: February 25, 2017, 12:12:00 pm »
Unplug the USB wifi adapter that isn't working .. wait 5 seconds .. replug the USB wifi adapter .. post the output from:
Code: [Select]
dmesg | tail -n 50
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline cavy

  • Trusted User
  • Member
  • *****
  • Posts: 477
  • Karma: 97
  • Caveman
    • View Profile
  • Peppermint version(s): Peppermint Ten
Re: RT2870STA wifi Driver
« Reply #6 on: February 25, 2017, 12:29:49 pm »

dmesg | tail -n 50

Spoiler (click here to view / hide)
[close]

PULL COUNT TO 5 AND REINSERT

Spoiler (click here to view / hide)
[close]

“We know what we are, but not what we may be.”

Various machines to sample the delights of Linux

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: RT2870STA wifi Driver
« Reply #7 on: February 25, 2017, 12:43:49 pm »
Okay you've confused the hell outa me with post #4 .. are these BOTH MT7601 adapters ?

Was the one you just replugged the one that doesn't work ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline cavy

  • Trusted User
  • Member
  • *****
  • Posts: 477
  • Karma: 97
  • Caveman
    • View Profile
  • Peppermint version(s): Peppermint Ten
Re: RT2870STA wifi Driver
« Reply #8 on: February 25, 2017, 01:16:18 pm »
Sorry about that   ::)

Both are for the non-working device, before and after being pulled/replugged, which need the drivers from this MT7612U_DPO_LinuxSTA_3.0.0.1_20140718.tar.bz2
« Last Edit: February 25, 2017, 01:17:59 pm by cavy »
“We know what we are, but not what we may be.”

Various machines to sample the delights of Linux

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: RT2870STA wifi Driver
« Reply #9 on: February 25, 2017, 01:27:45 pm »
With just the NON working dongle plugged in .. REBOOT

Once rebooted, post the output from:
Code: [Select]
lsusband
Code: [Select]
lsmod
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline cavy

  • Trusted User
  • Member
  • *****
  • Posts: 477
  • Karma: 97
  • Caveman
    • View Profile
  • Peppermint version(s): Peppermint Ten
Re: RT2870STA wifi Driver
« Reply #10 on: February 25, 2017, 01:35:45 pm »
lsusb

Spoiler (click here to view / hide)
[close]


lsmod

Spoiler (click here to view / hide)
[close]
“We know what we are, but not what we may be.”

Various machines to sample the delights of Linux

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: RT2870STA wifi Driver
« Reply #11 on: February 25, 2017, 03:09:11 pm »
Connect with an ethernet cable and run these commands in sequence:
Code: [Select]
cd ~/Desktopthen
Code: [Select]
wget https://dl.dropboxusercontent.com/u/11876059/mt7610u-driver.tar.gzthen
Code: [Select]
tar xvf mt7610u-driver.tar.gzthen
Code: [Select]
cd ~/Desktop/mt7610u-driverthen
Code: [Select]
makethen
Code: [Select]
sudo make installthen
Code: [Select]
sudo depmod -athen
Code: [Select]
sudo modprobe mt7610udid wireless spring to life ?

If so, does it survive a reboot ?

If so, you can delete the mt7610u-driver directory from the desktop, but I suggest you keep the mt7610u-driver.tar.gz archive somewhere as you may need to rebuild the driver after a kernel upgrade.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline cavy

  • Trusted User
  • Member
  • *****
  • Posts: 477
  • Karma: 97
  • Caveman
    • View Profile
  • Peppermint version(s): Peppermint Ten
Re: RT2870STA wifi Driver
« Reply #12 on: February 25, 2017, 03:38:51 pm »
Okey Cokey m8  :o 

wow...........! I had a few this evening, and will do this tomorrow, that is some homework assignment.

So I had the wrong tar ball, like your "Linux in the UK forum" Q&A with Noobuntu back in 2011.

Cheers, I'll let you know how I got on some time tomorrow  :D
“We know what we are, but not what we may be.”

Various machines to sample the delights of Linux

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: RT2870STA wifi Driver
« Reply #13 on: February 25, 2017, 04:12:38 pm »
The new adapter is an MT7610U .. the earlier one is an MT7601U .. they are differnt chips so require different drivers, and neither really want rt2870sta

I doubt the drivers from my posting on linuxforums.org.uk would still compile against the later 4.x kernels anyway.
« Last Edit: February 25, 2017, 04:16:52 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline cavy

  • Trusted User
  • Member
  • *****
  • Posts: 477
  • Karma: 97
  • Caveman
    • View Profile
  • Peppermint version(s): Peppermint Ten
Re: RT2870STA wifi Driver
« Reply #14 on: February 26, 2017, 03:43:09 am »
Failed at sudo make install it gave this make: *** No rule to make target 'install'. Stop. as reason. Enclose full read out of terminal install.   :-\  Very similar to previous attempts   :(

Spoiler (click here to view / hide)
[close]
“We know what we are, but not what we may be.”

Various machines to sample the delights of Linux