jinlife

Community Developer
  • Posts

    173
  • Joined

  • Last visited

Posts posted by jinlife

  1. On 10/25/2023 at 11:23 AM, always67 said:

    使用插件和替换文件都能正常驱动8156的usb 2.5g网卡,但是大概几分钟就会丢设备。

    已经换了一个usb接口了,问题依旧。

     

    jonsbo-diagnostics-20231025-1122.zip 137.46 kB · 1 download

    看起来网络配置比较高级,看不懂。Unraid貌似不能支持同时用两网卡互联互通,自带默认的网络配置没有交换机的功能。

    驱动应该没问题的。建议弄个干净的Unraid系统试试,每次只用一个网口。排除系统和硬件的问题。再去研究一下网络配置。

  2. On 10/12/2023 at 7:25 PM, qq123456 said:

    大佬你好,很多人在6.11.5和我遇到一样的问题,我是华南b660主板,有的人是铭瑄b660主板,板载的8125b直通后报这个错,你可以分析下是什么原因吗?需要我配合的话,企鹅721509025,万分感谢

    QQ截图20231012192231.png

    QQ截图20231012192302.png

    google搜索一下 PCI Header Type 127, 貌似大多是linux虚拟机用了Q35的原因,换成i440fx可能有用。或者跟主板bios有关,升级或降级bios试试。这个直通出错跟驱动没关系。

  3. On 10/1/2023 at 10:45 PM, leftHanded said:

    just wanted to say thanks for this.  picked up an [asus 2.5gbe USB](https://www.microcenter.com/product/636588/asus-usb-c2500-25g-ethernet-usb-adapter-supports-wired-network-connection-mac-os,-linux,-windows,-backward-compatible-on-1g-100mbps,-ideal-for-gaming). It has the 8152 chip.

    Works after I installed the 8156 app... don't know if you want to label your app 8152/8156, or update the readme... i had to dig your github to see it was package to install.

     

    thanks again!

    Hi, the R8152 and R8156 were same driver, I think you can install the r8156 plugin to support both. r8152 is actually older network card while R8156 is 2.5G.

  4. 5 hours ago, jw_ruleless said:

    It’s no need for special Alienware drivers, just like the links says , add few line in the driver file. Something like this

     

     /* Dell */
            { USB_DEVICE(0x413c, 0xb097) },

     

     

    if so, what do I need to execute in the following so the kernel will be notified about this change? Or shouldn't I touch the file "/usr/src/linux-headers-5.19.0-31/include/linux/usb/r8152.h" at all and instead ....

    *** EDIT ***

    I made a successful progress, however I need assistance from a pro to verify if this is the correct way to go. My goal was to add the identifier 413c:b097 to the kernel module r8152. Unfortunately I had no source file r8152.c on my filesystem. I ran "apt install linux-headers-5.19.0-31 && updatedb && locate r8152.c" but still no "r8152.c" found under /usr/src/* where I would have expected it. I also tried "apt install linux-source" but still no success. At the end I downloaded the file from <https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/plain/drivers/net/usb/r8152.c> and saved it under "/usr/src/linux-headers-5.19.0-31/drivers/net/usb".

    $ modprobe -r r8152
    $ ls /usr/src/linux-headers-5.19.0-31/drivers/net/usb
    Kconfig Makefile r8152.c

    At the end of file "r8152.c"

     

    If you are capable to change code and build it by yourself. Please try and download the source code from https://github.com/jinlife/unraid-r8125-r8152-driver

    It has the latest r8152 code, our plugin was built from it.

  5. On 9/5/2023 at 3:02 AM, jw_ruleless said:

    Hey there, I have a 2.5g adapter from dell called aw1022 it’s using 8152 chips but not in the driver list. I wonder if you can help me add Realtek Alienware AW1022 2.5GbE AdapterUSB\VID_413C&PID_B097

    to the driver? Like this guy did https://answers.launchpad.net/ubuntu/+source/r8125/+question/705159

    I guess you can try the Realtek RTL8156 plugin.  Hope it works.

    I have no idea where to find the official source code of the Alienware driver so may not able to help you. 

  6. On 8/8/2023 at 4:56 PM, socioeconomic-forecast2975 said:

    Hi

     

    I'm trying out Unraid and have a USB NIC which did not show up. So I installed the drivers and rebooted and it showed up. Then I changed it to be eth0 and rebooted again. The onboard NIC is set up as a fall back. When I have the 2.5G nic plugged in I can't acces the server, but when I unplug it I can acces it. (I still can't acces it if I have the onboard NIC unplugged)

     

    I'll attach my diagnostics

    test-server-diagnostics-20230808-1045.zip 103.7 kB · 0 downloads

    It looks like both nic were driven properly, but it seems you are using bonding for eth0 and eth1. The unraid network bonding for multiple ports is not easy to use. It is not working like a router or switch.

    You can disable the bonding at first, separate those nic, and then see whether it works.

    If you want to share network between different nics, you'd better create a virtual router such as openwrt. Passthrough the nic and manage them in openwrt VM. Or passthrough one of the nic to any VM and connect them with a real hardware switch.

  7. 13 hours ago, s890214 said:

    回头我重新找个网线试试,按道理这个网线再另一台电脑上可以到1000M,因为我的路由是1000M的,

    第二个问题是我主板有两个网口,能再搞一个8111的驱动插件吗?您的 8125插件贼好用

    我们在应用市场发布了R8168\R8111的驱动,麻烦帮忙测试一下。

    我们没有硬件,代码是直接从Realtek官方网站下载的。

  8. 34 minutes ago, s890214 said:

    回头我重新找个网线试试,按道理这个网线再另一台电脑上可以到1000M,因为我的路由是1000M的,

    第二个问题是我主板有两个网口,能再搞一个8111的驱动插件吗?您的 8125插件贼好用

    可以看看本贴的二楼 JorgeB 有分享强制设定2.5G速率的命令,也可以用到R8125上面。值得试一下,不过那是只能识别为千兆。百兆可能硬件的影响大点。

    关于新做R8111的驱动插件,正在请 @ich777 帮忙。

  9. 3 hours ago, s890214 said:

    你好,6.12.2版本,主板自带  r8125和r8111各一个网口,装上插件以后 r8111 不能使用了,请问怎么处理呢,

    还有一个问题是,装上r8125插件后 网络协商带宽还是 100M,实际传输也是11M/S,也就是 100M的带宽

    本人完全是一个小白...特来求助,谢谢

     

    接口.png

    接口2.png

    song-vm-diagnostics-20230713-1343.zip 84.82 kB · 0 downloads

    100MB 的速度一般是网线不行。你最好找根更好的超五类或六类网线。2.5G需要两边端口都支持,网线也得支持。

    目前R8125的驱动只能驱动8125, R8111只能用原来的R8169驱动,建议卸载R8125的驱动,用回Unraid自带的驱动。

  10. On 7/9/2023 at 5:26 AM, ParHelia said:

    For the sake of info, the rtl8156 plugin "revived" my Sabrent USB 2.5gbit NIC.

    By "revived", I mean that I had stopped using it due to the fact that it was not being recognized by Unraid any longer.

     

    I did configure an MTU of 9000 but the transfers were fine at the default setting already.

     

    Screenshot_20230708_231757.png

    Thanks for the info.

  11. 17 hours ago, Graxo said:

    EDIT: I have removed the plugin(s) and its working again. But the pci adapter doesnt work in my OPNSense vm. I can passthrough the adapter to the VM, but it doenst get recionized as valid adapters.

    IOMMU group 20:[10ec:8125] 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)

    IOMMU group 21:[10ec:8125] 09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)

    ----

    Hi,

     

    I installed this driver for my unraid installation, but now none of my nic's work anymore..

    eth0 was my managment nic for the unraid GUI. The ethernet port on the motherboard.

    I am also using a 2.5 gig pci network adapter, i installed the driver to use these because they dont seem to work in my OPNSense vm.

     

    How do i uninstall these drivers again? or how to make eth0 to work again?

     

    Kind regrads,

    Graxo

    The drivers in unraid and in VM are not related. You should make sure OPNSense has the correct R8125 driver as well.

    Such as if you have a Windows VM, you need to install r8125 windows driver which is not a linux one.

    The passthrough network card needs to be driven in the VM.

  12. Someone found that disable the bridge can fix the speed issue. But there is no network available in VM after that, you have to use macvtap to connect VM.

    You can disable bridge and do the iperf test. If the speed is normal, then unfotunately, you are encountering the same issue. I'm afraid we can't solve it from driver pespective, it might be caused by other reasons..

     

    Please take a look at page 3, there is an English version: 

     

  13. 4 hours ago, Nofences said:

    This card is built on to my mobo, MSI H510I Pro WiFi I do have a Plugable USBC-E2500 that uses the R8156 chipset. I included a diagnostic file this time, sorry for omitting it the first time around.

    unraid-diagnostics-20230705-0607.zip 103.51 kB · 0 downloads

    The diagnostic shows that you are still using R8169 to drive R8125 chips.  The rtl8125 plugin driver isn't working yet. Have you reboot unraid after install the plugin?

    • Like 1