Omirion Docs

APN Configuration

How to manually change the APN on a running Moduliser device. The cellular connection is managed by NetworkManager via the modem-under-test connection profile.

How to manually change the APN on a running Moduliser device. The cellular connection is managed by NetworkManager via the modem-under-test connection profile.

Check current APN

sudo cat /etc/NetworkManager/system-connections/modem-under-test.nmconnection

The APN is in the [gsm] section:

[gsm]
apn=orange

Change the APN

  1. Edit the connection file:
sudo nano /etc/NetworkManager/system-connections/modem-under-test.nmconnection
  1. Change the apn= value in the [gsm] section. If authentication is required, add username and password:
[gsm]
apn=your.new.apn
username=your_user
password=your_password
  1. Reload NetworkManager and restart the connection:
sudo nmcli connection reload
sudo nmcli connection down modem-under-test
sudo nmcli connection up modem-under-test

Common French carrier APNs

OperatorAPN
Orangeorange
SFRsl2sfr
Bouyguesmmsbouygtel.com
Free Mobilefree

Verify connection

# Check connection status
nmcli connection show modem-under-test | grep GENERAL.STATE

# Check IP address
ip addr show wwan0

Important note

This change is local to the device. If the OS image is updated via Omirion IoT Cloud, the APN will revert to the default value configured in the base image. To make a permanent change across all devices, contact the Omirion support.

On this page