Solved

Adding TZO.Signon to ifup-ppp

Posted on 1999-01-19
7
255 Views
Last Modified: 2010-03-18
How to add TZO.Singon to ifup-ppp and TZO.Signoff ifdown-ppp files located in /usr/sbin?
0
Comment
Question by:JBURGHARDT
7 Comments
 
LVL 4

Expert Comment

by:mcdonc
Comment Utility
Can you explain what TZO.signon and TZO.signoff are?
0
 
LVL 5

Author Comment

by:JBURGHARDT
Comment Utility
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
 
LVL 2

Expert Comment

by:serena77
Comment Utility
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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 5

Author Comment

by:JBURGHARDT
Comment Utility
IS there way to tell ifup-ppp that when starts ppp also execute TZO.Signon and when ifdowwn-ppp execute TZO.Signoff
0
 
LVL 1

Accepted Solution

by:
gashalot earned 30 total points
Comment Utility
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
 
LVL 5

Author Comment

by:JBURGHARDT
Comment Utility
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
 
LVL 1

Expert Comment

by:gashalot
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now