RROrg / rr

Redpill Recovery (arpl-i18n)
GNU General Public License v3.0
4.23k stars 719 forks source link

板载RTL8111+PCIE RTL8125BG重启后随机调换网口顺序 #332

Closed koihano closed 11 months ago

koihano commented 11 months ago

Install ENV: (You can find it in the boot interface.)

RR version: (You can find it in the update menu.)

DSM:

Issue: 原来的arpl-i18n 23.10.4+DS918+没有该问题,从DS918+不保留配置重装为DVA3221后,网口默认为8111(NIC1)8125(NIC2)。在不明原因下,重启NAS后会可能导致两张网卡的顺序调换(但设置的静态IP等配置并没有跟随网卡位置的的对调而调换,还是遵循在原来位置上的配置)。尝试使用sortnetif插件将8125设置为NIC1(参数:macs:00e04c680be0),但此方法没有效果,8125会排序在NIC2上并且重启依旧有概率调换两张网卡

11.8日已测试23.11.2依然出现该问题,待测试使用sortnetif插件是否能固定网卡位置。

logs:
logs.zip

wjz304 commented 11 months ago

log 中看到你并未添加 sortnetif插件,或者添加以后并未重新编译使其生效

koihano commented 11 months ago

log 中看到你并未添加 sortnetif插件,或者添加以后并未重新编译使其生效

logs.zip 不好意思,耽搁了几天现在才重新抓logs。目前网卡随机调换问题已确实通过sortnetif插件解决,但填写的参数是【macs:NIC2MAC,NIC1MAC】,即位置是反过来的,在DSM里位置才正常,希望这个bug的发现能给开发者大大提供到一些帮助。

wjz304 commented 11 months ago

把 “macs:” 去掉, 只改 dsm系统,RR下不会改 是已知的,

koihano commented 11 months ago

把 “macs:” 去掉, 只改 dsm系统,RR下不会改 是已知的,

去掉后正常填写可按顺序识别了,感谢解惑。目前就是需要DSM内固定网卡顺序的功能,RR内的网卡顺序是经过观察应该是固定先识别板载8111后识别8125的,不影响配置使用。只是去掉sortnetif插件后DSM网卡顺序依旧会乱跳。

wjz304 commented 11 months ago

只是去掉sortnetif插件后DSM网卡顺序依旧会乱跳。

那肯定的啊,

wjz304 commented 11 months ago

The problem has been resolved, The issue is closed