Community discussions

MikroTik App
 
timmay2
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 64
Joined: Sat Sep 14, 2013 2:18 pm
Location: Kent, UK

Automatic APN setting script

Fri Jan 02, 2015 1:12 pm

Hi

Has anyone tried to build a script to automatically set modem (lte1) APN settings by looking up the IMSI of the inserted SIM and then using that to look up the APN, Username and Password for that carrier from a file?

I think the biggest challenge will be getting the IMSI as this is not possible through the "interface lte info lte1" unless the modem is actually connected. So I might need to disable the direct IP modem mode "port firmware set ignore-directip-modem=yes" then connect using the serial terminal to issue an AT command to get the IMSI... which seems a bit complicated!

Who is online

Users browsing this forum: No registered users and 15 guests