Re: Understanding How Networking Manager Manages Wi-Fi



On Thu, 2015-09-24 at 15:02 +0530, Ramprasad Vempati wrote:
Thanks Dan. yes I'm using ubuntu which has old version, which is
0.9.4.0.

Is there any way I can configure unmanaged-devices via command-line,
instead of openings NetworkManager.conf?  I'm basically trying to
create a script to add wi-fi interface to unmanaged-devices.

I think, unfortunately you cannot.

On 0.9.4 you only can modify /etc/NetworkManager/NetworkManager.conf
and restart NM.





On master you could do
  nmcli device set IFNAME managed no
which has a similar effect -- but it would not store the setting
persistently (yet).




On recent versions (but not 0.9.4) you can also drop configuration
snippets like

  /etc/NetworkManager/conf.d/10-my-unmanaged-device.conf

with "+="

  [keyfile]
  unmanaged-devices+=mac:AA:BB:CC:DD:EE:FF


Then you either restart NM or reload with:
  kill -SIGHUP `pidof NetworkManager`
or
  systemctl reload NetworkManager



Thomas



Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]