Reset connection automatically

GreatBigMouth

Expert Member
Joined
Sep 23, 2006
Messages
1,959
Reaction score
0
Location
Pretoria
This may sound strange to some, and make perfect sense to others. I want to know if it's possible to automatically reset your internet connection after a certain time period.
 
Last edited:
Easy

Create a command file (batch file) called iburps.cmd

In that file add the following line :

Code:
rasdial <iburstconnection> /disconnect

where <iburstconnection> is the name of your iBurst connection as is in your Network folder. If the connection have a space in it, you'll have to use quotes, for example

Code:
rasdial "Iburst PPPoE" /disconnect

for it to work.

Then, in your Scheduled Tasks folder, add this command file with the required interval. :)

I created this because two of our sites doesn't update properly on DynDNS.

PM me why you want to do it - won't leak it out, promise.

Regards

Libs
 
For automatically reconnecting, you can change the iBurst PPPoE entry's properties to reconnect on a dropped line.

Or you can also use the same rasdial command to reconnect your iBurst connection again.

Simply run rasdial in a command window to see its command syntax.

Code:
C:>rasdial /?
USAGE:
        rasdial entryname [username [password|*]] [/DOMAIN:domain]
                [/PHONE:phonenumber] [/CALLBACK:callbacknumber]
                [/PHONEBOOK:phonebookfile] [/PREFIXSUFFIX]

        rasdial [entryname] /DISCONNECT

        rasdial

Command completed successfully.

C:>

So, for example you would use

Code:
rasdial iburps /disconnect
rasdial iburps myusername mypassword

in the same command file.

Regards

Libs
 
Last edited:
Tx for the CMD lines Lib... (have other uses for it)

However, I'm now extremely curious...:confused:

Mr H can you enlighten me by PM?

Rgds

M

LOL, tx MrH
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X