qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Qemu offline?
@ 2004-08-04 13:51 René Korthaus
  2004-08-04 13:56 ` René Korthaus
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: René Korthaus @ 2004-08-04 13:51 UTC (permalink / raw)
  To: qemu-devel


Hello,

as i am always online due to DSL at home i didn't recognize this 
earlier (i am using qemu since maybe 3 weeks)...

Yesterday i went to my brother's, where there is no internet 
connection, and tried to start qemu as always. I tried with 0.6.0 in 
/opt/local/bin and with 0.5.5 in /usr/local/bin but it turned out to be 
the same error with both. Whatever I told him where the hda image is 
located, he only stated "Could not get DNS address". As I am at home 
now, i can reproduce the problem. When I'm online qemu starts as 
always, but when i turn connection via airport off, he behaves as said 
above.

Can somebody please tell me why this is??? Why does he need an online 
connection??? Even when i start him only with hda like "./qemu -hda 
/applications/os/qnx/hd.img" without network or anything he gives up!!!

Please let me know...
greets

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

* Re: [Qemu-devel] Qemu offline?
  2004-08-04 13:51 [Qemu-devel] Qemu offline? René Korthaus
@ 2004-08-04 13:56 ` René Korthaus
  2004-08-04 14:02 ` Laurent Amon
  2004-08-04 15:56 ` Pierre d'Herbemont
  2 siblings, 0 replies; 8+ messages in thread
From: René Korthaus @ 2004-08-04 13:56 UTC (permalink / raw)
  To: qemu-devel

I forgot to mention that i am on mac os x 10.3 guest os!!

Thx in advance

Am 04.08.2004 um 15:51 schrieb René Korthaus:

>
> Hello,
>
> as i am always online due to DSL at home i didn't recognize this 
> earlier (i am using qemu since maybe 3 weeks)...
>
> Yesterday i went to my brother's, where there is no internet 
> connection, and tried to start qemu as always. I tried with 0.6.0 in 
> /opt/local/bin and with 0.5.5 in /usr/local/bin but it turned out to 
> be the same error with both. Whatever I told him where the hda image 
> is located, he only stated "Could not get DNS address". As I am at 
> home now, i can reproduce the problem. When I'm online qemu starts as 
> always, but when i turn connection via airport off, he behaves as said 
> above.
>
> Can somebody please tell me why this is??? Why does he need an online 
> connection??? Even when i start him only with hda like "./qemu -hda 
> /applications/os/qnx/hd.img" without network or anything he gives 
> up!!!
>
> Please let me know...
> greets
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
>
-----------------------------------------------------
Qemu on Mac OS X Tutorial
http://cordney.com/mymacintosh/doku.php?id=wiki:qemu
Please add patches and screenshots
-----------------------------------------------------

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

* Re: [Qemu-devel] Qemu offline?
  2004-08-04 13:51 [Qemu-devel] Qemu offline? René Korthaus
  2004-08-04 13:56 ` René Korthaus
@ 2004-08-04 14:02 ` Laurent Amon
  2004-08-04 14:10   ` René Korthaus
  2004-08-04 15:56 ` Pierre d'Herbemont
  2 siblings, 1 reply; 8+ messages in thread
From: Laurent Amon @ 2004-08-04 14:02 UTC (permalink / raw)
  To: qemu-devel

Selon René Korthaus <wlannews@cordney.com>:


> Yesterday i went to my brother's, where there is no internet
> connection, and tried to start qemu as always. I tried with 0.6.0 in
> /opt/local/bin and with 0.5.5 in /usr/local/bin but it turned out to be
> the same error with both. Whatever I told him where the hda image is
> located, he only stated "Could not get DNS address". As I am at home
> now, i can reproduce the problem. When I'm online qemu starts as
> always, but when i turn connection via airport off, he behaves as said
> above.

