Making a backup of your DD-WRT config
Tremenda dica para fazer um backup das configurações do dd-wrt! 🙂
Assuming you have ssh enabled on your DD-WRT, and that your DD-WRT is at ddwrt.lab.test, the following will generate a shell script that can be used to restore your config:
ssh root@ddwrt.lab.test 'nvram show | grep = | cut -d"=" -f 1 | while read key; do echo nvram set $key="$(nvram get $key)"; done' > ddwrt.config
Restore is then simply:
cat ddwrt.config | ssh -q root@ddwrt.lab.test
Publicado em 30/11/2015, em Uncategorized. Adicione o link aos favoritos. Deixe um comentário.
Deixe um comentário
Comentários 1