Al 27/02/11 15:54, En/na Luca Olivetti ha escrit: > Al 27/02/11 14:58, En/na Luca Olivetti ha escrit: >> Al 27/02/11 14:21, En/na Jonas Gorski ha escrit: >>> Hi, >>> >>> On 26 February 2011 20:20, Luca Olivetti <[email protected]> wrote: >>>> I'm still trying to make openwrt work on my router (now a lantiq target, >>>> previously ifxmips) and I just noticed that the switch (an ar8216) doesn't >>>> pass data between ports, i.e (warning, lousy ASCII art follows): >>> >>> Do you configure the switch in your /etc/config/network like in >>> <https://dev.openwrt.org/browser/trunk/target/linux/ar71xx/base-files/etc/defconfig/tew-632brp/network>? >> >> Nope, it's not configured. How do I configure it manually (i.e. without >> touching /etc/config/network)? >> >> >>> The ar8216 driver defaults to port isolation if not configured, which >>> would explain your symptoms. >> >> Ok, so what's the command to disable port isolation? >> (I don't want to to a full vlan setup since I didn't patch the ethernet >> driver yet to use the ar8216 receive skb function). > > Well, I added swconfig to the image and patched the ethernet driver to use > netif_rx provided by the ar8216. > I then configured vlan with these commands > > root@OpenWrt:/# swconfig dev eth0 set enable_vlan 1 > root@OpenWrt:/# swconfig dev eth0 vlan 1 set ports '0 1 2 3 4 5' > > the problem remains *and* I can no longer communicate from the router.
False alarm. I edited /etc/config/network, sourced /lib/network/switch.sh and did a setup_switch. Everything works now. Thank you and sorry for the noise. Bye -- Luca _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
