需要的文件有rtl8125.ko
在jffs创建drivers
mkdir /jffs/drivers/
1.启动脚本如下:
编辑 /jffs/scripts/init-start
#!/bin/sh
# Make sure the script is indeed invoked
touch /tmp/001-init-start
logger -t "rtl8156" "init-start: loading RTL8156 driver..."
# It's safe to `insmod` here, since `usbcore` has already been
# installed before `init-start` was called.
# init.c: sysinit() -> init_wl() ->
# init-broadcom.c: eval("insmod", "usbcore");
insmod /jffs/drivers/r8152.ko
# Note `insmod r8152.ko` must be executed before `cdc_ncm` module
# is loaded into kernel. Otherwise `cdc_ncm` will take control
# of the USB 2.5GbE adapter.
# If `r8152.ko` can't be loaded before `cdc_ncm`, then you should
# `rmmod cdc_ncm`,` insmod r8152.ko` and `insmod cdc_ncm`
# (remember to rm/insmod modules depending on `cdc_ncm` first)
logger -t "rtl8156" "init-start: all done"
date >> /tmp/001-init-start
2.配置脚本如下:
编辑 /jffs/scripts/services-start
#!/bin/sh
# Make sure the script is indeed invoked
touch /tmp/001-services-start
logger -t "rtl8156" "services-start: setting up eth8..."
# Update nvram variables
nvram set br0_ifnames="$(nvram get br0_ifnames) eth8"
nvram set lan_ifnames="$(nvram get lan_ifnames) eth8"
nvram set wired_ifnames="$(nvram get wired_ifnames) eth8"
# Add eth8 into br0
brctl addif br0 eth8
# Set TX queue length to 2500 on eth8 and bring it up
ifconfig eth8 txqueuelen 2500 allmulti up
# Enable USB scatter/gather on eth8
echo enable > /sys/class/net/eth8/rtl_adv/sg_en
# Enable RPS (Receive Packet Steering) on eth8.
# Since AX88U has four cores, we set it to 'f'
echo f > /sys/class/net/eth8/queues/rx-0/rps_cpus
logger -t "rtl8156" "services-start: all done"
date >> /tmp/001-services-start
r8152.ko
realtek 2.5G 华硕梅林驱动 2.16.1版本
类型:
7z
有在ax86上编译成功的吗?
@zhsrain ax86也是同理的编译方法 架构是一样的
AX88U能用吗
@NeoL 可以用
请问如何下载已经编译好的驱动?谢谢
@sked 底部有下载链接 已经批准你了 你试试看能不能下载 再提一句 这个驱动速度很一般
請問梅林 RAX80 能用嗎?
@alice 可以用