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.nmconnectionThe APN is in the [gsm] section:
[gsm]
apn=orangeChange the APN
- Edit the connection file:
sudo nano /etc/NetworkManager/system-connections/modem-under-test.nmconnection- Change the
apn=value in the[gsm]section. If authentication is required, addusernameandpassword:
[gsm]
apn=your.new.apn
username=your_user
password=your_password- Reload NetworkManager and restart the connection:
sudo nmcli connection reload
sudo nmcli connection down modem-under-test
sudo nmcli connection up modem-under-testCommon French carrier APNs
| Operator | APN |
|---|---|
| Orange | orange |
| SFR | sl2sfr |
| Bouygues | mmsbouygtel.com |
| Free Mobile | free |
Verify connection
# Check connection status
nmcli connection show modem-under-test | grep GENERAL.STATE
# Check IP address
ip addr show wwan0Important 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.