Score:0

Creating a gsm (LTE) connection without APN in NetworkManager

it flag

I work with a device that has an LTE modem, which has been working properly so far for many users out-of-the-box without having to configure its APN - this is not the case for all users, some of them DO require an APN setting.

However, NetworkManager doesn't recognize the connection, and hence it cannot manage it. When I'm trying to create the connection so it can manage it

nmcli c add con-name edge1lte type gsm ifname '*'

it says "apn" is a required argument. The official documentation specifies the APN is required. However, as mentioned before, is not really needed in some cases and the modem capabilities work just fine.

My question is: is there any way to bypass setting the APN in ModemManager, or otherwise automatically obtain it? This version of NM doesn't recognize the parameter auto-config and will not accept an empty value as APN

OS: Debian 9.6 (stretch)

NetworkManager version: 1.6.2

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.