Hi,
We are builting a virtual lab with the wonderful "Eve-ng", and for being able to restore quickly a configuration, we would like to use the "USB Device" via "execute restore config usb <file>".
But we have to simulate the USB device through QEMU option.
Could someone help us on this topic ?
Thx.
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Good news, it's working with these QEMU options :
Prepare image :
dd if=/dev/null of=fortigate_config_usb.img bs=1M seek=100
Format :
mkfs.ext2 -F fortigate_config_usb.img
QEMU Options :
-drive if=none,id=usbstick,file=/root/fortigate_config_usb.img -usb -device usb-ehci,id=ehci -device usb-tablet,bus=usb-bus.0 -device usb-storage,bus=ehci.0,drive=usbstick
Good news, it's working with these QEMU options :
Prepare image :
dd if=/dev/null of=fortigate_config_usb.img bs=1M seek=100
Format :
mkfs.ext2 -F fortigate_config_usb.img
QEMU Options :
-drive if=none,id=usbstick,file=/root/fortigate_config_usb.img -usb -device usb-ehci,id=ehci -device usb-tablet,bus=usb-bus.0 -device usb-storage,bus=ehci.0,drive=usbstick
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1705 | |
1093 | |
752 | |
446 | |
230 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.