jinlife

Community Developer
  • Posts

    173
  • Joined

  • Last visited

Posts posted by jinlife

  1. 1 hour ago, Nofences said:

    I installed the driver and restarted, however performance is not good, when connected to my gigabit switch, I am seeing 100+ mbps transferring to and from the Unraid server, when connected to my 10gbe switch, I am getting 217 mbps FROM my Unraid server, but only 18 mbps TO the Unraid server. Cache drive on the server is functioning normally, so it is not a write speed issue. I have not removed the driver yet, but I did put my connection back on the gigabit switch until I can determine why.

    Do you have any other 2.5G card to test? Maybe a R8156 USB network card?

    Some old 10Gbe chips do not support negotiate with 2.5G speed.

  2. 9 hours ago, comet424 said:

    @jinlifeso i going to try this.. i moved all the files off my flash drive for my k-9 server that wasnt working for your plugin..

    i downloading and installing 6.12.2 and then ill copy my key over.. and then ill try to install your driver  like you had me.. and ill see if ia blank system  if the network card disappears

    I mean your previous plugins, you should have installed some other plugins before.

    My r8125 plugin isn't the key, no need to try it.  The built-in driver in Unraid should be fine with your RTL8168h/8111h network card.

    Just reinstall a brand new system and boot it up, then check if any previous errors happen in the diagnostic.

  3. There are multiple erros in your diagnostic, it should not happen during the boot up. It seems something is broken in your system.

    Also 6.12.x is a newly releaesd software which might not be stable enough.

    I have checked my plugin with my hardware which both have r8125 and r8156 network card, everything is fine with the network. So the issue might not come from my plugin.

     

    I would recommend to install a brandnew Unraid 6.11.5 system and see if it can remove those errors. It should be fine with a clean Unraid system configuration. You'd better reconstruct the system, and install previous plugins one by one.

     

  4. 11 minutes ago, comet424 said:

    @jinlife ok got it back up again...   i wasnt able to uninstall the r8125 as it was not there in plugins page  it was under the install error plugin page

    but i did delete the conf file in the modprobe.d  and rebooted..  

    is there any other tests or the other driver you want me to test?  and if not ill plug video card back in the main server to take pics of the screen of the 2 spots it hangs alot 

    I'm working on the plugin, it seems not working properly.

    Please go ahead with your change. I'm afraid I can't help you with the plugin now. Please ask other expert's help.

  5. @comet424 

    For the r8125 driver plugin, could you please boot into server with GUI (second one in boot options list) and check whether the card is present in the network settings? The ip may be different. Also you need to connect a working network cable to the port otherwise unraid might not allocate ip to it.

    Also you can run command "modinfo r8125" to see whether the driver is installed.

    • Like 1
  6. Here is the support thread for the Realtek R8125, R8168\R8111 and R8152\6 drivers plugins.

    If you have any questions, please ask in this thread.

     

    Thanks to @ich777, we can bring this plugin to the community. It is fully open source and free.

    The repo is: https://github.com/jinlife/unraid-r8125-r8152-driver

     

    Precaution:

    • Please be carefull about these drivers. You may lose the network if the driver is wrong.
    • If you have no idea what type of chip your network card is, please do NOT install this plugin. There are supported chips listed in the description of the plugin.
    • If you have no issues with Unraid built-in drivers, please ignore the nofitication from Fix Common Problems and keep using built-in drivers.

     

    Instructions:

    1.  Navigate to Tools -> System Devices  in the Unraid.
    2.  If you see: Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller
    3. Then you will probably benefit from the "RTL8125" plugin
    4. Same step goes to R8156 and R8168\R8111 plugins.

     

    Scenario:

    • It is the driver for PCI 2.5G Realtek RTL8125 chip, PCI 1G Realtek RTL8168\8111 and for USB 2.5G Realtek RTL8152\6 chip network card.
    • If you have one of those network card and it is not working properly and is not full speed, you can try this plugin.
    • If you think the driver isn't good with your hardware, uninstallation can clean it completely.

     

    Note:

    Please only install the plugin for RTL8125, R8168\R8111 and RTL8152\6 chips.

    Especially, if you have both RTL8168\8111 and RTL8125 network card, please install RTL8168\8111 and RTL8125 plugin together.

     

    Please feel free to share your comments here.

     

    Please search key word realtek in CA App and you can find them. Thanks to @Squid

    Note:

    1.  The R8125 or R8168 plugin will blacklist R8169 automatically, and uninstall them all will remove the blacklist.

    2. The R8152\6 plugin will blacklist cdc_ncm automatically, and uninstall it will remove the blacklist.

     

    image.thumb.png.92f41a62dd4256a0ade7727a4d64442f.png

     

    Original source code:

    R8125 v9.013.02 and R8168 v8.053.00

    https://www.realtek.com/Download/List?cate_id=584

    R8152(6) v2.17.1

    https://www.realtek.com/Download/List?cate_id=585

     

    • Like 11
  7. 7 hours ago, tent said:

    也就是说如果升级6.12,r8125的网卡就驱动不了了,对么?

    r8125 Unraid有个老驱动r8169,可能速度跑不满,用还是能用。这个做插件比较麻烦,原始代码不带r8125专门的驱动。

    r8152其实也有个老驱动,不过驱不动r8156,应用市场有插件了,原理就是把那个老驱动文件换个新的。

    再就是没有iommu补丁了,多口网卡插到非CPU的PCIE插槽上面无法分组,没办法单独给虚拟机用。

     

    你要没以上需求,升级也能用啊。那个速度跑不满好像也不是每个人都有,说不定你碰不到。

     

  8. 1 hour ago, hoeman said:

    How do I revert this blacklist? Anyone? I'm asking because I'd like to upgrade to 6.12 rc1 but when I upgrade from my current setup, it doesn't detect the r8125 built-in NIC of my motherboard.

    去U盘删掉这个文件,重启就行了。

    如果是已有服务器,有数据了,那不建议用什么rc测试版,不稳定,除非你想帮官方做测试,没什么重要数据。

  9. 13 hours ago, hoeman said:

    @jinlife It looks like @ich777 has created a plugin in the app store for RTL8152/3/4/6 USB Drivers! It was just added today!

    Awesome, it is a good news. He is a reliable maintainer and I can relax.

    But frankly speaking, the network driver should be unraid official responsibility since it is a paid software, it should not be ours.

  10. 12 hours ago, hoeman said:

    Hmmm.. how would it work if my router is a VM in unraid? My current setup has pfSense as a VM in unraid.

     

    • Unraid set to static IP 192.168.50.3 on eth0

    • pfSense VM set to 192.168.50.1 on br0 (bridging enabled on eth0)

    • my managed switch set to 192.168.50.2

    • all other devices connected to the managed switch including wireless AP and they all exist on 192.168.50.0/24

     

    How do I translate this to the virbr0 model described above where there are 2 networks 192.168.1.x and 192.168.122.x?

    192.168.1.x is just an example, it should be your 192.168.50.0/24 which is outside network.

    pfSense and unraid should be connected with real network cable and they cannot share interface eth0. Like my point 1 and 2 said, you will need an eth1.

    Maybe you can add a RTL8156 USB network card, then assign it to Unraid, or passthrough to pfSense.