<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.fogproject.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kevin</id>
		<title>FOG Project - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.fogproject.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kevin"/>
		<link rel="alternate" type="text/html" href="https://wiki.fogproject.org/wiki/index.php?title=Special:Contributions/Kevin"/>
		<updated>2026-05-23T02:11:27Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.fogproject.org/wiki/index.php?title=Installing_the_FOG_Bypass_Host_Registration&amp;diff=7779</id>
		<title>Installing the FOG Bypass Host Registration</title>
		<link rel="alternate" type="text/html" href="https://wiki.fogproject.org/wiki/index.php?title=Installing_the_FOG_Bypass_Host_Registration&amp;diff=7779"/>
				<updated>2013-01-31T02:13:32Z</updated>
		
		<summary type="html">&lt;p&gt;Kevin: Created page with &amp;quot;This guide can be used to utilize the FOG Bypass Host Registration. For those who don't know what this does, this will allow you to image any machine, with any image currently...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide can be used to utilize the FOG Bypass Host Registration. For those who don't know what this does, this will allow you to image any machine, with any image currently on your server without the need to register it with FOG first. Note that this is being done on Ubuntu 12.04 LTS&lt;br /&gt;
&lt;br /&gt;
First, you will need to download the following files:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://filezilla-project.org/download.php?type=client FileZilla]&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.box.com/s/rxkg68ipmz79ebvp4p1s bypass.gz]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Filezilla is a cross platform FTP client that can be used to easily transfer files to your FOG server. Also, the bypass.gz is built on FOG.32. the noreg.gz is based on .29. This guide, although based around the .32 version, will work on the .29 (noreg.gz) if you choose to use it.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First, log onto your FOG server and make sure that you modify permissions to /tftpboot/fog/images ('''sudo chmod 770 tftpboot/fog/images/'''). This will allow you to add/remove/rename files in the folder. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now install and load FileZilla. You can do the quick connect right on the first screen of FileZilla. Enter your FOG server IP address, your username and password for an admin on your server. This should connect you to your home folder on the server. Your PC is on the left, your server on the right. Locate the bypass.gz file you downloaded earlier and drag it to the /tftpboot/fog/images folder on the FOG side of the program. If you did the chmod command correctly, you should successfully load the bypass.gz file on the FOG server. If the transfer failed recheck that the chmod command worked correctly, and if need be, chmod 777 the file.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you load the bypass.gz file onto the /tftpboot/fog/images folder, it's now time to modify the default file to point it to the bypass.gz file. You should be able to load the file by typing the command: '''sudo gedit /tftpboot/pxelinux.cfg/default'''. If you can't update the file, chmod the file like you did with /tftpboot/fog/images folder above/ Now you need to add your existing images to the pxe menu. Below is an example of my XP image in the file:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
LABEL XP Domain Image &amp;lt;br&amp;gt;&lt;br /&gt;
menu passwd xxx (if you want to password protect your menu item where xxx is your password. Recommended so that random users can't reimage machines!)&amp;lt;br&amp;gt;&lt;br /&gt;
kernel fog/kernel/bzImage&amp;lt;br&amp;gt;&lt;br /&gt;
append initrd=fog/images/bypass.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=YOURDNSSERVER type=down img=YOURIMAGE ftp=FOGSERVERIP storage=FOGSERVERIP:/images/ web=FOGSERVERIP/fog/ osid=1 imgType=n loglevel=4 sessionPwd= consoleblank=0&amp;lt;br&amp;gt;&lt;br /&gt;
*Note: The osid is based on your version of Windows you're using, but it's the same as the host registration 1=XP 5=Windows 7 etc. Also, everything from append initrd to console blank is all on 1 line.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now when you pxeboot the machine, your image should show up in the PXE menu. Once selected, you should see the kernel load, and the imaging should begin moments later. The plus side to this is that you won't change any functionality of FOG that you already have, this will only add the ability to image from the PXE menu. Enjoy!&lt;/div&gt;</summary>
		<author><name>Kevin</name></author>	</entry>

	<entry>
		<id>https://wiki.fogproject.org/wiki/index.php?title=Switching_to_gpxelinux_on_Ubuntu_FOG_server&amp;diff=7775</id>
		<title>Switching to gpxelinux on Ubuntu FOG server</title>
		<link rel="alternate" type="text/html" href="https://wiki.fogproject.org/wiki/index.php?title=Switching_to_gpxelinux_on_Ubuntu_FOG_server&amp;diff=7775"/>
				<updated>2013-01-30T00:44:56Z</updated>
		
		<summary type="html">&lt;p&gt;Kevin: Created page with &amp;quot;*Note that this has only been tested on a test environment. Please be sure to test before you move to a production server.   *Be sure to backup all files that you change, if s...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*Note that this has only been tested on a test environment. Please be sure to test before you move to a production server. &lt;br /&gt;
&lt;br /&gt;
*Be sure to backup all files that you change, if something does go wrong, you should be able to recover the server by copying 2 files back and a dhcp server restart (or the server itself). This is a modification from a guide from jbsclm (Giving credit where credit is due)on the forums, but this has been modified to work on Ubuntu installs.&lt;br /&gt;
&lt;br /&gt;
*If you restore FOG through the FOG installer, please note that pxelinux will more than likely be &amp;quot;re-installed&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Alright, onto the changes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1.  Download and extract syslinux - https://www.kernel.org/pub/linux/utils/boot/syslinux/&amp;lt;br&amp;gt;&lt;br /&gt;
*At the time of this guide, 5.01 was the latest version of Syslinux&amp;lt;br&amp;gt;&lt;br /&gt;
2. Copy /gpxe/gpxelinux.0 to /tftpboot&amp;lt;br&amp;gt;&lt;br /&gt;
3. Rename /tftpboot/vesamenu.c32 to /tftpboot/vesamenu.c32.old  - '''See note at bottom of page'''&amp;lt;br&amp;gt; &lt;br /&gt;
4. Copy /com32/menu/vesamenu.c32 to /tftpboot &amp;lt;br&amp;gt;&lt;br /&gt;
5. Copy /memdisk/memdisk and replace /tftpboot/fog/images/memdisk and to /tftpboot&amp;lt;br&amp;gt;&lt;br /&gt;
6. Search the syslinux folder for the following files and copy them to your /tftpboot folder:&amp;lt;br&amp;gt;&lt;br /&gt;
ldlinux.c32&amp;lt;br&amp;gt;&lt;br /&gt;
libcom32.c32&amp;lt;br&amp;gt;&lt;br /&gt;
libutil.c32&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the version of vesamenu.c32 needs to match that of gpxelinux.0 &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. Edit /etc/dhcp/dhcpd.conf, replacing pxelinux.0 with gpxelinux.0&lt;br /&gt;
&lt;br /&gt;
Gpxelinux.0 seems to be stricter on the configuration file, and complains about the newline characters in the config file so edit /tftpboot/pxelinux.cfg/default to remove any newlines (\n)&lt;br /&gt;
&lt;br /&gt;
8. Reboot, to restart services.&lt;br /&gt;
&lt;br /&gt;
At this point you should be able to confirm that clients will still boot using tftp.&lt;br /&gt;
&lt;br /&gt;
Next you need to set up apache to serve the files.&lt;br /&gt;
&lt;br /&gt;
Running in a command shell as root:&lt;br /&gt;
&lt;br /&gt;
cd /var/www/&lt;br /&gt;
&lt;br /&gt;
ln -s /tftpboot/fog fogboot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ls -l should show&lt;br /&gt;
&lt;br /&gt;
drwxr-xr-x. 12 apache apache 4096 Dec 31 18:27 fog&lt;br /&gt;
&lt;br /&gt;
lrwxrwxrwx.  1 root   root     13 Jan 28 18:31 fogboot -&amp;gt; /tftpboot/fog&lt;br /&gt;
&lt;br /&gt;
-rw-r--r--.  1 root   root     45 Dec 31 18:27 index.php&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
you should now type in the following on your browser&lt;br /&gt;
&lt;br /&gt;
http://localhost/fogboot/kernel/bzImage&lt;br /&gt;
&lt;br /&gt;
and confirm that you get a prompt to save the file bzImage&lt;br /&gt;
&lt;br /&gt;
Now you can edit /tftpboot/pxelinux.cfg/default to change the paths to urls, changing the IP to that of your fog server, see the examples below for setting up the &amp;quot;default&amp;quot; file for imaging with the Bypass Host Registration (bypass.gz), and booting an ISO.&lt;br /&gt;
&lt;br /&gt;
'''Booting an ISO:'''&lt;br /&gt;
&lt;br /&gt;
LABEL UBCD&amp;lt;br&amp;gt;&lt;br /&gt;
MENU LABEL Ultimate Boot CD&amp;lt;br&amp;gt;&lt;br /&gt;
KERNEL memdisk&amp;lt;br&amp;gt;&lt;br /&gt;
APPEND iso initrd=http:// yourserverip/fogboot/images/ubcd511.iso&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''Booting an image with BHR:'''&lt;br /&gt;
&lt;br /&gt;
LABEL XP Image&amp;lt;br&amp;gt;&lt;br /&gt;
KERNEL http:// yourserverip/fogboot/kernel/bzImage&amp;lt;br&amp;gt;&lt;br /&gt;
APPEND initrd=http:// yourserverip/fogboot/images/bypass.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=yourdnsserver type=down img=yourimagename ftp=yourserverip storage=yourserverip:/images/ web=yourserverip/fog/ osid=1 imgType=n loglevel=4 consoleblank=0&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''*Note''' - You can make a folder called &amp;quot;backup&amp;quot; in the /tftpboot folder and copy &amp;quot;pxelinux.0&amp;quot; and &amp;quot;vesamenu.c32&amp;quot; to this. If something goes wrong during the transition, copy both of these files back to /tftpboot, edit the dhcpd.conf file back to pxelinux.0 instead of gpxelinux.0 and reboot the server. After the server comes back up, FOG should be back to the tftp system.&lt;/div&gt;</summary>
		<author><name>Kevin</name></author>	</entry>

	</feed>