• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Jaymes Driver
    3. Posts
    • Profile
    • Following 0
    • Followers 4
    • Topics 29
    • Posts 1,230
    • Best 33
    • Controversial 0
    • Groups 1

    Posts made by Jaymes Driver

    • RE: Can't boot to PXE

      @roee

      You can always give DNSMASQ a shot, it usually helps to resolve issues when the files are not being delivered to the clients.

      It works as a proxy DHCP server and only offer ip addresses to the machines looking to pxe boot. And helps the clients to resolve to your FOG Server.

      I would recommend installing DNSMASQ and using the settings from the wiki to see if that alleviates any of the issues you are experiencing.

      I had to use this in my environment when we were Novell and when we switched to Active Directory. I also still left options 66 & 67 set to the fog server and the boot file respectively.

      https://wiki.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#DNSMASQ_settings_for_iPXE

      posted in FOG Problems
      Jaymes DriverJ
      Jaymes Driver
    • RE: Snapin isseus ...

      @robza No problem.

      If you need any help just let me know, I will see what I can whip up.

      posted in General
      Jaymes DriverJ
      Jaymes Driver
    • RE: Reboot before cloning

      @max.maeuschen

      Does your notebook currently have an operating system installed?

      Did you replace the hard drive in this unit, or is the hard drive blank by chance?

      posted in FOG Problems
      Jaymes DriverJ
      Jaymes Driver
    • RE: Snapin isseus ...

      Why not code in a script to disable the UAC (or disable it by default in the image) and use a script to re-enable after your snap in is complete.

      This way, yes it’s still half hearted, but it seems the issue is on the windows side of things rather than FOG, but you won’t be leaving your systems UAC disabled.

      posted in General
      Jaymes DriverJ
      Jaymes Driver
    • RE: Limiting program instances or processes, Unrealted to FOG, but still imaging Related

      I ended up making the TEACHER do their job so that I could continue doing mine 🙂

      posted in General
      Jaymes DriverJ
      Jaymes Driver
    • RE: Unidonly.0 question

      [quote=“Trevelyan, post: 47285, member: 7471”]Cheers for the responses guys, works either way I guess. Still not sure why those two lines were commented out in the above guide - and I haven’t actually had to change my /etc/exports file either.

      Thanks![/quote]

      Like I said, those recommendations were from an earlier version of FOG, and may no longer be required. The development had been rather stagnate before Tom showed up and took the reigns. We haven’t seen much of the previous developers 😞

      posted in General
      Jaymes DriverJ
      Jaymes Driver
    • RE: Unidonly.0 question

      This (adding the .0 to a file name) doesn’t come with FOG by default because, DNSMASQ isn’t produced by the FOG developers and isn’t installed by default. We only use the tool to help alleviate the issues with networks. You can USE the dnsmasq tool to help pxe booting machines to find your boot files, but it is not required. IF you use a DHCP server such as a windows server, you can supply Undionly.kpxe without any problems. The ONLY time you need the .0 is when you use DNSMASQ.

      In the future, should we decide to use DNSMASQ by default (we may if we can get EFI booting to work or we may include it for simplicity) we will add in fixes for the .0 problem. But for now, DNSMASQ isn’t required to operate a FOG server, but it does help to solve some of the issues that occur.

      If you want to understand WHY the .0 is required… feel free to check out the DNSMASQ man pages, and ask a few questions over there, but basically it’s required by the PXE standard which pretty much forces the use of .0 [url]http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2010q3/004285.html[/url]

      I can’t tell you WHY the .0 is required, other than the standard enforces it, but I figured out that it is required when we first began moving to undionly.kpxe and the ipxe system from the pxelinux system. I kept getting “boot file not found” errors and in doing some research found that the file it was looking for was undionly.kpxe.0

      The reason the .0 is required at the end of the bootfile is not something I fully understand, I only found the issue and recommended a symlink to solve it.

      The two codes you mentioned above were used for the pxelinux system. They are commented out because they are not needed with ipxe, we may use it in the future to help with EFI, but basically dhcp-option is a tagging system to help DNSMASQ decide what needs to be booted or options or even the vendor, or point to another boot server or time servers, etc. By Default DNSMASQ sends some tagging information, but the use of the dhcp-option allows you to override this information what what you feel is pertinent. I urge you again to check out the man pages. [url]http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html[/url]

      I honestly have no input on the /etc/exports change, that was something that was recommended in FOG well before 0.32 and we carried it over. It may no longer be required, further testing will be necessary to arrive at that conclusion.

      posted in General
      Jaymes DriverJ
      Jaymes Driver
    • RE: WDS and FOG

      Another option is to use advanced menu options to point to your WDS server and add it as a boot menu item.

      That is effectively what you are doing when you use pxelinux.0 with the default file.

      OR

      If you can figure out how to use DNSMASQ, it has a boot menu as well, you could use it to boot to WDS or FOG. This might be a bit more difficult because AFAIK you can only have one dhcp-boot option.

      But in case you decide to use DNSMASQ the line you will need is:

      [code]dhcp-boot=boot%5Cx64%5Cpxeboot.com,x.x.x.x[/code]
      Where x.x.x.x is the ip address of your WDS server.

      The %5 is a backslash, you have to encode the path using a backslash will cause issues.

      There is a chance you will need to edit other files in order to accomplish this, but according to the man pages, they added in the ability to serve multiple TFTP servers on a single ip address or host name, you may want to look into it.

      posted in General
      Jaymes DriverJ
      Jaymes Driver
    • RE: How to configure DHCP Proxy?

      [quote=“Amit Madmoni, post: 45626, member: 29386”]here is my ltsp.conf file:

      [CODE]port=0
      log-dhcp
      tftp-root=/tftpboot
      dhcp-boot=undionly.kpxe,10.0.0.210,10.0.0.210
      dhcp-option=17,/images
      dhcp-option=vendor:PXEClient,6,2b
      dhcp-no-override
      pxe-prompt=“Press F8 for boot menu”, 0
      pxe-service=X86PC, “Boot from network”, pxelinux
      pxe-service=X86PC, “Boot from local hard disk”, 0
      dhcp-range=10.0.0.210,proxy
      [/CODE]

      I dont have a network hub.
      again, I’m running the client under virtual box. does it matter?[/quote]

      Did you restart the service after inserting the LTSP.conf file?

      you need to successfully restart the service for your updated LTSP.conf file to be of any use to dnsmasq.

      posted in General
      Jaymes DriverJ
      Jaymes Driver
    • RE: Installing ubuntu and fog hp proliant dl 380 g3

      [quote=“fredlwal, post: 45468, member: 26766”]Has anyone installed Ubuntu 14.04 on a Hp Proliant DL 380 G3 , I would like to make this my fogserver ? Let me know if there was any problems with using that hardware.

      Thank you[/quote]

      I have install FOG on the proliant DL 380 G2, I can only assume that the G3 is also supported.

      As wayne stated, you may need to find the linux drivers for your nic card.

      I did not have any problems installing to my hardware!

      The DL 365 are also acceptable.

      But just in case

      [URL=‘http://h18004.www1.hp.com/products/servers/linux/dl380g3-drivers-cert.html’]http://h18004.www1.hp.com/products/servers/linux/dl380g3-drivers-cert.html#b[/URL]

      These[URL=‘http://h18004.www1.hp.com/products/servers/linux/dl380g3-drivers-cert.html’] [/URL]are all listed for the SUSE and Red Hat versions of linux. Ubuntu should work “out of the box”.

      posted in General
      Jaymes DriverJ
      Jaymes Driver
    • RE: How to configure DHCP Proxy?

      [quote=“Amit Madmoni, post: 45437, member: 29386”]this is exactly the problem.
      I got lost in all the options in the /etc/dnsmasq.d/ltsp.conf file.
      what is the relevant options that I need to edit to make only the proxyDHCP to work?[/quote]

      I understand that the config file can be a bit daunting, but we left the commented sections because they explain exactly how and why to use the option.

      Wayne and uncle Frank are correct, we usually try to provide documentation on how to accomplish a task, we don’t edit files for you and hand them to you. I would be happy to help you to troubleshoot your issues, but I created and edited the articles on the wiki so that everyone could easily find the information and make use of it.

      Wayne took this a step further, and I may edit the wiki article to include this, but you can remove the lines with a # in front of them, this is called a comment and DNSMASQ will gloss over the information without using it.

      The portion below should help you to better understand where your information is required.
      [code]
      port=0
      log-dhcp
      tftp-root=/tftpboot
      dhcp-boot=undionly.kpxe,x.x.x.x
      dhcp-option=17,/images
      dhcp-option=vendor:PXEClient,6,2b
      dhcp-no-override
      pxe-prompt=“Press F8 for boot menu”, 3
      pxe-service=X86PC, “Boot from network”, pxelinux
      pxe-service=X86PC, “Boot from local hard disk”, 0
      dhcp-range=10.0.0.10,proxy
      [/code]

      We need to edit the line “dhcp-boot=undionly.kpxe,x.x.x.x” and we need to replace the x.x.x.x with your FOG server ip address. according to your information the ip address is 172.16.0.200.

      The correct line should read: dhcp-boot=undionly.kpxe,172.16.0.200

      The next line to edit would be “dhcp-range=10.0.0.10,proxy” and we need to replace the 10.0.0.10 to an ip address you wish to use as a starting point for the proxy dhcp range.

      Because this is only a Proxy and doesn’t actually have any bearing on your network, we recommend using the FOG server ip address as the starting dhcp address.

      The correct line should read: dhcp-range=172.16.0.200,proxy

      The only other line that should be edited in the ltsp.conf file would be the line “pxe-prompt=“Press F8 for boot menu”, 3”, You may change the number 3 to any number you would like. I usually set mine to 0, this is the screen that appears while DNSMASQ pulls up your boot information. Setting this number to 0 will allow for faster booting to the undionly.kpxe file.

      So to wrap this all up you need to type the following command into a terminal

      [code]
      sudo gedit /etc/dnsmasq.d/ltsp.conf
      [/code]

      paste the following into the document and save

      [code]
      port=0
      log-dhcp
      tftp-root=/tftpboot
      dhcp-boot=undionly.kpxe,172.16.0.200
      dhcp-option=17,/images
      dhcp-option=vendor:PXEClient,6,2b
      dhcp-no-override
      pxe-prompt=“Press F8 for boot menu”, 0
      pxe-service=X86PC, “Boot from network”, pxelinux
      pxe-service=X86PC, “Boot from local hard disk”, 0
      dhcp-range=172.16.0.200,proxy
      [/code]

      Now you need to symlink the undionly file so dnsmasq can boot, issue the following commands in the terminal
      [code]
      cd /tftpboot
      sudo ln -s undionly.kpxe undionly.0
      sudo service dnsmasq restart
      [/code]

      Now you should have a working DNSMASQ set up for your FOG Server.

      Not to be mean, but please read the documentation, the wiki articles, and understand them.

      We are more than willing to help you to understand what needs to be placed and where.

      I do hope this helps clear up some confusion. I hope that my explanations and assistance outlined in this article helps to answer any future questions users may have.

      I don’t feel like I helped you learn anything now that I have handed you the answers 😞

      When you restart dnsmasq, if you get an error reading “dnsmasq: failed to create listening socket for port 53: Address already in use failed!” You will likely need to perform the following actions since you are running Ubuntu 14.04:

      [url]http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#Additional_Steps_for_12.04.4.2C_12.04.5.2C_14.04.2C_14.10[/url]

      posted in General
      Jaymes DriverJ
      Jaymes Driver
    • RE: How to configure DHCP Proxy?

      [quote=“Amit Madmoni, post: 45415, member: 29386”]dnsmasq config is the default (for a fresh start).
      the file is attached.

      command output:
      [CODE]udp 0 0 0.0.0.0:67 0.0.0.0:* 3451/dnsmasq
      [/CODE][/quote]

      Use this

      [url]http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#Setup_and_Configuration[/url]

      Copy the configuration to the file /etc/dnsmasq.d/ltsp.conf, edit the spaces for your ip address, symlink your boot file and restart the dnsmasq process.

      posted in General
      Jaymes DriverJ
      Jaymes Driver
    • RE: I have to rebuild a new fog server

      [quote=“fredlwal, post: 45290, member: 26766”]So I should do that after I copy over the images folder that is on the external hard drive?[/quote]

      Yes, after you copy your images from the External drive to the /images folder, open terminal and issue the command.

      You will also need to create an image store for each image you wish to assign to a host.

      posted in General
      Jaymes DriverJ
      Jaymes Driver
    • RE: I have to rebuild a new fog server

      [code]
      sudo chmod -R 0777 /images
      [/code]

      posted in General
      Jaymes DriverJ
      Jaymes Driver
    • RE: PXE-M0F: Exiting Broadcom PXE ROM.

      [quote=“Wayne Workman, post: 45215, member: 28155”]undionly.kkpxe.0 ?? or cp undionly.kkpxe undionly.0 ?
      I thought I was using undionly.[B][U]kpxe[/U][/B] ?[/quote]

      Dnsmasq adds a .0 to the file name, I never really understood why, but adding a symlink for undionly.0 seems to resolve the issue for using DNSMASQ.

      This is explained in the documentation on the dnsmasq set up page.

      [quote]
      Make a symlink for the undionly.kpxe file so dnsmasq can find it.
      [code]cd /tftpboot
      sudo ln -s undionly.kpxe undionly.0[/code]
      source:[url]http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#DNSMASQ_settings_for_iPXE[/url]
      [/quote]

      of course you don’t have to use the Undionly.kpxe file, you can use Ipxe.kpxe or any of the variants, but you still need to include a symlink for the .0

      I noticed this when we moved from pxelinux.0 (look there’s that .0 again!!!) to the Undionly.kpxe platform for iPXE in 0.33b. I could not get my boot file on my machine during pxe boot, in doing some research (I believe I found the information in wireshark) I found that the machines were looking for Undionly.0 instead of Undionly.kpxe.

      I added a symlink for udionly.kpxe to undionly.0 and the problem resolved itself.

      I started by using the pxelinux.0 to chainload the undionly.kpxe file until I understood the .0 being appended to the file name.
      The Thread where I discuss this issue and my notes on resolution can be found here:[url]http://fogproject.org/forum/threads/dnsmasq-help-for-ipxe-stuff.10222/[/url]

      posted in FOG Problems
      Jaymes DriverJ
      Jaymes Driver
    • RE: I have to rebuild a new fog server

      [quote=“fredlwal, post: 45157, member: 26766”]I have a server that is having issues, but last week I backed up my images to an external hard drive, I was going to rebuild a server but I would like to know if there is any issues by copying over images from the external HD to the new server? If anyone has done this what steps did you take to make this process go smooth?

      Thank You[/quote]

      What version was your previous FOG server?

      You shouldn’t have any issues, but when you copy your images into your /images folder, you will also need to create an image store for each image. You will also want to make sure that the path listed in the Image store is IDENTICAL to the folder that is storing the image.

      The only thing you need to look out for is if your server is an older version, such as 0.32, or 0.33b. We upgraded the partimage to partclone and the images are not exactly reverse compatible, but there is a way to enable the Legacy flag so that you can continue to use your older images on a newer server. Personally, I’ve had better luck with deploying the image from a current server and uploading fresh to a new server.

      For Example. Lets say one of your images is named Dell2015. When you add the image the the image store you will want to verify that the “Image File” box has the correct folder listed. In linux Dell2015 and dell2015 are NOT the same thing. If the folders are not correct, you will not be able to deploy your images, as FOG will not be able to find them.

      After you copy your images to your new /images folder, you will want to issue a chmod command to allow global read/write privileges so that the image can be found and used.

      posted in General
      Jaymes DriverJ
      Jaymes Driver
    • RE: Activate Windows 7 Pro 64x

      [quote=“Tauno Vürmer, post: 45143, member: 29182”]We have a policy in company that workers who leave have a right to purchase their laptop. Its a procedure. First run killdisk. Then deploy windows and hand it over. Since machines vary im looking for solution where i insert key someplace, deploy windows and hand it over so first boot happens in user hands. I really dont want to sysprep image every time with the right key. Is there a way to insert it into image that sits on fog server? And how? NB! Those PC will not join company domain again.[/quote]

      Unfortunately No. You can’t use an Unattend file like that.

      You must prepare an unattend file, Issue the sysprep and Generalize command, the process will read your unattend file and will complete it’s process. The machine shuts down, you upload the image to fog and then the machine begins the First installation/OOBE.

      By time the image is on the FOG server, or any server, the use of the Unattend file is already surpassed.

      The same can be said for WDS or, Acronis, or even Clonezilla. When the sysprep command is issued, it looks for the unattend file in the Panther folder (or the place you specify with the command.) so it’s not a limitation of FOG so to speak, but a limitation of Sysprep. I hope this makes sense.

      The only way this would be beneficial to you, would be to upload an image that is still in Audit mode, with the unattend file in place. Then you can pull the image to the machine, make tweaks to the Unattend file and issue sysprep/Generalize command and the process will read your file and set the computer up like new. But then you are manually tweaking each image before you hand it off to the user :(, you can also use the Postdownload scripts to complete this task for you.

      The only other option I can think of that would help you, is to edit the NTUSER.DAT file by loading it into Registry editor as a HIVE and edit the Run Once registry key so you could include a self deleting “activation” script with the same commands listed above. This would work weather your image is syspreped or not.

      This will force the activation script to run when the ANY user first logs in, and then after running it would remove its self to prevent the user from finding, tampering, or expunging any information from it.

      posted in Windows Problems
      Jaymes DriverJ
      Jaymes Driver
    • RE: Activate Windows 7 Pro 64x

      I am BY NO MEANS an expert, but I use the unattend file to activate my windows installs

      In the following pass:
      [code]<component name=“Microsoft-Windows-Shell-Setup” processorArchitecture=“amd64” publicKeyToken=“31bf3856ad364e35” language=“neutral” versionScope=“nonSxS” xmlns:wcm=“http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>[/code]

      I add this, of course replace your key in place of YOUR KEY HERE, besure to include dashes, this causes windows to activate on the first run when the user logs in.

      Specifically, I use the administrator account.

      [code]
      <AutoLogon>
      <Enabled>false</Enabled>
      <LogonCount>1</LogonCount>
      <Username>administrator</Username>
      </AutoLogon>
      <FirstLogonCommands>
      <SynchronousCommand wcm:action=“add”>
      <CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ipk YOUR KEY HERE</CommandLine>
      <Order>1</Order>
      <RequiresUserInput>true</RequiresUserInput>
      </SynchronousCommand>
      <SynchronousCommand wcm:action=“add”>
      <CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ato</CommandLine>
      <Order>2</Order>
      <RequiresUserInput>false</RequiresUserInput>
      </SynchronousCommand>
      </FirstLogonCommands>[/code]

      You could also use

      [code]<component name=“Microsoft-Windows-Shell-Setup” processorArchitecture=“amd64” publicKeyToken=“31bf3856ad364e35” language=“neutral” versionScope=“nonSxS” xmlns:wcm=“http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
      <ProductKey>YOUR KEY HERE</ProductKey>
      <TimeZone>Eastern Standard Time</TimeZone>
      </component>[/code]

      and instead of passing both activation commands, supply only the cscript //b c:\windows\system32\slmgr.vbs /ato line.

      posted in Windows Problems
      Jaymes DriverJ
      Jaymes Driver
    • RE: FOG not imaging to new HD

      You can also use the debug mode to edit and create partitions with fdisk

      [url]http://fogproject.org/forum/threads/quick-format-to-ntfs-with-fog-for-noobs.10349/[/url]

      posted in FOG Problems
      Jaymes DriverJ
      Jaymes Driver
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 61
    • 62
    • 5 / 62