Hallo.
Ich habe gerade den bionic-Client mal wieder angeworfen; LINBO startet doch dabei fiel mir etwas seltsames auf: Der Client erhält nicht mehr die IP, die in der devices.csv
eingetragen ist (10.16.1.12) sondern eine andere (10.16.1.158).
Die MAC-Adresse ist richtig – double-checked.
Daraufhin habe ich das übliche linuxmuster-import-devices
laufen lassen und stellte fest, dass dort gar keine Einträge mehr für das Servernetz erscheinen. Für alle anderen Subnetze sehr sieht alles normal aus; z.B.:
------------------------------------------------------------------------------
#### Working on dhcp configuration for devices ####
#### * in subnet 10.20.100.0/24:
...
Ich weiß nicht, warum für das Servernetz die in der devices.csv
vergebenen Adressen nicht mehr verwendet sondern stattdessen welche aus dem DHCP-Bereich benutzt?!
Nächster Schritt: In die Datei subnets.csv
geschaut. Da fiel mir wieder ein, dass ich neulich den Eintrag mit der Netzmaske geändert hatte.
JETZT steht da:
10.16.1.0/24;10.16.1.253;10.16.1.150;10.16.1.199;SETUP
Wenn ich cat /etc/dhcp/devices.conf |grep 10.16.1.
verwende, sind da keine Einträge mehr für das Servernetz; alle anderen sind aber da.
Es kommt aber noch dicker: Ich habe (vorsichtshalber) auch nochmal
linuxmuster-import-subnets
laufen lassen.
Dabei erscheinen jetzt diese Meldungen – warum steht da erneut die große Netzmaske?
linuxmuster-import-subnets
#### linuxmuster-import-subnets ####
------------------------------------------------------------------------------
#### Reading setup data: ####
#### * Server address: 10.16.1.1 ####
#### * Server network: 10.16.0.0/12 ####
#### Processing dhcp subnets: ####
#### * 10.20.100.0/24 ####
#### * 10.20.200.0/24 ####
#### * 10.30.10.0/24 ####
#### * 10.30.20.0/24 ####
#### * 10.16.2.0/24 ####
#### * 10.30.51.0/24 ####
#### * 10.30.52.0/24 ####
#### * 10.30.53.0/24 ####
#### Restarting isc-dhcp-server ................................. Failed! ####
#### Processing netplan configuration on server: ####
#### * Removed old routes. ####
#### * Added new routes for all subnets. ####
#### * Applied new configuration. ####
#### Processing opsi network configuration: ####
/usr/lib/python3/dist-packages/paramiko/rsakey.py:119: CryptographyDeprecationWarning: signer and verifier have been deprecated. Please use sign and verify instead.
algorithm=hashes.SHA1(),
/usr/lib/python3/dist-packages/paramiko/rsakey.py:99: CryptographyDeprecationWarning: signer and verifier have been deprecated. Please use sign and verify instead.
algorithm=hashes.SHA1(),
#### Executing ssh command on 10.16.1.2: ####
#### * -> "chmod +x /tmp/delroutes" ####
#### * SSH connection successfully established. ####
#### * Execution finished successfully. ####
#### Executing ssh command on 10.16.1.2: ####
#### * -> "/tmp/delroutes" ####
#### * SSH connection successfully established. ####
#### * Execution finished successfully. ####
#### Executing ssh command on 10.16.1.2: ####
#### * -> "rm -f /tmp/delroutes" ####
#### * SSH connection successfully established. ####
#### * Execution finished successfully. ####
#### * Removed old routes. ####
#### * Created new routes script. ####
#### Executing ssh command on 10.16.1.2: ####
#### * -> "chmod +x /etc/network/if-up.d/999staticroutes" ####
#### * SSH connection successfully established. ####
#### * Execution finished successfully. ####
#### Executing ssh command on 10.16.1.2: ####
#### * -> "/etc/network/if-up.d/999staticroutes" ####
#### * SSH connection successfully established. ####
#### * Execution finished successfully. ####
#### * Script transfered and applied. ####
#### Downloading firewall configuration: ####
#### * Download finished successfully. ####
#### * Saved changed config. ####
#### Uploading firewall configuration: ####
#### * Upload finished successfully. ####
Traceback (most recent call last):
File "/usr/sbin/linuxmuster-import-subnets", line 454, in <module>
changed = firewallApi('post', '/routes/routes/reconfigure')
File "/usr/lib/linuxmuster/functions.py", line 536, in firewallApi
req = requests.post(url, verify=constants.FWFULLCHAIN, auth=(apikey, apisecret))
File "/usr/lib/python3/dist-packages/requests/api.py", line 112, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/lib/python3/dist-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 520, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 630, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 407, in send
self.cert_verify(conn, request.url, verify, cert)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 226, in cert_verify
"invalid path: {0}".format(cert_loc))
OSError: Could not find a suitable TLS CA certificate bundle, invalid path: /etc/linuxmuster/ssl/firewall.fullchain.pem
Hat jemand von Euch eine Idee, was da schief gelaufen ist?
Server-Infos:
███ ███ WELCOME TO LINUXMUSTER.NET 7.0 - bond
█████ █████ Freitag, 19 Juni 2020, 09:52:32
███ ███
███ ███ Uptime..........: 0 days, 00h49m00s
█████ █████ Memory..........: 406/16012MB (2.54%)
███ ███ IP Internal.....: 10.16.1.1
███ IP External.....: <Eintrag entfernt>
█████
███
███ ███ linuxmuster.net packages:
█████ █████ -Base...........: 7.0.70-0ubuntu0
███ ███ -Linbo..........: 2.3.63-0
███ ███ -WebUI..........: 1.0.143-1
█████ █████ -Sophomorix.....: 3.80.0-1
Danke für einen guten Tipp …
Michael