Script to change default APN

Script to change default APN

Hello,

Is there any script to change the default APN in Android devices ?

Thank you

10 Answers

Order By:   Standard | Newest | Votes
NMod@soti.net | posted this 14 September 2018

Hello Edgar,

Thank you for contacting SOTI Inc. in regards to our handheld solutions.

In regards to your question, unfortunately SOTI doesn't have any specific script by which you can change the default APN in Android devices.

 

However, MobiControl allows to configure a APN profile under Android Platform which enables you to centrally manage these settings.

 

 

 

You can also manually setup a new APN from device side by going to - Settings > wireless & network > mobile networks > Access Point Names > Add new

 

Let me know if you have further questions.

 

Regards,

 

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |

  • 1
  • 0
Ross , Hathaway | posted this 08 October 2018

What device?

  • 0
  • 0
Edgar Gomez | posted this 08 October 2018

Hello. Thank you for your reply.

I've seen this configuration, but in this case the user needs a privete APN for a specific app and the public APN for the other apps, so we where thinking of a script for the lockdown to change the APN and then launch the app.

 

 

  • 0
  • 0
Richard | posted this 28 November 2018

Hi.  I am a new SOTI user, and would like to know how to configure the APN settings, as the guide provided, does not work for the mobile devices we have.

 

We are using SOTI Enterrprise and have created the Android Plus profile to push out the rerquired APN settings to our devices, all of which are Samsung Galaxy a5 2017 on Android 8.0.0

 

Any ideas?

 

Thank you,

Richard

  • 0
  • 0
KMod@SOTI | posted this 05 December 2018

Hi Richard,

 

Thank you for requesting an answer from SOTI Support.

In regards to your question, you mentioned that you are using SOTI Enterprise? Is this in regards to your devices being enrolled into MobiControl as Android Enterprise devices?

 

Configuring APN settings through profiles is only compatible with devices that have been enrolled as Android Plus devices in MobiControl.

 

Assuming that your devices are enrolled as Android Plus and your profile is configured correctly, are you getting any errors in the devices logs when the profile is pushed? Does the profile install on the device?

 

Looking forward to your response.

 

Regards,

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |

  • 0
  • 0
Richard | posted this 06 December 2018

Hi.

 

Thanks for the info.  I raised a support ticket and was informed that APN settings for Enterprise is only availabe via version 14.2.  Pushing out APN settings to lesser versions in not possible.

  • 0
  • 0
Support Staff | posted this 19 December 2018

Hi Richard, 

 

From what I am reading here you have setup a Android Enterprise device and then you are sending a Android Plus profile to it.

 

Usually this will not install and/or work based on the mismatch.  Try sending an Enterprise profile to the devices instead or enrolling it as a Android plus device.

 

@Edgar have you considered a VPN/ per app VPN as a way of obtaining your goal?

 

Regards, 

 

 

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |

  • 0
  • 0
Richard | posted this 20 December 2018

Hi,

 

No,  I had enrolled the devices on Enterprise and I wanted to push the APN settings out to the devices.  But on the SOTI version we were using, the option wasn't there.  After contacting Support directly, our SOTI was updated to version 14.2.

 

Version 14.2 now allows for APN settings to be pushed out to Enterprise devices as well as Android Plus.

 

This was resolved two weeks ago, but thank you for the reply.

  • 1
  • 0
Support Staff | posted this 02 January 2019

HI Edgar, 

 

That sounds awesome.  Let me go ahead and solution the post for you!  

 

Thanks as well for the response and follow up.

 

Take care.

 

 

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |

  • 0
  • 0
Randy, Saputra | posted this 07 May 2019

Hei guys, is it possible to limit the device roaming ability through selected carrier only?

For example if 1 Device already enrolled through Android Enterprise, and then the device is use abroad, can we limit the device only roaming through carrier that we already set?

i do some testing, i bind the Device with the selected Local Carrier, and use the other SIM card, but the Device still can detect the SIM Card carrier, i guess the device should be forbidden to detect the SIM Card carrier?

and beside the APN setting at Mobi Control, should we set the APN setting at the device too?

Sorry for the long question.. Hope someone can help..

 

 

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback