Last active
February 21, 2017 11:19
-
-
Save 1977er/a594f69c7ee584064c816924f130de72 to your computer and use it in GitHub Desktop.
test-sn customization
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# test-sn06 | |
# --------- | |
uci set system.@system[0].hostname='test-ok-sn06' | |
echo "12:7c:82:64:22:96" > /lib/gluon/core/sysconfig/primary_mac | |
uci set network.wan.macaddr='12:7c:82:64:22:90' | |
uci set network.client.macaddr='06:6f:ac:a2:10:01' | |
uci set network.bat0.macaddr='06:6f:ac:a2:10:01' | |
uci set network.mesh_vpn.macaddr='12:7c:82:64:22:96' | |
uci set fastd.mesh_vpn_backbone_peer_gw01.enabled='0' | |
uci set fastd.mesh_vpn_backbone_peer_gw02.enabled='0' | |
uci set fastd.mesh_vpn_backbone_peer_gw03.enabled='0' | |
uci set fastd.mesh_vpn_backbone_peer_gw04.enabled='0' | |
uci set fastd.mesh_vpn_backbone_peer_gw05.enabled='0' | |
uci set fastd.mesh_vpn_backbone_peer_gw06.enabled='1' | |
uci set fastd.mesh_vpn_backbone_peer_gw07.enabled='0' | |
uci set fastd.mesh_vpn_backbone_peer_gw08.enabled='0' | |
uci set fastd.mesh_vpn_backbone_peer_gw09.enabled='0' | |
uci set fastd.mesh_vpn_backbone_peer_gw10.enabled='0' | |
fastd --generate-key | |
uci set fastd.mesh_vpn.secret='<SECRET KEY>' | |
uci commit | |
reboot; exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment