• 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: New FOG setup, TFTP timeout-PXE-E32

      When you navigate to the web GUI for the FOG server, if you haven’t done so already, it will ask you to update the schema.

      This will allow the database to be initialized and set up properly for your version of FOG.

      If you have already completed the schema update (required after installation of FOG) then it will not be necessary to complete the action again.

      It appears as if it did not receive the file in time. Are you able to now use the tftp get command on a windows workstation?

      posted in FOG Problems
      Jaymes DriverJ
      Jaymes Driver
    • RE: PXE boot to FOG 1.2.0 from FOG 0.32 menu

      At least now we know it isn’t a permission issue 😄

      I will see if I can get some time to set up a test server and work on this for you. I used chain loading back when 0.33b was in the works, and it worked well then, We should be able to get it going again.

      posted in General
      Jaymes DriverJ
      Jaymes Driver
    • RE: PXE boot to FOG 1.2.0 from FOG 0.32 menu

      try [code]sudo chmod -R 0777 /var/www/fog/service[/code]
      this will give global read/write permissions just to verify we can get the page to display, we can adjust settings later for 755 or 644.

      posted in General
      Jaymes DriverJ
      Jaymes Driver
    • RE: New FOG setup, TFTP timeout-PXE-E32

      [quote=“haste347, post: 41990, member: 28447”]Thank you, I have followed this guide and everything seems to be working with the exception of being able to “get undionly.kpxe” from a workstation (on the server it works.)[/quote]

      When you say workstation, you mean a windows machine in the same network as the FOG server? If your DHCP options are correct, you should at least get some kind of out put.

      I highly recommend DNSMASQ. It seems that you are having difficulty resolving your bootfile name.

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

      posted in FOG Problems
      Jaymes DriverJ
      Jaymes Driver
    • RE: New FOG setup, TFTP timeout-PXE-E32

      If the information that you have entered into your DHCP scope is correct, and you are still unable to complete a PXE boot, I recommend using DNSMASQ to proxy boot your clients in PXE. This will help to resolve to your tftp server and it’s bootfile.

      Sometimes the information in the DHCP scope is correct and you can not PXE boot, this can be a cause by a number of variables in your environment ranging from Servers, Switch Gear, VoIP systems, etc. In my environment, the cause is the environment and the size of the bootfile name. I had to use DNSMASQ to help my clients to resolve to my bootfile and server properly.

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

      posted in FOG Problems
      Jaymes DriverJ
      Jaymes Driver
    • RE: PXE boot to FOG 1.2.0 from FOG 0.32 menu

      What are the permissions on the folder, do you have rights to view the content and execute it?

      posted in General
      Jaymes DriverJ
      Jaymes Driver
    • RE: Partimage not initialising new disk

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

      We are already aware and a work around is available.

      posted in FOG Problems
      Jaymes DriverJ
      Jaymes Driver
    • RE: No Resizable Partitions Found

      Did you try a non re sizable option? does it also fail?

      posted in FOG Problems
      Jaymes DriverJ
      Jaymes Driver
    • RE: Sysprep Windows 7 Computer Name

      I use:

      [code]
      <component name=“Microsoft-Windows-Shell-Setup” processorArchitecture=“x86” publicKeyToken=“31bf3856ad364e35” language=“neutral” versionScope=“nonSxS” xmlns:wcm=“http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
      <ComputerName>*</ComputerName>
      <RegisteredOrganization>Microsoft</RegisteredOrganization>
      <RegisteredOwner>CORPORATION</RegisteredOwner>
      <ProductKey>FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4</ProductKey>
      <CopyProfile>false</CopyProfile>
      <TimeZone>TIMEZONE</TimeZone>
      </component>
      [/code]
      This causes the machine to generate a name for itself based off the RegisteredOwner criteria. Then I let FOG rename the machine.

      I see where you included the <computername> but in my experience, without a registered owner the naming process fails 😞

      I used AutoBVT (Only because when I set up my unattend.xml I used the windows AIK to do so, and it was the default) as the RegisteredOwner and each of my machines started with AutoBVT-(Random Sequence) and then FOG renamed them appropriately.

      Hope this helps.

      posted in Windows Problems
      Jaymes DriverJ
      Jaymes Driver
    • RE: PXE boot to FOG 1.2.0 from FOG 0.32 menu

      Its called chain loading, and yes it is possible. This will cause pxelinux.0 to call undionly.kpxe.

      I am sure that with proper tweaking you can have a menu item that lead to iPXE so that you can keep your custom items in pxelinux.0

      [url]http://fogproject.org/wiki/index.php/Chainloading_PXE_to_iPXE_using_pxelinux.0[/url]

      posted in General
      Jaymes DriverJ
      Jaymes Driver
    • RE: Upgrading FOG

      I also vote for staying on 12.04.

      When you ran your svn commands to download the svn, did you do so with sudo?

      you may not have write access to the folder if you ran it as sudo.

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

      I think this is the code I am going to use.

      [code]
      #NoTrayIcon
      #include <Misc.au3>
      #include <MsgBoxConstants.au3>

      Opt(“RunErrorsFatal”, 0)

      While 1
      If ProcessExists(“asdfghjkl”) Then
      MsgBox(64, “Warning”, “Please close the current window before opening another!”)
      Exit
      Else
      Run(@ProgramFilesDir & “\Google\Chrome\Application\asdfghjkl”, “”, @SW_HIDE)
      If Not @error Then Exit
      EndIf
      WEnd
      [/code]

      This seems to work well, I have renamed chrome.exe to asdfghjkl and with the script I am able to execute the file. I compile my script as chrome.exe with the chrome Icon.

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

      [quote=“Lee Rowlett, post: 41572, member: 28”]don’t do it as a shortcut… have it as an .exe within an .exe 😄 so .exe on desktop extract the .exe into chrome folder and executes it, waits for it to finish and then deletes.[/quote]

      I won’t use a shortcut, I can’t trust these kids, I almost ran chrome in kiosk mode but decided it wasn’t worth my effort, at least with AutoIT they think it is chrome.exe and they aren’t any wiser.

      I was not able to use your FileInstall recommendation, for some reason after I compile it and run the .exe, it claims the program is already running, when it is not. It only, renames the file or moves it when I run the .a3u and not the .exe.

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

      [quote=“Wolfbane8653, post: 41566, member: 3362”]do your students have admin rights on these devices?
      [url]http://www.askvg.com/the-best-method-to-hide-files-folders-in-windows-without-using-3rd-party-utilities/[/url]

      warning you will have issues with regedit until you renable it in your gpo. If you wish to edit the registry after imaging.[/quote]

      Yes all basic users that are logged in are admins.

      I almost had a variant working that launched files without extensions, I still need to tweak it a bit.

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

      This seems to work nicely.

      [code]
      #NoTrayIcon
      #include <Misc.au3>
      #include <MsgBoxConstants.au3>
      $str = “.exe”

      If ProcessExists(“chrome.exe”) Then
      MsgBox(64, “Warning”, “Only one instance is allowed”)
      Else
      FileMove(@ProgramFilesDir & “\Google\Chrome\Application\asdfghjkl”, @ProgramFilesDir & “\Google\Chrome\Application\asdfghjkl” & $str)
      ShellExecuteWait(@ProgramFilesDir & “\Google\Chrome\Application\asdfghjkl.exe”)
      FileMove(@ProgramFilesDir & “\Google\Chrome\Application\asdfghjkl.exe”, @ProgramFilesDir & “\Google\Chrome\Application\asdfghjkl”)
      EndIf
      [/code]

      Still tweaking, I am thinking about hosting my main chrome.exe file outside of the google folders to help prevent users from stumbling upon the file!

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

      Thank for your input, you’re right I can slim it down to

      [quote=“Lee Rowlett, post: 41539, member: 28”]
      [CODE]#NoTrayIcon
      #include <Misc.au3>
      #include <MsgBoxConstants.au3>

      If ProcessExists(“chrome.exe”) Then
      MsgBox(64, “Warning”, “Only one instance is allowed”)
      Else
      ShellExecuteWait(@ProgramFilesDir & “\Google\Chrome\Application\chrome.exe”)
      EndIf[/CODE]

      should get same results.
      p.s. i hadn’t actually ever tried the _Singleton funcion… glad to know it DOESNT work lol![/quote]

      Without much of an issue. I had a recommendation to use a while loop to help accommodate that singleton function, then I moved awya from singelton to the ProcessExists. This week I have some more time to play around with it a bit.

      I plan to actually change chrome.exe to something garbled such as qweljklewr and drop off the extension, I’m going to see if I can’t get the script to copy the file and rename it to something.exe an run it from there. Chrome only likes to work if it’s in the correct directory, but if I leave it a .exe the students will find it, this could help deter them from finding my file.

      I’ll keep playing with it. Right now it doesn’t seem like many are interested in limiting chrome, this could be beneficial to someone in the future!

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

      Not sure if this is proper or not, hopefully you guys will help me find my holes if I left any 😛

      Of course I still need to rename my “chrome.exe” and replace it with what I am going to call it, but this works with chrome.exe, I could just hide the shortcuts but I know my students will look for the chrome.exe in the folders, I need to obfuscate it a bit… maybe I will move it someplace like windows or system32…

      AutoIT code
      [code]
      #NoTrayIcon
      #include <Misc.au3>
      #include <MsgBoxConstants.au3>

      Opt(“RunErrorsFatal”, 0)

      While 1
      If Not ProcessExists(“chrome.exe”) Then
      ShellExecuteWait(@ProgramFilesDir & “\Google\Chrome\Application\chrome.exe”)
      If Not @error Then Exit
      EndIf
      If ProcessExists(“chrome.exe”) Then
      MsgBox(64, “Warning”, “Only one instance is allowed”)
      Exit
      EndIf
      Sleep (30)
      WEnd
      [/code]

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

      [quote=“Jbob, post: 41522, member: 21733”]Inline with what Lee said, AutoIT is a fantastic scripting language. I would actually recommend checking out singleinstance, its a free application (built on AutoHotKey), that does exactly what you want. The source code is available for viewing so you can customize it as needed.

      This site includes a download link and the usage of the program
      [url]http://www.freewaregenius.com/singleinstance-allow-only-one-running-instance-of-a-program/[/url][/quote]

      I tried that SingleInstance program already 😞

      I am fond of that onehourcode site, I already use some of the applications on there, but they seem mostly tailored towards Windows 95 and such.

      SingleInstance had no affect, I was able to open 20 windows 😛

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

      [quote=“Lee Rowlett, post: 41495, member: 28”]tried autoit? different ways u cud do it… execute chrome within autoit.exe or have autoit watch in the background if process number over set limit, close last process and could do message prompt… all sorts, limit is endless.

      simple approach would be:

      #NoTrayIcon
      #include <Misc.au3>
      #include <MsgBoxConstants.au3>

      If _Singleton(“chrome”, 1) = 0 Then
      MsgBox(64, “Warning”, “Only one instance is allowed”)
      Else
      ShellExecute(@ProgramFilesDir & “\Google\Chrome\Application\chrome.exe”)
      EndIf

      compile that to .exe (even give it a relevant icon if u want even call it chrome etc)

      only downside is, u would need to remove all chrome shortcuts and make sure they run this instead. the other option as i say wud to have an .exe run at startup doing the same thing but on trigger events or loop so:

      While 1
      Do
      sleep (500)
      Until ProcessExist(“chrome.exe”) = 1

      Do stuff, close, msg prompt etc etc etc[/quote]

      Thanks I will play with this today!

      Hmm It still opens multiple windows of chrome. I can open a crap load of windows still. The script opened chrome though. I’m new to AutoIT but I’m going to be playing with this a bit and hopefully coerce it to my needs 🙂

      posted in General
      Jaymes DriverJ
      Jaymes Driver
    • RE: Cisco IOS proper support for DHCP option 67

      I use DNSMASQ with my cisco switches to pxe boot. [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]

      I have not been successful in supplying the information directly to the switch.

      One thing that may help is an ip helper address too.

      You can also use the ip forward-protocol command and the no ip forward-protocol command to stop and traffic you don’t want to pass.

      If an IP helper address is specified and UDP forwarding is enabled, broadcast packets destined to the following port numbers are forwarded by default:
      Time Service Port 37
      TACACS Port 49
      Domain Name Services Port 53
      Trivial File Transfer Port 69
      DHCP (BootP) Port 67 and Port 68
      NetBIOS Name Server Port 137
      NetBIOS Datagram Server Port 138

      I should probably note that the preferred method is ip helper, as it should always work.

      posted in General
      Jaymes DriverJ
      Jaymes Driver
    • 1
    • 2
    • 5
    • 6
    • 7
    • 8
    • 9
    • 61
    • 62
    • 7 / 62