Our Networking Story
TJ
ubuntu at iam.tj
Mon Mar 10 23:00:22 UTC 2014
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."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4275 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20140310/57859c31/attachment.bin>
More information about the Ubuntu-devel-discuss
mailing list