- OS
- armbian: https://www.armbian.com/orange-pi-zero/
- copied to SD card with Etcher: https://etcher.io/
- First Login
- find ip with: nmap -sn 192.168.0.0/24
- ssh as root: ssh 192.168.0.91 -l root
- login with default password: 1234
- password changed and default user created at login
- Setup wireless
- ssh as user: ssh 192.168.0.91 -l "username"
- open network config with: nmtiu
- connect to wifi network
- find new ip with ifconfig
- logoff ssh and connect to wifi ip
- reboot to verify wireless is connected at boot
- Setup "call-home"
- open port in network router for ssh
- setup hostname in dns for ip
- from orangepi follow guide to ssh with public key connection: http://sshmenu.sourceforge.net/articles/key-setup.html
- verify connection from "home" with ssh and no password
- setup phone home guide (Creating the Reverse SSH tunnel part only): https://www.tunnelsup.com/raspberry-pi-phoning-home-using-a-reverse-remote-ssh-tunnel/. Add -p "port in firewall" to be able connect and use dns hostname
- connect from "home" with ssh -p 2222 localhost