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

Wired Network Support #5

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from
Draft

Wired Network Support #5

wants to merge 3 commits into from

Conversation

tym2k1
Copy link

@tym2k1 tym2k1 commented Jan 29, 2025

This PR documents my work on enabling network support for the rpi4-ws/build-demo-vtee demo. While I won't be continuing this effort due to my departure from 3mdeb, I am leaving it here as a reference for future work.
This is how I enabled the network support for the rpi4-ws/build-demo-vtee demo.

The OS running on the VM detects the Ethernet device, suggesting that the hypervisor is configured correctly. However, network connectivity is currently not working, as shown in the following ping test.

# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendto: Network is unreachable

The IP is set statically in the device tree

# ifconfig
eth0      Link encap:Ethernet  HWaddr 62:3A:5E:BF:B1:8E
          inet addr:192.168.42.15  Bcast:192.168.42.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Here are my kernel logs from booting

Feel free to contribute to this PR or close it as you seem fit.

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