Hello, @RobertF ,
Apologies for a delayed response,
If you need to modify the APN database on the RUT956, you can download the existing database, edit the required entries on a PC using an SQLite database editor, and then upload the modified database back to the router.
Please follow the procedure below.
1. Download the APN database from the RUT956
Connect to the RUT956 via SSH and create a working copy of the APN database:
cp /usr/local/share/mobifd/apn.db.gz /tmp/apn.db.gz
gunzip /tmp/apn.db.gz
The decompressed database should be available as:
/tmp/apn.db
Verify that it is an SQLite database:
file /tmp/apn.db
Then copy /tmp/apn.db from the router to your PC using SCP.
2. Edit the database on the PC
Open apn.db using an SQLite database editor, such as DB Browser for SQLite.
Before making any changes, please keep an untouched backup of the original database.
Modify only the required APN entries and save the database.
3. Upload the modified database to the RUT956
Before replacing the existing database, create a backup of the currently installed file:
cp /usr/local/share/mobifd/apn.db.gz /tmp/apn.db.gz.backup
Compress the modified database on your PC:
gzip apn.db
This should result in:
apn.db.gz
Upload the modified apn.db.gz to the RUT956, for example to /tmp/:
scp apn.db.gz root@<RUT956_IP>:/tmp/
Then, on the RUT956, replace the existing database with the modified one:
cp /tmp/apn.db.gz /usr/local/share/mobifd/apn.db.gz
4. Verify the file
After uploading the database, verify that the file exists and has the expected size:
ls -lh /usr/local/share/mobifd/apn.db.gz
We recommend rebooting the router after replacing the database and then verifying that the required APN entries are correctly available through the RUTOS interface.
Important: Modifying the APN database is outside the standard RUTOS configuration workflow. Please retain the original database backup so that the changes can be reverted if necessary. We also recommend testing the modified database on a test device before deploying it to production equipment.
Best regards,
V.