Hi.. everyone
I'm planning to add 2.5Gbps dongle to my RT-AX88U
but I'm not a linux person.
I've been trying to follow Renjie's guide and managed to compile
RT-AX88U firmware successfully but I'm having hard time to compile r8152.ko driver.
Can someone please help me to compile r8152.ko driver for RT-AX88U?
Please also help to add this line to r8152.c.
You might need to replace strscpy function since old kernel 4.x
doesn't support this function.
"sed -i -e 's/strscpy/strncpy/g' r8152.c"
P.S. I know that Renjie already provided the pre-compiled version but it's kinda outdated.
Thinking to try out the latest driver version.
I'm planning to add 2.5Gbps dongle to my RT-AX88U
but I'm not a linux person.
I've been trying to follow Renjie's guide and managed to compile
RT-AX88U firmware successfully but I'm having hard time to compile r8152.ko driver.
Towards 2.5GbE (NBASE-T) on ASUS RT-AX88U with RTL8156B and Asuswrt-Merlin 384.19
The lack of integrated 2.5GbE port makes ASUS RT-AX88U less powerful in my mind, especially when taking its processor BCM49408, which natively supports 2.5GbE, into account. The game however has changed, after I managed to finally reveal the full potential of AX88U with Realtek’s USB-based...
wu.renjie.im
Can someone please help me to compile r8152.ko driver for RT-AX88U?
Please also help to add this line to r8152.c.
@@ -16369,6 +16369,7 @@
strlcpy(info->driver, MODULENAME, sizeof(info->driver));
strlcpy(info->version, DRIVER_VERSION, sizeof(info->version));
usb_make_path(tp->udev, info->bus_info, sizeof(info->bus_info));
snprintf(info->fw_version, sizeof(info->fw_version), "0x%04x", tp->version);
}
#if LINUX_VERSION_CODE < KERNEL_VERSION(4,20,0)
strlcpy(info->driver, MODULENAME, sizeof(info->driver));
strlcpy(info->version, DRIVER_VERSION, sizeof(info->version));
usb_make_path(tp->udev, info->bus_info, sizeof(info->bus_info));
snprintf(info->fw_version, sizeof(info->fw_version), "0x%04x", tp->version);
}
#if LINUX_VERSION_CODE < KERNEL_VERSION(4,20,0)
You might need to replace strscpy function since old kernel 4.x
doesn't support this function.
"sed -i -e 's/strscpy/strncpy/g' r8152.c"
P.S. I know that Renjie already provided the pre-compiled version but it's kinda outdated.
Thinking to try out the latest driver version.
Last edited: