OpenWrt Forum Archive

Topic: Enhance rtl8366rb driver: problems with patch (Ticket #7977)

The content of this topic has been archived on 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I need to be able to set the Speed/Duplex to 100/FDx because autoneogation is not working properly here. There is a patch in the Ticket
https://dev.openwrt.org/ticket/7977
which should enable this by issuing a command like:
swconfig dev rtl8366rb port 0 set forcephy 1

I tried to apply this patches in order (which gives some errors), only the latest one, ... it compiles, but i cannot set speed/duplex. I get the Error message:
Unknown attribute "forcephy"

What exactly do I have to do? Any advice?
Thanks, Floran.

Solution is human error. I used the trunk checkout instead of the r27302 the patch was applied to.
Maybe I could implement it to trunk, if I find some time I'll try to implement it in trunk and ask the developers to include it.
See https://forum.openwrt.org/viewtopic.php … 23#p168423

Oh yeah. I hope FluxBB 2.0, thanks new developers, will be released for about two years

The discussion might have continued from here.