Hello All,

I am new to Perl and I am trying to connect to a Windows 95 machine that is
standalone (not on a network) using the Win32::RASE module.

I have installed all the relevant modules to make Win32::RASE work.

I am using ActivePerl from ActiveState version 522.

I have deselected the check-box Log on to network off the Server Types tab
and made the username / password empty strings and even tried to place
'undef' in the place of $UserName and $Password.

This script dials the box but always asks for a username / password. The
machine is not on the network so what do I need to do so it will connect to
the Windows 95 box without asking for a username / password????

Any ideas would be greatly appreciated.

Many Thanks,

Jonathan


P.S. Here is what I am working with.

>From using the example script I have this bit of code :

$|=1;

use Win32::RASE;


$first_RAS_entry = "Depot01w";
$UserName = "";
$Password = "";

#----------- test of RasDial ---------------
print "\nI'm dialing via the RAS entry: $first_RAS_entry\n\n";

$hrasconn = RasDial($first_RAS_entry, undef , $UserName, $Password)
         or die Win32::RASE::FormatMessage;

($err, $status) = RasDial("CLICK", "DP 110-6511" , $UserName,
$Password,undef,undef)
 or die Win32::RASE::FormatMessage;

print "Connected, \$hrasconn=$hrasconn\n";
exit;


**********************************************************************
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they   
are addressed. If you have received this email in error please notify 
the system manager.

This footnote also confirms that this email message has been swept by 
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to