Hi

i have found a way to automate dial up networking but am
not sure i have created the batch file correctly.

Can someone help me please?

the batch file contains the following:

rasdial dialup username password /phone number.

Then i will have to schedule this using scheduled tasks.

I need to schedule this because trend micro messaging
suite does not dial up and get updates from the internet.
So i have to make sure i am on the net before it downloads
updates.

thanks

Re: rasdial by David

David
Sat Sep 20 03:22:39 CDT 2003

Sue,

If your Internet connectivity is via a dial-up connection is ISA configured
to dial out to the Internet for Web browsing etc? If so, then does Trend's
software have an option to use a web proxy? or proxy server for FTP? If it
does then you should be able Trend to use the Proxy server, which in turn
should trigger the dial-out connection.


To help with your batch file you should be able to use %ERRORLEVEL% to
determine if the connection was successful.

:RASDIALOUT
RASDIAL dialupname
IF %ERRORLEVEL% == 1 GOTO BADRASDIAL
rem cmds needed for Trend go here
GOTO END
:BADRASDIAL
sleep 5
GOTO RASDIALOUT
:END

sleep.exe should be a part of the Resource kit..

http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en

--
Hope that helps,

David Copeland
Microsoft Small Business Server Support

This posting is provided "AS IS" with no warranties, and confers no rights.


"sue" <jhardy012003@yahoo.com.au> wrote in message
news:0c0601c37f4c$a717c220$a301280a@phx.gbl...
> Hi
>
> i have found a way to automate dial up networking but am
> not sure i have created the batch file correctly.
>
> Can someone help me please?
>
> the batch file contains the following:
>
> rasdial dialup username password /phone number.
>
> Then i will have to schedule this using scheduled tasks.
>
> I need to schedule this because trend micro messaging
> suite does not dial up and get updates from the internet.
> So i have to make sure i am on the net before it downloads
> updates.
>
> thanks



Re: rasdial by sue

sue
Sat Sep 20 05:47:15 CDT 2003

Yes, it does have an option to use a proxy server but mine
does not work for some reason

My rasdial fails as well.

I type the following in a batch file and it fails

rasdial (name) [username [password]] /PHONE:

I think it requires a domain name but i do not know the
domain for my ISP.

thanks



>-----Original Message-----
>Sue,
>
>If your Internet connectivity is via a dial-up connection
is ISA configured
>to dial out to the Internet for Web browsing etc? If so,
then does Trend's
>software have an option to use a web proxy? or proxy
server for FTP? If it
>does then you should be able Trend to use the Proxy
server, which in turn
>should trigger the dial-out connection.
>
>
>To help with your batch file you should be able to use %
ERRORLEVEL% to
>determine if the connection was successful.
>
>:RASDIALOUT
>RASDIAL dialupname
>IF %ERRORLEVEL% == 1 GOTO BADRASDIAL
>rem cmds needed for Trend go here
>GOTO END
>:BADRASDIAL
>sleep 5
>GOTO RASDIALOUT
>:END
>
>sleep.exe should be a part of the Resource kit..
>
>http://www.microsoft.com/downloads/details.aspx?
FamilyID=9d467a69-57ff-4ae7-96ee-
b18c4790cffd&displaylang=en
>
>--
>Hope that helps,
>
>David Copeland
>Microsoft Small Business Server Support
>
>This posting is provided "AS IS" with no warranties, and
confers no rights.
>
>
>"sue" <jhardy012003@yahoo.com.au> wrote in message
>news:0c0601c37f4c$a717c220$a301280a@phx.gbl...
>> Hi
>>
>> i have found a way to automate dial up networking but am
>> not sure i have created the batch file correctly.
>>
>> Can someone help me please?
>>
>> the batch file contains the following:
>>
>> rasdial dialup username password /phone number.
>>
>> Then i will have to schedule this using scheduled tasks.
>>
>> I need to schedule this because trend micro messaging
>> suite does not dial up and get updates from the
internet.
>> So i have to make sure i am on the net before it
downloads
>> updates.
>>
>> thanks
>
>
>.
>

Re: rasdial by David

David
Sat Sep 20 13:16:50 CDT 2003

Sue,

