Unable to connect to network in QEMU.

Devashish Dewangan cs21m017 cs21m017 at smail.iitm.ac.in
Sat Mar 11 04:46:48 CET 2023


Hi Alex,

Thanks for the help, this command got it to work.

qemu-system-x86_64 -display gtk -cpu core2duo -machine q35 -m 2048 -drive
format=raw,file=sculpt-22-10.img -netdev user,id=net0 -device
e1000,netdev=net0

On Fri, Mar 10, 2023 at 9:02 PM Alexander Boettcher <
alexander.boettcher at genode-labs.com> wrote:

> Hi,
>
> add additionally
>
> -net nic,model=e1000,netdev=net0
>
>
> Alex.
>
>
> On 10.03.23 15:49, Devashish Dewangan cs21m017 wrote:
> > Hi Alexander,
> >
> > I tried your suggestion, used
> >
> > qemu-system-x86_64 -display gtk -cpu core2duo -machine q35 -m 2048 -drive
> > format=raw,file=sculpt-22-10.img -netdev user,id=net0
> >
> > I'm getting a static ip, but still not able to connect. I'm attaching the
> > screenshot below.
> >
> > On Fri, Mar 10, 2023 at 7:02 PM Alexander Boettcher <
> > alexander.boettcher at genode-labs.com> wrote:
> >
> >> On 3/10/23 2:16 PM, Alexander Boettcher wrote:
> >>> On 3/9/23 6:37 PM, Devashish Dewangan cs21m017 wrote:
> >>>> Dear Genodians,
> >>>>
> >>>> I am unable to connect to network while running the sculpt 22.10 x86
> >>>> image
> >>>> provided by genode in QEMU. But I am able to connect to the network
> >> while
> >>>> using the sculpt.ova in virtual box.
> >>>>
> >>>> How can I connect to network while using sculpt in QEMU?
> >>>
> >>> it works out-of-the-box here for us.
> >>>
> >>> What exactly is not working for you ? Does Sculpt find a network device
> >>> in Qemu or not (check report/log file)? Or does you just don't get an
> IP
> >>> addresss via DHCP ? What exactly you use as commandline for your Qemu
> >>> (which Qemu version on which Linux distro).
> >>
> >> In case you use the commandline from the Genode Sculpt OS documentation,
> >> try to add
> >>
> >> -netdev user,id=net0
> >>
> >> Cheers,
> >>
> >> Alex.
> >>
> >> --
> >> Alexander Boettcher
> >> Genode Labs
> >>
> >> https://www.genodians.org - https://www.genode.org
> >>
> >> _______________________________________________
> >> Genode users mailing list
> >> users at lists.genode.org
> >> https://lists.genode.org/listinfo/users
> >>
> >
> >
> >
> > _______________________________________________
> > Genode users mailing list
> > users at lists.genode.org
> > https://lists.genode.org/listinfo/users
>
> --
> Alexander Boettcher
> Genode Labs
>
> https://www.genodians.org - https://www.genode.org
>
> _______________________________________________
> Genode users mailing list
> users at lists.genode.org
> https://lists.genode.org/listinfo/users
>


-- 
Regards,
Devashish Dewangan
CS21M017
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20230311/9d152a7e/attachment.htm>


More information about the users mailing list