On 10/03/14 16:14, Dale Amon wrote:
> On Mon, Mar 10, 2014 at 09:49:02AM +0100, Oliver Grawert wrote:
>> network manager stores its system connection info in a text file in .ini
>> style format in /etc/NetworkManager/system-connections
> 
> Thanks for that pointer... but there is nothing in there about
> eth0, only the WiFi connections past and present.
> 
> I was sort of hoping for a control file that would let me
> command network manager "Don't use eth0 until I come back and
> allow you to do so again".
> 
> And yes, I can see all sorts of issues between it and the 
> interfaces file, but if there are going to be two ways to
> control interfaces, that needs to be sorted eventually.
> 
> But I'll settle for a good way to reliably switch eth0
> back and forth between netmanager and the interfaces files.

man networkmanager.conf

Section: [main], "no-auto-default="

 "Set devices for which NetworkManager shouldn't create default wired 
connection (Auto eth0). NetworkManager creates
  a default wired connection for any wired device that is managed and doesn't 
have a connection configured. List a
  device in this option to inhibit creating the default connection for the 
device."

Section: [ifupdown], "managed="

 "Controls whether interfaces listed in the 'interfaces' file are managed by 
NetworkManager."

man nmcli

Object: dev, "disconnect"

 "Disconnect a device and prevent the device from automatically activating 
further connections without user/manual intervention."

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
Ubuntu-devel-discuss mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to