Are you able to manually dial the entry using the dial-up connectoid icon in
Properties of My Network Places? Also, if you are able to connect that way
you should be able to have it save the username/password in it.. that way on
your rasdial command in your batch file you don't need to have them
specified..

What error do you get when Trend tries to connect using the Proxy? What
error do you get when you try to dial the connection?

--
Hope that helps,

David Copeland
Microsoft Small Business Server Support

This posting is provided "AS IS" with no warranties, and confers no rights.


"sue" <jhardy012003@yahoo.com.au> wrote in message
news:0b3101c37f64$8e3a52f0$a401280a@phx.gbl...
> Yes, it does have an option to use a proxy server but mine
> does not work for some reason
>
> My rasdial fails as well.
>
> I type the following in a batch file and it fails
>
> rasdial (name) [username [password]] /PHONE:
>
> I think it requires a domain name but i do not know the
> domain for my ISP.
>
> thanks
>
>
>
> >-----Original Message-----
> >Sue,
> >
> >If your Internet connectivity is via a dial-up connection
> is ISA configured
> >to dial out to the Internet for Web browsing etc? If so,
> then does Trend's
> >software have an option to use a web proxy? or proxy
> server for FTP? If it
> >does then you should be able Trend to use the Proxy
> server, which in turn
> >should trigger the dial-out connection.
> >
> >
> >To help with your batch file you should be able to use %
> ERRORLEVEL% to
> >determine if the connection was successful.
> >
> >:RASDIALOUT
> >RASDIAL dialupname
> >IF %ERRORLEVEL% == 1 GOTO BADRASDIAL
> >rem cmds needed for Trend go here
> >GOTO END
> >:BADRASDIAL
> >sleep 5
> >GOTO RASDIALOUT
> >:END
> >
> >sleep.exe should be a part of the Resource kit..
> >
> >http://www.microsoft.com/downloads/details.aspx?
> FamilyID=9d467a69-57ff-4ae7-96ee-
> b18c4790cffd&displaylang=en
> >
> >--
> >Hope that helps,
> >
> >David Copeland
> >Microsoft Small Business Server Support
> >
> >This posting is provided "AS IS" with no warranties, and
> confers no rights.
> >
> >
> >"sue" <jhardy012003@yahoo.com.au> wrote in message
> >news:0c0601c37f4c$a717c220$a301280a@phx.gbl...
> >> Hi
> >>
> >> i have found a way to automate dial up networking but am
> >> not sure i have created the batch file correctly.
> >>
> >> Can someone help me please?
> >>
> >> the batch file contains the following:
> >>
> >> rasdial dialup username password /phone number.
> >>
> >> Then i will have to schedule this using scheduled tasks.
> >>
> >> I need to schedule this because trend micro messaging
> >> suite does not dial up and get updates from the
> internet.
> >> So i have to make sure i am on the net before it
> downloads
> >> updates.
> >>
> >> thanks
> >
> >
> >.
> >



Re: rasdial by sue

sue
Sat Sep 20 15:49:11 CDT 2003

the error i get when i try to rasdial is wrong username
and password. I think my syntax is wrong. I cannot work
it out. Do you have an example for me please?

Trend Micro will not dial. i have to be on the net for it
to work. I do not remember the exact error but i will
post it later on today as i am not at the console until
later on today.

thanks

