Unable to establish PPP data connection via APN

Unable to establish PPP data connection via APN SearchSearch
Author Message
Misha Baron
New member
Username: Mishabarton

Post Number: 1
Registered: 02-2022
Posted on Friday, February 18, 2022 - 03:38 am:   

Hi,

I'm trying to send MMS via my providers MMSC from the nowSMS interface (initial GSM setup MMS slider test function), however it seems I can never establish a PPP connection to the provider.

I have setup APN, MMSC and proxy to working settings.

This happens with multiple providers in North America on multiple different modems.

This is setup on a raspberry pi4 using either Simcom7600g-h, Simcom7600na-h or Quectel ec25.

I have tested multiple different sims and they work on mobile device to send MMS.

I am able to send SMS from interface and directly with AT commands.

If I try and connect to PPP via AT commands I am able to connect without issue.

When I look at the debug log I can see it establishes the PPP connection fine ( CONNECT 150000000 ) and modem sends and receives, but at some point it says user terminated and closes connection without sending MMS.

( 21:37:22:689 [-1269844992] m=39,0 ppp_status_cb: Connection lost )

21:37:48:713 [-1268792320] m=38,0 ProcessAdminRequest: ERROR - Unable to establish PPP data connection via APN

21:37:48:713 [-1268792320] m=39,0 ProcessAdminRequest: Status=ERROR - Unable to establish PPP data connection via APN

See logs attached.
text/plain
nowsms-ppp-log.txt (11.2 k)



As well attached is connection setup from nowsms interface, when this fails the alert says "Unable to establish PPP data connection via APN" same as log.


Any ideas on why this might be such a struggle to connect to service provider?

Thanks.
Misha Barton
New member
Username: Mishabarton

Post Number: 1
Registered: 02-2022
Posted on Friday, February 18, 2022 - 09:15 pm:   

Hi,

I'm trying to send a test MMS from the nowsms interface.
The testing area i'm using is the configuration for GSM modem.



The slider for "send mms" is what i am testing to try and send MMS.

The settings and sims's i am testing work on mobile devices to send MMS.

when I check the logs i see PPP connection works, then disconnects.

In the dashboard i just see alert that says "PPP connection to APN failed"

ERROR - Unable to establish PPP data connection via APN

I am using either a simcom7600g-h, Quectel ec25a or simcom7600n-a and they all send same alert and error log.

attached here is the log.

text/plain
nowsms-ppp-log.txt (11.2 k)


When i run a PPP connection from AT commands i get "CONNECT 1500000"
as well when i run 4g connection using QMLI im also able to connect to network provider as well.

Any advice or guidance much appreciated.

Thanks.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 8476
Registered: 10-2002
Posted on Friday, February 18, 2022 - 11:38 pm:   

Edit SMSGW.INI and under the [SMSGW] header add:

DebugPPP=Yes

Try connecting again. The raw PPP packets should also be logged. There do appear to be some PPP packets being received, so maybe we will be able to see a problem.

Regards,

Bryce Norwood
NowSMS Support

Add Your Message Here, or click here to start a new topic.
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image
Options: Automatically activate URLs in message
Action: