Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo equivalent to fedora's NM_CONTROLLED option in ifcfg?
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
mspiegle
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2004
Posts: 127

PostPosted: Tue May 26, 2009 7:27 am    Post subject: Gentoo equivalent to fedora's NM_CONTROLLED option in ifcfg? Reply with quote

I would like NetworkManager to leave some of my interfaces alone. After some googling, I found that fedora offers the option NM_CONTROLLED in ifcfg. Does Gentoo have something simlar?

Thanks!
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2887
Location: Omnipresent

PostPosted: Tue May 26, 2009 2:22 pm    Post subject: Reply with quote

Hmm, I don't think Gentoo has any equivalent.

You'll have to figure out what Red Hat's network scripts do with the NM_CONTROLLED variable, then implement it yourself on Gentoo. (E.g., in /etc/conf.d/local.start)
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
ClosedGL
n00b
n00b


Joined: 12 Apr 2006
Posts: 4

PostPosted: Tue Jun 09, 2009 9:11 pm    Post subject: Reply with quote

Network manager has so called "backends" for dealing with distro specific stuff.
One of the tasks for those backends is to parse system configs in order to find out how to handle a given device.
It was said already that in RedHat systems, You have to use NM_CONTROLLED config variable for enabling/disabling NetworkManager for the interface..

Gentoo backend also exists.
If You want to exclude wlan1 interface from NetworkManager You may put
config_wlan1=( "null" )
to Your /etc/conf.d/net file.

Best Regards.
Back to top
View user's profile Send private message
mspiegle
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2004
Posts: 127

PostPosted: Thu Jul 09, 2009 4:17 am    Post subject: Reply with quote

ClosedGL wrote:
Network manager has so called "backends" for dealing with distro specific stuff.
One of the tasks for those backends is to parse system configs in order to find out how to handle a given device.
It was said already that in RedHat systems, You have to use NM_CONTROLLED config variable for enabling/disabling NetworkManager for the interface..

Gentoo backend also exists.
If You want to exclude wlan1 interface from NetworkManager You may put
config_wlan1=( "null" )
to Your /etc/conf.d/net file.

Best Regards.


Sorry for the late reply, but if I did that, how would I configure the interface locally? Is there a reason why NetworkManager shouldn't ignore interfaces that have a local /etc/conf.d/net config already set?
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