>-----Original Message-----
>Sue,
>
>Are you able to manually dial the entry using the dial-up
connectoid icon in
>Properties of My Network Places? Also, if you are able
to connect that way
>you should be able to have it save the username/password
in it.. that way on
>your rasdial command in your batch file you don't need to
have them
>specified..
>
>What error do you get when Trend tries to connect using
the Proxy? What
>error do you get when you try to dial the connection?
>
>--
>Hope that helps,
>
>David Copeland
>Microsoft Small Business Server Support
>
>This posting is provided "AS IS" with no warranties, and
confers no rights.
>
>
>"sue" <jhardy012003@yahoo.com.au> wrote in message
>news:0b3101c37f64$8e3a52f0$a401280a@phx.gbl...
>> Yes, it does have an option to use a proxy server but
mine
>> does not work for some reason
>>
>> My rasdial fails as well.
>>
>> I type the following in a batch file and it fails
>>
>> rasdial (name) [username [password]] /PHONE:
>>
>> I think it requires a domain name but i do not know the
>> domain for my ISP.
>>
>> thanks
>>
>>
>>
>> >-----Original Message-----
>> >Sue,
>> >
>> >If your Internet connectivity is via a dial-up
connection
>> is ISA configured
>> >to dial out to the Internet for Web browsing etc? If
so,
>> then does Trend's
>> >software have an option to use a web proxy? or proxy
>> server for FTP? If it
>> >does then you should be able Trend to use the Proxy
>> server, which in turn
>> >should trigger the dial-out connection.
>> >
>> >
>> >To help with your batch file you should be able to use
%
>> ERRORLEVEL% to
>> >determine if the connection was successful.
>> >
>> >:RASDIALOUT
>> >RASDIAL dialupname
>> >IF %ERRORLEVEL% == 1 GOTO BADRASDIAL
>> >rem cmds needed for Trend go here
>> >GOTO END
>> >:BADRASDIAL
>> >sleep 5
>> >GOTO RASDIALOUT
>> >:END
>> >
>> >sleep.exe should be a part of the Resource kit..
>> >
>> >http://www.microsoft.com/downloads/details.aspx?
>> FamilyID=9d467a69-57ff-4ae7-96ee-
>> b18c4790cffd&displaylang=en
>> >
>> >--
>> >Hope that helps,
>> >
>> >David Copeland
>> >Microsoft Small Business Server Support
>> >
>> >This posting is provided "AS IS" with no warranties,
and
>> confers no rights.
>> >
>> >
>> >"sue" <jhardy012003@yahoo.com.au> wrote in message
>> >news:0c0601c37f4c$a717c220$a301280a@phx.gbl...
>> >> Hi
>> >>
>> >> i have found a way to automate dial up networking
but am
>> >> not sure i have created the batch file correctly.
>> >>
>> >> Can someone help me please?
>> >>
>> >> the batch file contains the following:
>> >>
>> >> rasdial dialup username password /phone number.
>> >>
>> >> Then i will have to schedule this using scheduled
tasks.
>> >>
>> >> I need to schedule this because trend micro messaging
>> >> suite does not dial up and get updates from the
>> internet.
>> >> So i have to make sure i am on the net before it
>> downloads
>> >> updates.
>> >>
>> >> thanks
>> >
>> >
>> >.
>> >
>
>
>.
>

Re: rasdial by David

David
Sat Sep 20 22:30:42 CDT 2003

Sue,

If you are getting wrong username and password.. is it possible they are not
correct? or in the wrong case? If you've gone into Properties of My Network
Places and created a dialup entry named myisp (including phone number(s))
When you created it did you select that Everyone could use it or only your
user? You would probably want to create one that any user could use.. (at
least for testing). With the phone numbers already defined in the
connectoid you should be able to do either..

rasdial myisp username password
or
rasdial myisp
If the username and password are saved with it..

--
Hope that helps,

David Copeland
Microsoft Small Business Server Support

This posting is provided "AS IS" with no warranties, and confers no rights.


