Mal noch die Zusammenfassung:
Der Eintrag in der devices.csv:
virtual;virt1;ubuntu1804;CE:00:23:1B:C0:1F;10.10.10.10;;;;classroom-studentcomputer;;2;;;;;
Das Ergebnis vom Import:
Starting sophomorix-device syntax check:
sophomorix-device finished OK!
Processing dhcp clients:
* PXE-Host: virt1
Processing pxe groups:
* ubuntu1804
Es geht um den Client virt 1 und die Grupper ubuntu 1804, beide werden korrekt angelegt.
Die Start Conf hab ich über die Schulkonsole erzeugt:
[LINBO]
RootTimeout = 600
Group = ubuntu1804
AutoInitCache = no
SystemType = bios64
ConsoleFontColorStdout = lightgreen
Cache = /dev/sda2
Server = 10.0.0.1
ConsoleFontColorStderr = orange
DownloadType = torrent
AutoFormat = no
BackgroundFontColor = white
AutoPartition = no
KernelOptions = quiet splash
[Partition]
Bootable = yes
Dev = /dev/sda1
Label = ubuntu
FSType = ext4
Id = 83
Size = 30G
[Partition]
Bootable = yes
Dev = /dev/sda2
Label = cache
FSType = ext4
Id = 83
Size = 30G
[Partition]
Bootable = no
Dev = /dev/sda3
Label = swap
FSType = swap
Id = 82
Size = 8G
[Partition]
Bootable = no
Dev = /dev/sda4
Label = daten
FSType = ext4
Id = 83
Size =
[OS]
AutostartTimeout = 5
Kernel = vmlinuz
StartEnabled = yes
Name = Ubuntu
IconName = ubuntu.png
Image =
Boot = /dev/sda1
DefaultAction = sync
Initrd = initrd.img
Version =
NewEnabled = yes
Autostart = no
BaseImage = ubuntu.cloop
Hidden = yes
SyncEnabled = yes
Root = /dev/sda1
Append = ro splash
Description = Ubuntu 18.04
Was mich völlig verwirt ist, dass die entsprechenden Dateien offenbar angelegt werden. Der Link auf die passende start.conf ist vorhanden.
Der Eintrag in /etc/dhcp/devices:
host 10.10.10.10 {
hardware ethernet CE:00:23:1B:C0:1F;
fixed-address 10.10.10.10;
option host-name „virt1“;
option extensions-path „ubuntu1804“;
filename „boot/grub/i386-pc/core.0“;
}
Sieht für mich auch gut aus und der Client bekommt nichtmal die korrekte IP.
Nach dem Import hat sich die Situation zusätzlich verschlechtert. Der DHCPD lässt sich nicht mehr starten.
Apr 21 11:39:16 server dhcpd[691]: Internet Systems Consortium DHCP Server 4.3.5
Apr 21 11:39:16 server dhcpd[691]: Copyright 2004-2016 Internet Systems Consortium.
Apr 21 11:39:16 server dhcpd[691]: All rights reserved.
Apr 21 11:39:16 server dhcpd[691]: For info, please visit https://www.isc.org/software/dhcp/
Apr 21 11:39:16 server dhcpd[691]: Config file: /etc/dhcp/dhcpd6.conf
Apr 21 11:39:16 server sh[691]: Config file: /etc/dhcp/dhcpd6.conf
Apr 21 11:39:16 server dhcpd[691]: Database file: /var/lib/dhcp/dhcpd6.leases
Apr 21 11:39:16 server sh[691]: Database file: /var/lib/dhcp/dhcpd6.leases
Apr 21 11:39:16 server dhcpd[691]: PID file: /run/dhcp-server/dhcpd6.pid
Apr 21 11:39:16 server sh[691]: PID file: /run/dhcp-server/dhcpd6.pid
Apr 21 11:39:16 server dhcpd[700]: Config file: /etc/dhcp/dhcpd.conf
Apr 21 11:39:16 server sh[700]: Config file: /etc/dhcp/dhcpd.conf
Apr 21 11:39:16 server sh[700]: Database file: /var/lib/dhcp/dhcpd.leases
Apr 21 11:39:16 server sh[700]: PID file: /run/dhcp-server/dhcpd.pid
Apr 21 11:39:16 server dhcpd[700]: Database file: /var/lib/dhcp/dhcpd.leases
Apr 21 11:39:16 server dhcpd[700]: PID file: /run/dhcp-server/dhcpd.pid
Apr 21 11:39:16 server dhcpd[691]: Wrote 0 NA, 0 TA, 0 PD leases to lease file.
Apr 21 11:39:16 server dhcpd[700]: Wrote 0 leases to leases file.
Apr 21 11:39:16 server dhcpd[691]:
Apr 21 11:39:16 server sh[700]: in your dhcpd.conf file for the network segment
Apr 21 11:39:16 server sh[691]: in your dhcpd.conf file for the network segment
Apr 21 11:39:16 server dhcpd[700]:
Apr 21 11:39:16 server dhcpd[691]: No subnet6 declaration for eth0 (fe80::9c86:37ff:fe32:2d7).
Apr 21 11:39:16 server dhcpd[700]: No subnet declaration for eth0 (10.0.0.1).
Apr 21 11:39:16 server dhcpd[691]: ** Ignoring requests on eth0. If this is not what
Apr 21 11:39:16 server dhcpd[700]: ** Ignoring requests on eth0. If this is not what
Apr 21 11:39:16 server dhcpd[691]: you want, please write a subnet6 declaration
Apr 21 11:39:16 server dhcpd[700]: you want, please write a subnet declaration
Apr 21 11:39:16 server dhcpd[691]: in your dhcpd.conf file for the network segment
Apr 21 11:39:16 server dhcpd[700]: in your dhcpd.conf file for the network segment
Apr 21 11:39:16 server dhcpd[691]: to which interface eth0 is attached. **
Apr 21 11:39:16 server dhcpd[691]:
Apr 21 11:39:16 server dhcpd[700]: to which interface eth0 is attached. **
Apr 21 11:39:16 server dhcpd[691]:
Apr 21 11:39:16 server dhcpd[700]:
Apr 21 11:39:16 server dhcpd[691]: Not configured to listen on any interfaces!
Apr 21 11:39:16 server dhcpd[700]:
Apr 21 11:39:16 server dhcpd[691]:
Apr 21 11:39:16 server dhcpd[700]: Not configured to listen on any interfaces!
Apr 21 11:39:16 server dhcpd[691]: If you think you have received this message due to a bug rather
Apr 21 11:39:16 server dhcpd[700]:
Apr 21 11:39:16 server dhcpd[691]: than a configuration issue please read the section on submitting
Apr 21 11:39:16 server dhcpd[691]: bugs on either our web page at www.isc.org or in the README file
Apr 21 11:39:16 server dhcpd[700]: If you think you have received this message due to a bug rather
Apr 21 11:39:16 server dhcpd[691]: before submitting a bug. These pages explain the proper
Apr 21 11:39:16 server dhcpd[691]: process and the information we find helpful for debugging..
Apr 21 11:39:16 server dhcpd[700]: than a configuration issue please read the section on submitting
Apr 21 11:39:16 server dhcpd[691]:
Apr 21 11:39:16 server dhcpd[700]: bugs on either our web page at www.isc.org or in the README file
Apr 21 11:39:16 server dhcpd[691]: exiting.
Apr 21 11:39:16 server dhcpd[700]: before submitting a bug. These pages explain the proper
Apr 21 11:39:16 server dhcpd[700]: process and the information we find helpful for debugging..
Apr 21 11:39:16 server dhcpd[700]:
Apr 21 11:39:16 server dhcpd[700]: exiting.