unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ng0 <ngillmann@runbox.com>
To: guix-devel <guix-devel@gnu.org>
Subject: Re: Network with QEMU generated image (guix system vm)?
Date: Wed, 28 Sep 2016 12:42:47 +0000	[thread overview]
Message-ID: <87oa38qjp4.fsf@we.make.ritual.n0.is> (raw)
In-Reply-To: <CAL1_imkB1v6p=erDP46HcEhAcuqba2ujAuvTMSn5qoG9TXR=sA@mail.gmail.com>

David Craven <david@craven.ch> writes:

>> It should be enough to add “-net user” on the run-vm.sh command line
>> (info "(guix) Running GuixSD in a VM"), and then having a DHCP client
>> run inside the VM, such as ‘dhcp-client-service’.
>
> Ah, yes this probably needs some documentation. Also should include an
> explanation why the flag isn't added by default and how to connect to
> a ssh server running in the vm.
>
>> Currently I can't ping
>
> You can't ping a vm anyway since it emulates the TCP/UDP layers I
> think and no ICMP. [0]
>
> [0] http://unix.stackexchange.com/questions/78953/qemu-how-to-ping-host-network

The solutions they describe in the stackexchange answers are some of
those "simple" solutions which look even more "simple" to apply on
GuixSD than on other systems, like every "simple" solution you find
somewhere.

What I mean is, I expect this feature (tcp connections in/out to/from
"the internet" to vm) to work in guix system vm, as it is a normal
expectation coming from NixOS and Gentoo that it just works without any
added specialities.

As I don't want to spend another week experimenting with this, I will
just reconfigure my build server to run from a guix git checkout and
test the services directly there. I am working on a system which wraps
itself around GuixSD, sort of like an live-system but specific to some
preconfigured applications, and I've set phases for myself. I'm stuck on
phase I for too long now. Most if not all of what this is will be
upstreamed, so at some point you'll see where this getting.
-- 
              ng0

  parent reply	other threads:[~2016-09-28 12:43 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-24 19:44 Network with QEMU generated image (guix system vm)? ng0
2016-09-24 19:47 ` ng0
2016-09-24 20:16 ` Jan Nieuwenhuizen
2016-09-24 20:33   ` ng0
2016-09-24 20:52     ` Jan Nieuwenhuizen
2016-09-24 21:17       ` ng0
2016-09-26 17:30         ` Jan Nieuwenhuizen
2016-09-27  7:25           ` ng0
2016-09-27 18:47           ` Aljosha Papsch
2016-09-27 20:14             ` ng0
2016-09-28  8:34 ` Ludovic Courtès
2016-09-28  8:49   ` David Craven
2016-09-28  9:12     ` ng0
2016-09-28 10:06       ` ng0
2016-09-28 10:19         ` ng0
2016-09-28 10:36           ` David Craven
2016-09-28 10:52             ` ng0
2016-09-28 11:18               ` David Craven
2016-09-28 12:42     ` ng0 [this message]
2016-09-28 13:52       ` David Craven
2016-09-28 17:02       ` Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oa38qjp4.fsf@we.make.ritual.n0.is \
    --to=ngillmann@runbox.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).