Hello,
When booting up Centreon without DHCP available, how can I login with root and centreon password and change to static IP config instead?
Version in OVA: Debian GNU/Linux 12
Thank You,
Riccardo
Hello,
When booting up Centreon without DHCP available, how can I login with root and centreon password and change to static IP config instead?
Version in OVA: Debian GNU/Linux 12
Thank You,
Riccardo
edit the ovf inside the ova? anyone else?
C’est une question plus Linux que Centreon… Un copier/coller de ChatGPT.
Éditez le fichier interfaces :
sudo nano /etc/network/interfaces
Modifiez ou ajoutez la configuration de l'interface :
Par exemple, pour une interface appelée eth0
:
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 8.8.8.8 8.8.4.4
eth0
par le nom de votre interface.Redémarrez le service réseau :
sudo systemctl restart networking
Sinon il reste la méthode de ne pas utiliser l’OVA et d’installer debian12 puis Centreon from scratch, les documentations éditeur sont très bien faites, mais il faut des compétences Linux.Bon courage
Hello,
There does not seem to be any existing info in here.
Hello
To change the Debian 12 OVA from DHCP to Static IP you need to follow the following step:
Check which Network Manager is in use:
systemctl is-active systemd-networkd
The return must be "active”
To change the systemd-networkd configuration file
Edit the following file:
nano /etc/systemd/network/10-dhpc.network
Original content must be:
pMatch]
Name=e*
rNetwork]
DHCP=yes
Change the network part with the correct information, I let you adapt it accordingly to your network
At the end, it must look like something like this:
Name=e*
bNetwork]
Address=192.168.0.200/24
Gateway=192.168.0.1
DNS=192.168.0.1
Then rename the file accordingly with your interface name.
In my case my interface is "enp0s17” so I run the following command line:
mv /etc/systemd/network/10-dhpc.network /etc/systemd/network/10-enp0s17.network
Finally, restart and enable the network process
systemctl restart systemd-networkd
systemctl enable systemd-networkd
Then check if the interface is properly configure with :
ip a
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.