Author: richter Date: Tue Apr 19 17:33:18 2011 New Revision: 2545 Log: fix wlan interface setup of openwrt routers this is a quick hack in /etc/rc.local that sets the MAC address if it is not already set. doing this with uci would be preferable Modified: trunk/openwrt/router-configurations/pisa-testbed/etc/rc.local Modified: trunk/openwrt/router-configurations/pisa-testbed/etc/rc.local ============================================================================== --- trunk/openwrt/router-configurations/pisa-testbed/etc/rc.local Tue Apr 19 17:23:24 2011 (r2544) +++ trunk/openwrt/router-configurations/pisa-testbed/etc/rc.local Tue Apr 19 17:33:18 2011 (r2545) @@ -3,4 +3,5 @@ depmod -a /sbin/ifconfig br-lan promisc +grep -q macaddr /etc/config/wireless || sed -i "/channel/ a\ $(wifi detect | grep macaddr)" /etc/config/wireless ; wifi exit 0 -- This is the pisa developer mailing list. Please also subscribe to the main pisa list at: //www.freelists.org/list/pisa