Page 1 of 1

Automatic APN setting script

Posted: Fri Jan 02, 2015 1:12 pm
by timmay2

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!