I run linux on my home PC and wanted to access my home machine when ever and where ever , but i don't have a static ip as i have a bsnl data one connection ... so i was looking for options .
initially i wrote a small script that sends me an email periodically every 4 hours or so .And i used to check my mails to know my machine IP . Then thought of using dyndns.
I started exploring that . i have registered an account and installed the recommended ddclient in ubuntu and it was throwing some error like "caught SIGTERM; exiting " .
so started writing a small script for myself . all this script does is runs periodically to check if the ip of my machine has changed and update dyndns.org if there is a change . i have been running this for a month now and had no issues .
it was fun developing it and its simple to use . no complications . hope it will be useful to others .
You can download it from here.
Showing posts with label Scripting. Show all posts
Showing posts with label Scripting. Show all posts
Tuesday, July 31, 2007
Thursday, April 12, 2007
Quick Hack : P2P block on IPCop 1.4.15
I was trying to install P2P block v 2.5 on ipcop version 1.4.15 and it was not allowing me to do so
as p2p block was written to work for the following versions 1.4.8 to 1.4.11 .... and i found a quick hack for this and wanted to share with every one ..
Step 1 : login to ipcop using ssh and #vi /var/ipcop/general-functions.pl
Step 2 : change this line $General::version = '1.4.15'; to $General::version = '1.4.11';
Step 3 : tar xvzf p2pblock_ipcop_1.4.11.tar.gz
Step 4 : cd p2pblock
Step 5 : ./install
Step 6 : after the installation is successful please revert the General version back to 1.4.15
#vi /var/ipcop/general-functions.pl
#$General::version = '1.4.15';
and you are all set .. hope this is helpful :)
--CS
as p2p block was written to work for the following versions 1.4.8 to 1.4.11 .... and i found a quick hack for this and wanted to share with every one ..
Step 1 : login to ipcop using ssh and #vi /var/ipcop/general-functions.pl
Step 2 : change this line $General::version = '1.4.15'; to $General::version = '1.4.11';
Step 3 : tar xvzf p2pblock_ipcop_1.4.11.tar.gz
Step 4 : cd p2pblock
Step 5 : ./install
Step 6 : after the installation is successful please revert the General version back to 1.4.15
#vi /var/ipcop/general-functions.pl
#$General::version = '1.4.15';
and you are all set .. hope this is helpful :)
--CS
Subscribe to:
Posts (Atom)