"sue" <jhardy012003@yahoo.com.au> wrote in message
news:95ab01c37fb8$a4c1f330$a601280a@phx.gbl...
> the error i get when i try to rasdial is wrong username
> and password. I think my syntax is wrong. I cannot work
> it out. Do you have an example for me please?
>
> Trend Micro will not dial. i have to be on the net for it
> to work. I do not remember the exact error but i will
> post it later on today as i am not at the console until
> later on today.
>
> thanks
>
> >-----Original Message-----
> >Sue,
> >
> >Are you able to manually dial the entry using the dial-up
> connectoid icon in
> >Properties of My Network Places? Also, if you are able
> to connect that way
> >you should be able to have it save the username/password
> in it.. that way on
> >your rasdial command in your batch file you don't need to
> have them
> >specified..
> >
> >What error do you get when Trend tries to connect using
> the Proxy? What
> >error do you get when you try to dial the connection?
> >
> >--
> >Hope that helps,
> >
> >David Copeland
> >Microsoft Small Business Server Support
> >
> >This posting is provided "AS IS" with no warranties, and
> confers no rights.
> >
> >
> >"sue" <jhardy012003@yahoo.com.au> wrote in message
> >news:0b3101c37f64$8e3a52f0$a401280a@phx.gbl...
> >> Yes, it does have an option to use a proxy server but
> mine
> >> does not work for some reason
> >>
> >> My rasdial fails as well.
> >>
> >> I type the following in a batch file and it fails
> >>
> >> rasdial (name) [username [password]] /PHONE:
> >>
> >> I think it requires a domain name but i do not know the
> >> domain for my ISP.
> >>
> >> thanks
> >>
> >>
> >>
> >> >-----Original Message-----
> >> >Sue,
> >> >
> >> >If your Internet connectivity is via a dial-up
> connection
> >> is ISA configured
> >> >to dial out to the Internet for Web browsing etc? If
> so,
> >> then does Trend's
> >> >software have an option to use a web proxy? or proxy
> >> server for FTP? If it
> >> >does then you should be able Trend to use the Proxy
> >> server, which in turn
> >> >should trigger the dial-out connection.
> >> >
> >> >
> >> >To help with your batch file you should be able to use
> %
> >> ERRORLEVEL% to
> >> >determine if the connection was successful.
> >> >
> >> >:RASDIALOUT
> >> >RASDIAL dialupname
> >> >IF %ERRORLEVEL% == 1 GOTO BADRASDIAL
> >> >rem cmds needed for Trend go here
> >> >GOTO END
> >> >:BADRASDIAL
> >> >sleep 5
> >> >GOTO RASDIALOUT
> >> >:END
> >> >
> >> >sleep.exe should be a part of the Resource kit..
> >> >
> >> >http://www.microsoft.com/downloads/details.aspx?
> >> FamilyID=9d467a69-57ff-4ae7-96ee-
> >> b18c4790cffd&displaylang=en
> >> >
> >> >--
> >> >Hope that helps,
> >> >
> >> >David Copeland
> >> >Microsoft Small Business Server Support
> >> >
> >> >This posting is provided "AS IS" with no warranties,
> and
> >> confers no rights.
> >> >
> >> >
> >> >"sue" <jhardy012003@yahoo.com.au> wrote in message
> >> >news:0c0601c37f4c$a717c220$a301280a@phx.gbl...
> >> >> Hi
> >> >>
> >> >> i have found a way to automate dial up networking
> but am
> >> >> not sure i have created the batch file correctly.
> >> >>
> >> >> Can someone help me please?
> >> >>
> >> >> the batch file contains the following:
> >> >>
> >> >> rasdial dialup username password /phone number.
> >> >>
> >> >> Then i will have to schedule this using scheduled
> tasks.
> >> >>
> >> >> I need to schedule this because trend micro messaging
> >> >> suite does not dial up and get updates from the
> >> internet.
> >> >> So i have to make sure i am on the net before it
> >> downloads
> >> >> updates.
> >> >>
> >> >> thanks
> >> >
> >> >
> >> >.
> >> >
> >
> >
> >.
> >



Re: rasdial by sue

sue
Sun Sep 21 10:43:59 CDT 2003

Ok, thanks David, will try that


