Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Permeant Dialup PPP Connection

Posted on 1997-01-19
1
Medium Priority
?
534 Views
Last Modified: 2013-12-23
I am tying to get a reliable automatic dial to an ISP working under NT4.0 SP1.  I still have not been able to achieve this.
This is where I'm at :

The objective is to have Windows NT dial an ISP when booted, with no user interaction and establish a PPP link.  If the link fails for any reason it must re-dial and be re-established the link without user interaction.

I have set this up in the following manner;

* Created a RAS phone book entry to dial and login to the ISP.
* Set "Re-Dial on Link Failure" in the entry.
* Created a service to start the "DIALER"  using SRVANY.EXE.  I have tried Microsoft's RASDIAL & RASPHONE and a 3rd Party dialer called RAS32
all with the same result.

This all works fine if you are logged in and you start the service manually.  It will re-dial on failure and re-connect 100% of the time.

However if you then logout, the line will drop and NT will not re-dial the ISP.

If I set the service to start automatically and re-boot, the service will start and connect to the ISP, as long as a connection is established the first time ( it will not re-dial if there is a fault on the initial connect).  Also if a connection is made on the first attempt, if you login on the console then log off the connection will drop and no re-dial will take place.

I found the following in the SRVANY.WRI file that explains why the link drops when you logout;

" For WIN32 Console (i.e. character-mode) applications: when the currently logged-in user is logging-off, all Console applications receive a CTRL_LOGOFF_EVENT event from the Console. If your Console application has registered a Console event handler (via SetConsoleCtrlHandler), it must ignore CTRL_LOGOFF_EVENT in order  to survive the logoff. "

What I need is a RAS DIALER that will survive a CTRL_LOGOFF_EVENT  and will read the "Re-Dial on Link Failure"  setting in the phone book entry.
0
Comment
Question by:alexv
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
bruceward earned 200 total points
ID: 1559214
I also have gone trhough this struggle.  The easy way I found to solve the problem was to avoid it by configuring Auto Logon for my Server.  Then the server is always logged on.  I put the dialup connection in the Startup Group and have not had any problems since.

If you need info about Auto Logon search the Microsoft Knowledge Base at www.microsoft.com/kb, or send me email at bruce@befound.com
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
An article on effective troubleshooting
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question