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

Have to manually start dhcp and tftp service after each reboot.

Scheduled Pinned Locked Moved
FOG Problems
2
4
6.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.
  • B
    bjennings79
    last edited by Apr 17, 2013, 8:34 PM

    New install of FOG 0.32 on Ubuntu 12.10. This is a standalone server, not part of any other network.
    Each time the server is rebooted, the DHCP and TFTP services fail to work correctly. If I try to boot a client, I get a PSC-E51: No dhcp or proxydhcp offers received. I enter sudo start isc-dhcp-server on the FOG server, enter the sudo password, and reboot the client. This time, it gets an IP, but receives a PXE-E32 TFTP open timeout. On the server, I enter sudo start tftpd-hpa and receive a “job is already running” response. I then enter sudo restart tftpd-hpa and the service starts. I reboot the client and FOG functions normally until the next reboot. My rc.local file contains the lines

    /bin/sleep30 && /etc/init.d/tftpd-hpa restart
    exit 0

    I haven’t made any other modifications that I can think of, other than experimenting with various kernels. Additionaly, my knowledge of FOG and Ubuntu can be described as beginner.

    1 Reply Last reply Reply Quote 0
    • J
      Jaymes Driver Developer
      last edited by Apr 25, 2013, 6:59 PM

      I don’t know why this is so hard to accomplish I have found a way to restart the service via a script after the server is up and running again but I have not been successful in delaying the start of the tftpd-hpa service 😞

      put a script in /etc/network/if-up.d/tftpd-hpa
      containing:

      #!/bin/sh
      restart tftpd-hpa

      And, chmod 755 the script.

      Scratch that I found this
      [code]
      I am experiencing this problem in Ubuntu 12.04 Desktop (package: tftpd-5.2-1ubuntu1). The tftpd daemon does not start when the computer starts up, even though the tftpd-hpa job starts. As far as I can tell, the problem is that the tftpd service is starting before the network is properly configured. The problem seemed to go away when I changed the line
      start on runlevel [2345]
      in /etc/init/tftpd-hpa.conf to
      start on (local-filesystems and net-device-up IFACE!=lo)[/code]

      I’m not on 12.04 anymore I dropped back to 10.04, do you want to give this a shot?

      WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

      1 Reply Last reply Reply Quote 0
      • B
        bjennings79
        last edited by May 6, 2013, 4:06 PM

        Yes, will give it a try and report back.

        1 Reply Last reply Reply Quote 0
        • J
          Jaymes Driver Developer
          last edited by Jun 10, 2013, 3:27 PM

          Did that second recommendation ever work?
          [FONT=Consolas]I am experiencing this problem in Ubuntu 12.04 Desktop (package: tftpd-5.2-1ubuntu1). The tftpd daemon does not start when the computer starts up, even though the tftpd-hpa job starts. As far as I can tell, the problem is that the tftpd service is starting before the network is properly configured. The problem seemed to go away when I changed the line
          start on runlevel [2345]
          in /etc/init/tftpd-hpa.conf to
          start on (local-filesystems and net-device-up IFACE!=lo)[/FONT]
          [FONT=Consolas]?[/FONT]

          WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

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

          245

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project