From: Disc Magnet on
I have installed QEMU on my Debian Testing box. I have GNOME running
on my host Debian. The virtual OS installed and running on QEMU system
is not running X. So, i launch QEMU with my OS image and work on the
console.

Any solutions to the following problems?

1. The IP address of the QEMU system appears to be in 10.30.*.* range.
However, the IP address of my host system is in 192.168.2.*. I can't
ping QEMU from host or vice versa. This makes exchanging files between
my host system and QEMU system impossible.

2. Anyway to copy paste across QEMU system and host system?

3. The color of the console font appears to be very light shade of
gray that strains my eyes. Anyway to change the font color?


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/AANLkTimrZ7GAB7SfuV2dewtLjWFW1tDuqHEaln_QXUt3(a)mail.gmail.com
From: Javier Barroso on
On Sun, Jun 20, 2010 at 10:06 AM, Disc Magnet <discmagnet(a)gmail.com> wrote:

> I have installed QEMU on my Debian Testing box. I have GNOME running
> on my host Debian. The virtual OS installed and running on QEMU system
> is not running X. So, i launch QEMU with my OS image and work on the
> console.
>
> Any solutions to the following problems?
>
> 1. The IP address of the QEMU system appears to be in 10.30.*.* range.
> However, the IP address of my host system is in 192.168.2.*. I can't
> ping QEMU from host or vice versa. This makes exchanging files between
> my host system and QEMU system impossible.
>
One solution maybe using smb hack from qemu:
http://en.wikibooks.org/wiki/QEMU/Networking#SMB_server
From: Carl Johnson on
Disc Magnet <discmagnet(a)gmail.com> writes:

> I have installed QEMU on my Debian Testing box. I have GNOME running
> on my host Debian. The virtual OS installed and running on QEMU system
> is not running X. So, i launch QEMU with my OS image and work on the
> console.
>
> Any solutions to the following problems?
>
> 1. The IP address of the QEMU system appears to be in 10.30.*.* range.
> However, the IP address of my host system is in 192.168.2.*. I can't
> ping QEMU from host or vice versa. This makes exchanging files between
> my host system and QEMU system impossible.
>
> 2. Anyway to copy paste across QEMU system and host system?
>
> 3. The color of the console font appears to be very light shade of
> gray that strains my eyes. Anyway to change the font color?

You can use an alias for your ethernet to access another address. You
can use something like:
ifconfig eth0:1 add 10.30.0.0 netmask 255.255.0.0
You can delete that later if desired with 'ifconfig eth0:1 down'. Of
course, change the .0.0 at the end to an unoccupied address if
necessary, and change eth0 to whatever your card is called. Just type
'ifconfig' to see what your current configuration is. You can also
put the alias in /etc/network/interfaces for automatic configuration.

--
Carl Johnson carlj(a)peak.org


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/87eig1oekx.fsf(a)cjlinux.localnet
From: Jaime Di Cristina on
On Sun, Jun 20, 2010 at 01:36:57PM +0530, Disc Magnet wrote:
> I have installed QEMU on my Debian Testing box. I have GNOME running
> on my host Debian. The virtual OS installed and running on QEMU system
> is not running X. So, i launch QEMU with my OS image and work on the
> console.
>
> Any solutions to the following problems?
>
> 1. The IP address of the QEMU system appears to be in 10.30.*.* range.
> However, the IP address of my host system is in 192.168.2.*. I can't
> ping QEMU from host or vice versa. This makes exchanging files between
> my host system and QEMU system impossible.
>
> 2. Anyway to copy paste across QEMU system and host system?
>
> 3. The color of the console font appears to be very light shade of
> gray that strains my eyes. Anyway to change the font color?
>

Hello:

You can solve points 2 and 3 by not using the cosole at all, just
ssh in. I use the -redir option like this:

-redir tcp:hi_port::22

This will redirect "hi_port" on the host to port 22 on the guest.
Then you just have to ssh to "hi_port". This works when the guest
uses the default IP, otherwise you need to specify the address.

Jaime


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/20100620194340.GA3623(a)lpc.lan
From: Chris Davies on
Disc Magnet <discmagnet(a)gmail.com> wrote:
> I have installed QEMU on my Debian Testing box. I have GNOME running
> on my host Debian [...]

> 1. The IP address of the QEMU system appears to be in 10.30.*.* range.
> However, the IP address of my host system is in 192.168.2.*. I can't
> ping QEMU from host or vice versa.

When you start your kvm/qemu emulator with "-net nic -net user" you get
a local IP address such as 10.30.2.16 (x.x.x.16-31). In this instance
the host would be assigned 10.30.2.2 (x.x.x.2). You can use these local
addresses for transfering data locally. If you want to get your kvm/qemu
system to talk to the rest of the world you should be able to do that (the
default route should be set via your internal host address, 10.30.2.2)
and the host will NAT outbound connections. Use the -redir option to
map specific ports on your host back to the guest. Or read up on the
options for the kvm/qemu to handle bridging.

Particularly, note that the guest will not necessarily be able to
see your 192.168.2.* systems (including that IP address on your host)
without a route set via the guest-facing IP address of your host.


> 2. Anyway to copy paste across QEMU system and host system?

I'm not aware of any way of doing this.


> 3. The color of the console font appears to be very light shade of
> gray that strains my eyes. Anyway to change the font color?

There should be an option in the guest to configure its console font
characteristics. (But I can't help you futher on this one.)

Chris


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/8q65f7xdah.ln2(a)news.roaima.co.uk