fbelavenuto / arpl

Automated Redpill Loader
GNU General Public License v3.0
7.16k stars 1.54k forks source link

No ip with 5 mac #441

Open apriliars3 opened 1 year ago

apriliars3 commented 1 year ago

Hi,

I am testing with genuine sn and mac of DS3622xs+ and when I try with netif_num=5 and mac1, ..., mac5 no ip, but when I try with netif_num=4 and mac1, ..., mac4 I detect with Synology assistant and found ip.

Is this a issue? Only limit 4 mac?

Thanks

PD: TCRP the same issue, only 4 mac or less, with 5 mac or more no found ip NAS Synology.

fbelavenuto commented 1 year ago

Is a DSM limit

apriliars3 commented 1 year ago

Why? DS3622xs+ has 5 nic with 5 mac.

I have other arpl beta with 5 mac, but show me advise that netif_num is not equal to mac, but works with IP, but the latest versions of arpl or tcrp no works with 5 mac, only with 4 mac or less.

fbelavenuto commented 1 year ago

Why? DS3622xs+ has 5 nic with 5 mac. In the DS3622xs+, the fifth nic is for OOB, not for normal use.

I have other arpl beta with 5 mac, but show me advise that netif_num is not equal to mac, but works with IP, but the latest versions of arpl or tcrp no works with 5 mac, only with 4 mac or less.

Which version? Is it with 3622 too?

apriliars3 commented 1 year ago

I think is arpl alpha, I don’t remember that I use with HP Microserver and still use DSM 7.1.0-42661 and can’t update to beta because I need to change microsd and open the case.

When I can tell you with version and show the advise.

apriliars3 commented 1 year ago

Captura de pantalla 2022-12-19 190220 Captura de pantalla 2022-12-19 191132

Well, only netif_num=4.

Is it not possible mac5 or more? I can test it with HP Microserver Gen 8 and Proxmox.

naoki66 commented 1 year ago

synoinfo add maxlanport = 5

apriliars3 commented 1 year ago

synoinfo add maxlanport = 5

no works.

Add netif_num=5 and mac5 with maxlanport: 5 but no find the Synology NAS.

AuxXxilium commented 1 year ago

the redpill-lkms only support up to 4 mac. so more is not possible. i tried with 4 mac setting in config and booting with 6 adapter in my server. system is booting and 5/6 with 10gbit are usable, too.

AuxXxilium commented 1 year ago
//You CANNOT simply add more macN= - DSM kernel only uses 4. If they ever support >4 you need to modify cmdline handling
#define CMDLINE_KT_MAC1      "mac1="
#define CMDLINE_KT_MAC2      "mac2="
#define CMDLINE_KT_MAC3      "mac3="
#define CMDLINE_KT_MAC4      "mac4="

Look here: https://github.com/RedPill-TTG/redpill-lkm/blob/master/config/cmdline_opts.h

apriliars3 commented 1 year ago
//You CANNOT simply add more macN= - DSM kernel only uses 4. If they ever support >4 you need to modify cmdline handling
#define CMDLINE_KT_MAC1      "mac1="
#define CMDLINE_KT_MAC2      "mac2="
#define CMDLINE_KT_MAC3      "mac3="
#define CMDLINE_KT_MAC4      "mac4="

Look here: https://github.com/RedPill-TTG/redpill-lkm/blob/master/config/cmdline_opts.h

I want this......

If they ever support >4 you need to modify cmdline handling

Need modify cmdline. If can add max to 5 or not is possible?

AuxXxilium commented 1 year ago

why do you need 5 custom mac? 1 mac is enough to let the dsm look to be valid.

apriliars3 commented 1 year ago

I don’t need 5 macs, I only ask to you why is not possible modify cmdline with 5.

It’s limitation of linux kernel, but say it is necessary modify if you want more than 4.

I only need one serial number and mac genuine of Synology.

Thanks.

snailium commented 1 year ago

I just hit this problem. After some searching, I landed at this page.

I would suggest add a warning when netif_num is greater than 4. Or, automatically adjust netif_num when booting, similar to the "netif_num doesn't match maxX" handling.

Thanks.

AuxXxilium commented 1 year ago

This check is inside.Am 21.04.2023 um 21:38 schrieb snailium @.***>: I just hit this problem. After some searching, I landed at this page. I would suggest add a warning when netif_num is greater than 4. Or, automatically adjust netif_num when booting, similar to the "netif_num doesn't match maxX" handling. Thanks.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>