Simply leaving out the MAC address does not work for multiple wifi
devices. Newer OpenWrt versions put the device path in the wifi sections
instead of the MAC address. However, a much more reliable way of
preconfiguring devices is putting scripts into /etc/uci-defaults that
use uci commands to change the existing config files. That way you avoid
all these issues entirely.

- Felix

On 2013-02-10 11:25 AM, Mitch Kelly wrote:
> Hi,
> 
> Removing option disabled 1 into 'wireless' and adding in the SSID etc before
> you build should do the trick, You should not need to add the MAC address
> into the config file, This should be added automatically when the wifi is
> detected.
> 
> MK
> 
> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On
> Behalf Of David Lang
> Sent: Sunday, 10 February 2013 6:20 PM
> To: OpenWrt Development List
> Subject: [OpenWrt-Devel] problems with preloaded config
> 
> I've got a bunch (~50) of openwrt routers (3700/3800) to configure and I'm
> running into a problem with the wireless configuration.
> 
> According to the documentation, I should be able to just leave out the MAC
> entry and on first reboot, openwrt will add it.
> 
> What's happening instead is that two new radio sections get created, with
> the MAC address in them, default SSID, and disabled.
> 
> How can I work around this without having to gather all the MAC addresses
> ahead of time and putting them in the config files that I push out to the
> routers?
> 
> David Lang
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> 

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to