Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pcnet driver #82

Merged
merged 22 commits into from
Oct 31, 2020
Merged

Add pcnet driver #82

merged 22 commits into from
Oct 31, 2020

Conversation

vinc
Copy link
Owner

@vinc vinc commented Jul 22, 2020

@vinc
Copy link
Owner Author

vinc commented Oct 28, 2020

To debug the card launch the emulator with:

cargo run --no-default-features --features serial,dvorak,pcnet --release -- \
  -display none -cpu max -serial stdio -rtc base=localtime -hdc disk.img \
  -m 16 -netdev user,id=u1,hostfwd=tcp::2222-:22 -device pcnet,netdev=u1 \
  -object filter-dump,id=f1,netdev=u1,file=/tmp/qemu.pcap

Listen for packets inside the emulator with:

net config debug on
net dump

Send packets inside the host with:

telnet localhost 2222

Listen for packets inside the host with:

tcpdump -r /tmp/qemu.pcap -v

Send packets inside the emulator with:

net config debug on
dhcp

@vinc vinc marked this pull request as ready for review October 31, 2020 22:17
@vinc vinc merged commit 07b5818 into master Oct 31, 2020
@vinc vinc deleted the feature/add-pcnet-driver branch October 31, 2020 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant