From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Nieuwenhuizen Subject: Re: Network with QEMU generated image (guix system vm)? Date: Sat, 24 Sep 2016 22:16:53 +0200 Message-ID: <87a8exaw96.fsf@gnu.org> References: <87pont13rh.fsf@we.make.ritual.n0.is> 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]:43215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bntNv-0007pG-S0 for guix-devel@gnu.org; Sat, 24 Sep 2016 16:17:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bntNq-00022M-VZ for guix-devel@gnu.org; Sat, 24 Sep 2016 16:17:18 -0400 In-Reply-To: <87pont13rh.fsf@we.make.ritual.n0.is> (ng0's message of "Sat, 24 Sep 2016 19:44:50 +0000") 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: ng0 Cc: guix-devel@gnu.org ng0 writes: > I feel like this should be documented better, because I can't figure it > out. I'm doing something like /gnu/store/cgb3rvmyddy114vzp9xk2y05vwn3ka18-run-vm.sh -net nic -net use= r,hostfwd=3Dtcp::2223-:2222,hostfwd=3Dtcp::3001-:3000,hostfwd=3Dtcp::5433-:= 5432& together with (dhcp-client-service) you can connect in (via port forwarding) and out. Another trick that I use and would be nice easier accessible is to have the console output to your terminal (or emacs shell) like so sed -e 's,-append ",-append "console=3DttyS0 ,' /gnu/store/s5y87jg79gh3= nw8lv3q3rrj1i8wafmaj-run-vm.sh > vm.sh chmod +x vm.sh instead of the graphical box popup. HTH, Jan --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.nl= =20=20