feat: DHCP server, no client mode
This commit is contained in:
7
README
7
README
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user