Skip to main content
2 of 5
added 291 characters in body
Wilf
  • 2.4k
  • 3
  • 24
  • 40

Make NetworkManager manage a interface

I am trying to create a WiFi hotspot (from the int connection) on a small test file server running a near stock CentOS 7 (the sort of unsupported 32bit AltArch version), but NetworkManager does not seem to want to manage the device:

$ nmcli dev status
DEVICE       TYPE      STATE      CONNECTION    
enp0s2       ethernet  connected  ext
enp3s1       ethernet  connected  int   
lo           loopback  unmanaged  --            
wlp0s2       wifi      unmanaged  --  

I have tried adding managed=true to /etc/NetworkManager/NetworkManager.conf, and /etc/network/interfaces does not exist. I have tried creating various ifcfg files manually using nano, vim, nmtui and other methods (no GUI is currently available) - it does not recognise it automatically.

How can I get NetworkManager to use the wifi device? It works on other computers, and though I could reconfigure the network with something else, there doesn't seem to be any obvious solutions I have found to get it to work (I have found lots of stuff on getting it to NOT manage devices).

EDIT: Network manager does sort of recognise the custom ifcfg profile (it shows in nmtui profile editor etc and when restarting the process it shows Starting USB-Hotspot), but does not seem to associate with the device despite having the correct MAC and interface addresses.

Wilf
  • 2.4k
  • 3
  • 24
  • 40