Re: Putting interface always up with NetworkManager
- From: Andrei Petru Mura <mapandrei gmail com>
- To: Andrei Borzenkov <arvidjaar gmail com>
- Cc: Networkmanager List <networkmanager-list gnome org>
- Subject: Re: Putting interface always up with NetworkManager
- Date: Fri, 16 Oct 2020 13:19:34 +0300
Hi Andrei,
What value should I set to ignore-carrier?
Is it ok if I proceed like this:
in /etc/NetworkManager/conf.d/general.conf
I'll put this:
[device]
match-device=interface-name:enp5s0f1
ignore-carrier=yes
?
Thanks,
Mura Andrei
On Fri, Oct 16, 2020 at 10:15 AM Andrei Petru Mura via
networkmanager-list <networkmanager-list gnome org> wrote:
>
> Hi,
>
> In my CentOS 8, I want to make my network card to be configured at boot time. The networking is managed by NetworkManager. I configured the connection with nmcli as such:
>
> nmcli con add type ethernet ifname enp5s0f1 con-name enp5s0f1 autoconnect yes save yes ipv4.addresses 192.168.1.10/25 ipv4.method manual
>
> The problem is that when I reboot the machine, the interface is down. In order to have it available, I have to always up it first:
>
> nmcli con up enp5s0f1
>
> Is there a way to force it via NetworkManager to be always up?
You can set ignore-carrier device property in NetworkManager.conf.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]