Index of /linux/shell
Name Last modified Size Description
Parent Directory -
TZOlinux-1.6-1.i386.rpm 09-Aug-2000 01:00 7.0K
TZOlinux-1.6.tar.gz 09-Aug-2000 01:00 5.1K
README for Linux Scripts for TZO DDNS
TZOlinux 1.6 Release 1 (06/1/2000)
What is TZO?
TZO offers Dynamic DNS Service, SMTP Mail Store and Forward,
and Web Hosting options for users with Static or
Dynamic IP Addresses
(you can host multiple virtual domains with your one IP Address).
TZO also allows for DNS Hosting/Parking Services for Cable and DSL
users as well as standard ethernet and PPP. Host Private Domains on
your Linux Server with a Dynamic IP Address. Private Domains are less
that $60 per year! Ask about our relay options! mailto:<support@tzo.com>
To get your FREE 30 Day Trial please send a mail message to <tzolkin.signup@tzo.com>.
Available Top Level Domain to use for your Internet Name
e.g. "youname.tzo.com" or "yourname.mymodem.com"
tzo.com
tzo.net
tzo.net
tzo.cc
palacechat.net
mymodem.com
mycablemodem.com
mylinuxserver.net
mylinuxpc.net
myftpserver.com
myowncompany.com
mynetwork.org
myhighspeed.com
myhomeserver.com
myhomelinux.com
my-place.org
my-computer.org
Also, this script can be used For Your Own Top Level Domain
To transfer your Top Level Domain for tzo to host, the following Name Servers Must be specified
NS.tzo.com
NS2.tzo.com
NS3.tzo.com
NS4.tzo.com
NS5.tzo.com
Basic Install
Technical Level Needed 3 (beg. 1-10 adv.)
Intro....
TZOlinux 1.6 (TZO.Signon script) is designed to grep a computers '$DEVICE' IPADDRESS
from the 'ifconfig' command in the "/sbin/" directory. The TZO.Signon script can be modified
to grep the IPADDRESS from several different types of adaptors and connections,
e.g. -Ethernet, Static or DHCP IP address, -PPP, Static or DHCP IP address, Cable
Modem, DSL Router, Proxy, NAT, -ALL- can be Dynamic or Static IP Address.
TZO.Signon (Signs you in via lynx Webclient and posts your Current Dynamic IP to our DDNS Servers)
TZO.Signoff (Removes your IP address from your HostName for security purposes)
###############( If you are using RPM (Redhat Pachage Manager )#################
RPM Installed Directory's and Files
#- Install TZOlinux-1.6-1.i386.rpm -#
/usr/bin/
TZO.Signoff
TZO.Signon
update.on
/etc/
tzo.conf
/usr/doc/TZOlinux-1.6/
README
################### Install from TZOlinux-1.6.tar.gz ####################
Copy TZOlinux-1.6.tar.gz into prefered area
tar -xzvf TZOlinux-1.6.tar.gz
../TZOlinux-1.6/
TZO.Signon
----> Signon Script for DDNS
TZO.Signoff ----> Signoff Script for DDNS
update.on ----> script for running cron job to detect ip change
tzo.conf ----> Configuration file for TZO.Signon & TZO.Signoff
README
----> Instructions
- ToDo Checklist
1). Copy TZO.Signon, TZO.Signoff, and update.on to /usr/bin/
2).
Make sure you have rights to execute those files "chmod 755 TZO.Signon TZO.Signoff update.on"
3). Copy tzo.conf to /etc/tzo.conf
4). Make sure you have a TZO Account already (Free Trial or Full Account)
5). If you do not have an account, get your FREE 30 Day Trial,
please send a mail message to <tzolkin.signup@tzo.com>.
6). Edit /etc/tzo.conf file to include Your TZO Information, connect to the Internet,
and run the TZO.Signon Script.
See Below for Detailed instructions.
Areas to edit in the /etc/tzo.conf file.
****************************************************
# /etc/tzo.conf file
# This will configure your script for use with the TZO DDNS Servers.
# Selecting "Yes" will pass a null IP Address for the Network Adaptor, thus posting the Gateway address.
# Selecting "No" will pass the Network adaptors address regardless of a Gateway.
# Going through a Gateway? (e.g. Firewall, NAT, Linksys Cable/DSL Router)
# Are you going through a Gateway?
# Yes = 1 No = 0
gateway="1"
# specify the interface - e.g. eth0, eth1, ppp0, dhcp
interface="eth0"
# insert your email address
TZOEMAIL='user@email.com'
# insert your domain name or tzo.com domain name
TZONAME="user.tzo.com"
# insert your TZO key
TZOKEY="XXXXXXXXXXXXXXXX"
# Choose your connection type - this will set your cache time on TZO DDNS Servers
CTYPE="3"
#
# CTYPE = Connection Types - Sets Cache time on DDNS
# 1 Dial-up Modem
# 2 Cable Modem
# 3 LAN (Local Area Network)
# 4 ADSL, HDSL, xDSL
# 5 America Online Dial-up
# 6 Other Connection Type
# 7 Static IP Address
#
# OEM Script Server Path for updating IP Address
# do not modify this without instruction to do so, the script will fail to work if modified
CGIPATH="http://rh.tzo.com"
# The log files you can put where ever you like
# Log file of the last posted IP Address - needed for cron script (update.on)
IPLOG="/var/log/tzoip.log";
# Log File of all Signons
USAGE="/var/log/tzousage.log";
# If you are not registered with TZO, please send an email message to
# <tzolkin.signup@tzo.com> requesting a registration key - Free 30 day trial
#
# Available Top Level Domain to use for your Internet Name
# e.g. "youname.tzo.com" or "yourname.mymodem.com"
#
# tzo.com
# tzo.net
# tzo.net
# tzo.cc
# palacechat.net
# mymodem.com
# mycablemodem.com
# mylinuxserver.net
# mylinuxpc.net
# myftpserver.com
# myowncompany.com
# mynetwork.org
# myhighspeed.com
# myhomeserver.com
# myhomelinux.com
# my-place.org
# my-computer.org
#
# Also, this script can be used For Your Own Top Level Domain
# To transfer your Top Level Domain for tzo to host, the following Name Servers Must be specified
#
# NS.tzo.com
# NS2.tzo.com
# NS3.tzo.com
# NS4.tzo.com
# NS5.tzo.com
#
****************************************************
For Automation of signing on to TZO there are couple of options here.
First, If you would TZO to sign on every time your ethernet or PPP adaptor is started do the following...
- Only Tested in Redhat 5x and 6x.
By placing TZO.Signon at the end of 'ifup-post' script in "/etc/sysconfig/network-scripts/"
just above "exit 0" everytime the Interface is started and has it's IP Address posted to the
system the TZO utility runs and signs you on.
------------------------------------------
- Instructions For Ethernet - 'ifup-post'
The path needs to be specified if it is not in the begining of the script.
******Add this*******
#!/bin/bash
PATH=/usr/bin
TZO.Signon
******Add this*******
exit 0
------------------------------------------
Second, you can add the TZO.Signon Script to a CRON script and run it Daily,
Hourly or when needed, or to the rc.local script for a logon during boot.
If you also want TZO to sign you off when your Adaptor is stopped,
"good for security" then do the following....
By placing TZO.Signoff at the begining of 'ifdown-post' script in
"/etc/sysconfig/network-scripts/" at the very begining of the script
(right below where the path's are set) so before your adaptor shuts
down the TZO.Signoff script will "ZERO" out you IP address when you are not online.
------------------------------------------
#!/bin/sh
# This should be called whenever an interface goes down, not just when
# it is brought down explicitly.
## ******Add this*******
TZO.Signoff
## ******Add this*******
cd /etc/sysconfig/network-scripts
. network-functions
CONFIG=$1
source_config
# Notify programs that have requested notification
do_netreport
exit 0
------------------------------------------
Usage for the "update.on" cron script to automatically update your IP Address
to the TZO DDNS.
setup a cron job to run the "update.on" script every 1,5, or 10 minutes, it will automatically
update your IP Address ONLY when it changes. This saves local and remote resources. This
cron will work with and without gateways. Make sure the gateway it set correctly in /etc/tzo.conf.
---------- TIPS FOR USING TZO ----------
* (or) Add the TZO.Signon Script to a CRON script and run it Daily, Hourly or
when needed, or to the rc.local script for a logon during boot
* If you are behind a NAT or Proxy and are having problems with getting the
Proper IP, USE the IPADDRESS field to set it manually
* Create a custom TZO.Signon script that sets the domain to a backup IP Address,
and run this script as the Signoff, instant Backup Server!
Also, TZO has an offline web page you can set your TZO.Signoff script to go to
the ip adddress of the offline web page is "208.220.171.84".
* You can use port 21333 as an alternate port when signing on
(use $CGIPATH:21333 instead of just $CGIPATH)
Any Qustions, Comments or new ways of using TZO in different Linux Versions.
please mailto:<support@tzo.com>