[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Fwd: Some qemu+hurd questions]

Svante Signell, le Sat 06 Nov 2010 17:01:05 +0100, a écrit :
> On Sat, 2010-11-06 at 11:56 +0100, Samuel Thibault wrote:
> > Svante Signell, le Sat 06 Nov 2010 11:36:23 +0100, a écrit :
> > > I cannot get ssh to work. Installed random-egd and openssh server and
> > > client. ssh out of the Hurd VM work, also from Hurd to Hurd, but not
> > > from the host to Hurd. Anything I have missed to set up? Looks like
> > > ifconfig,route etc do not exist, is networking different compared to
> > > Linux?
> > 
> > How did you configure your qemu network?  Check out its documentation,
> > with the default configuration your hurd box doesn't have any IP
> > routable from outside.
> This is how I started qemu:
> qemu -m 256 -net nic,model=rtl8139 -net user -hda hurd-install.qemu

So you don't have any IP routable from outside.

> So you mean I have to add more options to qemu to be able to SSH to hurd
> via qemu from the host computer.

Yes. See qemu doc.

> This will also mean that having an openssh-server running on the hurd
> box is worthless?

?! I don't understand your sentence. Once you have an IP routable from
outside, it will be useful to have an openssh server running in your
Hurd box, since then you'll be able to connect to it.

> The network in Hurd is configured exactly as in Jeremie Koenigs
> README.txt:
> /etc/network/interfaces
> auto etho
> iface eth0 inet static
>  address
>  netmask
>  network
>  broadcast
>  gateway
>  dns-nameservers
>  dns+search my.own.domain

Which is just a quick&easy guide for clueless user. It's definitely not
meant to replace qemu's documentation.


Reply to: