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

    Removed fog user from WebUI and can't get back in with new user I created

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    8
    2.3k
    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
      Alan Towery
      last edited by

      So…I did something stupid. I removed the “fog” user from the WebUI and then created my own account and made a password. Left and did a few things and when I went and tried logged to back into the WebUI it would not let me in. I went into the MYSql and changed the password multiple times but still no luck. Any ideas on how I can get back in?

      1 Reply Last reply Reply Quote 0
      • A
        Alan Towery
        last edited by

        Looks like fog does not like spaces in user names so once my programming friend got here he fixed the name in the PHP table and I was able to log in. Now I’m just having issues with connecting to FOG from PC. It worked before where we have a menu where you pick WDS. FOG or Abort but if I pick FOG I get a

        TFTP boot: 10.10.22.1 pxelinux.0
        pxechain: PXE_RESTART_TFTFP (000001)
        boot:

        And it just sits there. Does that no matter if I’m going to FOG menu or deploying an image.

        This is not my week so far for random issues.

        1 Reply Last reply Reply Quote 0
        • C
          chad-bisd Moderator
          last edited by

          I’m not sure how to help you. What version of FOG on which OS? What customizations have you to do your PXE boot setup?


          If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

          1 Reply Last reply Reply Quote 0
          • A
            Alan Towery
            last edited by

            0.32 on Ubuntu 12.04 LTS.

            [url]http://www.vcritical.com/2011/06/peaceful-coexistence-wds-and-linux-pxe-servers/[/url]

            I followed the instructions there.

            Had some issues with network not connecting on Ubuntu yesterday with the network manager not being up. I can connect to the FOG using the WebUI.

            1 Reply Last reply Reply Quote 0
            • C
              chad-bisd Moderator
              last edited by

              12.04 has a problem with tftpd-hpa starting before the interface is up. There are threads to help delay tftpd-hpa on boot up, and it’s an Ubuntu issue, not a FOG one. Make sure TFTPD is running and working, or just restart it manually and verify it’s working by downloading the pxelinux.0 file from a tftp client.

              Also, verify the syntax in your menu file. From the article, it appears the menu file needs a section like the code below. Just verify you have everything exact except for the different IP address.

              [CODE]LABEL linuxpxe
              MENU LABEL Linux PXE server…
              KERNEL pxechain.com
              APPEND 192.168.4.33::pxelinux.0
              #IP address above is Linux PXE host[/CODE]


              If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

              1 Reply Last reply Reply Quote 0
              • A
                Alan Towery
                last edited by

                Oh wow. Yea, I would of never figured out that the tftpd-hpa service wasn’t even started.

                Thank you very much for your help. It looks like it’s back up and running. I guess I’ll have find a start up script to make sure that starts every time on boot.

                1 Reply Last reply Reply Quote 0
                • C
                  chad-bisd Moderator
                  last edited by

                  There are a few threads on these forums about adding in a sleep period to slow tftpd-hpa startup, giving the interface time to come up. I still don’t know if Ubuntu has figured out a fix as the tftpd-hpa startup procedures seem to be in flux between init.d and upstart status.


                  If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                  1 Reply Last reply Reply Quote 0
                  • Jaymes DriverJ
                    Jaymes Driver Developer
                    last edited by

                    edit your /etc/rc.local

                    to include
                    [code]
                    /bin/sleep 30 && /etc/init.d/tftpd-hpa restart
                    [/code]

                    this should tell your linux to restart the service in 30 seconds after it starts this should take care of having to manually enter the command after a reboot.

                    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

                    308

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project