- Generate a key pair or use a alredy existing key pair
- Example: ssh-keygen -t rsa 4096
- Include flash plugin
cp -r flashman-plugin <OpenWRT/LEDE root directory>/package/utils/
- Always apply diffconfig with the following steps. Note: Choose proper diffconfig file that applys to your router model.
cp diffconfigs/<Diffconfig file> <OpenWRT/LEDE root directory>/.config
- On OpenWRT/LEDE root directory:
make defconfig
- Include custom login file with
cp login.sh <OpenWRT/LEDE root directory>/package/base-files/files/bin/
- Run
make menuconfig
on OpenWRT/LEDE root directory and- Select target device
- Select flashman-plugin package on Utilities
- IMPORTANT Configure key pair path generated on step 1.
- IMPORTANT Configure public key file name generated on step 1.
- Configure FlashMan IP address or FQDN
- Change SSID, password and release ID if desired
- Build OpenWRT/LEDE image
- Change to OpenWRT/LEDE root directory
- Always enter
make package/utils/flashman-plugin/clean
- Run
make
TODO. Feed instructions for production use
<OpenWRT/LEDE root directory>/scripts/diffconfig.sh > <REPO>_<BRANCH>_<COMMIT>_<TARGET>_<PROFILE>_diffconfig
Copyright (C) 2017-2018 Anlix
This is free software, licensed under the GNU General Public License v2. The formal terms of the GPL can be found at http://www.fsf.org/licenses/