all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Guix VM can't connect to the Internet
@ 2019-05-05 16:19 Philip K.
  2019-05-06  0:54 ` Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: Philip K. @ 2019-05-05 16:19 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 821 bytes --]


Hi, in light of the 1.0.0 release, I tried to download the Guix VM
image, to try and configure a workable setup within a Qemu session
before installing it.

But `guix package pull` wouldn't work, because no connection could be
established. Running `ping` on any server, would just inform me of
dropped packets, `ip link set eth0 up` wouldn't change anything.

I tried altering the quemu flags:

	qemu-system-x86_64 -net user -net nic,model=virtio -enable-kvm \
    -m 2048 guix-system-vm-image-1.0.0.x86_64-linux

adding and removing net flags, enabling and disabling kvm. Since I am
not a Qemu expert, let alone a VM guy, I have really no idea what the
-net options for example do.

Could someone give me a hint what I should try/read to get a working
state?

-- 
	With kind regards,
	Philip K.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Guix VM can't connect to the Internet
  2019-05-05 16:19 Guix VM can't connect to the Internet Philip K.
@ 2019-05-06  0:54 ` Leo Famulari
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2019-05-06  0:54 UTC (permalink / raw)
  To: Philip K.; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1103 bytes --]

On Sun, May 05, 2019 at 06:19:43PM +0200, Philip K. wrote:
> But `guix package pull` wouldn't work, because no connection could be
> established. Running `ping` on any server, would just inform me of
> dropped packets, `ip link set eth0 up` wouldn't change anything.

Can you give the exact command line you used to launch QEMU when it did
not work?

I tested the official Guix QEMU image [0] using the instructions in our
manual section Running Guix in a Virtual Machine [1] and I could
successfully do `guix download http://example.com`.

Note that `ping` (ICMP) does not work in QEMU when using '-net user'.
So, don't use `ping` to test the network in QEMU. Use `guix download`
instead since that will always be available.

If it still doesn't work after following the instructions in the manual,
please let us know the results of `qemu-system-x86_64 --version` and
`uname -a`. Also let us know if you are using a firewall or anything
like that.

Happy to help,
Leo

[0]
https://www.gnu.org/software/guix/download/

[1]
https://www.gnu.org/software/guix/manual/en/html_node/Running-Guix-in-a-VM.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-06  0:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-05 16:19 Guix VM can't connect to the Internet Philip K.
2019-05-06  0:54 ` Leo Famulari

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.