mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-08-03 09:16:13 -04:00
Dump the network
This commit is contained in:
parent
9f0587da9b
commit
5c85d4fec6
3
.gitignore
vendored
3
.gitignore
vendored
@ -14,3 +14,6 @@ tlib/debug
|
||||
|
||||
# Ignore the generated log (Qemu)
|
||||
*.log
|
||||
|
||||
# Ignore the generated pcap files (Qemu)
|
||||
*.pcap
|
||||
|
2
Makefile
2
Makefile
@ -53,7 +53,7 @@ qemu: default
|
||||
|
||||
qemu_user: default
|
||||
touch virtual.log
|
||||
sudo qemu-system-x86_64 -enable-kvm -cpu host -serial file:virtual.log -netdev user,id=thor_net0 -device rtl8139,netdev=thor_net0,id=thor_nic0 -vga std -hda hdd.img &
|
||||
sudo qemu-system-x86_64 -enable-kvm -cpu host -serial file:virtual.log -net user,vlan=0 -net nic,model=rtl8139,vlan=0 -net dump,vlan=0,file=thor.pcap -vga std -hda hdd.img &
|
||||
echo "Reading kernel log (Ctrl+C for exit)"
|
||||
tail -f virtual.log
|
||||
kill %1
|
||||
|
Loading…
x
Reference in New Issue
Block a user