Results 1 to 4 of 4

Thread: how to disable interface in Networkmanager

  1. #1

    Default how to disable interface in Networkmanager

    Hi,
    How can I disable rteth0,rtlo network interfaces to appear in network manager ??

    The next file has no effect

    /etc/NetworkManager/NetworkManager.conf

    Code:
    [main]
    plugins=ifcfg-suse,keyfile
    
    
    [keyfile]
    unmanaged-devices=interface-name:rtlo;interface-name:rteth0;




  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,703
    Blog Entries
    1

    Default Re: how to disable interface in Networkmanager

    You can specify unmanaged devices by their mac address. Edit /etc/NetworkManager/NetworkManager.conf and create a '[keyfile]' section. Add the devices like this
    Code:
    [keyfile]
    unmanaged-devices=mac:00:22:68:1c:59:b1;mac:00:1E:65:30:D1:C4
    Refer 'man NetworkManager.conf' for more info.
    openSUSE Leap 15.1; KDE Plasma 5

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,703
    Blog Entries
    1

    Default Re: how to disable interface in Networkmanager

    Did you restart NetworkManager after making the edit?
    openSUSE Leap 15.1; KDE Plasma 5

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,467
    Blog Entries
    2

    Default Re: how to disable interface in Networkmanager

    Need clarity,
    Do you just want those network interfaces to not appear in Network Manager but still function?
    The above describes how to achieve this result.

    But,
    If you're trying to disable the network interfaces so that they don't function,
    Then you'll have to disable at a lower level, one place is the interface file itself (or, I expect you can do this in YaST).

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •