


Drivers can work one day, and suddenly stop working the next day, for a variety of reasons. WAN Miniport (PPP over Ethernet Protocol) errors can be rooted in an outdated or corrupted device driver. Thanks.Hardware devices such as WAN Miniport (PPP over Ethernet Protocol) rely upon these tiny software programs to allow clear communication between the hardware itself and a specific operating system version. However, I still think the whole idea I presented is quite awkward and would gladly see some neat approach. Supposing a modem connection has the name ABCD, the following terminates it after closing AutoConnect: rasdial ABCD /disconnect Thank you in advance for any neat general solution or a small specific solution on how to turn off USB connection (maybe Windows will automatically use LAN then) or switch to LAN.īelatedly, I came up with a solution. In a desperate attempt I thought of disabling the modem using devcon.exe but the program downloaded fromĭidn't run (some errors that I won't cite because they're actually unrelated to the main issue) and before downloading huge Windows Driver Kit 7.1.0 for a hopefully better version I thought I'll ask here for some suggestion/solution :) I suspected that switching back could be some netsh command but haven't found anything obvious in the help. After killing AutoConnect, the connection is still via modem. Now I stuck on how to switch back to LAN (which is my primary, quicker access to the net) after some time, when Internet access has been restored. AFAIK it has no command line options, but just running it after it has been once configured establishes GSM connection and later reconnects in case, which is great. In one direction I figured out a workaround that has additional advantage of keeping the connection alive: AutoConnect 0.1.3.1 by Jarek "Shider" Wieczorek. AFAIK the app doesn't have command line options.

The usage of my USB modem for casual user consists of running a bespoke application for it and clicking a button "Connect/Disconnect". "netstat -rn" shows that adapter for Local Area Connection has higher priority for binding than the modem, which is good. Preliminary look-around: C:\Windows\system32>wmic nic get name, index I'd prefer not giving the script administrative privileges but if it's unavoidable, I can bear this. The question is how to change the adapters from command prompt. I've already written some Perl code that actively tests if connection is down and can run a shell command to switch the adapter used for Internet access. The problem is that sometimes my Internet provider has some outage and during such time I'd like to automatically use USB modem. The general situation: I have Windows 7 64-bit professional, network connection via ethernet and plugged USB GSM modem.
