<div dir="ltr">Thank you really much it finally works, I still have two questions:<div><br></div><div>-In my box I have two wifi card that I configure with hostapd but it doesn't work with NM so I suppose that the easier way will be to setup the access point with NM or is there another way to setup an internet connection without nmcli</div><div><br></div><div>-Is there conf file that permit to have a full control on my connection (play with every parameters to have the best connexion possible) or it's setting up automatically and I don't have control over it.</div><div><br></div><div>Thank you again for your help</div><div>Regards</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 15, 2017 at 6:34 PM, Thomas Haller <span dir="ltr"><<a href="mailto:thaller@redhat.com" target="_blank">thaller@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, 2017-06-15 at 17:20 +0200, Nassim Dahmani wrote:<br>
> Yes the device is unmanaged I searched on internet how to set it<br>
> managed by NM but nothing helped me<br>
><br>
> nmcli dev show cdc-wdm1<br>
><br>
> GENERAL.DEVICE: cdc-wdm1<br>
> GENERAL.TYPE: gsm<br>
> GENERAL.ADR.-MAT.: (unknown)<br>
> GENERAL.MTU: 0<br>
> GENERAL.STATE: 10 (not managed)<br>
> GENERAL.CONNEXION: --<br>
> GENERAL.CON-PATH: --<br>
<br>
<br>
</span>Hi,<br>
<br>
<br>
The TYPE of cdc-wdm1 interface is "gsm".<br>
<br>
On the other hand, NetworkManager.conf has:<br>
<br>
CONFIG: [keyfile]<br>
CONFIG: unmanaged-devices=*,except:<wbr>type:wifi,except:type:wwan<br>
<br>
<br>
note, that "except:type:wwan" does not match "type:gsm".<br>
<br>
<br>
<br>
<br>
<br>
Probably this configuration comes from something like<br>
/usr/lib/NetworkManager/conf.<wbr>d/10-globally-managed-devices.<wbr>conf<br>
If you create an empty file<br>
/etc/NetworkManager/conf.d/10-<wbr>globally-managed-devices.conf<br>
the one<br>
from /usr/lib will be shadowed.<br>
<br>
Or, put another file<br>
/etc/NetworkManager/conf.d/99-<wbr>my-managed-devices.conf<br>
with<br>
[keyfile]<br>
<br>
unmanaged-devices+=except:<wbr>interface-name:cdc-wdm1<br>
or just reset it<br>
entirely:<br>
[keyfile]<br>
unmanaged-devices=<br>
<br>
<br>
<br>
<br>
best,<br>
Thomas</blockquote></div><br></div>