Automatische Verbindung zur 3G-DFÜ-Verbindung herstellen

Automatische Verbindung zur 3G-DFÜ-Verbindung herstellen

Ich habe ein Notebook mit einem internen 3G-Modem (ein HUAWEI Mobile Connect), das dem System als DFÜ-Modem angezeigt wird. Wenn ich eine Verbindung zum Internet herstellen möchte, muss ich die Charms-Leiste öffnen, auf Einstellungen, Netzwerk, Modem und „Verbinden“ klicken, um den DFÜ-Dialog auf dem Desktop zu öffnen. Wenn die Verbindung aus irgendeinem Grund unterbrochen wird, muss ich diese Schritte wiederholen.

Gibt es eine Möglichkeit, Windows 8 so zu konfigurieren, dass beim Systemstart automatisch (und vorzugsweise unbemerkt im Hintergrund) eine Verbindung zu diesem Modem hergestellt wird und die Verbindung automatisch wiederhergestellt wird, wenn sie unterbrochen wird?

Da es sich um ein für Mobilgeräte entwickeltes Betriebssystem handelt, erwarte ich, dass es irgendwie in der Lage ist, eine ständig aktive 3G-Verbindung zu verwalten.

Antwort1

Meines Erachtens gibt es hierfür zwei Möglichkeiten:

  1. Sie können Connectionsdie Tabulatortaste verwenden, um anzugeben, ob Sie oder Internet Optionsmöchten .Dial whenever a network connection is not presentAlways dial default connection

    Internet Optionen

  2. Durch Batchdateien mitrasdialzum Wählen der Verbindung können Sie das Wählen automatisieren. Für einen einfacheren Zugriff können Sie sogar versuchen, eine Tastenkombination zum Ausführen dieser Batchdatei festzulegen.

Antwort2

Prüfen Sie, ob für Ihre Aircard oder einen anderen UMTS-Dongle Treiber verfügbar sind, die die Windows 7 Mobile Broadband-Schnittstelle implementieren. Windows 7 (und Windows 8) kann automatisch eine Verbindung herstellen, ohne dass eine zusätzliche Konfiguration erforderlich ist, wenn solche Treiber verfügbar sind. Darüber hinaus kann Windows erweiterte Funktionen wie SMS und die Anzeige der richtigen Signalstärke ohne die Hilfe einer externen Anwendung verarbeiten. Bitte beachten Sie, dass dies nur für paketvermittelte Verbindungen (GPRS/HSPA) gilt. Wenn Sie eine leitungsvermittelte Verbindung (CSD/HSCSD) verwenden, müssen Sie rasdialein automatisiertes Batch-Skript verwenden, das in Ihrem Startobjekte-Ordner abgelegt ist.

Wenn Sie nicht sicher sind, welche Art von Verbindung Sie verwenden, sehen Sie sich die Telefonnummer an, die Sie in Ihrer aktuellen Konfiguration wählen. Wenn diese lautet *99#oder eine Variante ( *99***1#usw.), handelt es sich um eine paketvermittelte Verbindung. Wenn Sie eine herkömmliche DFÜ-Zugangsnummer wählen (z. B. +18133860056), handelt es sich um eine leitungsvermittelte Datenverbindung.

Antwort3

ja, es funktioniert, aber hier ist ein weiterer Workaround mit dem Windows-Taskplaner

http://www.dariancabot.com/2010/11/15/automatically-connect-to-vpn-at-windows-startup/

Im Taskplaner können Sie die Wiederholung nach Stunden oder Minuten veranlassen und das Verhalten ändern (dies kann notwendig sein, da USB-3G-Modems in Laptops dazu neigen, die Verbindung zu trennen, um Strom zu sparen).

Eine weitere detaillierte Methode ist hier entnommen aus

http://social.technet.microsoft.com/Forums/en-US/W8ITProPreRel/thread/771eeb9a-77e6-428f-8e23-3433d1421757/

