Author: hummen Date: Wed Apr 7 16:42:05 2010 New Revision: 2249 Log: added workaround to set bridge to promisc mode NOTE: this is not the correct solution and should be fixed, as soon as somebody can come up with a proper implementation. Right now, a restart of the networking subsystem will leave the bridge in non- promisc mode. Added: trunk/openwrt/template-linksys-wrt160nl/etc/init.d/ trunk/openwrt/template-linksys-wrt160nl/etc/init.d/custom-user-startup Added: trunk/openwrt/template-linksys-wrt160nl/etc/init.d/custom-user-startup ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/openwrt/template-linksys-wrt160nl/etc/init.d/custom-user-startup Wed Apr 7 16:42:05 2010 (r2249) @@ -0,0 +1,23 @@ +#!/bin/sh /etc/rc.common +START=90 +# place your own startup commands here +# +# REMEMBER: You *MUST* place an '&' after launching programs you +# that are to continue running in the background. +# +# i.e. +# BAD: upnpd +# GOOD: upnpd & +# +# Failure to do this will result in the startup process halting +# on this file and the diagnostic light remaining on (at least +# for WRT54G(s) models). +# + +# legacy case needs br-lan interface to be in promisc mode, +# otherwise no packet will be received there +# +# NOTE: please remove, after this setting was incorporated with +# /etc/config/network for the lan interface +ifconfig br-lan promisc +