Python - PyPXE Server: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Nick (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== Install == sudo apt-get install python-setuptools git clone https://github.com/pypxe/PyPXE.git /home/user/python_server == Config ==“) |
Nick (Diskussion | Beiträge) |
||
| (12 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
== Install == | == Install == | ||
sudo apt-get install | * Website [https://github.com/pypxe/PyPXE PyPXE] | ||
sudo apt-get install python3-pip | |||
sudo pip install PyPXE | |||
= Probleme = | |||
{| class="wikitable" | |||
!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)<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) |