How to auto-select the APN depending on SIM card?
<p>I have this GSM embedded device under linux, where depending on external factors I might chose to put a different sim card into. But in the configuration for the PPP, I have to give an APN, which changes depending on the network du jour. How can I automatize that?</p>

<p>It just downed on me that smartphones don't need explicit APN entry to work when changing the sim card (also, the APN is sometimes different in M2M and actual cell phone, not sure I can use the same trick).</p>

<p>(I know you are curious: it's deployed in the middle of nowhere, and we chose the least worst network at the last minute on the installation site)</p>