Discussion Locked

Automatically Transmit dynamic settings

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a number of clients with Dynamically assigned Public IPs. I am looking for a way (or program/script) to have the system automatically email or post to an HTTP log, or something, the IP settings that it received on every reboot. I am locatedan hour & half to 2 hours from several of these sites, and if I am unable to get in remotely, because I no longer have a valid Public address for their system, I have to travel to the site, often to find out it was a user error that caused the initial problem report.

I frequently use PCAnywhere and VNC for remote management of sites, but without a valid public IP I am unable to get into these sites. Several of my sites have very limited staffs, several only have a person at the site 2 days a week. The staff that are at these sites, fear going near the servers, as though they were having to handle live rattlesnakes.

Any Suggestions or recommendations???

2 replies

by joseph moore

If the clients run a logon script when they log in, you can append the IPCONFIG information to a text file that is on a web server.
For example, in the logon script, you could have:

ECHO %COMPUTERNAME% logging in. >>\\WEBSERVER\LOGS\logfile.txt
ECHO DATE /T >>\\WEBSERVER\LOGS\logfile.txt
ECHO TIME /T >>\\WEBSERVER\LOGS\logfile.txt
IPCONFIG >>\\WEBSERVER\LOGS\logfile.txt
ECHO =====================
>>\\WEBSERVER\LOGS\logfile.txt

So, that would append to a text file on \\WEBSERVER in the shared folder LOGS, into a text file called "logfile.txt".
What you then do is add the text file to a virtual directory on the web server, and have this log file as the default document for the virtual directory.
This way, every time someonelogs into their system and the logon script runs, you get their IP info added to the log file.

hope this helps

by jimmy

Joseph, Thanks for the input. However, my problem is on the server. This is a small office with DSL using PPPoE. Everytime the server is rebooted, or the DSL link drops from inactivity, someone has to go to the server and click "Connect" and a new address is set on the server. I am running PCAnywhere on this server, and am unable to get to it until I know the new address. The login script is long since gone before the PPPoE client is activated and internet access is available.

This discussion is closed to new replies.