I have 2 interfaces:
- 1 interface: management / web server
172.17.10.85
-1 interface: DHCP / client that resets a station.
192.168.0.1
I have 2 interfaces:
Hello,
I’m having trouble booting PXE on my client.
I see that it receives a dhcp lease by the server FOG.
avril 11 17:09:56 X [5616]: DHCPDISCOVER from c8:d9:d2:85:f6:93 via ens192
avril 11 17:09:56 X [5616]: DHCPOFFER on 192.168.0.10 to c8:d9:d2:85:f6...92
avril 11 17:09:59 X [5616]: DHCPREQUEST for 192.168.0.10 (192.168.0.1) ...92
avril 11 17:09:59 X [5616]: DHCPACK on 192.168.0.10 to c8:d9:d2:85:f6:9...92
On the client the boot starts but is mistaken on the last phases before the launch of the FOG page.
I can not trace the files that causes the error.
I searched in the following files:
- /opt/fog/.fogsettings
- /var/www/html/fog/service/ipxe/bg.png
- /var/www/html/fog/service/ipxe/boot.php
I configured the following files before:
General parameters of the network:
/etc/sysconfig/network
NETWORKING=yes #Activer le réseau
Configuring the ifcfg-ems192 file
/etc/sysconfig/network-scripts/ifcfg-ens192
TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
NAME=ens192
UUID=X
DEVICE=ens192
ONBOOT=yes
ZONE=public
IPADDR=192.168.0.1
NETMASK=255.255.0.0
NETWORK=192.168.0.0
HWADDR=X
DHCP pool change
/etc/dhcp/dhcpd.conf
subnet 192.168.0.0 netmask 255.255.255.0 {
subnet-mask option 255.255.255.0;
range dynamic-bootp 192.168.0.10 192.168.0.254;
default-lease-time 21600;
max-lease-time 43200;
next-server 192.168.0.1;
Can you help me understand the problem? Thank you.
Best regards.
Thank you for your answer. You can close the ticket. I will do your technique.
Best regards.
Perfect,
You resolv my problems.
The first step OK :
Web Interface -> Users -> List ALL Users -> fog -> Change password
The second point OK :
Edit the file /var/www/fog/lib/fog/config.class.php:
nano /var/www/fog/lib/fog/config.class.php
define (‘DATABASE_PASSWORD’, “MdpROOTsql”);
The FOG server is still functional in the Web and the database requires a password to enter!
Everything is good for this open ticket. I thank you for the efficiency of your response.
Continue like this.
Best regards.
@Quazz Thank you for your answer. You resolve the first point. But for second point can you help me?
Hello,
I own a Clonezilla server with images already present.
I would like to add files to my FOG 1.5.5 server on a CentOS 7.
Actually, i use this command:
scp -r root@X.X.X.X:/images/Master /images/
My files are well moved and are exploitable. On the other hand, it does not go back on FOG.
On the web interface, I create an image with the same name as the folder but, no link is made.
How can I do? Is it absolutely necessary to have a csv file like transfert between FOG?
Regards,
Hello to the FOG team,
I just installed my FOG server version 1.5.5 on a CentOS 7.
I am deploying a FOG server and I am having some difficulties that I am going to expose you.
Is there another method?
You must know the password in two files: “define (” MYSQL_PASSWORD “,” “);”
So I think this method is not correct.
On the net, I found this sequence to confirm that this one is the good one.
To secure the DBMS, run the mysql_secure_installation command:
mysql_secure_installation
And answer the questions as follows:
Enter the current password for root (enter for none): (press the Enter key directly on the keyboard)
Set a root password? [Y / n] Y
New password: MdpROOTsql
Re-enter the new password: MdpROOTsql
Delete anonymous users? [Y / n] Y
Prohibit remote root connection? [Y / n] Y
Delete the test database and access it? [Y / n] Y
Reload the privilege tables now? [Y / n] Y
Configuring the new FOG mysql root password
Edit the file /opt/fog/.fogsettings and enter the password on line 21:
nano /opt/fog/.fogsettings
snmysqlpass = ‘MdpROOTsql’
Edit the file /var/www/fog/lib/fog/config.class.php and enter the password on line 50:
nano /var/www/fog/lib/fog/config.class.php
define (‘DATABASE_PASSWORD’, “MdpROOTsql”);
Thank you for your answers and help with my request.
Guillaume