Re: Connect to VPN from command line?



Here is what I quoted in my first reply for the rasdial syntax:

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

rasdial [entryname] /DISCONNECT

Unless I'm seeing things, it has both the user name and the password
as a parameter. The phonebook is there too!


"Samuel R. Neff" <samuelneff@xxxxxxxxxx> wrote in message
news:7pv11390c8hjrvro75hrh996u3qcv17u5q@xxxxxxxxxx

Yes, the phone book is an INI file with lots of info about the
connection. The username and passwrod are not there and I don't see
how knowing what is in the pbk file helps with the original problem..
how do I actually dial the vpn connection without putting username and
password in the command line?

As I said I can run rasdial and get different error messages depending
on whether I specify the "all" vs "personal" phonebook (the connection
info is in the all phonebook) but I can't get it to connect without
specifying username and password in the command line (even though it
is stored with the connection--although obviously not in the pbk
file).

Thanks,

Sam


On Mon, 2 Apr 2007 13:04:50 +1000, "Pegasus \(MVP\)" <I.can@xxxxxxx>
wrote:


You must first create the connection from the interactive
facility within Control Panel / Network Connections.
After you do, have a look in the phone book. It's a text
file and you can open it with any text editor. Be a little
inquisitive!


------------------------------------------------------------
We're hiring! B-Line Medical is seeking .NET
Developers for exciting positions in medical product
development in MD/DC. Work with a variety of technologies
in a relaxed team environment. See ads on Dice.com.


.



Relevant Pages

  • Re: How do I start VPN at bootup and ensure that it keeps running?
    ... Maybe if you try using the rasdial entryname command in a Machine startup script? ... I've tried to set up an automated task with the command "radial <connection name> <username> " but it doesn't seem to connect when I reboot my PC. ...
    (microsoft.public.windowsxp.general)
  • Re: Problem Restated: OPA0 on DS10L
    ... %REM-I-TOQUIT, connection established ... Username: Username: R\ ... Too many parameters - reenter command with fewer parameters ... I.E. did SET HOST/DTE just dump the data already in the typeahead buffer ...
    (comp.os.vms)
  • Re: Connect to VPN from command line?
    ... Yes, and again from my original question, how can I make the call ... WITHOUT embedding username and password in the command line? ... Windows Explorer can launch a network connection using saved ...
    (microsoft.public.windowsxp.general)
  • Re: FakeModem
    ... Username and password are not sent in AT commands. ... usb device with this "fackmodem" driver and create a connect in this ... i just want to know what happend during the connection. ... debug info i can see some AT command, but none of them is sending my ...
    (microsoft.public.development.device.drivers)
  • Re: Share Problem
    ... If it's a one off thing you can use the net command to create a connection using your username for example at the command prompt type: ... if it's a permanent thing then you may want to give the administrators access to your share or on the client pc go to control panel and user accounts and look under manage network passwords to allow the pc to remember your username and password for the connection. ... When I am logged in as an administrator on other PC's, ...
    (microsoft.public.windowsxp.help_and_support)