mwarning / zerotier-openwrt

A OpenWrt package for ZeroTier One - Pull requests are welcome!
697 stars 146 forks source link

Need to explicitely join zt net after reboot #29

Closed delandtj closed 6 years ago

delandtj commented 6 years ago

Using latest tree (and also before) I need to explicitely zerotier-cli join xxxxxxxxxx after a reboot, or after a /etc/init.d/zerotier restart

uci delete zerotier.sample_config
uci set zerotier.mgmt_net='zerotier'
uci set zerotier.mgmt_net.enabled=1
uci set zerotier.mgmt_net.join='z2d702236df22344'
uci set zerotier.mgmt_net.secret='generate'
uci commit

after restart : no zt0

I have to zerotier-cli join z2d702236df22344 to have zt0 again.

tried to do that in the add_join but no dice

mwarning commented 6 years ago

Can you show me your /etc/config/zerotier? I suspect the problem is that you now have option join 'generate' instead of list join 'generate'

delandtj commented 6 years ago

pffffff.... uci add_list .... I stand corrected Jan

Please close that one and hide it, as it's too embarassing

Thx

mwarning commented 6 years ago

NP, I will burry it as deep as I can. xD