fbelavenuto / arpl-modules

Binary modules for ARPL
GNU General Public License v2.0
24 stars 47 forks source link

Cannot get IP address #100

Open bigpizza opened 1 year ago

bigpizza commented 1 year ago

Synology OS DSM 7.1.1-42962 Update 2 on DS3622xs ARPL: 1.0 beta 2 Motherboard: ASRock C2750D4i Extra network card: Asus PCE-C2500 Mem: 16GB

Hi, just started using ARPL since 11/06. My NAS has 3 network adapters (2 on mother board and 1 extra) but since ~1 day ago, I was not able to connect to it.

I've build loader with ARPL several times when upgrading DSM and 80% time I think I could see the IP address from terminal (when booting the system and in menu.sh wizard). I tried to reboot my NAS and switched network adapters, unforunately, most of the time I cannot see an valid IP address on the booting screen. I could not find it on my router, nor with Synology Assistant.

Could it be an issue of network drivers? I used the default addon list when building the loader.

Thanks in advance!

fbelavenuto commented 1 year ago

Hi, please check in "modules" menu if ALL modules is selected. This board have two network ports with intel i210 chipset, and a external network card. Do you know what is chipset this network card?

Is possible to execute in loader the command "lspci -nnk", please type it and post results here.

bigpizza commented 1 year ago

Thanks fbelavenuto. The command "lspci -nnk" listed all three Ethernet controller: RTL8125 and two i210(s).

I made a new ARPL loader and noticed that when I used RTL8125, it took much longer to get an IP address, and ARPL would report ERROR since timeout. I checked the ip address about 1min after boot into loader, I could see an IP address via "ip route get 1.1.1.1".

From "boot.sh" I noticed that the timeout of IP acquiring was set to 15sec. In my case, two i210 adapter can get IPs (sometime after 15sec), but for RTL8125, the IP address may be lost after some time.

So I think the driver of r8125 might have some issue, and the 15sec timeout seems too short in such situation.

fbelavenuto commented 1 year ago

Thanks for the report

fbelavenuto commented 1 year ago

Please update the ARPL, rebuild the loader and test it again with RTL8125.

fbelavenuto commented 1 year ago

Please update ARPL, reboot, update modules, addons and lkm, rebuild the loader and test it.