Beijer Electronics (formerly QSI Corporation)

Dialup connection as default?
Page 1 of 1

Author:  MikeP [ Mon Jan 07, 2013 9:33 am ]
Post subject:  Dialup connection as default?

Hey All,

I have the M4x all set up with the GSM modem running. When I boot up the device I can open my network panel and manually connect to the GSM modem using a dial up connection. All the setting are saved so all I have to do is open the connection and hit connect. From then all it all works great.

The issue im having is I want the dialup connection to connect automatically when I boot up the device. Can anyone point me in the right direction for achieving this?


Author:  brighamd [ Wed Jan 09, 2013 8:08 am ]
Post subject:  Re: Dialup connection as default?

Generally RAS connections are created programmatically to better handle hang-ups, disconnects, re-dial attempts, etc. What you can do to accomplish this is write a simple program that automatically dials the connectoid you are using (e.g. GSM_COM4). After writing this program you can follow the instructions in this post to start your program at boot-up.

There's a freely available RAS wrapper from the OpenNETCF community for use in managed code:
I've attached a quick VS2008 project implementing the library.

RAS Library Reference for CE6:

There's also an option to make a RasEntry the default connection. This will cause the connection dialog to appear at boot-up so that the "Connect" button is immediately available. To do this click on Start > Settings > Network and Dial-up connections > Right-click on Connectoid (e.g. GSM_COM4) > and check "Set as Default". While this won't autodial the connection at boot-up it certainly makes it faster to connect.

Attachments: [34.29 KiB]
Downloaded 553 times

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group