How to setup a Scheduled Task to Trigger on a VPN Disconnect
1. Click Windows8 Start and type Schedule Task (open it under Settings)
2. Click Create Task
3. Apply the following settings in the specified Tabs (italics describes each setting)
General Tab
Name: VPN Redial
For descriptive use, you can use any name you want like My Company VPN Redial....whatever.....
Select: Run whether user is logged on or not
Provided you have a password associated to your login account, this option will prevent the dos window from opening everytime the job runs. If you don't have a password, leave it and  see the notes below these steps.

Triggers Tab
Click New button
To create a new trigger we will use to activate the job when the VPN connect disconnects
Begin the task: On an Event
The job will be triggered by an Application event log entry
Select: Custom
Custom gives us the flexibility of creating a more detailed query
Click New Event Filter... button
Here is where we build the query for the trigger

Click the XML tab
This tab allows us to write our own query (even more flexible)
Check Edit query manually
To start a manual edit
Copy the following query
This query will trigger on an Application Event for RasClient with an EventID of 20226 and error codes 829 (Remote Disconnect), 629 (Client Disconnect). Copy from and including <QueryList> to </QueryList>
<QueryList>
  <Query Id="0" Path="Application">
    <Select Path="Application">*[System[Provider[@Name='RasClient'] and (EventID=20226)]] and *[EventData[Data[4]='829' or '629']]</Select>
  </Query>
</QueryList>
Click OK
Ensure Enabled is checked
Check it if it's not checked to make sure the job will be enabled
Click Ok
Actions Tab

Click New
To create an action to be performed when the job is triggered
Action: Start a program
Selection this option will allow us to start rasdial to reestablish the VPN connection
Program/script: rasdial
Should already be in path so just enter rasdial command

Add arguments (optional): "VPN Name" username password
VPN name is the name you defined for your dialup connection. Example, when you click the network icon in the system tray, the name that's listed for your VPN, make sure you enter it in exactly as displayed. Following the connect would be your username and password. Example, "MY VPN Connection" username password
Click Ok
Conditions Tab (not required unless you are using a laptop)

Uncheck: Stop if the computer switches to battery power
Settings TAB
Enable: If the task fails, restart every: 1 minute
In case there is a temporary issue re-establishing the VPN connection. You can specify whatever value you want instead of 1 minute
Attempt to restart up to: 7 times
Again in case there is a temporary issue re-establishing the VPN connection. You can specify whatever value you want instead of 7 times
Click Ok

Notes
1. Haven't really tested this much but I had configured it last night, woke up this morning to find the Event log showing 4 disconnects, and the job redialed all 4 times, VPN connection was still active.
2. In the General Tab we enabled "Run whether user is logged on or not. This is a non issue since there won't be a VPN connection when you're not logged in. What this option does since we are running a dos (rasdial) command, it prevent a dos window from opening every time the job runs so you won't be distracted if you're in the middle of something. This option only works if you have a password (which you should) associated with your account. If you don't and just allow your computer to boot to desktop, the option won't work. What I've done for people in these situations is created a little VBScript wrapper to launch the dos command to avoid the dos prompt. Not really an issue unless you're anal about it like me, you could simply deal with the Dos window opening up.
3. Again the query checks the event log for a new Entry for RasClient with an event id of 20226 containing error codes 820 or 620. you can add additional error codes by repeating the pattern. Example to also trigger on 222 and 333 you would modify the relevant part of the line as such *[EventData[Data[4]='829' or '629' or '222' or '333']]</Select>

4. I'm checking error codes because I don't want the job to be reconnected if I purposely disconnect the VPN which generates a 631 code under Event ID 20226.

Ähnlicher Trigger Rasdial bei der Windows-Anmeldung

In triggers>select>new> in "Begin the task"> select At log on > make sure enabled is checked and press ok Done that's it

Antwort4

Klicke aufDasLink und lade die Anwendung ReConnect herunter. Hat bei mir funktioniert, Prost.

verwandte Informationen