Using Ublox GSM module to connect WIN10 to internet - Help

Joined
Jan 5, 2012
Messages
4
#1
Hello

I need help connecting a Windows 10 based PC to the internet via a serial connected modem.

More details:

I've got a GT-100 USB device with a LEON U-Blox GSM module in it. I've managed to setup the APN, connect it to the internet (MTN) and I can Ping google via the AT commands, so that part works well.

AT+UPSD=0,1,"internet"
AT+UPSDA=0,3
AT+UPING="www.google.com"

The bit I'm struggling with is to get a Windows 10 PC to use the modem as a gateway to the internet. I've tried the dial-up connection, but it just fails with error code 777.

I've even put the above AT commands in the initialization string in the advanced modem settings, but still no luck.
See the log file dump below.

Has anyone managed to do this and could you give me some pointers please??

PS. The machine is monitoring an industrial device with a few inputs, fans, temperature, etc and uploading the info to a cloud based monitoring service. Its pretty solid, but the "domestic" 3G dongles tend to crash and have to be rebooted often, hence me wanting to use this modem.

Here's the modem initialization and responses via Putty:

AT
OK
AT+UPSD=0,1,"internet"
OK
AT+UPSDA=0,3
OK
AT+UPING="www.google.com"
OK
+UUPING: 1,32,"www.google.com","216.58.223.36",49,632
+UUPING: 2,32,"www.google.com","216.58.223.36",49,397
+UUPING: 3,32,"www.google.com","216.58.223.36",49,397
+UUPING: 4,32,"www.google.com","216.58.223.36",49,1015
AT
OK

Log file from Windows if I try to use the dialup to make the connection:

02-11-2019 13:16:25.951 - Modem type: Communications cable between two computers
02-11-2019 13:16:25.951 - Modem inf path: mdmhayes.inf
02-11-2019 13:16:25.951 - Modem inf section: M2700
02-11-2019 13:16:25.951 - Matching hardware ID: pnpc031
02-11-2019 13:16:26.015 - Opening Modem
02-11-2019 13:16:26.016 - 115200,8,N,1, ctsfl=1, rtsctl=2
02-11-2019 13:16:26.017 - Initializing modem.
02-11-2019 13:16:26.017 - Waiting for a call.
02-11-2019 13:16:26.051 - TSP(0000): Making Call
02-11-2019 13:16:26.052 - 19200,8,N,1, ctsfl=1, rtsctl=2
02-11-2019 13:16:26.053 - Initializing modem.
02-11-2019 13:16:26.053 - Dialing.
02-11-2019 13:16:26.053 - TSP Completing Async Operation(0x0001025b) Status 0x00000000
02-11-2019 13:16:26.053 - TSP(0000): LINEEVENT: LINECALLSTATE_DIALING
02-11-2019 13:16:26.053 - TSP(0000): LINEEVENT: LINECALLSTATE_PROCEEDING
02-11-2019 13:16:26.063 - Send: CLIENT
02-11-2019 13:16:26.168 - Recv: CLIENT
02-11-2019 13:16:26.168 - Interpreted response: Ring
02-11-2019 13:16:26.168 - TSP(0000): LINEEVENT: LINEDEVSTATE_RINGING(0x1)
02-11-2019 13:16:28.064 - Timed out waiting for response from modem
02-11-2019 13:16:28.074 - Send: CLIENT
02-11-2019 13:16:28.178 - Recv: CLIENT
02-11-2019 13:16:28.178 - Interpreted response: Ring
02-11-2019 13:16:28.178 - TSP(0000): LINEEVENT: LINEDEVSTATE_RINGING(0x1)
02-11-2019 13:16:30.075 - Timed out waiting for response from modem
02-11-2019 13:16:30.086 - Send: CLIENT
02-11-2019 13:16:30.190 - Recv: CLIENT
02-11-2019 13:16:30.190 - Interpreted response: Ring
02-11-2019 13:16:30.190 - TSP(0000): LINEEVENT: LINEDEVSTATE_RINGING(0x1)
02-11-2019 13:16:32.086 - Timed out waiting for response from modem
02-11-2019 13:16:32.097 - Send: CLIENT
02-11-2019 13:16:32.201 - Recv: CLIENT
02-11-2019 13:16:32.201 - Interpreted response: Ring
02-11-2019 13:16:32.201 - TSP(0000): LINEEVENT: LINEDEVSTATE_RINGING(0x1)
02-11-2019 13:16:34.098 - Timed out waiting for response from modem
02-11-2019 13:16:34.098 - Hanging up the modem.
02-11-2019 13:16:34.098 - Hardware hangup by lowering DTR.
02-11-2019 13:16:36.099 - A timeout has expired waiting to comm event to occour.
02-11-2019 13:16:36.099 - 115200,8,N,1, ctsfl=1, rtsctl=2
02-11-2019 13:16:36.101 - Initializing modem.
02-11-2019 13:16:36.101 - Waiting for a call.
02-11-2019 13:16:36.101 - TSP(0000): LINEEVENT: LINECALLSTATE_DISCONNECTED(0x4000)
02-11-2019 13:16:36.101 - TSP(0000): LINEEVENT: LINECALLSTATE_IDLE
02-11-2019 13:16:36.116 - TSP(0000): Dropping Call
02-11-2019 13:16:36.116 - TSP Completing Async Operation(0x00010239) Status 0x00000000
02-11-2019 13:16:36.117 - TSP(0000): Closing Call
02-11-2019 13:16:36.118 - Session Statistics:
02-11-2019 13:16:36.118 - Reads : 0 bytes
02-11-2019 13:16:36.118 - Writes: 0 bytes
 
Top