Python - PyPXE Server: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Nick (Diskussion | Beiträge) |
Nick (Diskussion | Beiträge) |
||
| (5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
== Install == | == Install == | ||
* Website [https://github.com/pypxe/PyPXE PyPXE] | * Website [https://github.com/pypxe/PyPXE PyPXE] | ||
sudo apt-get install python3-pip | sudo apt-get install python3-pip | ||
sudo pip install PyPXE | sudo pip install PyPXE | ||
| Zeile 17: | Zeile 13: | ||
| | | | ||
Es muss ein Interface mit der IP-Adresse und Netzmaske aus der TFTP-Konfiguration vorhanden sein. | 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)<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) |