Try
qemu -nics 0
or maybe also
qemu -user-net
or create a /etc/resolv.conf file with the line
nameserver 127.0.0.1
(note that the last one may be troublesome if you connect the machine to the
internet)

Lga.

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

* Re: [Qemu-devel] Qemu offline?
  2004-08-04 14:02 ` Laurent Amon
@ 2004-08-04 14:10   ` René Korthaus
  2004-08-04 14:37     ` Laurent Amon
  2004-08-04 14:41     ` Laurent Amon
  0 siblings, 2 replies; 8+ messages in thread
From: René Korthaus @ 2004-08-04 14:10 UTC (permalink / raw)
  To: qemu-devel


Am 04.08.2004 um 16:02 schrieb Laurent Amon:

> Selon René Korthaus <wlannews@cordney.com>:
>
>
>> Yesterday i went to my brother's, where there is no internet
>> connection, and tried to start qemu as always. I tried with 0.6.0 in
>> /opt/local/bin and with 0.5.5 in /usr/local/bin but it turned out to 
>> be
>> the same error with both. Whatever I told him where the hda image is
>> located, he only stated "Could not get DNS address". As I am at home
>> now, i can reproduce the problem. When I'm online qemu starts as
>> always, but when i turn connection via airport off, he behaves as said
>> above.
>
> Try
> qemu -nics 0
  works!

> or maybe also
> qemu -user-net
   works not!
> or create a /etc/resolv.conf file with the line
> nameserver 127.0.0.1
> (note that the last one may be troublesome if you connect the machine 
> to the
> internet)
   not tried, because i dont want to screw up os x.

So thank you for help but can you explain WHY this is? I mean i can 
start os x without being connected to the internet and have it letting 
known the dns address, too...?!

>
> Lga
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
>
-----------------------------------------------------
Qemu on Mac OS X Tutorial
http://cordney.com/mymacintosh/doku.php?id=wiki:qemu
Please add patches and screenshots
-----------------------------------------------------

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

* Re: [Qemu-devel] Qemu offline?
  2004-08-04 14:10   ` René Korthaus
@ 2004-08-04 14:37     ` Laurent Amon
  2004-08-04 14:41     ` Laurent Amon
  1 sibling, 0 replies; 8+ messages in thread
From: Laurent Amon @ 2004-08-04 14:37 UTC (permalink / raw)
  To: qemu-devel


> So thank you for help but can you explain WHY this is? I mean i can
> start os x without being connected to the internet and have it letting
> known the dns address, too...?!

Basically, qemu starts with the network configured in tun/tap mode.
tun/tap does not work on OSX
-nics 0 disables all ethernet cards in the emulator (so you don't have a
network)
-user-net uses another method to access the network.

Actually, -user-net needs a /etc/resolv.conf file also. I just checked.

What you can also do is create a Network Location with a DNS. It should also
work.

As to why qemu does not disable the network when it does not find a DNS, well,
it is because it is still beta :-)

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

* Re: [Qemu-devel] Qemu offline?
  2004-08-04 14:10   ` René Korthaus
  2004-08-04 14:37     ` Laurent Amon
@ 2004-08-04 14:41     ` Laurent Amon
  1 sibling, 0 replies; 8+ messages in thread
From: Laurent Amon @ 2004-08-04 14:41 UTC (permalink / raw)
  To: qemu-devel

Selon René Korthaus <wlannews@cordney.com>:

> > or create a /etc/resolv.conf file with the line
> > nameserver 127.0.0.1
> > (note that the last one may be troublesome if you connect the machine
> > to the
> > internet)
>    not tried, because i dont want to screw up os x.
It won't scew anything too much, especially if you never connect to the
internet. If you do, put your real DNS address.
>
> So thank you for help but can you explain WHY this is? I mean i can
> start os x without being connected to the internet and have it letting
> known the dns address, too...?!

Well, I agree with you, actually. You should not need the DNS, especially if you
only need to connect to the host machine. Using IPs might be enough.

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

* Re: [Qemu-devel] Qemu offline?
  2004-08-04 13:51 [Qemu-devel] Qemu offline? René Korthaus
  2004-08-04 13:56 ` René Korthaus
  2004-08-04 14:02 ` Laurent Amon
@ 2004-08-04 15:56 ` Pierre d'Herbemont
  2004-08-04 16:16   ` René Korthaus
  2 siblings, 1 reply; 8+ messages in thread
From: Pierre d'Herbemont @ 2004-08-04 15:56 UTC (permalink / raw)
  To: qemu-devel

Try with -dummy-net (see qemu -h)

Pierre.

On 4 août 04, at 15:51, René Korthaus wrote:

>
> Hello,
>
> as i am always online due to DSL at home i didn't recognize this 
> earlier (i am using qemu since maybe 3 weeks)...
>
> Yesterday i went to my brother's, where there is no internet 
> connection, and tried to start qemu as always. I tried with 0.6.0 in 
> /opt/local/bin and with 0.5.5 in /usr/local/bin but it turned out to 
> be the same error with both. Whatever I told him where the hda image 
> is located, he only stated "Could not get DNS address". As I am at 
> home now, i can reproduce the problem. When I'm online qemu starts as 
> always, but when i turn connection via airport off, he behaves as said 
> above.
>
> Can somebody please tell me why this is??? Why does he need an online 
> connection??? Even when i start him only with hda like "./qemu -hda 
> /applications/os/qnx/hd.img" without network or anything he gives 
> up!!!
>
> Please let me know...
> greets
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>

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

* Re: [Qemu-devel] Qemu offline?
  2004-08-04 15:56 ` Pierre d'Herbemont
@ 2004-08-04 16:16   ` René Korthaus
  0 siblings, 0 replies; 8+ messages in thread
From: René Korthaus @ 2004-08-04 16:16 UTC (permalink / raw)
  To: qemu-devel


Am 04.08.2004 um 17:56 schrieb Pierre d'Herbemont:

> Try with -dummy-net (see qemu -h)

Works fine. Thanks.
>
> Pierre.
>
> On 4 août 04, at 15:51, René Korthaus wrote:
>
>>
>> Hello,
>>
>> as i am always online due to DSL at home i didn't recognize this 
>> earlier (i am using qemu since maybe 3 weeks)...
>>
>> Yesterday i went to my brother's, where there is no internet 
>> connection, and tried to start qemu as always. I tried with 0.6.0 in 
>> /opt/local/bin and with 0.5.5 in /usr/local/bin but it turned out to 
>> be the same error with both. Whatever I told him where the hda image 
>> is located, he only stated "Could not get DNS address". As I am at 
>> home now, i can reproduce the problem. When I'm online qemu starts as 
>> always, but when i turn connection via airport off, he behaves as 
>> said above.
>>
>> Can somebody please tell me why this is??? Why does he need an online 
>> connection??? Even when i start him only with hda like "./qemu -hda 
>> /applications/os/qnx/hd.img" without network or anything he gives 
>> up!!!
>>
>> Please let me know...
>> greets
>>
>>
>>
>> _______________________________________________
>> Qemu-devel mailing list
>> Qemu-devel@nongnu.org
>> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>>
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
>
-----------------------------------------------------
Qemu on Mac OS X Tutorial
http://cordney.com/mymacintosh/doku.php?id=wiki:qemu
Please add patches and screenshots
-----------------------------------------------------

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

end of thread, other threads:[~2004-08-04 16:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-04 13:51 [Qemu-devel] Qemu offline? René Korthaus
2004-08-04 13:56 ` René Korthaus
2004-08-04 14:02 ` Laurent Amon
2004-08-04 14:10   ` René Korthaus
2004-08-04 14:37     ` Laurent Amon
2004-08-04 14:41     ` Laurent Amon
2004-08-04 15:56 ` Pierre d'Herbemont
2004-08-04 16:16   ` René Korthaus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).