Python - PyPXE Server: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Nick (Diskussion | Beiträge) |
Nick (Diskussion | Beiträge) |
||
| (2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| 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 ( | Falsche python version zum starten vom server (wechsel zw. python2.7 / python3)<br> | ||
z.B. python3 für DHCP-Server | python2.7 für TFTP-Server | |||
|} | |} | ||
== Config == | == Config == | ||
Aktuelle Version vom 8. September 2021, 07:05 Uhr
Install
- Website PyPXE
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) |