whi-tw / macvlan-unifios

macvlan kernel module for UniFi OS devices
GNU General Public License v3.0
19 stars 5 forks source link

[FIRMWARE REQUEST]: UDR 3.0.17 #13

Open whi-tw opened 1 year ago

whi-tw commented 1 year ago

Device

UDR (Unifi Dream Router)

Firmware Version

3.0.17

Kernel Version

No response

Tested with previous version of the module?

No response

Kernel build options

No response

Extra information

Any other information / context

No response

Is there an existing request for this?

whi-tw commented 1 year ago

GPL dump requested:

Date: Mon, 20 Feb 2023 12:55:27 +0000
Subject: GPL Dump Request: UDR 3.0.17
To: "opensource-requests@ui.com" <opensource-requests@ui.com>

Hi,

Can I please have a GPL dump for firmware 3.0.17 for the UDR?

Kind regards,

Tom Whitwell
stargriv commented 1 year ago

Hi @whi-tw, I checked the compatibility between 3.0.13 and 3.0.17 and the kernel module is working fine. Here is the evidence:

uname -a
Linux UDR 4.4.198-ui-mtk #1 SMP PREEMPT Fri Feb 10 15:27:40 CST 2023 aarch64 GNU/Linux

lsmod | grep macvlan
macvlan                16226  0

sha256sum /data/macvlan-module/UDR-3.0.17_macvlan.ko
5a0db9ad2e322c2f12b376683b98575c7ee6d6badace34494baff70d47f67477  /data/macvlan-module/UDR-3.0.17_macvlan.ko

ubnt-device-info firmware
3.0.17
DennisGaida commented 1 year ago

the kernel module is working fine

You mean you checked only the files or did you try it out? The kernel module wasn't working for me when I upgraded to FW 3.0.17 on UDR and also I couldn't re-install the kernel module (error message was wong version).

DennisGaida commented 1 year ago

Confirmed. The previous 3.0.13 version works

Since the setup_macvlan.sh script downloads and calls the module with the current version's firmware you have to do this manually, i.e. download the previous 3.0.13 version and rename that to 3.0.17 (i.e. 3.0.17-macvlan.ko).

NeilInnes commented 1 year ago

Confirmed. The previous 3.0.13 version works

Since the setup_macvlan.sh script downloads and calls the module with the current version's firmware you have to do this manually, i.e. download the previous 3.0.13 version and rename that to 3.0.17 (i.e. 3.0.17-macvlan.ko).

Also confirmed, however I had to download it directly rather than use the script:

wget -O /data/macvlan-module/UDR-3.0.17_macvlan.ko2 https://github.com/whi-tw/macvlan-unifios/releases/download/v1.4.0/UDR-3.0.13_macvlan.ko