[FS#986] Switch "unkown structure" on ARV752DPW, switch not initialized

LEDE Bugs lede-bugs at lists.infradead.org
Wed Aug 30 03:01:51 PDT 2017


The following task has a new comment added:

FS#986 - Switch "unkown structure" on ARV752DPW, switch not initialized
User who did this - Mathias Kresin (mkresin)

----------
> I would love to. Unfortunately I am abroad and do not have the resources to set up a build environment here.
> So I tried to just change the file in the overlay filesystem. It did not work. I guess, these scripts are executed from ROM? 


root at LEDE:/# vim /etc/board.d/02_network
root at LEDE:/# rm /etc/board.json
root at LEDE:/# rm /etc/config/network
root at LEDE:/# reboot


> Also, swconfig shows that any configuration in /etc/config/network will be loaded on top of a default configuration that already exists at boot time. The switch does not appear to be properly initialized

The switch is properly initialized. It is the rtl8306 linux driver which adds the funky vlan config. According to the comments in the switch driver, it is done to isolate the ports. Which doesn't make much sense to me, since the vlan functionality is disabled by default but a default vlan config applied anyway => should never work. Regardless what I've tried (enable vlans without user vlan config, disabled vlan config) packages are leaking perfect fine between the switch ports.

As soon as you enable the vlan functionality and setup vlans, the default config isn't resetted. The user config is only applied on top. It is strange that it works at all but it works for me (or I've chosen a bad testcase).
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=986#comment3374



More information about the lede-bugs mailing list