Telling Ubuntu Network Manager to leave an interface alone

I wanted to assign a static IP address to a USB-to-Ethernet interface.  Edit /etc/network/interfaces… easy, right?  Then the NetworkManager starts to periodically get involved and make conflicting changes.  I’m not yet ready to embrace its GUIness, so I wanted to just disabled it.  

Turns out it’s easy if you know where to look:

sudo vi /etc/NetworkManager/NetworkManager.conf
# Add a line like this (comma-separated list of
# Ethernet MAC addresses of interfaces to ignore):

# Then restart NetworkManager
sudo service network-manager restart

It should then leave your interface(s) in peace.


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s