@Sebastian-Roth Thank you for your help, sorry for the late reply was very busy in the last weeks.
I managed it with turning on/off the no menu option.
Posts made by kek
-
RE: Advanced Menu with option No Menu
-
Advanced Menu with option No Menu
I created a Advanced Menu through FOG Configuration -> iPXE Menu Settings -> Advanced Menu Settings
But i only want to be able to access the menu when a host is not registered.But with the option No Menu in General Configuration activated when i try to access the Advanced Menu from the main Menu it boots directly from the Hard Drive.
I’m a noob in php but i think i found the file that needs editing: /var/www/fog/lib/fog/bootmenu.class.php
But i have not found the section that needs editing.
Here is my custom menu:
:MENU menu colour --rgb 0xff0000 0 || cpair --foreground 1 1 || cpair --foreground 0 3 || cpair --foreground 4 4 || item --gap Admin Menu item --gap -- ------------------------------------- item fog.local Starte von Festplatte wenn keine Auswahl... item fog.memtest Memtest86+ item Gparted Gparted Live item fog.sysinfo Client System Information (Kompatibel-Check) item fog.return <- Hauptmenu :fog.local sanboot --no-describe --drive 0x80 || goto MENU :fog.memtest kernel memdisk initrd=memtest.bin iso raw initrd memtest.bin boot || goto MENU :Gparted kernel http://${fog-ip}/html/iso/gparted/live/vmlinuz vmlinuz boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch=${fog-ip}/html/iso/gparted/live/filesystem.squashfs initrd http://${fog-ip}/html/iso/gparted/live/initrd.img boot || goto MENU :fog.sysinfo kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=http://10.10.0.20/fog/ consoleblank=0 rootfstype=ext4 storage=10.10.0.20:/images/ storageip=10.10.0.20 loglevel=4 mode=sysinfo imgfetch init_32.xz boot || goto MENU :fog.return chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} || prompt goto MENU
-
RE: Incredibly slow logins to web interface
@Tom-Elliott said:
@Mats-Nilsson said:
Problem solved. I installed a complementary Java Based Offline Proxy Server… [url]http://www.proxy-offline-browser.com/[/url]
(Java was bundled in Ubuntu) proxy ip 127.0.0.1 and port 8080 in Fog configuration and Firefox settings
I consider Fog to complex to be modified according to my wishes. It is clearly built to be online. To much workProblem solved as stated.
However, your information is correct. I just wanted to know why the revival, are you having the issue?
I was having the issue, hence the reason I ended up on this page. I prefer the original method mentioned earlier in the page for an earlier version of fog without needing to download additional software. A question was raised regarding the newer version of fog, one to which an answer would have saved me some time. Upon finding the solution, I posted the results for anyone that comes upon this page to save time of their own. I honestly didn’t want to bring up a discussion, rather, just an FYI note for future viewers. The information I provided is valid and would be quite useless in a new thread.
-
RE: Incredibly slow logins to web interface
@Tom-Elliott said:
@kek Reviving an old thread?
Old thread or not, it is the first google search result with no valid solutions or otherwise help for version 1.20. Just thought I’d update it.
-
RE: Incredibly slow logins to web interface
@SNP said:
I have the same problem in 1.20, can some one help me where i find where this javascrip are in 1.20.
(From a big fan of fog, fog has saved us a lot of time.)For fog 1.20, files are located at:
fog/management/ajax/login.info.php <- Comment out entire page after <?php
fog/lib/fog/ProcessLogin.class.php <- Comment out lines 230-233 and 244 -
RE: Separating Frontend and Storage backend
Ok then maybe you could explain what modifications do I need to do on my FOG server to redirect all the NFS/FTP requests to my new storage server on another ip if it’s possible.
Would clonezilla be easier to migrate to architecture like this? I don’t relly need the web frontend at all, I do need 2 functionalities:
1, Booting dos, windows, linux floppy images through PXE (this is working)
2, Option to image windows/linux machines through PXE (this broke now)Thanks!
-
RE: Separating Frontend and Storage backend
Hello
Ok thanks for the answer, fortunately that machine has regular ftp server as well. Can I just reconfigure FOG to use that by default? Thanks!
-
Separating Frontend and Storage backend
Hello folks,
I have bunch of isos and machine images what I moved to another physical server with tftp on it.
After replacing the tftp server for the LAN to my storage server, my menu and boot images work fine but the fog deployment system itself is not.
I would like to know what protocol does FOG use to upload and download machine images what you create with the rescue? If it possible I don’t want to run webserver or nfs on my storage server just tftpd-hpa.
Is it possible to do all the transfers through that?Thanks
-
Imaging through the menu
Hello
I would like to start image upload/download through the fog boot menu without creating tasks on the web frontend.
I found this config snippet on a previous thread:
[CODE]LABEL fog.upload
kernel fog/kernel/bzImage
APPEND initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=10.10.10.1 mac=00:1e:ec:e3:dd:1b ftp=10.0.7.1 storage=10.0.7.1:/data/fogstorage/images/dev/ storageip=10.0.7.1 web=10.0.7.1/fog/ osid=5 loglevel=4 consoleblank=0 irqpoll chkdsk=0 img=win7activatedsysprepgen imgType=n imgid=6 PIGZ_COMP=-9 hostname=testname pct=5 ignorepg=1 type=up
MENU LABEL Image Upload
TEXT HELP
Upload Image to server.
ENDTEXT
LABEL fog.download
kernel fog/kernel/bzImage
APPEND initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=10.10.10.1 mac=00:1e:ec:e3:dd:1b ftp=10.0.7.1 storage=10.0.7.1:/data/fogstorage/images/dev/ storageip=10.0.7.1 web=10.0.7.1/fog/ osid=5 loglevel=4 consoleblank=0 irqpoll chkdsk=0 img=win7activatedsysprepgen imgType=n imgid=6 PIGZ_COMP=-9 hostname=testname pct=5 ignorepg=1 type=down
MENU LABEL Image Download
TEXT HELP
Download image from Server to host.
ENDTEXT[/CODE]The upload does work even if the mac address is a word like HOST1 then the image will go under /images/dev/HOST1 although at the end of the imaging process the script cannot move the folder to it’s place and continue hanging.
The download (restore image) process however does not work because it tries to query the web frontend to see if there is a TASK for the specific mac also validates the mac address.
Which script do I need to modify in the original initrd to get rid of this check?
Thank you!
-
RE: Hirens Boot ISO
It’s not the XP but the mini-Linux which is not working in 15.2.
I get this error:
[IMG]http://i61.tinypic.com/smru9t.png[/IMG]