Questions tagged [ras]

Remote Access Service.

Remote Access Service.
A Microsoft API that makes it possible to create applications to administer the routing and remote access service capabilities of the operating system, to function as a network router.
The RRAS server functionality follows and builds upon the Remote Access Service in Windows NT 4.0.
Developers can use RAS and RRAS to implement routing protocols.

69 questions
8
votes
1 answer

Difference between RASPHONE.exe and RASDIAL.exe

I try to make a dial-up connection programatically. I tried with RASdial.exe and RASPhone.exe, Both does the same except RasDial.exe display the errors in console where as RasPhone.exe gives in user Interface. Can Someone explain me the difference…
2vision2
  • 4,933
  • 16
  • 83
  • 164
5
votes
2 answers

How do I retrieve all RAS connections?

I want to get all RAS connections (Dial-up, Broadband, VPN, etc.) as they appear in my "Network Connections" under "Control Panel". There are some solutions here and on the web to do this, but they are all about getting Active (connected)…
h.nodehi
  • 1,036
  • 1
  • 17
  • 32
5
votes
4 answers

How do I work with dial-up (RAS) connections in Windows using C#/.NET?

I need to be able to connect, disconnect, and re-connect a dial-up networking connection in a C# .NET Framework application. Creating the connection in the phone-book might also be useful/necessary. Are there any classes or libraries written for C#…
Adam Nofsinger
  • 4,004
  • 3
  • 34
  • 42
3
votes
1 answer

Programmatically dial an existing connection in Windows CE?

The RAS API for Windows CE is making me cry and, as a C# programmer, I can't make heads or tails of the documentation on MSDN regarding the vast majority of the functions which are available. I've already scoured the NET for code which allows me to…
MBender
  • 5,395
  • 1
  • 42
  • 69
3
votes
1 answer

Getting IP address/interface number after a RasDial

In C++ with .NET, I'm trying to get the IP address or interface name of a RASCONN that I just connected with RasDial (I have the HRASCONN pointer). I'm finding the MSDN API confusing and after hours searching I can't find the right calls (but it…
Cannoliopsida
  • 3,044
  • 5
  • 36
  • 61
2
votes
1 answer

How to Connect to a VPN Server with Delphi?

I need to connect to a VPN Server , I can`t use windows Connections , My Application should work independently ! I tested some Components using RAS Api , they works ! but by using windows connections . how can i do that without any dependency to…
Mahmood_N
  • 521
  • 9
  • 20
2
votes
0 answers

RAS popup terminal window programmatically

I have a custom dialer for dial-up connections (written in delphi). It works perfectly and does a lot of great stuff... Now, i want to allow the user to configure the connection to show an after-dial terminal window as if they checked the box "Show…
rei
  • 191
  • 1
  • 12
2
votes
0 answers

Rasdial falsely reports successful connection

Windows Server 2012 R2, uses RASDIAL as part of an automation routine to connect to a VPN. This has been working for a year or more, and recently started failing, though in a very unexpected way. If I run the rasdial command, it reports that the…
jleach
  • 7,410
  • 3
  • 33
  • 60
2
votes
1 answer

How to set l2tp preshared key?

I need to create RASENTRY for L2TP with pre-shared key set. So far, I can see that entry has somewhat correct flags, but no key is set, unfortunately. Here is code: int common_ras_manager_create_entry(const char* server_address, const char*…
DevOvercome
  • 151
  • 1
  • 12
2
votes
0 answers

Plot with image in gnuplot error

I'm trying to plot with image using gnuplot but it always returns me "Reading ras files from sequential devices not supported". Think of a file named "test.txt" includes: 6 5 4 3 1 0 3 2 2 0 0 1 0 0 0 0 1 0 0 0 0 0 2 3 0 0 1 2 4 3 0 1 2 3 4 5 Using…
Marian
  • 29
  • 1
2
votes
1 answer

How to create RAS phonebook entries using python on Windows 7?

I am using win32ras and Python 3.1 on Windows 7. The error is: Traceback (most recent call last): File "", line 1, in win32ras.EditPhonebookEntry(0, None, "NewEntry") pywintypes.error: (120, 'RasEditPhonebookEntry', 'This…
Confused
  • 617
  • 1
  • 9
  • 17
1
vote
1 answer

How to set a PreSharedKey in a RasEntry on Windows CE / Compact Framework?

Since I really don't get any progress in the last hours I need to consult you for a problem which I don't get solved. We have a Win CE 5.0 application, written C#/Compact Frmaework 2.0 that uses RASDial to Dial into a VPN. Currently it uses PPTP but…
user99070
1
vote
0 answers

Send SMS After RasDial

I'm developing a small 3G connection manager under Windows using C++ and I can't understand how to send an SMS once a 3G connection is established via RasDial. I have code to access a serial port and I understand the AT commands to send an SMS.…
rushman
  • 532
  • 2
  • 8
1
vote
0 answers

Why am I getting an error while trying to install rasa in python 3.6

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. tensorflow 1.13.2 requires tensorboard<1.14.0,>=1.13.0, but you have…
1
vote
2 answers

setting baud rate on dial-up connection win32

I am creating dial-up connection in code in Windows XP and Windows 7 (RasSetEntryProperties). The entries come up with the default baud rate of 19200. Using Win32 how do I change the baud rate in both Windows XP and Windows 7?
Gregor Brandt
  • 7,659
  • 38
  • 59
1
2 3 4 5