Hello,
please, how to set a static IP address in Centreon 24.10 (Debian)?
The file “/etc/network/interfaces” does not exist.
Thank You.
Hello,
please, how to set a static IP address in Centreon 24.10 (Debian)?
The file “/etc/network/interfaces” does not exist.
Thank You.
This works, but only temporarily:
ip addr add 10.0.0.254/24 dev ens32
ip route add default via 10.0.0.1 dev ens32
After restart it disappears.
Can someone help please?
edit the file /etc/network/interfaces
and on the bottom you have your interface, change the parameters with your own.
Remplace xx.xx.xx.xx with your ip and everything.
When it’s done restart the network with : service networking restart
And done you have a static IP.
edit the file /etc/network/interfaces
and on the bottom you have your interface, change the parameters with your own.
Remplace xx.xx.xx.xx with your ip and everything.
When it’s done restart the network with : service networking restart
And done you have a static IP.
This doesn't work there is no “interfaces” file in the directory, There are files “if-pre-up.d” and “if-up.d”.
So I created the “interface” file and wrote the necessary data in it according to the advice, but it ended up with the error "Unit networking.service not found".
Don't know what it could be?
Thank You.
Hello.
Can you try ‘systemctl restart networking’ instead ?
Hello.
Can you try ‘systemctl restart networking’ instead ?
Same result - error.
Did I do something wrong?
I try deploy previous version 24.04, but it is TERRIBLE, the version is set to French including the keyboard layout and typing there in VI is nerve wracking. (of course, I chose the ENGLISH option when downloading)
Can you type the command ‘systemctl list-unit-files | grep -i network’ and copy the answer ?
Can you type the command ‘systemctl list-unit-files | grep -i network’ and copy the answer ?
Looks like your machine is using systemd-networkd instead of networking. I’m not familiar with it, this link may help you : https://www.linuxtricks.fr/wiki/systemd-le-reseau-avec-systemd-networkd
Looks like your machine is using systemd-networkd instead of networking. I’m not familiar with it, this link may help you : https://www.linuxtricks.fr/wiki/systemd-le-reseau-avec-systemd-networkd
It works!!! Thank You very much.
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.