You are probably using a squashfs build, like most users.
Then all you modifications (add-on packages and settings) are located in /overlay directory. E.g. all your modified settings in /etc/config are actually in /overlay/etc/config.
The advice regarding building an own version with the needed add-on packages is sound. You can also include the "common" settings following the already given advice regarding "custom files". I am doing that for my own build for several routers.
You could copy the settings of that one configured router from /overlay/etc/config and include them as custom files to your build, along all the needed add-on packages. If you then flash the routers with that personal firmware, you would only need to set/edit the differing settings to the other routers.
Some hints about automating settings for other routers:
- you could pack into firmware special script files to be run in other routers. Those scripts would then e.g. unpack a tar archive, where your settings for router X are. I use that way to pack my perssonal settings in encrypted form to my community build: https://forum.openwrt.org/viewtopic.php … 96#p142896
-wifi: you can avoid specifying MAC, if you use phy0 and phy1 approach. then the same wifi settings are valid for all routers. See discussion near https://forum.openwrt.org/viewtopic.php … 24#p185424
- you could write an uci script to set the other different settings. Example below, how I change a router to be a dummier repeater:
+#!/bin/sh
+uci set system.@system[0].hostname=OpenWrt2
+uci set network.lan.ipaddr=192.168.1.2
+uci set network.lan.gateway=192.168.1.1
+uci set network.lan.dns=192.168.1.1
+uci set network.henet.auto=0
+uci set network.sixxs.auto=0
+uci set network.lan6=interface
+uci set network.lan6.ifname=@lan
+uci set network.lan6.proto=dhcpv6
+uci set network.lan6.reqprefix=no
+uci set wireless.@wifi-device[0].channel=9
+uci set wireless.@wifi-device[1].channel=44
+uci set wireless.@wifi-iface[1].mode=ap
+uci set dhcp.lan.ignore=1
+uci set dhcp.lan.force=0
+uci delete 6relayd.default.dhcpv6
+uci delete 6relayd.default.rd
+uci commit dhcp
+uci commit network
+uci commit wireless
+uci commit system
+uci commit 6relayd
+/etc/init.d/dnsmasq disable
+# /etc/init.d/6relayd disable
(Last edited by hnyman on 16 Oct 2013, 16:36)