How to disable network configuration via GUI

IOWA

New Member
Sep 6, 2019
5
0
1
36
Hello all,

Somebody know how to disable network configuration from GUI? Or better switch it to "view mode".

Reason: From GUI we can change/configured a lot of options and featured (like MTU or VXLAN), but if will configured somethink from CLI and then view it from GUI, GUI will create interfaces.new file and remove all commands from your manual congfit it does not support (like MTU, vlan, VXLAN and etc).

1567771379807.png

Best regards for help!
 

Attachments

  • 1567771328672.png
    1567771328672.png
    10.6 KB · Views: 19
hi,

you can press the 'Revert' button on top if you don't want these options changed.

you're not supposed to edit /etc/network/interfaces directly, instead use the /etc/network/interfaces.d/ directory for your "custom" changes.
 
  • Like
Reactions: IOWA
hi,

you can press the 'Revert' button on top if you don't want these options changed.

you're not supposed to edit /etc/network/interfaces directly, instead use the /etc/network/interfaces.d/ directory for your "custom" changes.

Thank you oguz for reply!

Unfortunatelly i'm from "redhat world" and no so understand how it works in debian. Could you please explain and give some expamples for MTU configuration?

In the man interfaces i have found only this information:
By default, on a freshly installed Debian system, the interfaces file includes a line to source files in the /etc/network/interfaces.d directory.
 
basically, if you add a file in /etc/network/interfaces.d/ , it will be treated as if it's actually written in /etc/network/interfaces itself (when these files are sourced). simply add the wanted options like you did in the interfaces file

if you need generic information about network configuration in debian[0], check the link.

[0]: https://wiki.debian.org/NetworkConfiguration
 
  • Like
Reactions: IOWA

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!