Follow us on LinkedIn Find us on YouTube
home recent topics recent posts search faq  

Devolutions inc. > Forum

user:
psw:
| register | lost password   open id
Messages in this topic - RSS

Home » Remote Desktop Manager - Feature Request » Status for rasdial.exe VPN connections?

Feature request forum for Remote Desktop Manager
8/23/2011 12:27:00 AM

alphanimal
alphanimal
Posts: 62
Hi!

Often times when I connect to a VPN session using Microsoft VPN, and something goes wrong, it simply closes tche session without providing any error information.

Would it be possible to display the output of rasdial.exe in the "Opening VPN connection" window, and keep any error messages visible?

thanks!
0 permalink
8/24/2011 6:41:55 AM

David Hervieux
David Hervieux
Administrator
Posts: 4241
Hi,
I will try to add this. You are right this might help.

--
David Hervieux
Devolutions inc.


0 permalink
8/24/2011 10:49:57 AM

Xanacas
Xanacas
Posts: 90
this would defnetly be nice, so you don't have to do the workaround with the rasdial.exe -f
0 permalink
8/27/2011 5:52:10 AM

David Hervieux
David Hervieux
Administrator
Posts: 4241
Sorry for the question but what does -f do?

--
David Hervieux
Devolutions inc.


0 permalink
8/27/2011 7:13:24 AM

alphanimal
alphanimal
Posts: 62
I think he means rasphone.exe -f, which you use to specify the .pbk file to load.

Actually this would be a solution! just use rasphone instead of rasdial, then we get a GUI and error message from Windows.
edited by alphanimal on 8/27/2011
0 permalink
12/29/2011 9:10:05 AM

alphanimal
alphanimal
Posts: 62
I recently had some VPN troubles again and thought about this thread

Any chance of getting this implemented?

Cheers!
Daniel
0 permalink
12/31/2011 10:54:11 AM

David Hervieux
David Hervieux
Administrator
Posts: 4241
Hi,
It's now implemented and it will be in the next beta release. It's now an option in the configuration to display the output when the connection fails
edited by dhervieux on 12/31/2011

--
David Hervieux
Devolutions inc.


0 permalink
1/2/2012 8:12:18 AM

alphanimal
alphanimal
Posts: 62
Hi!

thanks for the update!

Being able to see errors is very useful!

One minor problem:
The character encoding seems to be wrong when you display the message from rasdial.exe. All those '?' should be German Umlaut characters or ß (Eszett)



Also I was hoping you could use rasphone.exe instead of rasdial.exe so we can actually see Windows' status window and error messages.

Also what's a bit inconvenient, is that RDM doesn't know if a VPN is already active or not.
Example: You open session A, VPN gets connected, then you open session B, which dies not connect VPN since it can already reach the host.
Then you close session A, RDM asks if you want to close VPN, but you say No because you still work on session B.
Then you clode session B, but since it didn't connect a VPN in the firct place, the VPN stays open and there's no easy way to close it.

All the VPN connecting/disconnecting could be managed a bit better imho.

Thanks for all your support so far! Your product is really useful for us.

Have a happy new year!

cheers,
Daniel
0 permalink
1/2/2012 8:29:12 PM

David Hervieux
David Hervieux
Administrator
Posts: 4241
Hi,
I will verify what I can do for the encoding problem. For rasphone, have you try to check the option "Use rasphone (Connection Adminsitrator Kit)". Have you try to link you VPN with a VPN group? This allow you to only close the VPN when all the session are closed. It's in the VPN tab page.
edited by dhervieux on 1/2/2012

--
David Hervieux
Devolutions inc.


0 permalink
1/18/2012 1:06:13 AM

alphanimal
alphanimal
Posts: 62
Hi!

The problem with this option (or with using rasphone in general) is that you can't provide credentials from the DB.

Can you explain to me in simple words how VPN groups work or where I can create one? I couldn't find it.
I should rtfm I guess...
0 permalink
1/18/2012 1:10:07 AM

alphanimal
alphanimal
Posts: 62
maybe this helps to handle credentials in rasphone
http://msdn.microsoft.com/en-us/library/windows/desktop/aa377811%28v=vs.85%29.aspx
0 permalink
1/18/2012 8:11:11 AM

David Hervieux
David Hervieux
Administrator
Posts: 4241
Thank you for the API, I will try to find a little hour to do a test with it. For the VPN group, it's simple. You set a name to a group to create the link. If a session with a VPN Group is already opened, the application increase the counter and wait for all the session to be closed to finally close the VPN.



Just be careful. I've found little bug with the enable of the VPN Group, just click twice on the close combo session to enable it. This will be resolved in the next beta

--
David Hervieux
Devolutions inc.




Attachments:
VPNGroup.png
0 permalink
1/31/2012 3:10:49 AM

alphanimal
alphanimal
Posts: 62
David Hervieux wrote:
It's now an option in the configuration to display the output when the connection fails


I see it's actually just a timeout and sometimes (when internet bandwidth is low) I get an error box saying "Connecting ..."
No real problem but it feels a bit weird/unfinished in combination with the encoding problem

So, if you somehow manage to get the rasphone API working, that would be awesome.
This would make managing VPNs so much easier.

Another small sugegstion:
In the MS VPN Type, where you select the .pbk file, you could add an Edit button that opens the .pbk file in rasphone, so the user can easily edit it.

Thanks and have a nice day!
Daniel
0 permalink
1/31/2012 3:11:35 AM

alphanimal
alphanimal
Posts: 62
Oh and big thanks for the hint with the VPN Group. Works like a charm
0 permalink
2/1/2012 11:16:05 AM

David Hervieux
David Hervieux
Administrator
Posts: 4241
Hi,
I have added the edit button and also I think (I can't test it) that I have resolved the encoding issue. This will be in the next beta release.

--
David Hervieux
Devolutions inc.


0 permalink
2/6/2012 5:27:22 AM

alphanimal
alphanimal
Posts: 62
Thanks! The edit button works well. I'd put it next to the pbk file box though (you edit the whole file, not only one entry)

The encoding is still not right.



Attached is the raw output from my rasdial.exe. Should be ANSI.

0 permalink
2/6/2012 5:35:50 AM

David Hervieux
David Hervieux
Administrator
Posts: 4241
Thank you. I have changed to ANSI this time.

--
David Hervieux
Devolutions inc.


0 permalink
2/6/2012 5:37:17 AM

David Hervieux
David Hervieux
Administrator
Posts: 4241
For the edit button, your right that for editing the whole file but I was not sure how to put it because you can edit the selected ppk and the default also.

--
David Hervieux
Devolutions inc.


0 permalink
2/6/2012 8:28:43 AM

alphanimal
alphanimal
Posts: 62
David Hervieux wrote:
Thank you. I have changed to ANSI this time.


Alright thanks!

David Hervieux wrote:
For the edit button, your right that for editing the whole file but I was not sure how to put it because you can edit the selected ppk and the default also.


Oh I see, it's perfect then
0 permalink
2/6/2012 12:05:56 PM

David Hervieux
David Hervieux
Administrator
Posts: 4241
Could you try this updated binaries (same version but with the encoding fix):

http://remotedesktopmanager.com/download/Devolutions.RemoteDesktopManager.Bin.6.9.7.0.zip

--
David Hervieux
Devolutions inc.


0 permalink

Home » Remote Desktop Manager - Feature Request » Status for rasdial.exe VPN connections?





Powered by Jitbit Forum 7.0.4.0 © 2006-2011 Jitbit Software