.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.5. .TH IPCHECK "8" "January 2012" "Debian GNU/Linux" "System Administration Utilities" .SH NAME ipcheck \- dyndns.org client .SH DESCRIPTION Usage : ipcheck.py [options] Username Password Hostnames or ipcheck.py [options] \fB\-\-acctfile\fR acct_info_file .PP Options: \fB\-a\fR address manually specify the address .TP \fB\-r\fR URL NAT router, use web IP detection .TP \fB\-A\fR text scan syslog for an IP after text (Unix only) .TP \fB\-F\fR filename guess the WAN IP from a firewall log .TP \fB\-b\fR backup mx option ON (default OFF) .TP \fB\-c\fR custom dns option (default dynamic) .TP \fB\-d\fR dir directory for data files (default current) .TP \fB\-e\fR script execute script after a successful update .TP \fB\-f\fR force update regardless of current state .TP \fB\-g\fR NAT router, let dyndns guess your IP (do not use this in a cronjob, try \fB\-r\fR) .TP \fB\-h\fR print this help text .TP \fB\-\-help\fR print all available help text .TP \fB\-i\fR interface interface for local address (default ppp0) .TP \fB\-j\fR disable https .TP \fB\-l\fR log debugging text to ipcheck.log file .TP \fB\-\-syslog\fR log debugging text to syslog (Unix only) .TP \fB\-m\fR mxhost mx host (default NOCHG) .TP \fB\-o\fR set dyndns offline mode .TP \fB\-p\fR proxy bypass on port 8245 .TP \fB\-q\fR quiet mode (unless there is an error) .TP \fB\-s\fR static dns option (default dynamic) .TP \fB\-t\fR test run, do not send the update .TP \fB\-v\fR verbose mode .TP \fB\-w\fR wildcard mode ON (default OFF) .TP \fB\-\-makedat\fR create the ipcheck.dat file by dns lookup .TP \fB\-\-devices\fR print router options (Linksys, Netgear, etc) .TP \fB\-n\fR ip the router IP address on the internal lan .PP For help with different options: python ipcheck.py \fB\-h\fR For supported devices listing : python ipcheck.py \fB\-\-devices\fR For long detailed help text : python ipcheck.py \fB\-\-help\fR .PP Make sure you can write to the current directory for data files and that you always run from the same directory. The first time you run the script, you will be asked to run with the \fB\-\-makedat\fR option in addition to any other options. This will create the data files for the hostnames and options your specify on the command line. You should only do this once. Subsequent runs should be made without the \fB\-\-makedat\fR option. .PP For help with different options: python ipcheck.py \fB\-h\fR For supported devices listing : python ipcheck.py \fB\-\-devices\fR For long detailed help text : python ipcheck.py \fB\-\-help\fR .PP Example 1: the external IP is on eth0 of the current machine python ipcheck.py \fB\-l\fR \fB\-i\fR eth0 username password hostnames .PP Example 2: you are using the Linksys routing device python ipcheck.py \fB\-l\fR \fB\-L\fR linksyspassword username password hostnames .PP Example 3: you want to use web based ip detection python ipcheck.py \fB\-l\fR \fB\-r\fR checkip.dyndns.org:8245 ... .PP where ... is your dyndns username password and hostnames. Hostnames should be comma delimited if there are more than one.