Solved

Adding TZO.Signon to ifup-ppp

Posted on 1999-01-19
7
260 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
ID: 1588148
Can you explain what TZO.signon and TZO.signoff are?
0
 
LVL 5

Author Comment

by:JBURGHARDT
ID: 1588149
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
ID: 1588150
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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 5

Author Comment

by:JBURGHARDT
ID: 1588151
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
ID: 1588152
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
ID: 1588153
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
ID: 1588154
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
OpenVPN running on Ubuntu 14.4 x64 5 93
Linux neworking 4 97
BIND DNS - Single Zone 2 views 5 70
(Open)LDAP V2.44  search proxy to AD (W2012R2) 37 140
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

770 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