Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] interface as unmanaged with nmcli and systemd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Skinjob2707
n00b
n00b


Joined: 07 Aug 2013
Posts: 57

PostPosted: Fri May 19, 2017 7:24 pm    Post subject: [SOLVED] interface as unmanaged with nmcli and systemd Reply with quote

I'm trying to mark a wireless interface on my system as unmanaged (and leave the Ethernet managed). Google suggested using the /etc/NetworkManager/NetworkManager.conf file, which didn't exist on my system. I created the following file:
Code:
  [main]
plugins=keyfile

[keyfile]
unmanaged-devices=mac:08:00:09:12:34:56



Output from "nmcli dev status" after rebooting:
Code:
DEVICE   TYPE      STATE         CONNECTION         
enp33s0  ethernet  connected     Wired connection 1
wlp35s0  wifi      disconnected  --                 
lo       loopback  unmanaged     --   


Thanks in advance for your help!


Last edited by Skinjob2707 on Sat May 20, 2017 4:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
Skinjob2707
n00b
n00b


Joined: 07 Aug 2013
Posts: 57

PostPosted: Sat May 20, 2017 4:17 pm    Post subject: Reply with quote

So i changed the /etc/NetworkManager/NetworkManager.conf file to read:
Code:
[main]
plugins=keyfile

[keyfile]
unmanaged-devices=mac:08:00:09:12:34:56,interface-name:wlp35s0


And now "nmcli dev status" returns:
Code:
DEVICE   TYPE      STATE      CONNECTION   
enp33s0  ethernet  connected  main-network
lo       loopback  unmanaged  --           
wlp35s0  wifi      unmanaged  --     
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum