{"id":30602,"date":"2024-07-23T13:35:36","date_gmt":"2024-07-23T10:35:36","guid":{"rendered":"https:\/\/trueconf.com/blog\/?p=30602"},"modified":"2024-08-28T11:51:50","modified_gmt":"2024-08-28T08:51:50","slug":"correct-configuration-of-a-static-ip-address-for-the-trueconf-mcu-server","status":"publish","type":"post","link":"https:\/\/trueconf.com/blog\/knowledge-base\/correct-configuration-of-a-static-ip-address-for-the-trueconf-mcu-server","title":{"rendered":"Correct Configuration of a Static IP Address for the TrueConf MCU Server"},"content":{"rendered":"<p>To ensure a stable connection to the <a href=\"https:\/\/trueconf.com\/products\/mcu.html\" target=\"_blank\" rel=\"noopener\">TrueConf MCU<\/a> server, you should set a static IP address. This can be done in two ways:<\/p>\n<ol>\n<li>In the web interface of the server control panel.<\/li>\n<li>In the OS settings before installing the server.<\/li>\n<\/ol>\n<p><!--more--><\/p>\n<h2>Configuration via the web interface<\/h2>\n<div class=\"marked_note marked_note--warning\">You can access network settings, including the option to set a static IP address, in the control panel after activating TrueConf MCU.<\/div>\n<p>In the control panel, go to <strong>Administration<\/strong> \u2192 <strong>Network<\/strong> \u2192 <strong>Network interfaces<\/strong>, where you will have access to the settings:<\/p>\n<ul>\n<li>Type of address<\/li>\n<li>IP address<\/li>\n<li>Subnet mask<\/li>\n<li>Gateway<\/li>\n<li>Primary DNS<\/li>\n<li>Secondary DNS.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2024\/07\/edit_network.png\" data-rel=\"lightbox-gallery-sHvj65uk\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-30603\" style=\"border: 1px solid #D1CCCC;\" src=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2024\/07\/edit_network.png\" alt=\"\" width=\"598\" height=\"637\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.com/blog\/wp-content\/uploads\/2024\/07\/edit_network.png 738w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2024\/07\/edit_network-441x470.png 441w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2024\/07\/edit_network-190x202.png 190w\" sizes=\"auto, (max-width: 598px) 100vw, 598px\" \/><\/a><\/p>\n<h2>Setting Up on OS<\/h2>\n<p>As described above, you can configure network interfaces via the server <a href=\"https:\/\/trueconf.com\/docs\/mcu\/en\/network-settings\/#network-interfaces\" target=\"_blank\" rel=\"noopener\">control panel<\/a>. TrueConf MCU uses the <a href=\"https:\/\/networkmanager.dev\/\" target=\"_blank\" rel=\"noopener\">NetworkManager<\/a> service to enable this network interface configuration feature.<\/p>\n<p><b>NetworkManager<\/b> conflicts with other services responsible for managing network settings. One of these services is <b>networking.service<\/b>, (which is built into Debian 10 and 11). Their parameters are set in the <code>\/etc\/network\/interfaces.d<\/code> directory and the <code>\/etc\/network\/interfaces<\/code> file. To avoid conflicts between services, the TrueConf MCU installer comments out this file.<\/p>\n<p>In this case, if you configure the network using the <b>interfaces<\/b> file, the network interface won&#8217;t start after a server reboot, and TrueConf MCU will become unavailable. This can happen at the most inconvenient time. For example, if an important meeting is taking place on the server and an unexpected reboot occurs (e.g., due to power issues), the conference won&#8217;t be set up automatically.<\/p>\n<p>To avoid this kind of problem, we recommend configuring the network interface using the <b>nmtui<\/b> pseudo-graphical utility.<\/p>\n<h3>Configuring the Network with nmtui<\/h3>\n<div class=\"marked_note marked_note--warning\">To execute commands, use the <code>sudo<\/code> program to run them with administrative privileges. Ensure that the current OS user is part of the <code>sudo<\/code> group; refer to the relevant online instructions for your operating system. Note that sudo may not be installed by default on your OS. To check if it\u2019s installed, run the command: <code>sudo -V<\/code>.<\/div>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>\u0412 In the terminal, execute the command with superuser rights:\n<pre class=\"lang:default decode:true \">sudo nmtui<\/pre>\n<\/li>\n<li>In the opened pseudo-graphical interface, select the <strong>Edit a connection<\/strong> option:<a href=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2024\/07\/nmtui_main.png\" data-rel=\"lightbox-gallery-sHvj65uk\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-30604\" src=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2024\/07\/nmtui_main.png\" alt=\"\" width=\"264\" height=\"262\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.com/blog\/wp-content\/uploads\/2024\/07\/nmtui_main.png 264w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2024\/07\/nmtui_main-150x150.png 150w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2024\/07\/nmtui_main-204x202.png 204w\" sizes=\"auto, (max-width: 264px) 100vw, 264px\" \/><\/a><\/li>\n<li>Choose the profile (<strong>Profile 1<\/strong> by default).<\/li>\n<li>In the opened window, you can set the profile name.<br \/>\nTo set a static IP address, select <strong>Manual<\/strong> mode in the <strong>IPv4 Configuration<\/strong> section. Expand the configuration settings using the <strong>Show<\/strong> pseudo-button and specify:<\/p>\n<ul>\n<li>Addresses<\/li>\n<li>Gateway<\/li>\n<li>DNS servers.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><a href=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2024\/07\/nmtui_param.png\" data-rel=\"lightbox-gallery-sHvj65uk\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-30605\" src=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2024\/07\/nmtui_param.png\" alt=\"\" width=\"497\" height=\"446\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.com/blog\/wp-content\/uploads\/2024\/07\/nmtui_param.png 689w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2024\/07\/nmtui_param-524x470.png 524w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2024\/07\/nmtui_param-225x202.png 225w\" sizes=\"auto, (max-width: 497px) 100vw, 497px\" \/><\/a><\/p>\n<ol>\n<li>Save your network settings and return to the main menu of the utility.<\/li>\n<li>To apply the new network settings, reboot the machine with the following command:\n<pre class=\"lang:default decode:true \" >sudo reboot<\/pre>\n<\/li>\n<\/ol>\n<p>Congratulations, you have configured a static IP address for TrueConf MCU!<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>To ensure a stable connection to the TrueConf MCU server, you should set a static IP address. This can be done in two ways: In the web interface of the server control panel. In the OS settings before installing the server.<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[260],"tags":[188,231],"class_list":["post-30602","post","type-post","status-publish","format-standard","hentry","category-knowledge-base","tag-trueconf-solutions","tag-troubleshooting","wpautop"],"_links":{"self":[{"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/posts\/30602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/comments?post=30602"}],"version-history":[{"count":16,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/posts\/30602\/revisions"}],"predecessor-version":[{"id":31173,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/posts\/30602\/revisions\/31173"}],"wp:attachment":[{"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/media?parent=30602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/categories?post=30602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/tags?post=30602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}