Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 271
  • 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?
0
JBURGHARDT
Asked:
JBURGHARDT
1 Solution
 
mcdoncCommented:
Can you explain what TZO.signon and TZO.signoff are?
0
 
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
0
 
serena77Commented:
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.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
JBURGHARDTAuthor Commented:
IS there way to tell ifup-ppp that when starts ppp also execute TZO.Signon and when ifdowwn-ppp execute TZO.Signoff
0
 
gashalotCommented:
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.
0
 
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?
0
 
gashalotCommented:
This is quite simple, you should add a line that looks much like this (put it near the end of the file somewhere)

/path/that/you/installed/tzo/client/to/TZO.Signon

That's it!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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