>-----Original Message-----
>Sue,
>
>If you are getting wrong username and password.. is it
possible they are not
>correct? or in the wrong case? If you've gone into
Properties of My Network
>Places and created a dialup entry named myisp (including
phone number(s))
>When you created it did you select that Everyone could
use it or only your
>user? You would probably want to create one that any
user could use.. (at
>least for testing). With the phone numbers already
defined in the
>connectoid you should be able to do either..
>
>rasdial myisp username password
>or
>rasdial myisp
>If the username and password are saved with it..
>
>--
>Hope that helps,
>
>David Copeland
>Microsoft Small Business Server Support
>
>This posting is provided "AS IS" with no warranties, and
confers no rights.
>
>
>"sue" <jhardy012003@yahoo.com.au> wrote in message
>news:95ab01c37fb8$a4c1f330$a601280a@phx.gbl...
>> the error i get when i try to rasdial is wrong username
>> and password. I think my syntax is wrong. I cannot
work
>> it out. Do you have an example for me please?
>>
>> Trend Micro will not dial. i have to be on the net for
it
>> to work. I do not remember the exact error but i will
>> post it later on today as i am not at the console until
>> later on today.
>>
>> thanks
>>
>> >-----Original Message-----
>> >Sue,
>> >
>> >Are you able to manually dial the entry using the dial-
up
>> connectoid icon in
>> >Properties of My Network Places? Also, if you are able
>> to connect that way
>> >you should be able to have it save the
username/password
>> in it.. that way on
>> >your rasdial command in your batch file you don't need
to
>> have them
>> >specified..
>> >
>> >What error do you get when Trend tries to connect using
>> the Proxy? What
>> >error do you get when you try to dial the connection?
>> >
>> >--
>> >Hope that helps,
>> >
>> >David Copeland
>> >Microsoft Small Business Server Support
>> >
>> >This posting is provided "AS IS" with no warranties,
and
>> confers no rights.
>> >
>> >
>> >"sue" <jhardy012003@yahoo.com.au> wrote in message
>> >news:0b3101c37f64$8e3a52f0$a401280a@phx.gbl...
>> >> Yes, it does have an option to use a proxy server but
>> mine
>> >> does not work for some reason
>> >>
>> >> My rasdial fails as well.
>> >>
>> >> I type the following in a batch file and it fails
>> >>
>> >> rasdial (name) [username [password]] /PHONE:
>> >>
>> >> I think it requires a domain name but i do not know
the
>> >> domain for my ISP.
>> >>
>> >> thanks
>> >>
>> >>
>> >>
>> >> >-----Original Message-----
>> >> >Sue,
>> >> >
>> >> >If your Internet connectivity is via a dial-up
>> connection
>> >> is ISA configured
>> >> >to dial out to the Internet for Web browsing etc?
If
>> so,
>> >> then does Trend's
>> >> >software have an option to use a web proxy? or proxy
>> >> server for FTP? If it
>> >> >does then you should be able Trend to use the Proxy
>> >> server, which in turn
>> >> >should trigger the dial-out connection.
>> >> >
>> >> >
>> >> >To help with your batch file you should be able to
use
>> %
>> >> ERRORLEVEL% to
>> >> >determine if the connection was successful.
>> >> >
>> >> >:RASDIALOUT
>> >> >RASDIAL dialupname
>> >> >IF %ERRORLEVEL% == 1 GOTO BADRASDIAL
>> >> >rem cmds needed for Trend go here
>> >> >GOTO END
>> >> >:BADRASDIAL
>> >> >sleep 5
>> >> >GOTO RASDIALOUT
>> >> >:END
>> >> >
>> >> >sleep.exe should be a part of the Resource kit..
>> >> >
>> >> >http://www.microsoft.com/downloads/details.aspx?
>> >> FamilyID=9d467a69-57ff-4ae7-96ee-
>> >> b18c4790cffd&displaylang=en
>> >> >
>> >> >--
>> >> >Hope that helps,
>> >> >
>> >> >David Copeland
>> >> >Microsoft Small Business Server Support
>> >> >
>> >> >This posting is provided "AS IS" with no warranties,
>> and
>> >> confers no rights.
>> >> >
>> >> >
>> >> >"sue" <jhardy012003@yahoo.com.au> wrote in message
>> >> >news:0c0601c37f4c$a717c220$a301280a@phx.gbl...
>> >> >> Hi
>> >> >>
>> >> >> i have found a way to automate dial up networking
>> but am
>> >> >> not sure i have created the batch file correctly.
>> >> >>
>> >> >> Can someone help me please?
>> >> >>
>> >> >> the batch file contains the following:
>> >> >>
>> >> >> rasdial dialup username password /phone number.
>> >> >>
>> >> >> Then i will have to schedule this using scheduled
>> tasks.
>> >> >>
>> >> >> I need to schedule this because trend micro
messaging
>> >> >> suite does not dial up and get updates from the
>> >> internet.
>> >> >> So i have to make sure i am on the net before it
>> >> downloads
>> >> >> updates.
>> >> >>
>> >> >> thanks
>> >> >
>> >> >
>> >> >.
>> >> >
>> >
>> >
>> >.
>> >
>
>
>.
>