Just Trying To Get Started



  • Hello,

    I am totally new to FOG, and only slightly more familiar with Ubuntu. I am a network admin in a public school district trying to establish a FOG server (unhappy with Windows-based options). I have installed Ubuntu 13.10 and FOG 1.0.1. on a desktop machine.

    I have been following the directions at:

    http://www.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server
    I have a DHCP server that I can modify, but I didn’t want to go that route.
    I have attached to this post an output file from terminal in Ubuntu of the FOG installation and my steps thereafter.
    When I attempted to establish a connection to FOG by rebooting a computer in my network, the ProxyDHCP works because it prompts me to press F8 and gives me options for Boot from network or Boot from local hard disk. When I choose the network boot, I get a PXE-M0F error.
    I have disabled the firewall on my FOG machine with: sudo ufw disable, because it was suggested somewhere in the forum.
    I am so lost that I don’t even know where to begin.
    Thanks in advance for help.

    Untitled Document.txt



  • YYYYYYAAAAAAAAAAAAAYYYYYYYYYY!!!

    IT WORKED! IT WORKED!

    :D:D:D

    I chainloaded PXE to iPXE using pxelinux.0, and now a client machine that is PXE booted resolves to the FOG menu!!

    I am very happy!!

    Now, what next???

    Back to the WIKI/User Guide!





  • Well, still no joy:(

    I get to a screen during the process that says:

    iPXE 1.0.0+ (1639) – Open Source Network Boot Firmware – http://ipxe.org
    Features: NFS FTP HTTP HTTPS iSCSI DNS TFTP VLAN AoE bzImage ELF MBOOT PXE PXEXT
    Menu
    Configuring (net0 a0:1d:48:a9:e6:62)… ok
    Could not start download: Operation not supported (http://ipxe.org/3c092003)

    The reference page at ipxe.org doesn’t make much sense to me, except that it suggests I am trying to use a protocol that is not supported by the ipxe build.

    What have I done wrong?!



  • This post is deleted!


  • Thanks, X23.

    Your post must have been formulated as I was looking for the very answers you provided.



  • Scratch that.

    I found these:

    http://www.fogproject.org/wiki/index.php/Integrating_FOG_into_an_Existing_Network

    http://www.fogproject.org/wiki/index.php/Modifying_existing_DHCP_server_to_work_with_FOG#Windows

    I have changed the DHCP settings (066 & 067) for a couple of scopes in my network (just to test), according to the above directions.

    Now, to test!



  • Hi,

    i think you are good with:
    http://(serveripaddress)/fog/management. Or click the link in the Terminal window.
    http://fogproject.org/wiki/index.php/Ubuntu_12.04

    Can I use my existing linux DHCP Server?
    for more see: http://fogproject.org/wiki/index.php/Modifying_existing_DHCP_server_to_work_with_FOG

    The WIKI is your friend! ;)

    Regards X23



  • Well, since no one has had anything to say on this thread for many days, let me see if I can revive the discussion…

    I have decided to scrap my current install and reinstall 13.10 and 1.1.2, with the intention of modifying my DHCP server settings to point PXE booting devices to the FOG server. The ProxyDHCP approach was my first choice because it wasn’t going to involve screwing with my DHCP server settings, thereby maintaining the integrity of my old system (Windows Deployment Services).

    But, at this point, I am willing to “jump all in” to get a FOG server that works.

    So, as I am getting ready to install FOG, what choices should I make during the install process, considering what I intend to do? Should I just choose the defaults, or does some special configuration need to happen?



  • Okay, here’s where I am:

    Both the client and the server are connected to a small 8 port hub (which is also connected to the network, so my server could have its IP address, 10.10.0.178).

    I edited the ltsp.conf file from here http://fogproject.org/wiki/index.ph…with_no_DHCP_server#DNSMASQ_settings_for_iPXE

    the only active lines in the ltsp.conf are

    http://ipxe.org/3d126001)"


  • Developer

    @Phil Brackett, post: 32434, member: 24966 said:

    Since the FOG machine is not hooked up to my network anymore (because you had me move it to an isolated switch) I don’t know its IP address so I couldn’t modify to ltsp.conf to be any more specific.

    You should set a static ip address for the machine. It shouldn’t matter what switch you move it to, you should always have the same ip address.


  • Senior Developer

    I’m going to step in a little bit. You’re over thinking I think a little bit.

    If you take the client system and place the network on the same switch as your FOG server does all work?
    If it doesn’t work, then the problem is either DHCP isn’t handing out the right pointers to your FOG Server (Option 66/Option 67) or your switch is blocking the passing of this data to the FOG Server, or the service isn’t running on the FOG Server.

    If the first switch works, then step to the next switch and try again, if that doesn’t work then something in that second switch is blocking access out. If all works fine, step back to the next switch in the chain. And so forth.



  • Since the FOG machine is not hooked up to my network anymore (because you had me move it to an isolated switch) I don’t know its IP address so I couldn’t modify to ltsp.conf to be any more specific.



  • On HP Elitebook (client):

    no DHCP or ProxyDHCP offers were received.

    I am using the exact ltsp.conf that you showed me (no changes).

    FOG machine and Elitebook both plugged into Cisco 2960 ports 1 & 2


  • Developer

    http://fogproject.org/wiki/index.ph…with_no_DHCP_server#DNSMASQ_settings_for_iPXE

    I have also restarted the dnsmasq service.

    Where is the tftpboot folder, so I can symlink according to your directions?[/quote]

    It is on the root of the drive.

    
    cd /tftpboot 
    


  • Jaymes, I have installed the FOG machine and a client machine (the HP Elitebook) on a spare Cisco 2960. I have also edited my ltsp.conf to match the one you showed me at http://fogproject.org/wiki/index.ph…with_no_DHCP_server#DNSMASQ_settings_for_iPXE

    I have also restarted the dnsmasq service.

    Where is the tftpboot folder, so I can symlink according to your directions?


  • Testers

    To check if you have portfast enabled on your 2960 series
    telnet to your switch and issue these commands:
    show running-config
    scroll down to your interfaces.

    interface GigabitEthernet1/0/1
    switchport access vlan 130
    switchport mode access
    switchport voice vlan 120
    switchport port-security maximum 2
    switchport port-security
    switchport port-security aging time 2
    switchport port-security violation restrict
    switchport port-security aging type inactivity
    srr-queue bandwidth share 1 30 35 5
    priority-queue out
    mls qos trust device cisco-phone
    mls qos trust cos
    macro description cisco-phone
    spanning-tree portfast
    spanning-tree bpduguard enable
    service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
    !
    interface GigabitEthernet1/0/2
    switchport access vlan 130
    switchport mode access
    switchport voice vlan 120
    switchport port-security maximum 2
    switchport port-security
    switchport port-security aging time 2
    switchport port-security violation restrict
    switchport port-security aging type inactivity
    srr-queue bandwidth share 1 30 35 5
    priority-queue out
    mls qos trust device cisco-phone
    mls qos trust cos
    macro description cisco-phone
    spanning-tree portfast
    spanning-tree bpduguard enable
    service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
    
    

    look for %(#ff0000]spanning-tree portfast

    if you see it, its enabled, unless its expressly disabled then you will see
    spanning-tree portfast disabled

    to enable port-fast)[If you wish to save your settings. ]

    GR-NB-2960S-01#write memory
    Building configuration...
    [OK]
    GR-NB-2960S-01#
    
    


  • I will get started right away. More to come in a few.


  • Developer



  • We are a Windows network with a Lightspeed filter, and my FOG machine is already a part of a filter bypass group, so its inability to access the internet is a little dumbfounding. In fact, when I check my web filter logs to see where the FOG machine has tried to go, it shows no attempts to access the internet at all (since yesterday). Weird?!?!

    Anyway, thanks for the CNA information, I have it right now discovering my switches on the IP subnet where I have them all assigned!!

    When you suggest moving the FOG server and a host machine to an isolated switch, do you mean just connecting the two machines to a single switch that is not connected to anything else?


Log in to reply
 

324
Online

38724
Users

10553
Topics

99907
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.