Greetings,
I want to create an UEFI App with internet connection.

Before I start developing the code, I wanted to make sure my setup is working 
properly so that the app can make http requests.
To that end, I spent the last days trying to make the `http` command work in 
the EFI Shell launched inside QEMU.
I can get the ping command to work properly, but calling:
http httpbin.org/get
Always returns:
Unable to open http protocol on `eth0` - Unsupported
Unable to download the file `/get` on `eth0` - Unsupported

This is my startup.nsh script to configure the interface:
connect
ifconfig -r eth0
ifconfig -s eth0 dhcp
ifconfig -l eth0

These were my different attempts at invoking Qemu properly:
        -netdev user,id=mynet0,hostfwd=tcp::8080-:80 -device 
e1000,netdev=mynet0 \
        -netdev user,id=user.0 -device e1000,netdev=user.0 \
        -nic user,ipv6=off,model=e1000,mac=52:54:98:76:54:32 \

And following this 
guide<https://gist.github.com/extremecoders-re/e8fd8a67a515fee0c873dcafc81d811c>
 I tried to setup a tap, but no dice:
        -netdev tap,id=mynet0,ifname=tap0,script=no,downscript=no -device 
e1000,netdev=mynet0,mac=52:55:00:d1:55:01 \

Have you ever achieved this? What was your setup like?

Thank you for your time.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#100118): https://edk2.groups.io/g/devel/message/100118
Mute This Topic: https://groups.io/mt/96939495/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to