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

Have some problems with dban

Scheduled Pinned Locked Moved
General
2
16
3.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.
  • S
    Sebastian Roth Moderator
    last edited by Oct 5, 2017, 11:29 AM

    @loktar Parameters should be as seen in the forums thread you initially posted:

    kernel http://${fog-ip}/dban/dban.bzi nuke="dwipe --autonuke --method quick" silent vga=785
    boot || goto MENU
    

    or

    kernel ${boot-url}/dban/dban.bzi nuke="dwipe --autonuke --method quick" silent vga=785
    boot || goto MENU
    

    Don’t mount in /var/www/html/dban but use /var/www/dban instead!

    Have you double checked the hashsum after downloading the ISO file? Maybe the download was canceled.

    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

    L 1 Reply Last reply Oct 5, 2017, 4:47 PM Reply Quote 0
    • L
      loktar @Sebastian Roth
      last edited by loktar Oct 5, 2017, 10:49 AM Oct 5, 2017, 4:47 PM

      @sebastian-roth This is what happens everythime I run the paramater.0_1507221873518_1.png
      Tried both settings and checked hash, hash is correct. I feel there is something strange happening, becouse after running dban… as seen above it just boot right back into:
      0_1507221934012_2.png
      I have no idea why. Its probably something obvious I missed somewhere, but I cant find out where or what it is.

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Oct 5, 2017, 4:54 PM

        @loktar So can you download that file when you open the URL http://192.168.20.2/fog/dban/dban.bzi ??
        And what that URL. The parameters I posted say: http://${fog-ip}/dban/dban.bzi. Please post a picture of your iPXE menu settings for this entry. I kind of feel that you have something missing there. You see those commands I posted are not in one line but it’s actually two lines of code!!

        kernel ....
        boot ...
        

        It wouldn’t work if you have:

        kernel .... boot
        

        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

        L 1 Reply Last reply Oct 5, 2017, 5:56 PM Reply Quote 0
        • L
          loktar @Sebastian Roth
          last edited by Oct 5, 2017, 5:56 PM

          @sebastian-roth
          Please see: https://pastebin.com/LFzQhtwB its the complete ipxe.
          I cannot download the file, it just redirect me to x.x.x.x/fog/management immediately.

          I got a new error now.
          0_1507225900082_3.png

          This is the pic for iPXE meny settings:
          0_1507226141024_4.png

          I really appriciate you helping me. Thanks alot!

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Sebastian Roth Oct 5, 2017, 1:22 PM Oct 5, 2017, 7:22 PM

            @loktar Well, you now have used ${fog+ip} instead of ${fog-ip}…

            No idea where you got that from.

            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

            L 1 Reply Last reply Oct 5, 2017, 7:55 PM Reply Quote 1
            • L
              loktar @Sebastian Roth
              last edited by Oct 5, 2017, 7:55 PM

              @sebastian-roth
              I tried a few things just before I sent you. I am sorry for that typo, fixed now. The error is stille the same though.

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Oct 5, 2017, 8:07 PM

                @loktar Well then we need the big hammer to figure out what’s wrong here. Please boot up the client to the menu and move the cursor to the dban entry but don’t hit ENTER yet.
                Go to your FOG server, open a terminal/SSH connection and run the following commands:

                sudo apt-get install tcpdump
                sudo tcpdump -w /tmp/dban.pcap host x.x.x.x
                

                Replace x.x.x.x with the client IP address! The tcpdump command will print one line and then just sit there waiting. Now hit ENTER on the client to try and boot into DBAN. When you get back to the menu just stop tcpdump (Ctrl+C), upload that file /tmp/dban.pcap to your dropbox/google drive and post a link here.

                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

                L 1 Reply Last reply Oct 6, 2017, 7:22 AM Reply Quote 0
                • L
                  loktar @Sebastian Roth
                  last edited by Oct 6, 2017, 7:22 AM

                  @sebastian-roth

                  https://drive.google.com/file/d/0ByTppd8dSXJPaEp4R0JBZmU0Qjg/view?usp=sharing

                  Here is the file.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by Oct 6, 2017, 10:06 AM

                    @loktar The PCAP tells us what’s wrong:

                    GET /dban/dban.bzi HTTP/1.1
                    Connection: keep-alive
                    User-Agent: iPXE/1.0.0+ (64865)
                    Host: 192.168.20.2
                    
                    HTTP/1.1 302 Found
                    Date: Fri, 06 Oct 2017 07:16:32 GMT
                    Server: Apache/2.4.27 (Ubuntu)
                    Location: http://192.168.20.2/fog/management/index.php
                    

                    Not sure if you can “read” HTTP header information. The first block is the client request from your PC. and the second block is the answer. Well, it does redirect the client to the web UI management interface. This is most probably happening because you have the ISO mounted in the “wrong” place. Please run the command mount on your FOG server and post output here.

                    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

                    L 1 Reply Last reply Oct 6, 2017, 3:55 PM Reply Quote 0
                    • L
                      loktar @Sebastian Roth
                      last edited by loktar Oct 6, 2017, 10:16 AM Oct 6, 2017, 3:55 PM

                      @sebastian-roth
                      0_1507305261011_5.png
                      Sorry for the late reply, here is the mount.

                      edit: It worked now, I reinstalled Ubuntu and fog and followed all the tips/steps you have given me and now it works!

                      I still cannot list x.x.x.x/dban For some reason. It still redirects.

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Oct 7, 2017, 6:31 AM

                        @loktar said in Have some problems with dban:

                        I still cannot list x.x.x.x/dban For some reason. It still redirects.

                        That’s ok. Just the way our redirecting works right now. It’s on my list to fix but … can’t do it all at once. But you should be able to access the file through URL directly. Just no directory listing possible!

                        Great you got it working now. Marking this solved.

                        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
                        • 1 / 1
                        1 / 1
                        • First post
                          15/16
                          Last post

                        261

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project