Python - PyPXE Server: Unterschied zwischen den Versionen

Aus Nicki Wiki
Zur Navigation springen Zur Suche springen
Zeile 17: Zeile 17:
  TypeError: can only concatenate '''str (not "bytes")''' to str
  TypeError: can only concatenate '''str (not "bytes")''' to str
|
|
Falsche python version ('''python2.7''' nicht python3)
Falsche python version zum starten vom server (wechsel zw. python2.7 / python3)
|}
|}


== Config ==
== Config ==

Version vom 8. September 2021, 06:55 Uhr

Install

sudo apt-get install python3-pip
sudo pip install PyPXE

Probleme

Fehler Lösung
OSError: [Errno 99] Cannot assign requested address
Es muss ein Interface mit der IP-Adresse und Netzmaske aus der TFTP-Konfiguration vorhanden sein.
TypeError: can only concatenate str (not "bytes") to str

Falsche python version zum starten vom server (wechsel zw. python2.7 / python3)

Config