Default.IPXE-no such file or directory (2e008081)



  • Server

    FOG Version: 1.5.7
    OS: Ubuntu 18.04 
    

    Client

    Service Version:
    OS:Windows/Linux
    

    Description
    Hi,

    I have issue with booting from USB stick via IPXE. We need solution only with UBS sticks (we can’t modify or booted from network). We need solution only with USB sticks (we can’t modify or booted from network)

    In our FOG server completely missing files in tftpboot do I decided copped this file from /home/fog/fogproject-1.5.7/packages/tftp to /var/lib/tftpboot/ and i also create default.ipxe (from this source https://wiki.fogproject.org/wiki/index.php/Chainloading_PXE_to_iPXE_using_pxelinux.0)
    Also path in /etc/lib/tftboot is fine with port in format TFTP_ADDRES=":69".In firewall was enabled port 69 for tftp.

    We need it to deploy to put network with most simplistic way USB stick with address of server and that’s it
    I searched FOG wiki and this was only what i found https://wiki.fogproject.org/wiki/index.php?title=USB_Bootable_Media .
    Can you please help or provide any alternative ?
    Thank you.



  • @george1421
    I try it to install several times but i have same issue with missing files(i try github version too).I also try re run install on existing FOG server but same results .Can you please advise most stable or more less problematic linux distribution ?Fog-install.txt


  • Moderator

    @TOXYKILLER If you rerun the fog installer script it should recreate things properly. if you use the wiki instructions and the git method you should just need to change to /root/fogproject/bin and run ./installfog.sh If it prompts you for the the answers again then the installer didn’t complete the first time. Watch for errors.



  • @Tom-Elliott
    I have this in my plans but in this state is only testing version(will be never approved exception in this state). We must first test some process and if will be OK then we will request for exemptions for static IP.



  • @george1421
    /opt/fog directory exist but first mention is missing.
    But it can be added manually right (/images directory) ? IMG_4939.jpg


  • Senior Developer

    @TOXYKILLER as long as we know the network is privately spaced and not going to cause issues, that is fine.

    Then I would suggest asking your network team to give your fog server a reserved IP address. This is similar to a static IP but you wouldn’t have to keep jumping thru loops to get your server to operate, as it seems your dhcp lease times are very short. The reserved ip still resides with the dhcp server and you wouldn’t have to make any changes to the network configuration on the server for this to work.

    Once you have a stationary fog server ip, I think we can get your machine up and running.



  • @Tom-Elliott
    Nope, I don’t work with DOD.We are using PAT for add. translation. This add. what was mentioned are not public. Sorry for little misunderstanding.


  • Senior Developer

    @TOXYKILLER you work with DOD Network Information Center?



  • @Tom-Elliott said in Default.IPXE-no such file or directory (2e008081):

    I feel I need to inform (not trying to question your ability at all) that 11.x.x.x is public. There are only 3 private address spaces. Unless you have your router/network completely airgapped for the public address spaces, this can cause potential issues. Especially if your organization owns the 11.x.x.x IP space as you’re exposing your entire network with this.
    You should be using the Private address spaces for your imaging and storage. (192.168.x.x Class C CIDR/24, 172.16.x.x Class B CIDR/16, and/or 10.x.x.x Class A CIDR/8) As this will not open potential holes and security issues within your organization as well as prevent serious issues even if all worked properly.

    We are not using private add on our site. Only public IPs. Our company should own whole this network 11.0.0.0/8.



  • @Tom-Elliott
    We unfortunately do not have comfort of static IPs (it can be added via exception but it’s really hard through the bureaucracy process and providing business justification for this)

    FOG add is now 11.101.128.138 (was changed by DHCP during weekend)

    Some of these picture are no longer valid.
    What are we using now is this 11.101.0.0/16 network.I install fog on latest ubuntu and what a i have done was this https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image/4?page=2 .
    After this process task what was necessary for host registration. Registration was completed fine then i assign to this host created image and i schedule task for capturing image from host.
    During this appeared this last issue. “/images/dev permission denied”
    Nothing else was done on server.


  • Senior Developer

    @TOXYKILLER Here’s what I find for one of your IP’s (if this is you then cool, but still a bit on the “whoa wait a minute” side)

    Source: whois.arin.net
    IP Address: 11.101.149.115
    Name: DODIIS
    Handle: NET-11-0-0-0-1
    Registration Date: 1/19/84
    Range: 11.0.0.0-11.255.255.255
    Org: DoD Network Information Center
    Org Handle: DNIC
    Address: 3990 E. Broad Street
    City: Columbus
    State/Province: OH
    Postal Code: 43218
    Country: United States
    

    What does this mean?

    Well DoD own’s the IP Space in its entirety of 11.X.X.X (Including 11.101.X.X).


  • Senior Developer

    Here’s what I’m seeing:

    There’s too many pictures and not enough context.

    For example:

    In https://forums.fogproject.org/topic/14031/default-ipxe-no-such-file-or-directory-2e008081/3?page=2# The picture is looking at fog server IP Address: 11.101.212.165 for storage, but web is at 10. (we cannot see the rest of the IP)

    Next picture shows web at 192.168.1.101, and storage at 11.101.212.165 (So far both pictures show the same storage IP but not the same web IP.)

    Next photo with error shows web at 11.101.149.115, but we cannot see storage (as there was no tasking applied).

    Next photo with error fails with 11.101.149.115 with web also at the same machine, but also no storage IP as it’s a usb boot type.

    I feel I need to inform (not trying to question your ability at all) that 11.x.x.x is public. There are only 3 private address spaces. Unless you have your router/network completely airgapped for the public address spaces, this can cause potential issues. Especially if your organization owns the 11.x.x.x IP space as you’re exposing your entire network with this.

    You should be using the Private address spaces for your imaging and storage. (192.168.x.x Class C CIDR/24, 172.16.x.x Class B CIDR/16, and/or 10.x.x.x Class A CIDR/8) As this will not open potential holes and security issues within your organization as well as prevent serious issues even if all worked properly.



  • @Tom-Elliott
    We are using 11.101.0.0/16 network for this VLAN. All VLANs and network was planed by networks team.


  • Moderator

    @TOXYKILLER said in Default.IPXE-no such file or directory (2e008081):

    I know it’s a little bit misleading name for server.

    In my case I didn’t notice or care about the name. The issue I have is IF fog is installed, the installer will create a /images directory as well as /opt/fog directory. Also the output of the exports command is blank. I would say that the fog installer was never run or never completed running on this system.



  • @Tom-Elliott
    I had i little issue i try some fix from forum and my system won’t boot properly so i decided new install like before and now i made a copy of this system to prevent this situation.


  • Senior Developer

    Also,

    Based on what I’m seeing, your FOG Server is IP: 11.101.149.115, which is a publicly accessible IP address, is this by design? I’m not quite sure that you’d be able to route NFS traffic unless your router/firewall admin’s have enabled this (and it’s not pretty or easy as NFS uses a lot of ports - and they’re random)


  • Senior Developer

    @TOXYKILLER

    I’m really at a loss.

    In one picture, the hostname appears to be fog-server, and in the latest one it appears to be fog-desktop.

    Did you install a new fog server instance on another machine?

    As others have pointed out, you don’t have an install (or at least a completed installation) on the machine labelled fog-desktop.



  • @george1421
    Yes this is my FOG sever. I know it’s a little bit misleading name for server. This name is only for testing purpose.


  • Moderator

    @TOXYKILLER You are running those commands on the FOG server? If so is that really the fog server because its not setup correctly.


  • Senior Developer

    @TOXYKILLER Comparing this to your other pictures I feel you’ve misunderstood George. Please run those two commands on your FOG server terminal!


Log in to reply
 

307
Online

7.4k
Users

14.5k
Topics

136.6k
Posts