Several folks suggested grabbing dynamic DNS addresses from the
ip-up.bat file. Mine is generated by the chat0 dialer that comes
with epppd, and then I used lsppp for the packet driver. However,
my ip-up.bat files not contain te DNS number, only these variables:

set myip=209.3.225.39
set remip=209.3.225.2
set netmask=255.255.255.192
set peermru=1500

What software creates an ip-up.bat file that includes DNS numbers?
By the way, here is a little strategy for quickly generating a
new wattcp.cfg file, for each internet session. Assume I put
say 10 static lines I want in wattcp.cfg, in in dialer.bat file.
Then:
        call ip-up.bat
        echo ip=%myip% > wattcp.cfg
        tail -10 dialer.bat > wattcp.cfg

The latter inserts the dos variable %myip% in wattcp.cfg, and then
copies the last 10 lines in your dialer script into wattcp.cfg as well.
These lines can just site in your dialer batch file, as long as you
use, for instance, a null batch file to teminate  dialer.bat execution,
before the last 10 lines (e.g., is you run a batch file within
a parent batch file, rather than ``calling'' it, and the  child batch
file is  empty - the effect is to exit the parent file.).


----------------------------------------
Howard Schwartz
----------------------------------------
     howardbschwartz "at" california.com

To unsubscribe from SURVPC send a message to [EMAIL PROTECTED] with 
unsubscribe SURVPC in the body of the message.
Also, trim this footer from any quoted replies.
More info can be found at;
http://www.softcon.com/archives/SURVPC.html

Reply via email to