<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi</p>
<p>This started as an nmci question but I realised I don't
understand how to configure bearer contexts with mmcli either.</p>
<p>My starting point was creating a connection using nmcli (I
wanted to really use ipv6.method "disabled" but that's another
story.)<br>
</p>
<p>sudo nmcli connection add connection.id "eeno6" connection.type
gsm connection.interface-name "" gsm.apn "everywhere" gsm.username
"eesecure" gsm.password "secure" ipv6.method ignore<br>
</p>
<p><br>
</p>
<p>After this the modem has a context 1 setting like this</p>
<p>
<blockquote type="cite">
<div style="color: #d4d4d4;background-color: #1e1e1e;font-family: Consolas, 'Courier New', monospace;font-weight: normal;font-size: 14px;line-height: 19px;white-space: pre;"><div><span style="color: #d4d4d4;">```</span></div><div><span style="color: #d4d4d4;">at+cgdcont?</span></div><div><span style="color: #d4d4d4;">+CGDCONT: 1,"IP","everywhere","0.0.0.0",0,0,0,0</span></div>
<div><span style="color: #d4d4d4;">OK</span></div><div><span style="color: #d4d4d4;">```</span></div></div>
</blockquote>
</p>
<p>But this is a bad idea - far better to use something other than
context 1 maybe context 3 instead.</p>
<p>Any ideas how I create a connection profile that uses context 3?</p>
<p>I am also interested in how modem manager creates and manages the
modem context ? <br>
</p>
<p>I am not sure if modem manager writes the context only once when
the profile is created or every time a connection is started by
network manager?</p>
<p><br>
</p>
<div class="moz-signature">For interest my test system has</div>
<div class="moz-signature">
<blockquote type="cite">
<div style="color: #d4d4d4;background-color: #1e1e1e;font-family: Consolas, 'Courier New', monospace;font-weight: normal;font-size: 14px;line-height: 19px;white-space: pre;"><div><span style="color: #d4d4d4;">mmcli --get-daemon-version</span></div><div><span style="color: #d4d4d4;">ModemManager daemon 1.14.10 running</span></div></div>
</blockquote>
</div>
<div class="moz-signature">
<blockquote type="cite">mmcli --version<br>
mmcli 1.14.10</blockquote>
<blockquote type="cite">nmcli --version<br>
nmcli tool, version 1.14.6</blockquote>
</div>
<p><br>
</p>
<p>Many thanks in advance</p>
<p>John<br>
</p>
<div class="moz-signature"><br>
</div>
<div class="moz-signature"><br>
</div>
</body>
</html>