Thank you really much it finally works, I still have two questions: -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
-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. Thank you again for your help Regards On Thu, Jun 15, 2017 at 6:34 PM, Thomas Haller <[email protected]> wrote: > On Thu, 2017-06-15 at 17:20 +0200, Nassim Dahmani wrote: > > Yes the device is unmanaged I searched on internet how to set it > > managed by NM but nothing helped me > > > > nmcli dev show cdc-wdm1 > > > > GENERAL.DEVICE: cdc-wdm1 > > GENERAL.TYPE: gsm > > GENERAL.ADR.-MAT.: (unknown) > > GENERAL.MTU: 0 > > GENERAL.STATE: 10 (not managed) > > GENERAL.CONNEXION: -- > > GENERAL.CON-PATH: -- > > > Hi, > > > The TYPE of cdc-wdm1 interface is "gsm". > > On the other hand, NetworkManager.conf has: > > CONFIG: [keyfile] > CONFIG: unmanaged-devices=*,except:type:wifi,except:type:wwan > > > note, that "except:type:wwan" does not match "type:gsm". > > > > > > Probably this configuration comes from something like > /usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf > If you create an empty file > /etc/NetworkManager/conf.d/10-globally-managed-devices.conf > the one > from /usr/lib will be shadowed. > > Or, put another file > /etc/NetworkManager/conf.d/99-my-managed-devices.conf > with > [keyfile] > > unmanaged-devices+=except:interface-name:cdc-wdm1 > or just reset it > entirely: > [keyfile] > unmanaged-devices= > > > > > best, > Thomas
_______________________________________________ ModemManager-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
