TL MR3020v3 kernel and packages compatibility issue

Good morning all,

I'm trying to install on a TL MR-3020V3 running

openwrt-ramips-mt76x8-tplink_tl-mr3020-v3-squashfs-sysupgrade.bin

(downlaoded from https://openwrt.org/toh/tp-link/tl-mr3020_v3)

the following packages with Luci:

kmod-usb-net
kmod-usb-net-rndis
kmod-usb-net-cdc-ether

but I got the errors listed below.

What should I do to install these packages?

Many thanks for your attention.
Any help will be really appreciated.

Mario

ERRORS:

Details for package kmod-usb-net-rndis

Version: 4.14.121-1
Size: ~4.3 KB installed
Dependencies:
    kernel Version incompatible
    kmod-usb-net (12.2 KB) Not installed
        kmod-mii (3.5 KB) Not installed
        kmod-usb-core Installed
            kmod-nls-base Installed
    kmod-usb-net-cdc-ether (3.5 KB) Not installed

Description

Kernel support for RNDIS connections

The installed version of package kernel is not compatible, require 4.14.121-1-c53f8172… while 4.14.118-1-c53f8172… is installed.

Details for package kmod-usb-net

Version: 4.14.121-1
Size: ~12.2 KB installed
Dependencies:
    kernel Version incompatible
    kmod-mii (3.5 KB) Not installed
    kmod-usb-core Installed
        kmod-nls-base Installed

Description

Kernel modules for USB-to-Ethernet convertors

The installed version of package kernel is not compatible, require 4.14.121-1-c53f8172… while 4.14.118-1-c53f8172… is installed.

Details for package kmod-usb-net-cdc-ether

Version: 4.14.121-1
Size: ~3.5 KB installed
Dependencies:
    kernel Version incompatible
    kmod-usb-net (12.2 KB) Not installed
        kmod-mii (3.5 KB) Not installed
        kmod-usb-core Installed
            kmod-nls-base Installed

Description

Kernel support for USB CDC Ethernet devices

The installed version of package kernel is not compatible, require 4.14.121-1-c53f8172… while 4.14.118-1-c53f8172… is installed.

@_mario, welcome to the community!

Your device is supported in the development snapshot at this time. You must therefore flash the current one each time desiring to install new packages.

The snapshot is made new ~24 hours.

Also, per the Community Guidelines, please refrain from signing your posts.

@lleachii, many thanks for your fast answer :slight_smile:

Four packages have been installed with the installation of kmod-usb-net-rndis only.

This is the result:
Configuring kmod-mii.
Configuring kmod-usb-net.
Configuring kmod-usb-net-cdc-ether.
Configuring kmod-usb-net-rndis.

I'm now looking for instructions/tutorials/guide on how to set up a new interface and have the USB tethering working with a Samsung phone (ACE4).
This link seems correct but the contents do not seem updated.
The Luci interface screen shots I see look very different.
https://openwrt.org/docs/guide-user/network/wan/smartphone.usb.tethering

Could you please point me in the right direction?

Thanks very much for any help.

Connect the phone to the USB port.
On the phone, open the settings app, then Wireless and Networks-->Other-->Tethering and Mobile Hotspot and turn on USB Tethering.
On the router, read the end of the Kernel Log (Status --> Kernel Log) you should see activity from the RNDIS driver including the creation of a new interface with a MAC address. Usually this interface is usb0 though it may also be eth1. Note the name of the interface.
On the router, go to Network-->WAN-->Physical Settings and select the RNDIS interface name.

@mk24 many thanks for your answer

I connected the phone to the USB port, turned on phone USB Tethering and saw activity from the drivers.

[ 1828.344506] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 1830.014372] usb 1-1: USB disconnect, device number 2
[ 1830.414498] usb 1-1: new high-speed USB device number 3 using ehci-platform
[ 1863.309865] usb 1-1: USB disconnect, device number 3
[ 1863.664385] usb 1-1: new high-speed USB device number 4 using ehci-platform
[ 1863.870053] rndis_host 1-1:1.0: rndis media connect
[ 1863.916536] rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-101c0000.ehci-1, RNDIS device, ea:6d:5d:19:df:dd

No interface has been created.
I followed, even if the LUCI screenshots are different, the directions given here, at my best:
https://openwrt.org/docs/guide-user/network/wan/smartphone.usb.tethering

Under NETWORK/Interfaces:
Added new interface with name USB_Tether
Protocol: Static IP (i've not been able to set DHCP client - will look at in the future)
IPv4 192.168.42.127 (don't remember now were I got these numbers, maybe from a working phone to XP USB connection)
Netmask 255.255.255.0
Gateway 192.168.42.129
DNS 192.168.42.129
NO DHCP server configured
Saved changes

Under NETWORK/Interfaces/USB_Tether tab/Physical Settings tab:
Interface: selected Ethernet Adapter "usb0" (USB_Tether)
Saved changes

Under Network/Firewall/General Settings tab:
Zones: set WAN to USB_Tether
usb0 remains (empty)
Saved changes

I really don't know if all of this is correct/complete, maybe there are other settings to add/modify, to fully configure the USB_Tether function properly.

But it works.

Any suggestion is welcome !

Thanks again to all of those have helped writing SW, answers and tutorials.