# import company key into your system
# sometimes called signing key or public key
# the file of import should start with this line ‘—–BEGIN PGP PUBLIC KEY BLOCK—–‘ $ gpg --keyid-format long --import [public_key/signing_key]
# run validation with signature and program. $ gpg --keyid-format 0xlong --verify program.exe.sig program.exe
# you may get several different responses but the one that is bad for sure is ‘gpg: BAD signature from …’
Selected dyndns.com in the installation process and followed the prompts. Did not need to manually enter anything.
Enable Dynamic DNS for your domain
Login to your Namecheap control panel and enable dynamic DNS for your domain.
You’ll get a really long password string to use. Save that for now as you’ll need it later on.
$ sudo nano /etc/ddclient.conf
# namecheap.com example configuration
# the login is the domain name and password is the hash you saved in the prior step called ‘Dynamic DNS Password’.
# Configuration file for ddclient generated by debconf
use=web, web=dynamicdns.park-your-domain.com/getip, web-skip='IP Address'
# start motion
$ sudo service motion start
$ sudo /etc/init.d/motion start
You can now open up a browser from another computer on the same network and go to: http://192.168.0.85:8081 to view your web cam.
You can remotely control the web cam settings by going to http://192.168.0.85:8080.
# View if ports are listening
$ netstat -tapen | grep “LISTEN”
$ sudo nmap -sS 192.168.0.85
# test connection
telnet 127.0.0.1 8080
# view if there is any errors. Make sure log is enabled in motion.conf
# At one point the ports were not staying open after motion started was due to permission issues on /var/lib/motion. Error was found in the log.
$ cat /tmp/motion.log
# view if motion is running
$ ps aux | grep motion