Controlling 4G LTE from XP Command Line?

User1547
Newbie

We have a DOS batch program which successfully uses rasdial in XP to connect and disconnect the attached Verizon 3G USB modem.

We would like to upgrade to a 4G LTE USB modem---but when we tried it a few weeks after the 4G modems came out, rasdial was unable to connect with the device.

Does anyone know how to control connection and disconnection from one of the VZW 4G LTE USB modems from the command line (as in a batch file)?

This could be via rasdial or something else, but it needs to be run from the batch file.

0 Likes
Reply
3 Replies
Vzuser123
Newbie

I believe netsh mbn connect is the place to start.  I have the exact same problem and have not figured it out yet.  I got stuck on the connmode and  name portion of the command.  I also chose to set up the connection as Mobile Broadband instead of LAN because it mimics the wireless connection and you can connect/disconnect wothout running the Vzaccess Manager.  It LAN mode i could not see how to do this at all.  At least it is a starting point.  Maybe this could help you and if you figure it out let me know.

rasdial will not work.  It is no longer looked at as a Dial UP connection with the 4g cards.  Nice they decided to reinvent the wheel. Vzaccess manager is great for a single user but not when you are using these cards in a specialized fashion where you do not want users messing with the connection.

0 Likes
Reply
User1547
Newbie

Thanks, Vzuser123. I hadn't considered netsh before. Upon some quick

research, however, I surmise that in the version of netsh available under

XP, the mbn option is not available. It may have been added after that

version of XP?

My thought was to use ipconfig (or netsh, perhaps) to disable the USB VZW

LAN adapter and then later use the same command to re-enable it. Maybe that

would work?

0 Likes
Reply
Vzuser123
Newbie

I was wrong about the Mobile Broadband.  I was working from a laptop not realizing a mini card was installed in it allowing that to work.  Back to the drawing board.  I was able to get it to work but it is of no use because those mini cards are not in most of our machines.  I fail to understand why Verizon did this.  Not everyone wants to run Vzaccess manager to make a connection.

I tried to enable the LAN adapter but is does not dial the Modem.  It seems to me that this is nothing more than a fancy way of making a dial up connection expect you, the user, has zero control over it.  Instead it appears the Access manager dials the connection and then turns it into a LAN connection.

0 Likes
Reply