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

    fog with FRITZ!Box 7590 router possible?

    Scheduled Pinned Locked Moved Solved
    Hardware Compatibility
    4
    14
    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.
    • hariskarH
      hariskar
      last edited by hariskar

      I have 2 PCs (1 windows 10, 1 windows xp) connected on a LAN to a FRITZ!Box 7590 router. I Can I use fog to take images from my PCs with this router? Can I put pxe boot options in settings of this router?
      Thank you!

      1 Reply Last reply Reply Quote 0
      • x23piracyX
        x23piracy
        last edited by x23piracy

        Hi,

        this is not possible in the default firmware, you may can try if there is support for a freetz image that you can compile on your own. Afaik there is no support for the 75XX models for freetz: https://freetz.github.io/wiki/index.en.html

        DNSMasq is maybe an option but i am not used to it, you can try to ask @george1421

        Regards X23

        ║▌║█║▌│║▌║▌█

        1 Reply Last reply Reply Quote 2
        • george1421G
          george1421 Moderator
          last edited by

          Most soho routers do not support pxe booting, or if they do they behave very badly (hint: Linksys). In this situation you will probably want to install dnsmasq on your FOG server to supply pxe boot information correctly where your soho router can not. I have a tutorial posted with steps needed to install dnsmasq on your fog server. In this configuration dnsmasq will only provide pxe boot information and nothing else. Your soho router will still be needed to supply dhcp IP addresses and other boot time information.

          https://forums.fogproject.org/topic/12796/installing-dnsmasq-on-your-fog-server

          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!

          1 Reply Last reply Reply Quote 2
          • hariskarH
            hariskar
            last edited by hariskar

            Thank you, I installed dnsmasq on Debian 8. Version was 2.72 by default and then I installed successfully as the terminal said version 2.80-1. But with
            sudo dnsmasq -v it still says verson 2.72 is installed, I guess because version 2.80-1 is from testing repository.

            Unpacking dnsmasq (2.80-1) ...
            Setting up dnsmasq (2.80-1) ...
            [ ok ] Starting DNS forwarder and DHCP server: dnsmasq.
            hk@debian-server:~$ sudo dnsmasq -v
            Dnsmasq version 2.72
            

            This massage about 2.72 version shows even if I uninstall dnsmasq.

            I still have the router as DHCP server.
            When I create and execute an instant Capture task, Windows XP pc boots but shows message:
            TFTP.
            PXE-T01: File not found
            PXE-E3B: TFTP Error - File not found
            PXE-M0F: Exiting PXE ROM.
            and then boots to windows.

            I use the same FOG installation as I had with dd-wrt router and dnsmasq in router.

            Any help?
            Thank you!

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth

              @hariskar You are aware of the fact that you need to manually configure dnsmasq? https://wiki.fogproject.org/wiki/index.php?title=ProxyDHCP_with_dnsmasq

              Not sure about the version issue. Please run the following commands to find out more about this:

              dpkg -l | grep dnsmasq
              dpkg -L dnsmasq
              dpkg -L dnsmasq-base | grep bin
              

              Beste if you copy&paste the commands so you don’t mix up with the different parameters. Post results here in the forums.

              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 1
              • hariskarH
                hariskar
                last edited by

                ~$ dpkg -l | grep dnsmasq
                ii  dnsmasq                               2.80-1                                  all          Small caching DNS proxy and DHCP/TFTP server
                ii  dnsmasq-base                          2.72-3+deb8u4                           i386         Small caching DNS proxy and DHCP/TFTP server
                
                ~$ dpkg -L dnsmasq
                /.
                /etc
                /etc/default
                /etc/default/dnsmasq
                /etc/dnsmasq.conf
                /etc/dnsmasq.d
                /etc/dnsmasq.d/README
                /etc/init.d
                /etc/init.d/dnsmasq
                /etc/insserv.conf.d
                /etc/insserv.conf.d/dnsmasq
                /etc/resolvconf
                /etc/resolvconf/update.d
                /etc/resolvconf/update.d/dnsmasq
                /lib
                /lib/systemd
                /lib/systemd/system
                /lib/systemd/system/dnsmasq.service
                /usr
                /usr/lib
                /usr/lib/resolvconf
                /usr/lib/resolvconf/dpkg-event.d
                /usr/lib/resolvconf/dpkg-event.d/dnsmasq
                /usr/lib/tmpfiles.d
                /usr/lib/tmpfiles.d/dnsmasq.conf
                /usr/share
                /usr/share/dnsmasq
                /usr/share/dnsmasq/installed-marker
                /usr/share/doc
                /usr/share/doc/dnsmasq
                
                ~$ dpkg -L dnsmasq-base | grep bin
                /usr/sbin
                /usr/sbin/dnsmasq
                

                I just followed this guide: https://forums.fogproject.org/topic/12796/installing-dnsmasq-on-your-fog-server
                . The only thing I put is the IP of the server where needed.

                Thank you!

                george1421G 1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @hariskar
                  last edited by

                  @hariskar so if you key in sudo find / -name dnsmasq what is the response?

                  What about this command which dnsmasq

                  My bet is the older version is being found first in the search path that’s why its still 2.72 (which is really old and will not work for uefi detection). You do need 2.76 or newer.

                  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!

                  1 Reply Last reply Reply Quote 1
                  • hariskarH
                    hariskar
                    last edited by

                    ~$ sudo find / -name dnsmasq
                    [sudo] password for hk: 
                    /etc/insserv.conf.d/dnsmasq
                    /etc/default/dnsmasq
                    /etc/resolvconf/update.d/dnsmasq
                    /etc/init.d/dnsmasq
                    /run/dnsmasq
                    /usr/lib/resolvconf/dpkg-event.d/dnsmasq
                    /usr/sbin/dnsmasq
                    /usr/share/doc/dnsmasq
                    /usr/share/dnsmasq
                    
                    which dnsmasq
                    

                    finds nothing.

                    ~$ sudo which dnsmasq
                    /usr/sbin/dnsmasq
                    

                    How can I get rid of 2.72? Why windows xp pc boots normal but then goes to windows instead of capturing image?

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      @hariskar Where did you get the newer dnsmasq package from? Manually downloaded? You need to download dnsmasq-base as well. That is where the actual binary is included on Debian systems.

                      See the difference here:

                      dpkg -l | grep dnsmasq
                      ii  dnsmasq                               2.80-1
                      ii  dnsmasq-base                          2.72-3+deb8u4
                      

                      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
                      • hariskarH
                        hariskar
                        last edited by hariskar

                        I edited /etc/apt/sources.list and added
                        deb http://ftp.de.debian.org/debian testing main
                        then

                        apt-get update
                        and then
                        apt-get install dnsmasq/testing

                        ~$ sudo apt-get install dnsmasq-base/testing
                        [sudo] password for hk: 
                        Reading package lists... Done
                        Building dependency tree       
                        Reading state information... Done
                        Selected version '2.80-1' (Debian:testing [i386]) for 'dnsmasq-base'
                        Some packages could not be installed. This may mean that you have
                        requested an impossible situation or if you are using the unstable
                        distribution that some required packages have not yet been created
                        or been moved out of Incoming.
                        The following information may help to resolve the situation:
                        
                        The following packages have unmet dependencies:
                         libc6-dev : Breaks: binutils (< 2.26) but 2.25-5+deb8u1 is to be installed
                         xserver-xorg-core : Recommends: libpam-systemd but it is not going to be installed
                                             Breaks: libgl1-mesa-dri (< 18.0.5) but 8.0.5-4+deb7u2 is to be installed
                        E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
                        
                        1 Reply Last reply Reply Quote 0
                        • hariskarH
                          hariskar
                          last edited by

                          OK I changed the repositories to strech, updated and now version of dnsmasq is 2.76.

                          1 Reply Last reply Reply Quote 1
                          • hariskarH
                            hariskar
                            last edited by hariskar

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • hariskarH
                              hariskar
                              last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • hariskarH
                                hariskar
                                last edited by

                                And everything works!! Thank you for help!

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

                                196

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project