Help needed to disconnect from my current Internet connection

Hello,

I’m total beginner, and I’m lost.
How can I write a script that disconnect me from my current Internet connection and reconnect in 5 minutes?

THNX for helping

Hi, I know I am pretty late, but maybe this is usefull for someone else…



-- Connection
 
 tell application "Internet Connect"
       activate
       set configName to "Internal Modem"
       connect PPP configuration 1 to telephone number "123456"
       quit
end tell

-- Disconnection

tell application "Internet Connect"
disconnect configuration configName
end tell

-- wait 5 minutes

delay 300

-- Reconnect

tell application "Internet Connect"
activate
set configName to "Internal Modem"
connect PPP configuration 1 to telephone number "123456"
quit
end tell

This should help…

Best Regards,

Stefan