and this is te configurations of TFTP server
[url=“/_imported_xf_attachments/1/1182_Captura de ecrã de 2014-07-21 17:16:50.png?:”]Captura de ecrã de 2014-07-21 17:16:50.png[/url]
and this is te configurations of TFTP server
[url=“/_imported_xf_attachments/1/1182_Captura de ecrã de 2014-07-21 17:16:50.png?:”]Captura de ecrã de 2014-07-21 17:16:50.png[/url]
hello !
this is the configuration of config.class.php
"
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”);
}
"
is the same of the storage management
[url=“/_imported_xf_attachments/1/1181_Captura de ecrã de 2014-07-21 17:15:04.png?:”]Captura de ecrã de 2014-07-21 17:15:04.png[/url]
the permission of folder
sudo mkdir -pv /mnt/imagensfog/dev
sudo touch /mnt/imagensfog/{.mntcheck,dev/.mntcheck}
sudo chown -R fog:root /mnt/imagensfog
sudo chmod -R 777 /mnt/imagensfog
I use the fog since version 00:32 did the update to version 1.1.2.
I have a virtual disk apart and have the need to change the folder / images to / mnt / imagensfog and / mnt / imagensfog / dev at 0:32 version worked fine.
I edited the file / var / www / fog / lib / fog / Config.class.php
"
define ('STORAGE_DATADIR', '/ mnt / imagensfog /');
define ('STORAGE_DATADIR_UPLOAD', '/ mnt / imagensfog / dev /');
"
also edited the file / opt / fog / .fogsettings
"
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 = “”;
"
I edited the file / etc / exports
for
/ mnt / imagensfog * (ro, sync, no_wdelay, insecure_locks, $ no_ro
/ mnt / imagensfog / dev * (rw, sync, no_wdelay, no_root_squash, insec $
Apparently everything works fine, but the problem that when I attempt to update a client machine.
the system begins by placing the image with mac address in / mnt / imagensfog / dev folder, but when the process finishes the OS images are not placed in the folder / mnt / imagensfog.
I used these commands because of permissions but the problem continues.
I do not know what I should try to
the image error appears.
[url=“/_imported_xf_attachments/1/1180_error_fog.jpg?:”]error_fog.jpg[/url]
Hello pdpk
to solve your problem you need chanhe the file
#sudo nano /etc/exports
/images/windows *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsi$
/images/windows/dev *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2)
Hello
I’Have te same problem, I use fog 0.32 and work. Update for 1.1.0 and dosn work this is my config.php
define('TFTP_HOST', "172.16.17.250");
define('TFTP_FTP_USERNAME', "fog");
define('TFTP_FTP_PASSWORD', "962fed");
define('TFTP_PXE_KERNEL_DIR', '/var/www/html/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', "962fed");
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 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', "0");
I think that is the way the problem seems to directory IPXE
I found the problem!
I put a PCI network card and it works.
That is the problem is in the Ethernet card onBoard.
The solution is to put PCI ethernet cards on all machines, the problem is that they are about 20 machines.
Does anyone know where the settings FOG move to change some parameters?
\ Gilberto Ferraz
additional information.
The same model of pc where I can create the image ***. System img for FOG does not allow uploading the same image.
If I try to change the HD on another machine then the image is placed smoothly by fog.
ie the image created on the PC that can not make UPLOAD works on another machine with the same HD.
The problem can only be in Boad, already updated the kernel fog, since I updated the bios of the Board. but the problem continues.
The motherboard that gives me problems is the model Asus P5QL-E.
I suspect the Fog does not load the drivers from these Disco Motherboard
Nobody can help me more experienced
\Gilberto Ferraz
Hello to All!
I am using the fog in my work, it works well on almost all machines.
But I have some machines where it does deploy.
the fog try to install the new image after 1% but it gives the following error
"
Performing Clean up (Stage 1)…Done
Changing hostname … ntfs_mst_post_read_fixup magic: 0xca137796 size: 1024 usa_ofs: 26260 usa_count: 23137: Invalid argument
Record 0 has no FILE magic(0xca137796)
Failed to load $MFT-------------------. Imput/Output error
Failed to mount ‘/dev/sda2’: Imput/output error
NTFS is either inconsistent, or there is a harware fault, or it´s a
SoftRAID/FakeRAID hardware. In the first case run chkdsk/f on Windows
them reboot into Windows twice. The usage of the /f parameter is very
important! If the defice is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the ‘dmraid’ documentation
for more details.
umount: can´t umount /ntfs: Invalid argument
Done
Updating Computer Database Status
Database updated!
Task complete, computer will now restart
"
I’ve tried everything, I have the system running on 60 machines and it works well.
strange thing is that these same machines does not deploy where I can upload the OS.
Have I updated the BIOS of the machine to test the disk on another machine works deploy.
I am sure that this problem these Boards … but do not know for correcting the problem.
Any idea? Please it is very important and urgent
\Gilberto Ferraz
Hello I am using the fog in my work.
I’m having trouble on board ASUS P5QL-E - I schedule to upload a picture but it starts only by 1%.
after the PC restarts and does not work.
Any idea what this is going?
\ Gilberto Ferraz
Hello
I’m using fog recently, I have several different machines and works on all Boards as put an image by fog.
But I have computers with Asus P5QL-E boards that do not work.
How do I schedule the task with otros computers, it starts to detect the fog, but when he begins to put the picture of the fog reaches 1% and goes down.
Do not know if it’s some setting in the Board, already tried everything and I’m not understand where this problem.
\ GF