This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[MODULE] Auto-IP Updater
#1
[MODULE] Auto-IP Updater
Automatically update your control panel IP address. (Admin-only module!)

Code:
zppy repo add rustus.txt-clan.com
zppy update
zppy install autoip

In-module description:

Quote:Information

AutoIP uses an external website to check your current public IP address. If the website reports a different IP address than your current IP address, AutoIP will automatically update your control panel's IP address and also any DNS records found to be using the old IP address as well.
Command
The command variable can be set to any website that reports your IP address. AutoIP will attempt to find your IP that the website reports and use it. If it cannot, then you will need to use a different website until you find one that works.
Default setting is: http://myip.dnsomatic.com/
Below is a list of websites that have proven to work with AutoIP:
http://myip.dnsomatic.com/
http://checkip.dyndns.org/
http://checkip.eurodyndns.org/
http://checkrealip.com/
http://ipcheck.rehbein.net/
http://dynamic.zoneedit.com/checkip.html
http://www.raffar.com/checkip/
http://mwburden.com/cgi-bin/getipaddr
http://www.tanziars.com/
http://www.naumann-net.org/
http://www.antifart.com/stuff/checkip/
http://checkmyip.com/
http://www.ipchicken.com/
http://glowhost.com/support/your.ip.php
http://testip.edpsciences.org/
http://adresseip.com/
http://www.aboutmyx.com/AboutMyXApp/AboutMyIP.jsp
http://www.lawrencegoetz.com/programs/ipinfo/

Email Alert
If you enter an email here, AutoIP will send an alert message if it detects a change in the IP address. To disable email alerts, remove the email address. To send an email to more than one address, seperate emails with a comma (,)
i.e.: address1@somedomain.com,address2@anotherdomain.com
Enabled
Uncheck this option to disable AutoIP from updating the control panel's IP address. When disabled, DNS records will also not be updated.
Exec Script
If you want to run a command or a script after the IP adress has been updated, enter the command here. You can enter a command, or the full path to a script you wish to run. Windows Users make sure that you run a script in the background or a command that returns an exit value so that you do not hang the daemon, wating for a script to close. For Linux users, all commands are ran through the 'at' scheduler, so this will probably not be an issue.

Script Examples:
path/to/php /path/to/script.php
C:/folder/runme.bat
shutdown -r now
/usr/bin/runme.sh

Direct download link: http://zppy-repo.mach-hosting.com/log.php?id=11
Donations for any of my modules or forum help can be sent to HERE Thanks!
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by: apinto , Griffon
#2
RE: [module] Auto-IP Updater
Hi

when i try to access your module i getting error below

"Error code 500 (Internal Server Error) "

How to fix this error ?

Thanks
Reply
Thanks given by:
#3
RE: [module] Auto-IP Updater
I would suggest reinstalling it.

Code:
zppy remove autoip
zppy update
zppy install autoip
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#4
RE: [module] Auto-IP Updater
Hello friends. It is not about sentora but is dysfunctional. I do not get put in function. Updater module AutoIP need to use dynamic dns server. The module AutoIP works in zpanel but not the Sentora respond white page.

Is someone capable of resolving this, this module is the most important of all the modules for the reason that you can use the dynamic dns server.
Reply
Thanks given by:
#5
RE: [module] Auto-IP Updater
I will check the code and make it compatible with both versions.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#6
RE: [module] Auto-IP Updater
(07-17-2015, 04:12 AM)TGates Wrote: I will check the code and make it compatible with both versions.

any update?
Reply
Thanks given by:
#7
RE: [Module] Auto-IP Updater
I don't have the time atm to do this, but a quick fix is to edit /etc/sentora/panel/modules/autoip/code/controller.ext.php
edit lines 25 and 78 changing 'zpanel' to 'sentora':
Line 25:

Code:
$lastupdate = date(ctrl_options::GetOption('zpanel_df'), $row['ai_lastupdate_ts']);

Change to:

Code:
$lastupdate = date(ctrl_options::GetOption('sentora_df'), $row['ai_lastupdate_ts']);



Line 78:

Code:
include(ctrl_options::GetOption('zpanel_root') . '/cnf/db.php');

Change to:

Code:
include(ctrl_options::GetOption('sentora_root') . '/cnf/db.php');
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#8
RE: [Module] Auto-IP Updater
Repo is down for me.
Reply
Thanks given by:
#9
RE: [Module] Auto-IP Updater
It is also available here:

Code:
zppy-repo.mach-hosting.com/repo
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#10
RE: [Module] Auto-IP Updater
and if i want to uninstall this or any other module?
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
[MODULE] phpMyAdmin-AU (Auto-Update) TGates 14 40 ,538 06-15-2021, 06:54 AM
Last Post: TGates
[MODULE] SenBrand - Basic Branding module for Sentora TGates 20 43 ,249 06-04-2021, 11:47 AM
Last Post: ccr1969
[MODULE] CoinCorner BitCoin Module Xversion 4 13 ,027 06-03-2021, 05:02 AM
Last Post: zHostingSolutions

Forum Jump:


Users browsing this thread: 1 Guest(s)