• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. FritzBox360
    3. Posts
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 38
    • Best 3
    • Controversial 0
    • Groups 0

    Posts made by FritzBox360

    • RE: Add a second PXE Boot Option

      Nice! Thank you @Junkhacker and @george1421

      I just changed it to work with the clients MAC address and it seems to work like a charm!

      So now, i have this config:

      iseq ${net0/mac} XX:XX:XX:XX:XX:XX && goto chainboot ||
      goto fog.local
      :chainboot
      set pxeserver:ipv4 XXX.XX.XXX.XXX
      set next-server ${pxeserver}
      chain tftp://${pxeserver}/pxelinux.0
      exit
      

      I will do some testing but i am verry optimistic 😉

      Thanks!

      posted in General
      F
      FritzBox360
    • RE: Add a second PXE Boot Option

      @george1421 okay, no problem i will explain 😉

      We have here two rooms ( A and B ) on the same subnet with the same DHCP settings.

      Both rooms are managed via one FOG-Server and have a local WIN7 image.

      Now, we would like to use room B for OpenSLX virtualization. Therefore we need another next-server entry via DHCP. But this is not cool because we have to decide between FOG and OpenSLX. As a fact, OpenSLX uses a PXE boot too. So i thought there could be a way to use both.

      Sure, i could add a new image to FOG with boots to OpenSLX but therefore i need to re-image the room all the time if someone needs WIN7.

      I am thinking of managing both rooms via FOG and be able to start OpenSLX individually on a client.

      Thanks to @george1421 i could add an option to the BootMenu. But the problem is, we are not using this menue at the time and it is not individually for the clients.

      For example: Room B has 64 Clients - if i would like to boot into OpenSLX i need to boot manually each client into the FOG BootMenu to start OpenSLX. If i select the “default” option as @Wayne-Workman mentioned - all other clients - e.g. room A - would be affected.

      So i was lokking for an option - sth. like a flag " Boot OpenSLX " - for each client and i found the “Host Bios Exit Type” option with is nearly what i need. But i do not need grub, i need sth. like a PXE boot to another IP.

      I am new to the whole PXE Grub boot topic. As @Sebastian-Roth mentioned there is a way to edit the /var/www/html/fog/lib/fog/bootmenu.class.php for “other” grub commands.

      So i am stuck at the point to connect grub to load from another server. I am not sure if booting into grub.exe is a step to far because i did not found a working way to connect grub to pxe. Something like @george1421 mentioned to chainload from another IP would be great. But i am not familar with that topic.

      Would be nice if someone could help here. If there are any kind of questions feel free to ask!

      Thanks a lot!

      posted in General
      F
      FritzBox360
    • RE: Add a second PXE Boot Option

      @george1421 you code works fine 😉 I added a new menu entry! But now i have still the problem with the different rooms/clients. I will try to check if i can change the GRUB_FIRST_HDD option.

      posted in General
      F
      FritzBox360
    • RE: Add a second PXE Boot Option

      Thank you for your replies!

      Not sure, but if i select a option for “Menu Show with:” i cannot select a group of hosts?
      The Problem here is i have different Computer-Rooms in one room i would like so start OpenSLX via PXE but the othe room should not be affected.

      I think this could work if i add a new Menu Entry for my PXE Boot - but then, i need to activate the menu and select it - or? If i select the “Default Item:” then it will be applied to all clients - right?

      What do you think? This method from @Sebastian-Roth seems to be the right way. I will check if i can chainload my PXE over it.

      posted in General
      F
      FritzBox360
    • RE: Add a second PXE Boot Option

      The second PXE Server is for virtualization via OpenSLX ( https://github.com/OpenSLX ) - It is for running VMs over the network.

      posted in General
      F
      FritzBox360
    • Add a second PXE Boot Option

      Hi,

      i am searching for a “best-practice” way to add a second PXE Boot option.

      My scenario:

      I have a FOG Server ( Running Version 1.3.5-RC-10 ) and a external DHCP. Now i have a second service in the network running or booting over PXE. I can not change the DHCP options so i would like to add sth. to FOG.

      I found this:

      https://wiki.fogproject.org/wiki/index.php?title=Include_any_ISO_in_the_FOG_Bootmenu

      But there i have to select the option and use the BootMenu. At the moment the Bootmenu is hidden and i do not use it.

      I am searching for a “default exit” option with i can set for each client.

      So i found this:

      https://forums.fogproject.org/topic/7113/make-customized-option-as-default-on-boot-menu

      In my mind i am thinking about sth like:

      1 --> Client Power on
      2 --> Network Boot via DHCP
      3 --> PXE Boot via FOG
      4 --> Checking for a Task via FOG and running it
      5 --> Or starting from my other PXE Server

      I think the “Host Bios Exit Type” Option could work for this. But before i starting editing some php files i would like to know if there is a better way for it.

      Any ideas? - Please let me know! Thank you 😉

      posted in General
      F
      FritzBox360
    • RE: Power Management in groups

      Thank you Tom! I understand! I will figure sth. out to work for my setup.

      posted in Feature Request
      F
      FritzBox360
    • Power Management in groups
      Server
      • FOG Version: 1.3.4 SVN Revision: 6066

      If i set a PowerManagement Task for a group it is set to each client properly. I can view or edit it under the client PowerManagement tab. But i cannot see it for a group i can only remove all task for a group.

      Not sure if this is a real “bug” - but it would be nice if a group has a similar view as the clients have.

      For example i have a group with one WOL and one shutdown task. Some clients from this group have addition shutdown task. So i need to click through each client to remove it.

      Would be nice to have sth. like a scheduled tab for it. Because i have no overview over the PowerManagement task for a group if i do not click each client separately.

      If you have Questions, feel free to ask!

      Thank You

      posted in Feature Request
      F
      FritzBox360
    • RE: FOG iPXE USB Boot Stick

      found this post from @cml and tried the image from there!

      https://forums.fogproject.org/topic/4782/help-usb-boot-fog/25

      It works with 1.3.1 RC6! Thank you man!

      Can be closed here

      posted in General Problems
      F
      FritzBox360
    • RE: FOG iPXE USB Boot Stick

      okay, not really solved - i tried it in another subnet without dhcp next-server and it worked.
      in the same subnet where the dhcp next-server is set, there is an infinite loop of iPXE starting, but not booting into FOG

      posted in General Problems
      F
      FritzBox360
    • RE: FOG iPXE USB Boot Stick

      okay - i think i found a solution

      this script is working for me

      #!ipxe
      
      dhcp
      set next-server 134.155.131.215
      set filename undionly.kpxe
      chain tftp://${next-server}/${filename}```
      posted in General Problems
      F
      FritzBox360
    • RE: FOG iPXE USB Boot Stick

      i just found this

      https://forums.fogproject.org/topic/6202/boot-from-usb-stick-to-get-fog-menu-for-machines-without-pxe

      but is it from 2015 - and with http://${nextserver}/fog/service/ipxe/boot.php?mac=${net0/mac}
      i just get the same error " no such file or directory "

      posted in General Problems
      F
      FritzBox360
    • FOG iPXE USB Boot Stick

      Hello,

      i am trying to build an USB Stick to boot into FOG. We have two FOG instances, one is the productive one ( 1.2.0 ) and the other is the testing one ( 1.3.1 RC ). Both servers have diffrent IPs and just the productive one has the next-server set in the DHCP. So the problem is i cann not reach the testing server. I thought i could make a stick with says " hey pc, please just go to this next-server and start from there" - so i will boot the USB Stick wich says where the FOG server is and not via DHCP

      I found this in the wiki:

      https://wiki.fogproject.org/wiki/index.php?title=USB_Bootable_Media#USB_Boot_UEFI_client_into_FOG_menu_.28easy_way.29

      with is nearly what i need ( i think so ) - so i built this image and install it on an USB stick but i am unable to boot.

      I tried the last method with gPXE because i do not need UEFI.

      In my opinion the image- path could be the problem because gPXE can not find it ( No such file or directoy )

      As far i know i have to boot to http://FOGIP/fog/service/ipxe/boot.php

      but like here with the chain “chain http://example.com/pxelinux.0” it is not working.

      Any ideas, or better options, where could be the problem?

      Thank you!

      posted in General Problems
      F
      FritzBox360
    • RE: Donation feature working?

      Alright - thank you!

      So the black screen in normal 😉 - i understand!

      Just one question to the config. What about the "FOG_MINING_MAX_CORES " ? The miner can use the hole system and can use as much cores as are availible. So i configured the zero - it that right?

      Because my systems are nor running hot or using more power as normal in IDLE mode.

      Thank you

      posted in General
      F
      FritzBox360
    • Donation feature working?

      Hello,

      i am trying to donate to FOG via the donation-feature in FOG. The feature is enabled and i am on V1.2.0!

      If i start the donation-task my hosts are booting and loading the PXE Image! After that, i see for a few seconds a message like " thank you donating for fog" but after that my screen ist just black, but still activ so no standby. My computer is still running but i do not know if the mining-process is running.

      Is this normal? Is this feature still active or possible? Is there a Problem in my configuration? FOG can use as much cores as availible!

      FOG_MINING_ENABLE	yes	
      FOG_MINING_MAX_CORES	0
      FOG_MINING_FULL_RESTART_HOUR	6
      FOG_MINING_FULL_RUN_ON_WEEKEND	yes	
      FOG_MINING_PACKAGE_PATH	
      http://fogproject.org/fogpackage.zip
      Save Changes
      

      If you have any kind of idea - just post ist! Thank you!

      posted in General
      F
      FritzBox360
    • SVN 3772: New host registration failed PHP fatal error

      Hello,

      i updated fog to SVN 3772 and tried to register a new host. The new MAC is shown in the host list but if i click on it to open the edit page for that host i only see a white page. The apache2 error log shows a fatal PHP error as you see below.

      I am on Ubuntu Ubuntu 14.04.2 LTS - Any ideas about this?

      Thank you!

      [Tue Jul 14 10:17:18.191472 2015] [:error] [pid 2691] [client 192.168.1.111:35990] PHP Fatal error:  Call to a member function get() on null in /var/www/html/fog/lib/pages/HostManagementPage.class.php on line 373, referer: http://192.168.1.111/fog/management/index.php?node=host&sub=list
      

      ** edit: i had to change the apache2 webroot path from /var/www to /var/www/html" in the fog configuration of apache2 **

      posted in Bug Reports
      F
      FritzBox360
    • RE: Failed to add snapin

      thank for the help! It solved my problem!

      Normally the fog installation script set its own password and normally this worked fine to me! Even in the update logs from an earlier SVN version there was a hint to this created user/ password. But in the new installer i cant find this in the logs. After changing it manually everything seems to be fine!

      Thanks!

      posted in Bug Reports
      F
      FritzBox360
    • Failed to add snapin

      Hello,

      i am running on Fog SVN Version 3652 and i am unable to create new snapins. I get the following error: " Failed to add snapin, unable to locate snapin directory"

      I checked the Fog setting an the storage should be located at /opt/fog/snapins/
      The directory on my server is owned by www-data and is writeable ( 771)
      I tried to change the directory but i am getting the same error.

      Someone with the same problem or with some ideas?

      Thank you 😉

      posted in Bug Reports
      F
      FritzBox360
    • 1 / 1