I tried to get my WiFi Stick run with Osmc but in Network Options there is only the wired tab. I think Osmc needs the driver but i don’t know how to get them.
Can anyone help?
According to https://wikidevi.com/wiki/Tenda_W311Ma the driver might be either rt28000usb, which is on OSMC, or rt3370sta, which isn’t.
We’d need logs to see what’s happening on your system.
Fresh installation with plugged in USB Wireless Mouse, IR Remote and the Wifi Stick
and after update/dist-upgrade
The vendor ID is 148f and the product ID is 2878:
Mar 16 03:33:55 osmc kernel: usb 1-1.2: new high-speed USB device number 4 using dwc_otg
Mar 16 03:33:55 osmc kernel: usb 1-1.2: New USB device found, idVendor=148f, idProduct=2878
Mar 16 03:33:55 osmc kernel: usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Mar 16 03:33:55 osmc kernel: usb 1-1.2: Product: ̉ۡ
Mar 16 03:33:55 osmc kernel: usb 1-1.2: Manufacturer: ̉ۡ
Mar 16 03:33:55 osmc kernel: usb-storage 1-1.2:1.0: USB Mass Storage device detected
Mar 16 03:33:55 osmc kernel: scsi host0: usb-storage 1-1.2:1.0
There is no driver on OSMC for idVendor=148f, idProduct=2878.
You’ll also see that it also contains a “USB Mass Storage” device, which appears a little later in the log, that will probably contain the Windows driver:
Mar 16 03:33:55 osmc kernel: scsi 0:0:0:0: CD-ROM MediaTek Flash autorun 0.01 PQ: 0 ANSI: 0 CCS
...
Mar 16 03:33:55 osmc kernel: scsi 0:0:0:0: Attached scsi generic sg0 type 5
Mar 16 03:33:56 osmc kernel: sr 0:0:0:0: [sr0] scsi3-mmc drive: 52x/52x cd/rw xa/form2 cdda tray
Mar 16 03:33:56 osmc kernel: cdrom: Uniform CD-ROM driver Revision: 3.20
Mar 16 03:33:56 osmc kernel: sr 0:0:0:0: Attached scsi CD-ROM sr0
Looking at the Tenda site, the Linux download is for the mt7601u driver, which does exist. So you can try this. First unplug the device, then run:
sudo modprobe mt7601u
echo "148f 2878" | sudo tee "/sys/module/mt7601u/drivers/usb:mt7601u/new_id"
then plug the device back in. See if that helps.
Unless we know what the chipset is, it’s going to be pot luck, I’m afraid. If yours is a V3.0 version of the dongle, then mt7601u should be the correct driver, according to the download page.
I revisited the download page for the drivers at Tenda-All For Better NetWorking and it actually looks like they changed the chipset. The mt7601u driver was the latest one (V3.0) but, there’s also a driver for rt2870 and possibly rt5572, which don’t seem to be on OSMC.
I think the bottom line is that this is only going to work on Windows.
But there are official drivers for Linux. My hope was that the WiFi Stick run with OSMC.
The Guy here has a similar problem 3 Years ago.
First, it’s not clear which chipset you have.
Second, the post you linked to is for a different VID/PID (148f:2070). Your device is 148f:2878. The driver mentioned, rt2870sta, isn’t available on OSMC (or Raspbian, for that matter).
Third, on Linux the drivers need to be compiled for a specific kernel, so that when you change the kernel you’ll need to recompile the driver. Compiling drivers isn’t a trivial exercise, but we return to point 1.
how can i find out what chipset the stick have?
Other than taking it to pieces, I don’t know.
i don’t know if it helps, but in Windows device manager there is a driver called netr28ux.sys, fw_7662, patch_7662
Well, that looks like it could be similar to rt2870 but that’s as far as it goes. If you can get driver properties from the device manager, that would help.
FYI, the rt2870 firmware is already installed, but not the driver.
Driver date: 28.10.2015
Driver version: 5.1.25.0
Hardware ID: 148F&PID_7601&REV_0000
Manufacturer: MediaTek, Inc, Ralink Tec
Service: netr28ux
INF transcript: OS61_RTWLANR_7601.ndi
Name of the Installation: netr28ux.inf:61e54d97efa88202:OS61_RTWLANR_7601.ndi:5.1.25.0:usb\vid_148f&pid_7601
This is all a bit messed up. In Linux, the device is reporting itself to be 148f:2878. If it had reported itself to be 148f:7601, it should have automatically picked up the mt7601u driver (marked <<<<
):
osmc@osmc:~$ modinfo mt7601u
filename: /lib/modules/4.14.26-2-osmc/kernel/drivers/net/wireless/mediatek/mt7601u/mt7601u.ko
license: GPL
firmware: mt7601u.bin
srcversion: D06F3ABB275F34B500D150A
alias: usb:v7392p7710d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2A5Fp1000d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2955p1001d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2955p0001d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2717p4106d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p3D04d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v148Fp760Dd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v148Fp760Cd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v148Fp760Bd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v148Fp760Ad*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v148Fp7601d*dc*dsc*dp*ic*isc*ip*in* <<<<
alias: usb:v13D3p3434d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v13D3p3431d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0E8Dp760Bd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0E8Dp760Ad*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0B05p17D3d*dc*dsc*dp*ic*isc*ip*in*
depends: mac80211,cfg80211
intree: Y
name: mt7601u
vermagic: 4.14.26-2-osmc SMP preempt mod_unload modversions ARMv7 p2v8
osmc@osmc:~$ ls -l /lib/firmware/mt7601u.bin
-rwxr-xr-x 1 root root 45412 Nov 22 00:53 /lib/firmware/mt7601u.bin
The firmware is also present.
If rebooting and re-trying:
sudo modprobe mt7601u
echo "148f 2878" | sudo tee "/sys/module/mt7601u/drivers/usb:mt7601u/new_id"
doesn’t work, then you’re basically out of luck with this device on OSMC.
Did you actually followed this?
I followed the instruction but it seems not to work.
Here is the log.
http://paste.osmc.tv/patatuxonu