From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: Re: Network with QEMU generated image (guix system vm)? Date: Wed, 28 Sep 2016 10:49:59 +0200 Message-ID: References: <87pont13rh.fsf@we.make.ritual.n0.is> <878tuc5so8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpAZ5-0005BC-9j for guix-devel@gnu.org; Wed, 28 Sep 2016 04:50:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpAZ1-0004xn-6p for guix-devel@gnu.org; Wed, 28 Sep 2016 04:50:06 -0400 Received: from mail-yw0-x235.google.com ([2607:f8b0:4002:c05::235]:33826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpAYz-0004xI-W8 for guix-devel@gnu.org; Wed, 28 Sep 2016 04:50:03 -0400 Received: by mail-yw0-x235.google.com with SMTP id g192so24401337ywh.1 for ; Wed, 28 Sep 2016 01:50:00 -0700 (PDT) In-Reply-To: <878tuc5so8.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: guix-devel > It should be enough to add =E2=80=9C-net user=E2=80=9D on the run-vm.sh c= ommand line > (info "(guix) Running GuixSD in a VM"), and then having a DHCP client > run inside the VM, such as =E2=80=98dhcp-client-service=E2=80=99. 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-net= work