aparcar / openwrt

Staging tree of Paul Spooren
Other
8 stars 1 forks source link

FS#23 - Sitecom WL-351 Switch driver problem - No network connectivity to router #58

Closed aparcar closed 2 years ago

aparcar commented 2 years ago

The [[https://wiki.openwrt.org/toh/sitecom/wl-351|Sitecom WL-351]](with patch) does not work anymore after trunk switched the ralink drivers. There was a earlier provided [[https://dev.openwrt.org/attachment/ticket/17475/0001-trunk-Fix-up-switch-settings-for-Sitecom-WL-351-v1-002.patch|patch]] in the OpenWRT [[https://dev.openwrt.org/ticket/17475|bugtracker]]. But it does not apply cleanly anymore. I manually changed the following files:

/target/linux/ramips/dts/WL-351.dts /target/linux/ramips/image/Makefile [MOVED]--> /target/linux/ramips/image/RT305x.mk new file target/linux/ramips/rt305x/profiles/sitecom.mk

And since the esw_rt3052.c file is not present anymore I changed the following file: build_dir/target-mipsel_24kec+dsp_musl-1.1.14/linux-ramips_rt305x/linux-4.4.7/drivers/net/ethernet/mediatek/esw_rt3050.c which is only there after the pre-compile steps.

But after flashing the file to my WL-351 this is the resulting swconfig output:

root@ OpenWrt:/# swconfig list Found: switch0 - rtl8366rb

Which is correct according the the patch and also my previous 15.05.1 build

There are errors on OpenWRT 15.05.1 after applying the patch and now also on LEDE Trunk. But the patch fixes the networking issue on 15.05.1 but not on LEDE Trunk. [ 4.153317] dwc2 101c0000.otg: Overcurrent change detected [ 4.330182] dwc2 101c0000.otg: Overcurrent change detected Failed to connect to the switch. Use the "list" command to see which switches are available. Failed to connect to the switch. Use the "list" command to see which switches are available. Failed to connect to[ 4.977982] 8021q: adding VLAN 0 to HW filter on device eth0 the switch. Use the "list" command to see which switches are available. [ 5.019517] random: procd urandom read with 9 bits of entropy available

So right now I'm quite stuck. I can ping between clients on the switch(with the patch. cannot ping without patch) but I cannot reach the router or WAN.