fog with FRITZ!Box 7590 router possible?
-
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
-
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! -
@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.
-
~$ 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!
-
@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.
-
~$ 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?
-
@hariskar Where did you get the newer
dnsmasq
package from? Manually downloaded? You need to downloaddnsmasq-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
-
I edited /etc/apt/sources.list and added
deb http://ftp.de.debian.org/debian testing main
thenapt-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.
-
OK I changed the repositories to strech, updated and now version of dnsmasq is 2.76.
-
This post is deleted! -
This post is deleted! -
And everything works!! Thank you for help!