• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

[SOLVED] TFTP Problems

Scheduled Pinned Locked Moved
Windows Problems
2
3
2.1k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    Amy Emberson
    last edited by Sep 10, 2013, 6:51 PM

    Hello All,

    I am running FOG on Ubuntu 12.04 LTS and my clients will not boot from PXE. TFTP doesn’t ever try to load. I have read several posts about the service starting before the interface can come up causing errors. I tried all of these fixes but it still will not boot into FOG menu.

    I have mainly followed the threads below to fix
    [url]http://fogproject.org/forum/threads/tftp-issues-but-fixable.779/[/url]
    [url]http://fogproject.org/forum/threads/tftp-stops-on-reboot-after-install.488/#post-5353[/url]

    [B]Fixes applied:[/B]
    [LIST]
    [*]In /etc/rc.local
    [/LIST]
    [CODE]/bin/sleep 30 && /etc/init.d/tftpd-hpa restart[/CODE]

    [LIST]
    [*]Created my own script to restart the service when network is up
    [/LIST]
    /etc/network/if-up.d/tftpd-hpa
    [CODE]#!/bin/sh
    restart tftpd-hpa[/CODE]

    [LIST]
    [*]In /etc/default/tftpd-hpa
    [/LIST]
    [CODE]TFTP_USERNAME=“root”
    TFTP_DIRECTORY=“/tftpboot”
    TFTP_ADDRESS=“x.x.x.x:69”
    TFTP_OPTIONS=“-s”[/CODE]
    Xs = my server’s ip address

    [LIST]
    [*]On the client (Windows 7)
    [/LIST]
    Opened cmd and ran this
    [CODE]tftp x.x.x.x get pxelinux.0[/CODE]
    and it came back as transfer successful

    [LIST]
    []Options 066 and 067 on our networks DCHP server are set correctly and 060 is unticked.
    [/LIST]
    [LIST]
    [
    ]All firewalls are turned off by default in ubuntu 12.04 but double checked this, and yes they are off
    [*]The client is on the same network as the fog server
    [/LIST]
    Is there something I’m missing here???

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Sep 10, 2013, 10:13 PM

      So, it sounds like what ever is providing the dhcp address isn’t forwarding the boot request to your fog server. So everything is setup and, more or less, working.

      On my router, this is done within the DNSMasq Options:
      [CODE]dhcp-boot=pxelinux.0,HOSTNAME,IPADDRESS[/CODE]

      Of course your results may vary, but you probably need something similar to this within your DHCP options.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • A
        Amy Emberson
        last edited by Sep 11, 2013, 4:58 PM

        Figured it out. Our network administrator placed prelinux.0 in 067 instead of pxelinux.0. Simple typo! So glad that’s all it was. Everything is working perfectly now. Upload my first image!! 🙂

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          3/3
          Last post

        167

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project