Sign in to follow this  
Followers 0
plastix

ADSL Dialup Automation

3 posts in this topic

Hi there

I have a server that I use remotely when I am away on home PC, but ADSL connection drops out almost daily. I am trying to design a script to check if there is an effective internet connection (occ. system appears connected but no packet flow etc) - easiest method is via PING.

I have tried to execute ADSL dialup - but using RUN() or ShellExecute() on a shortcut to the connection fails (crash with RUN, and 'parameters incorrect' with ShellExecute - there are no parameters in the .LNK to the connection).

If anyone has some bare-bones script for dialling / connecting to their ISP - or can give me an idea of how to call the ISP connection entry correctly, would be greatly appreciated.

TIA :whistle:

Share this post


Link to post
Share on other sites



Right-click on the shortcut and see what executable is being run, then use that ...


----[ SandyD ]---

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Right-click on the shortcut and see what executable is being run, then use that ...

Thanks. If it executed a program, that would be easy... The shortcut references a UID in Network Connections ie {HEX-HEX-HEX-HEX-HEX} - and there isn't a macro to Network Connections.

I'll search registry for the UID and see if the key has any helpful info - checked: just clas IDs as far as i can see.

Edited by plastix

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0