feat: DHCP server, no client mode

This commit is contained in:
2026-11-21 01:28:42 +01:00
parent 0492140604
commit 984e01440b
5 changed files with 42 additions and 6 deletions

7
README
View File

@@ -4,7 +4,7 @@ Photobooth OS
make winf_photobooth_defconfig
- launch vm
qemu-system-x86_64 -m 1024 -bios /usr/share/ovmf/OVMF.fd -drive file=output/images/disk.img,format=raw -accel kvm -cpu host -smp 2,sockets=1,cores=2,threads=1 -vga none -device virtio-vga,xres=1280,yres=1024 -nic user,hostfwd=tcp:127.0.0.1:2222-:22 -device qemu-xhci,id=xhci -device usb-host,bus=xhci.0,hostbus=1,hostaddr=2
qemu-system-x86_64 -m 1024 -bios /usr/share/ovmf/OVMF.fd -drive file=output/images/disk.img,format=raw -accel kvm -cpu host -smp 2,sockets=1,cores=2,threads=1 -vga none -device virtio-vga,xres=1280,yres=1024 -nic user,net=192.168.7.0/24,hostfwd=tcp:127.0.0.1:2222-192.168.7.1:22 -device qemu-xhci,id=xhci -device usb-host,bus=xhci.0,hostbus=1,hostaddr=2
- pure linux path
@@ -19,6 +19,11 @@ make linux-update-defconfig
- hostname
winf-photobooth.local
- networking
eth0: 192.168.7.1/24, DHCP 192.168.7.100-200
plug in device -> gets IP; ssh root@192.168.7.1 / root@winf-photobooth.local
qemu vm: ssh -p 2222 root@127.0.0.1
Original README: