• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Guillaume.IT
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 9
    • Best 0
    • Controversial 0
    • Groups 0

    Guillaume.IT

    @Guillaume.IT

    0
    Reputation
    7
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Guillaume.IT Unfollow Follow

    Latest posts made by Guillaume.IT

    • RE: [CentOS 7 - FOG 1.5.5] Boot PXE

      @george1421

      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
      posted in FOG Problems
      G
      Guillaume.IT
    • [CentOS 7 - FOG 1.5.5] Boot PXE

      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.

      IMG_20190411_175449[1].jpg

      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.

      posted in FOG Problems
      G
      Guillaume.IT
    • RE: Clonezilla + FOG

      @george1421

      Thank you for your answer. You can close the ticket. I will do your technique.

      Best regards.

      posted in FOG Problems
      G
      Guillaume.IT
    • RE: [CentOS 7 + FOG1.5.5] Password MariaDB FOG + Password WEB

      @Quazz

      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.

      posted in FOG Problems
      G
      Guillaume.IT
    • RE: [CentOS 7 + FOG1.5.5] Password MariaDB FOG + Password WEB

      @Quazz Thank you for your answer. You resolve the first point. But for second point can you help me?

      posted in FOG Problems
      G
      Guillaume.IT
    • Clonezilla + FOG

      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,

      posted in FOG Problems
      G
      Guillaume.IT
    • [CentOS 7 + FOG1.5.5] Password MariaDB FOG + Password WEB

      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.

      1. I would like to change the FOG password of the web interface. From which file can we make and which commands?
        I found on the wikifog: https: //wiki.fogproject.org/wiki/index.php? Title = Password_Central
        mysql -D fog
        INSERT INTO users (uName, uPass, uCreateDate, uCreateBy, uType, uDisplay, uAllowAPI, uAPitoken) VALUES (‘fog’, ‘00’, ‘localAdmin’, 0, ‘fog’, 1, ‘’);
        to leave

      Is there another method?

      1. I would like to add a password to the database via this execution sequence:
        mysql
        ALTER USER ‘root’ @ ‘localhost’ IDENTIFIED WITH mysql_native_password BY ‘’;

      You must know the password in two files: “define (” MYSQL_PASSWORD “,” “);”

      • /var/www/fog/commons/config.php. This file is missing in my server.
      • /opt/fog/service/etc/config.php. This file contains 1 line
        <? php define (‘WEBROOT’, ‘/ var / www / html / fog /’);

      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

      posted in FOG Problems
      G
      Guillaume.IT