On Mon, 26 Feb 2001 09:55:31,
"Samuel W. Heywood" <[EMAIL PROTECTED]> wrote:
>
> > I normally load the packet driver before running Arachne (see
> > Alejandro's message), so this is something I overlooked.
>
> If you load the packet driver *before* loading Arachne, then you
> can easily produce PATH.CFG by a routine you would include in the
> batch file for loading the packet driver.
Of course, which is more or less what I do, although I put
everything in wattcp.cfg and don't use include=path.cfg. I
also configure config.tel for NCSA apps and autoexec.net/nos
for KA9Q.
> Please post your method of calling up and running Arachne
> after you have first loaded the packet driver.
I run Arachne like any other Wattcp application by calling
arachne.bat or a.bat. My arachne.cfg looks something like:
[profile]
Profile FASTPC.ACF
Connection READY
Hangup NUL
[dialer]
;empty
[tcp/ip]
IP_Address WATTCP
TCPconfig WATTCP.CFG
[mail]
...
> > However, I just set up an .acf for Arachne to load the packet
> > driver and found that when I quit without hanging up (ALT X),
> > even though IP-UP.BAT is deleted by arachne.bat, the environment
> > variables (%MYIP%, etc.) are still set, so you should be able to
> > produce PATH.CFG without calling IP-UP.BAT in your batch file.
>
> How would you do that? In order to produce PATH.CFG you would need to
> run a program to get five variables from somewhere. Four are easy.
> Netmask and and the two nameserver values are usually fixed, and %MYIP%
> is set as an environment variable, but where do you get gateway after
> IP-UP.BAT has been deleted? Maybe this variable is written to some file
> when you run Arachne. If this is the case then you can figure out how
> to do it.
When I load epppd from inside Arachne and then do an ALT-X, all
four environment variables in IP-UP.BAT are still in memory.
g:\arachne>set
MYIP=134.117.137.49
REMIP=134.117.137.16 <- gateway or remote ip
NETMASK=255.255.0.0
PEERMRU=1500
I see no reason why you would have to call IP-UP.BAT again in
your batch file. Try it yourself.
Howard E.
--
DOS TCP/IP * <URL:http://www.ncf.ca/~ag221/dosppp.html>