M
M
martensit2016-07-07 18:40:04
cmd/bat
martensit, 2016-07-07 18:40:04

What will be the PPPOE connection reconnect script?

Help with the PPPOE connection reconnect script connection
name: rt
login: user
password: pass
I'm trying options from the public, but they don't work for some reason.
@echo off
set conn=”rt”
set login=”user”
set pass=”pass”
set pause=10
rasdial %conn% %login% %pass %
exit

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
res2001, 2016-07-08
@res2001

The call to rasdial is correct. It is necessary to understand why it does not connect: errors, logs ...
You can also check the errorlevel that rasdial returns.
At the expense of reconnect - in the connection settings there is a checkbox - something like "Reconnect when the connection is broken".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question