I'm working with the experimental version of software.
Is there an overall plan for how we're supposed to work with OpenWRT and configuration and packages?
The way I see it, there are two methods, with possible subsets:
Manual technique:
0. Download and build OpenWRT
1. Install OpenWRT on router.
2. SSH to the router
3. Use ipkg to install any packages not in firmware
4. Use "nvram set" to configure all the bridge/ip address/etc stuff.
5. Use nvram commit to store them.
6. reboot to get the router running in correct configuration
Automated technique:
0. Download OpenWRT
1. Download additional packages in source, merge them into OpenWrt build tree
2. Write configuration script to adjust all nvram variables before interfaces come up, etc.
3. Compile OpenWRT and all packages, build filesystem with extra pacakges and scripts
4. Install OpenWRT on router.
5. Router software configures everything automatically.
I'm sure there are advantages and disadvantages to both methods. But is one of the methods preferred or recommended?
I know that not all packages are available in source code. And maybe it's possible to have ipkg store the package executables in the filesystem image on the PC, so you can create a download image with the packages built it?
For example, if you were programming twenty routers, what would be the technique?
Narrowband