Improve company productivity with a Business Account.Sign Up

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 274
  • Last Modified:

Adding TZO.Signon to ifup-ppp

How to add TZO.Singon to ifup-ppp and TZO.Signoff ifdown-ppp files located in /usr/sbin?
1 Solution
Can you explain what TZO.signon and TZO.signoff are?
JBURGHARDTAuthor Commented:
There is service for people with dynamic ip addresses called tzo and there is script that will lwt you update dns server. I need to ran all scripts when I sign on and sing off from internet
JBURGHARDT, i was looking at the tzolinux client, it's a cgi script, you only can access it from the web it cannot be added to the ppp-scripts and they dont allow telnet sessions.
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

JBURGHARDTAuthor Commented:
IS there way to tell ifup-ppp that when starts ppp also execute TZO.Signon and when ifdowwn-ppp execute TZO.Signoff
What you want is the /etc/ppp/ip-up script.  In the package you recieved from TZO you should have gotten a shell script that calls up Lynx to log you into the system.  To call this when your machine establishes a PPP connection simply copy the line that calls up lynx to somewhere in your /etc/ppp/ip-up script.  Make sure that /etc/ppp/ip-up is a valid shell script (ie- starts with #!/bin/sh) and is executable (chmod a+rx /etc/ppp/ip-up).  This will run the TZO system every time you login to the network.  In linux there is no provisioning for running stuff BEFORE the link is down, /etc/ppp/ip-down is run after the connect is dead, so you have not chance of running tzo.signoff unless you doso yourself.  This is not needed though, since TZO does not require a logout, so you can just have it login again and it'll update to your current IP.  If you have any questions let me know.
JBURGHARDTAuthor Commented:
Can you tell me what I should  add to my ifup-ppp so cgi script TZO.Signon will be executed after I get connected to my isp?
This is quite simple, you should add a line that looks much like this (put it near the end of the file somewhere)


That's it!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now