• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Gilberto Ferraz
    3. Posts
    • Profile
    • Following 1
    • Followers 0
    • Topics 10
    • Posts 56
    • Best 2
    • Controversial 0
    • Groups 0

    Posts made by Gilberto Ferraz

    • RE: Upload Image From HDD 500GB to SSD 120GB

      @Tom-Elliott

      Sorry, I’ve done so many attempts to upload and deploy images. image 28_10_2019_si is of the same type and same HDD as 05_09_2019_si_essa.

      in short I can’t upload the image 05_09_2019_si_essa which is on a 500GB disk to a smaller disk, ssd or hdd.

      For a 1TB disc it works but does not resize the disc.

      on firewall PFSENSE I’m using undionly.kpxe

      alt text

      posted in FOG Problems
      Gilberto FerrazG
      Gilberto Ferraz
    • RE: Upload Image From HDD 500GB to SSD 120GB

      @Sebastian-Roth said in Upload Image From HDD 500GB to SSD 120GB:

      /images/05_09_2019_si_essa/

      if that is stupid, but I forgot the ssh password to access the server. I’ve tried it a number of times and can’t access the command line with ssh.
      Is there another option?

      posted in FOG Problems
      Gilberto FerrazG
      Gilberto Ferraz
    • Upload Image From HDD 500GB to SSD 120GB

      Hello!
      I’ve been using Fog (currently version1.5.4) for a few years now.
      I am having a problem, I have an image configured on a 500 GB HDD disk. with win 10 x64.
      I uploaded the image

      alt text

      option (1) Single Disk - Resizable the image have only 55,60 GB

      alt text

      If you try to place the image on Larger Discs the system works.

      I need to put this image on 120 GB SSD disks the system catches the task tries to put the image but then gives problem of different size disks.

      alt text

      Already tried to upload the image with the other options.

      alt text

      But it does not work

      should i do anything on the win 10 image of the 500gb disk? before uploading the image?

      posted in FOG Problems
      Gilberto FerrazG
      Gilberto Ferraz
    • RE: 2 vlan using te same fog server

      Hello guys!

      Thanks to your help and my friend at work

      Problem solved finally get to boot with ipxe to my server ‘fog’ between different Vlans.

      after following the suggested roles of george1421:

      "source net 172.16.16. 0/24 to destination host 172.16.17.250 protocol allow any state
      And Then flip the rule to allow the FOG server to talk to the clients
      source to destination host 172.16.17.250 net 172.16.16. 0/24 protocol allow any state "

      and the tone of suggestion
      “the get the associated next-server / filename and Option 66 / Option 67”

      It was enough to put in pfsense side vlan 172.16.16. *

      Additional BOOTP / DHCP Options

      Number type Value

      66 IPAdresse or host 172.16.17.250

      67 Text undionly.kpxe

      Thank works in perfection all

      They can close the topic as resolved to help more people

      \GF

      posted in FOG Problems
      Gilberto FerrazG
      Gilberto Ferraz
    • 2 vlan using te same fog server

      Hello!

      I use the ‘fog’ system in my work a long time.

      I installed 2 ‘vlan’ (172.16.17. * and 172.16.16. *) and use the pfsense.

      the fog server works perfectly on network 172.16.17. * with the ip 172.16.17.250

      For safety reasons the traffic between the two vlan are blocked.

      ie the network 172.16.16. * can not ping the server 172.16.17.250 fog, so far so good.

      I created a rule in the 172.16.16 network. * to be able to ping the server to fog (172.16.17.250). problem solved already come to the server fog.

      the problem is that the machines of the network 172.16.16. * can not get scheduled tasks on the server fog.

      I will show pfsense settings of the network 172.16.17. * It works perfectly.

      https://www.dropbox.com/s/secceut2ecwo3fh/imagem 1.png?dl=0

      The network 172.16.16. * I can ping the ‘fog’ server with the rule I created this network.

      the settings are these

      https://www.dropbox.com/s/35c9p14o9oau5ef/imagem 2.png?dl=0

      If you schedule a task in fog for a machine connected to the network 172.16.16. * The machine gives error in the DHCP starter ‘ipxe’.

      ok I can understand the error. Ie the fog does not assign IP gateway’s because they use different 172.16.16.251 for the network 172.16.16. * And 172.16.17.251 for the network 172.16.17. *

      I had an idea then. How have the fire installed in a virtual machine ‘VMWARE’ decided to allocate more a virtual network card to the network 172.16.16.250.

      Now the network 172.16.16. * can ping the server and changed the settings for the pfsense

      https://www.dropbox.com/s/htducvwark2zgk8/imagem 3.png?dl=0

      Now the network machines already assigned IP address.
      what happens is that now the machine gives two errors.

      PXE-E53: in the boot filename received
      PXE-M0F: Exiting Intel Boot Agent

      If you change the fog of configurations using browser

      https://www.dropbox.com/s/5klswz9r1r3xnkj/imagem 4.png?dl=0

      For

      https://www.dropbox.com/s/jua2tljgsur9eft/imagem 5.png?dl=0

      Does not solve the problem.

      settings of my /var/www/fog/lib/fog/Config.class.php file
      are

      private static function init_setting()
              {
                      define('TFTP_HOST', "172.16.17.250");
                      define('TFTP_FTP_USERNAME', "fog");
                      define('TFTP_FTP_PASSWORD', "43df7b");
                      define('TFTP_PXE_KERNEL_DIR', '/var/www/fog/service/ipxe/');
                      define('PXE_KERNEL', 'bzImage');
                      define('PXE_KERNEL_RAMDISK',127000);
                      define('USE_SLOPPY_NAME_LOOKUPS',true);
                      define('MEMTEST_KERNEL', 'memtest.bin');
                      define('PXE_IMAGE', 'init.xz');
                      define('PXE_IMAGE_DNSADDRESS', "172.16.17.251");
                      define('STORAGE_HOST', "172.16.17.250");
                      define('STORAGE_FTP_USERNAME', "fog");
                      define('STORAGE_FTP_PASSWORD', "43df7b");
                      define('STORAGE_DATADIR', '/images/');
                      define('STORAGE_DATADIR_UPLOAD', '/images/dev/');
                      define('STORAGE_BANDWIDTHPATH', '/fog/status/bandwidth.php');
                      define('UPLOADRESIZEPCT',5);
                      define('WEB_HOST', "172.16.17.250");
                      define('WOL_HOST', "172.16.17.250");
                      define('WOL_PATH', '/fog/wol/wol.php');
                      define('WOL_INTERFACE', "eth0");
                      define('SNAPINDIR', "/opt/fog/snapins/");
                      define('QUEUESIZE', '10');
                      define('CHECKIN_TIMEOUT',600);          define('USER_MINPASSLENGTH',4);
                      define('USER_VALIDPASSCHARS', '1234567890ABCDEFGHIJKLMNOPQRSTUVWZXYabcdefghijklmnopqrstuvwxyz_()^!#-');
                      define('NFS_ETH_MONITOR', "eth0");
                      define('UDPCAST_INTERFACE', "eth0");
                      define('UDPCAST_STARTINGPORT', 63100 );                                         // Must be an even number! recommended between 49152 to 65535
                      define('FOG_MULTICAST_MAX_SESSIONS',64);
                      define('FOG_JPGRAPH_VERSION', '2.3');
                      define('FOG_REPORT_DIR', './reports/');
                      define('FOG_UPLOADIGNOREPAGEHIBER',true);
                      define('FOG_DONATE_MINING', "0");
      

      It seems to me that the problem might be I have to use 2 DNSADDRESS

      define ('PXE_IMAGE_DNSADDRESS “,” 172.16.17.251 "); to a network and 172.16.16.251 for another vlan.

      Any idea ?

      how I solve the problem?

      2vlan is possible for the same fog? with different DNS?

      posted in FOG Problems
      Gilberto FerrazG
      Gilberto Ferraz
    • RE: Unable to resolve hostname

      i disable FW on machine win7 and i can ping the ip address but not !ping2.png

      posted in FOG Problems
      Gilberto FerrazG
      Gilberto Ferraz
    • RE: Unable to resolve hostname

      @ch3i

      I have a machine with attached HP35076 hostname is a machine with WIN 7 I can ping the IP of this machine. but I can not ping the hostname.

      Maybe the problem is in my pfsense or own firewall Win 7.

      if I can ping out of my fog to www.google.com for example the problem may be in the firewall of my machines windows 7 or even pfsense that makes the management of all of my networks.

      posted in FOG Problems
      Gilberto FerrazG
      Gilberto Ferraz
    • RE: Unable to resolve hostname

      ping

      ping.png

      posted in FOG Problems
      Gilberto FerrazG
      Gilberto Ferraz
    • RE: Unable to resolve hostname

      yes my machine can ping out![Captura de ecrã 2015-07-9, às 15.04.35.png](uploading 100%)

      posted in FOG Problems
      Gilberto FerrazG
      Gilberto Ferraz
    • RE: Unable to resolve hostname

      hello i change my /etc/resolv.conf to my DNS server.

      i restart te fog but the problem has not been resolved.

      posted in FOG Problems
      Gilberto FerrazG
      Gilberto Ferraz
    • RE: Unable to resolve hostname

      Hello, and where can I do this?

      posted in FOG Problems
      Gilberto FerrazG
      Gilberto Ferraz
    • RE: Unable to resolve hostname

      @Tom-Elliott said:

      Windows Firewall, DNS rules, anything really can cause this.

      Hello Tom-Elliott!

      But at least I noticed all the fog 1.2.0 capabilities work well.

      If you can not resolve this problem seems the fog works 100%?

      posted in FOG Problems
      Gilberto FerrazG
      Gilberto Ferraz
    • Unable to resolve hostname

      Hello !
      I use the fog1.2.0 in my work, I have inventoried nearly 200 more machines.

      can upload and download images and everything works fine, I have some small problems like the image below that I’m not understand why not give the error “Unable to resolve hostname” Anyone know where is the problem?error_fog.png

      posted in FOG Problems
      Gilberto FerrazG
      Gilberto Ferraz
    • Host name not change after put image win 7 using fog 1.2.0

      hello i need help!

      I’m using version 1.2.0, I have the ex machine: hp35076 can put the OS image win7.

      Everything works fine, however the hostclient name is not updated to hp35076 but the host from which made the image HP34997

      have more than 100 machines can upload images for all of them. but what happens to me in the upload is that the machine name is not updated as I have in my inventory FOG.

      I have the hostname option changer enable active.

      I do not understand why the fog system has not updated the name of the machine with the inventory record.

      Any idea?

      \ GF

      posted in FOG Problems
      Gilberto FerrazG
      Gilberto Ferraz
    • RE: FOG 1.2.0 MultiCast Please Wait

      Hello community

      I have problems in multicast, I configured version 1.2.0 for a 'different HD.

      I changed the reading of images in file '/ var / www / fog / lib / fog / Config.class.php

      ‘define (’ STORAGE_DATADIR ‘,’ / mnt / imagensfog / ');
      ‘define (’ STORAGE_DATADIR_UPLOAD ‘,’ / mnt / imagensfog / dev / ');

      In unicast mode everything works perfectly, but when I create groups and try to put a picture of an OS the machines customers are stuck right at the start of the installation image.

      checked the '/ opt / fog / log / multicast.log

      ’
      bart2 @ bart2-virtual-machine: ~ $ tail-f / opt / fog / log / multicast.log
      [07-31-14 11:18:27 am] | StorageNode Not found on this system.
      [07-31-14 11:18:37 am] | StorageNode Not found on this system.
      [07-31-14 11:18:47 am] | StorageNode Not found on this system.
      [07-31-14 11:18:57 am] | StorageNode Not found on this system.
      [07-31-14 11:19:07 am] | StorageNode Not found on this system.
      [07-31-14 11:19:17 am] | StorageNode Not found on this system.
      [07-31-14 11:19:27 am] | StorageNode Not found on this system.
      [07-31-14 11:19:37 am] | StorageNode Not found on this system.
      [07-31-14 11:19:47 am] | StorageNode Not found on this system.
      [07-31-14 11:19:57 am] | StorageNode Not found on this system.
      [07-31-14 11:20:07 am] | StorageNode Not found on this system.

      ’

      I do not know where he might be the problem, do I need to change the path of my images in another file?

      \ Gilberto Ferraz

      posted in FOG Problems
      Gilberto FerrazG
      Gilberto Ferraz
    • RE: Problem changing the image of folder / dev to / images

      Hello Elliott!

      thanks for the reply, after many attempts I decided to install it again to a new virtual machine with 'ubuntu 14:04 LTS.

      I installed the new version fog '1.2.0 and reconfigured with the footsteps of my previous posts.

      I’ve tested and everything works perfectly including the / mnt / imagensfog the virtual disk that is where I have the images of the OS.

      I exported the ‘cvs the old machine with 143’ hosts made ​​the link to the images of the OS already had, and everything works OK now.

      from the old machine do not know where the problem lay not know if it would be for version 12 ‘ubuntu even if it was for doing the installation over some old version of’ DB fog or even problems in version 'fog 1.1 .2.

      what I am sure is that FTP works in the old machine. because I can access the fog machine via FTP (Fillezila) client with user credentials’ fog
      created when you install the 'ubuntu. I can edit, create pictures from the / mnt / imagensfog and / mnt / imagensfog / dev

      How it works now I think we can now close the POST, the posts that I put the changes that are needed to mount another hard work.

      Thank you for everything

      \ GF

      posted in FOG Problems
      Gilberto FerrazG
      Gilberto Ferraz
    • RE: Problem changing the image of folder / dev to / images

      Hello guys! thanks for the answers

      Thanks for the replies, but still could not solve the problem.

      I use the fog '0 .32 in the same condition works perfect, but I needed to migrate the system to new versions by now bearing the win 8 and 8.1.

      I use the fog installed in a virtual machine with ubuntu '12 .04.3.

      1 - did the 'mount a virtual disk '500 GB I am sure that the disk is mounted and that works well.

      2 - I edited the file '/ var / www / fog / lib / fog / Config.class.php

      for
      …
      define (‘STORAGE_DATADIR’, ‘/ mnt / imagensfog /’);
      define (‘STORAGE_DATADIR_UPLOAD’, ‘/ mnt / imagensfog / dev /’);
      …

      3 - I edited the file '/ opt / fog / fogsettings.

      ’

      # Created by the Installer FOG

      # Version: 1.1.1

      # Install time: Wed 09 Jul 2014 12:51:43 EDT

      ipaddress = “172.16.17.250”;
      interface = “eth0”;
      routeraddress = “option routers 172.16.17.254;”
      plainrouter = “172.16.17.254”;
      dnsaddress = “option domain-name-servers 172.16.17.252;”
      dnsbootimage = “172.16.17.252”;
      password = “f7e1e1”;
      OSID = “2”;
      OSName = “Debian”;
      dodhcp = “C”;
      bldhcp = “0”;
      installtype = “N”;
      snmysqluser = “”
      snmysqlpass = “essa1234”;
      snmysqlhost = “”;

      ’

      4 - also I edited the file / etc / exports to

      ’
      / Mnt / imagensfog * (ro, sync, no_wdelay, insecure_locks, $ no_ro
      / Mnt / imagensfog / dev * (rw, sync, no_wdelay, no_root_squash, insec $

      ’

      5 - I changed the folder permissions to

      ’

      sudo chown-R fog: root / mnt / imagensfog /
      sudo chown-R fog: root / mnt / imagensfog / dev /

      ’

      and

      ’
      sudo chmod-R 777 / mnt / imagensfog /
      sudo chmod-R 777 / mnt / imagensfog / dev /

      ’

      6 - I changed the privileges of the user ‘fog automatically created in the installation’ fog 1.1.2 for 'Administrator

      7 - I schedule the task in your browser to upload the OS of a machine, a fire starts uploading the image begins to be created in the folder / mnt / imagensfog / dev with the 'mac client machine

      8 - ‘Jaymes I can access the machine via client 172.16.17.250’ ftp user with the ‘fog and password’ and e7f1f1 can do to create your folder in / mnt / imagensfog and / mnt / imagensfog / dev test.

      Ie I’m sure that ftp is working.

      9 - I can access the machine 'fog via ssh and manage the entire machine.

      10 - I’ve tried everything but the problem seems continues, please asking for your help.

      11 - Basically the image created in the / mnt / imagensfog / dev is not placed in the folder / mnt / imagensfog, the stop system in 99.98% and the folder is not created with the name of the OS image.

      posted in FOG Problems
      Gilberto FerrazG
      Gilberto Ferraz
    • RE: Problem changing the image of folder / dev to / images

      hello Elliott !!

      the file complete is

      "

      <?php
      /**

      • Class Name: Config
      • Initializes default settings.
      • Most notably the sql connection.
        /
        class Config
        {
        /
        *
        * Calls the required functions to define the settings.
        * method db_settings()
        * method svc_setting()
        * method init_setting()
        /
        public function __construct()
        {
        self::db_settings();
        self::svc_setting();
        self::init_setting();
        }
        /
        *
        * db_settings()
        * Defines the database settings for FOG
        * @return void
        /
        private static function db_settings()
        {
        define(‘DATABASE_TYPE’, ‘mysql’); // mysql or oracle
        define(‘DATABASE_HOST’, ‘localhost’);
        define(‘DATABASE_NAME’, ‘fog’);
        define(‘DATABASE_USERNAME’, ‘root’);
        define(‘DATABASE_PASSWORD’, ‘essa1234’);
        }
        /
        *
        * svc_setting()
        * Defines the service settings.
        * (e.g. FOGMulticastManager,
        * FOGScheduler,
        * FOGImageReplicator)
        * @return void
        */
        private static function svc_setting()
        {
        define( “UDPSENDERPATH”, “/usr/local/sbin/udp-sender” );
        define( “MULTICASTLOGPATH”, “/opt/fog/log/multicast.log” );
        define( “MULTICASTDEVICEOUTPUT”, “/dev/tty2” );
        define( “MULTICASTSLEEPTIME”, 10 );
        define( “MULTICASTINTERFACE”, “eth0” );
        define( “UDPSENDER_MAXWAIT”, null );
        define( “LOGMAXSIZE”, “1000000” );
        define( “REPLICATORLOGPATH”, “/opt/fog/log/fogreplicator.log” );
        define( “REPLICATORDEVICEOUTPUT”, “/dev/tty3” );
        define( “REPLICATORSLEEPTIME”, 600 );
        define( “REPLICATORIFCONFIG”, “/sbin/ifconfig” );
        define( “SCHEDULERLOGPATH”, “/opt/fog/log/fogscheduler.log” );
        define( “SCHEDULERDEVICEOUTPUT”, “/dev/tty4” );
        define( “SCHEDULERSLEEPTIME”, 60 );
        }

      /**
      * init_setting()
      * Initial values if fresh install are set here
      * NOTE: These values are only used on initial
      * installation to set the database values.
      * If this is an upgrade, they do not change
      * the values within the Database.
      * Please use FOG Configuration->FOG Settings
      * to change these values after everything is
      * setup.
      * @return void
      */
      private static function init_setting()
      {
      define(‘TFTP_HOST’, “172.16.17.250”);
      define(‘TFTP_FTP_USERNAME’, “fog”);
      define(‘TFTP_FTP_PASSWORD’, “f7e1e1”);
      define(‘TFTP_PXE_KERNEL_DIR’, ‘/var/www/fog/service/ipxe/’);
      define(‘PXE_KERNEL’, ‘bzImage’);
      define(‘PXE_KERNEL_RAMDISK’,127000);
      define(‘USE_SLOPPY_NAME_LOOKUPS’,true);
      define(‘MEMTEST_KERNEL’, ‘memtest.bin’);
      define(‘PXE_IMAGE’, ‘init.xz’);
      define(‘PXE_IMAGE_DNSADDRESS’, “172.16.17.252”);
      define(‘STORAGE_HOST’, “172.16.17.250”);
      define(‘STORAGE_FTP_USERNAME’, “fog”);
      define(‘STORAGE_FTP_PASSWORD’, “f7e1e1”);
      define(‘STORAGE_DATADIR’, ‘/mnt/imagensfog/’);
      define(‘STORAGE_DATADIR_UPLOAD’, ‘/mnt/imagensfog/dev/’);
      define(‘STORAGE_BANDWIDTHPATH’, ‘/fog/status/bandwidth.php’);
      define(‘UPLOADRESIZEPCT’,5);
      define(‘WEB_HOST’, “172.16.17.250”);
      define(‘WOL_HOST’, “172.16.17.250”);
      define(‘WOL_PATH’, ‘/fog/wol/wol.php’);
      define(‘WOL_INTERFACE’, “eth0”);
      define(‘SNAPINDIR’, “/opt/fog/snapins/”);
      define(‘QUEUESIZE’, ‘10’);
      define(‘CHECKIN_TIMEOUT’,600);
      define(‘USER_MINPASSLENGTH’,4);
      define(‘USER_VALIDPASSCHARS’, ‘1234567890ABCDEFGHIJKLMNOPQRSTUVWZXYabcdefghijklmnopqrstuvwxyz_()^!#-’);
      define(‘NFS_ETH_MONITOR’, “eth0”);
      define(‘UDPCAST_INTERFACE’, “eth0”);
      define(‘UDPCAST_STARTINGPORT’, 63100 ); // Must be an even number! recommended betw$
      define(‘FOG_MULTICAST_MAX_SESSIONS’,64);
      define(‘FOG_JPGRAPH_VERSION’, ‘2.3’);
      define(‘FOG_REPORT_DIR’, ‘./reports/’);
      define(‘FOG_UPLOADIGNOREPAGEHIBER’,true);
      define(‘FOG_DONATE_MINING’, “1”);
      }
      }

      I really need to solve this problem Thanks TOM

      "

      posted in FOG Problems
      Gilberto FerrazG
      Gilberto Ferraz
    • RE: Problem changing the image of folder / dev to / images

      I do not understand what is going send the image of the FOG 1.1.2 as you can verify the update crashes in 99.98%

      [url=“/_imported_xf_attachments/1/1183_Captura de ecrã de 2014-07-21 17:22:22.png?:”]Captura de ecrã de 2014-07-21 17:22:22.png[/url]

      posted in FOG Problems
      Gilberto FerrazG
      Gilberto Ferraz
    • 1
    • 2
    • 3
    • 2 / 3