@george1421 It is a physical machine with 1 onboard NIC and (now) one TP-Link networkcard.
Works fine now.
Thanx for the help!
@george1421 It is a physical machine with 1 onboard NIC and (now) one TP-Link networkcard.
Works fine now.
Thanx for the help!
Ok. Problems that came up with the dhcp-issue were related to the network-card in the fog server.
Strange thing, since the network card worked for some minutes and then stopped even pinging, which worked before.
Changed the network card, built an image from one machine an cloned it to another machine. Everything worked fine.
No comes the fine tuning.
Thank you for your help everybody!
I think, the network-card in the fog-server is broken. No more connects into the 192.168.100.0/24 network anymore (ping). Firewall configuration is unchanged.
What was very strange before: I tried to capture a host, that I successfully registered before.
Started well and then from the sudden the transmission of the image stopped after 850 MB. To make sure that it is not a client issue I changed the client to another machine I then I did not get any ip-Adresses anymore from pxe boot and later also in Windows.
Replaced the cicso switch by an tp-link switch (Easy Smart Switch TL-SG108E).
Same thing. No ip-Addresses anymore …
@Quazz
Cannot do a screenshot, but will type in, what it says
Intel UNDI, PXE-2.1 (build 082)
Copyright (C) 1997-2000 Inten Corporation
For Realtek RTL8111B/8111C Gigbit Ethernet Controller v2.08 (070827)
CLIENT MAC ADDR: 00 25 11 31 B6 07 GUID: 00251131-B607-2009-0621-034515000000
PXE-E51: No DHCP or proxyDHCP offers were received.
PXE-M0F: Exiting PXE ROM.
After booting windows now, it does not offer an IP-Address either anymore, although it did 20 Minutes ago:
# /etc/init.d/isc-dhcp-server status
● isc-dhcp-server.service - LSB: DHCP server
Loaded: loaded (/etc/init.d/isc-dhcp-server; generated; vendor preset: enabled)
Active: active (running) since Wed 2017-07-12 10:59:47 CEST; 32min ago
Docs: man:systemd-sysv-generator(8)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/isc-dhcp-server.service
└─7977 /usr/sbin/dhcpd -4 -q -cf /etc/dhcp/dhcpd.conf enp3s1
Jul 12 11:18:00 debian-linux dhcpd[7977]: reuse_lease: lease age 5006 (secs) under 25% threshold, reply with unaltered, existing lease for 192.168.100.10
Jul 12 11:18:00 debian-linux dhcpd[7977]: DHCPDISCOVER from 00:25:11:31:b7:42 (409TN06) via enp3s1
Jul 12 11:18:00 debian-linux dhcpd[7977]: DHCPOFFER on 192.168.100.10 to 00:25:11:31:b7:42 (409TN06) via enp3s1
Jul 12 11:18:00 debian-linux dhcpd[7977]: reuse_lease: lease age 5006 (secs) under 25% threshold, reply with unaltered, existing lease for 192.168.100.10
Jul 12 11:18:00 debian-linux dhcpd[7977]: DHCPDISCOVER from 00:25:11:31:b7:42 (409TN06) via enp3s1
Jul 12 11:18:00 debian-linux dhcpd[7977]: DHCPOFFER on 192.168.100.10 to 00:25:11:31:b7:42 (409TN06) via enp3s1
Jul 12 11:18:00 debian-linux dhcpd[7977]: DHCPDISCOVER from 00:25:11:31:b7:42 via enp3s1
Jul 12 11:18:00 debian-linux dhcpd[7977]: DHCPDISCOVER from 00:25:11:31:b6:07 via enp3s1
Jul 12 11:18:01 debian-linux dhcpd[7977]: DHCPOFFER on 192.168.100.12 to 00:25:11:31:b7:42 via enp3s1
Jul 12 11:18:01 debian-linux dhcpd[7977]: DHCPOFFER on 192.168.100.13 to 00:25:11:31:b6:07 via enp3s1
@Quazz You are right. I was looking in /etc/fog (for what reason ever :))
There is no router involved.
I have the fog-server connected to a switch (cisco SF100D-05) and my test-client connected to the same switch.
Strange thing is: in the beginning I got ip-adresses on pxe boot via dhcp.
Now not anymore. But: starting Windows and setting network to use dhcp immediatly gets an ip address.
dhcp-Server is the fog-server
@Tom-Elliott said in Seems that TFTP was not prepared by installer:
@Tywyn it only uses ifconfig if needed. We try ip addr too
Thought I saw an error message there …
Additional info about installing on debian 9.0.0: It seems, that /sbin/ifconfig is not installed by default anymore, but the installer looks for it.
So you have to install net-tools.
Hm … seems I have no /opt/fog/.fogsettings:
# ls -la /opt/fog
insgesamt 12
drwxr-xr-x 3 root root 4096 Jul 11 12:31 .
drwxr-xr-x 3 root root 4096 Jul 10 13:48 ..
drwxr-xr-x 3 root root 4096 Jul 10 13:48 snapins
-rw-r--r-- 1 root root 0 Jul 11 12:31 undionly.kpxe
@Quazz
Hm hm … thought over to reinstall about an hour ago but aborted the reinstall. It seems, that this try overwrote the log-files from the last install. So I have none from my orignal installation.
Maybe I should do another, clean reinstallation.
Is it just the sudo ./installscript.sh? Or do I have to remove some files/databases?
Do I have to set router address for DHCP-Server to 192.168.100.1 ?
Are those settings then correct:
* Here are the settings FOG will use:
* Base Linux: Debian
* Detected Linux Distribution: Debian GNU/Linux
* Server IP Address: 192.168.100.1
* Server Subnet Mask: 255.255.255.0
* Interface: enp3s1
* Installation Type: Normal Server
* Internationalization: 0
* Image Storage Location: /images
* Using FOG DHCP: Yes
* DHCP router Address: 192.168.100.1
Interface enp3s1 is the one, which listens to 192.168.100.1
@Tom-Elliott
You mean after updating/installing the database scheme? Yes, I did.
But, it was the second attempt of installation.
First time I did something wrong with the 2 NICs, because I did not understand the questions in the installer about the router-adress for DHCP-Server (and still don’t understand it completely :)) so the first installation endet up with an error-message (something about the DHCP-Server).
The second install went well, and as mentioned I did not see any error-messages.
@Tom-Elliott
Was not created, no. Don’t even have a /tftpboot-directory
@george1421 said in Seems that TFTP was not prepared by installer:
This kind of tells me that your installer didn’t finish correctly, the default.ipxe file is built by the installer.
Strange, did not see any errormessages…
@george1421
Sorry, you are right. Using debian 9.0.0 amd 64
@Quazz
/srv/tftp was empty.
Tried to copy the files from ~/Downloads/fog_1.4.4/packages/tftp there, but then I ran into the missing default.ipxe (see inital posting)
# uname -a
Linux debian-linux 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64 GNU/Linux
@Tom-Elliott:
Found it here: Some forum (Posting at Jun 19, 2014 at 9:21 PM)
@george1421 Thanx for helping!
I downloaded the tarball from fogproject.org (Download-Button), untared it and then did a
$ cd Downloads/fog_1.4.4/bin
$ sudo ./installfog.sh
# netstat -an|grep 69
udp 0 0 0.0.0.0:69 0.0.0.0:*
# ls -la /tftpboot
ls: Zugriff auf '/tftpboot' nicht möglich: Datei oder Verzeichnis nicht gefunden
(Does not exist)