From: "Anton D. Kachalov" <mouse@altlinux.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Re: QEMU
Date: Thu, 9 Dec 2004 21:59:32 +0300
Message-ID: <20041209185932.GC29275@lrn.ru> (raw)
In-Reply-To: <41B55D80.4020307@solin.spb.ru>
On Tue, Dec 07, 2004 at 10:36:32AM +0300, Aleksey Avdeev wrote:
> Здравствуйте.
>
> Vitaly Ostanin пишет:
> >Anton D. Kachalov пишет:
> ...
> >
> >Единственное, что не удалось победить - параметр -smb для доступа к
> >файлам хост-системы. lmhosts правил, как в мане написано, винду
> >перегружал - не может зайти на \\smbserver\qemu
>
> А у меня - чегото сеть поднять не получается. :-(
>
> Эксперименты с -tun-fd и -user-net успехом неувенчались:
>
> $ qemu -tun-fd /dev/tun0 -user-net -m 64 -boot c -localtime
> /var/lib/qemu/qemu-win.img
> qemu: invalid fd for network interface 0
>
> Причём устройство tun0 не получается поднять вообще (независимо
> от того, загружен ли модуль tun):
>
> $ sudo -H /sbin/ifconfig tun0 192.168.1.254
> SIOCSIFADDR: No such device
> tun0: unknown interface: No such device
>
я прописал в /etc/modules.conf:
alias tun0 tun
затем завёл скрипт iftun:
#!/bin/sh
sudo ifconfig $1 10.1.2.1 up
запускаю:
qemu -n ./iftun ...
в гостевой системе ставлю IP из той же подсети, например, 10.1.2.10
после чего могу из гостевой пинговать хост (10.1.2.1) и наоборот, из хоста
гостя (10.1.2.10).
Rgds,
Anton
next prev parent reply other threads:[~2004-12-09 18:59 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-26 21:20 [sisyphus] QEMU Anton D. Kachalov
2004-11-26 21:34 ` Anton D. Kachalov
2004-11-26 23:43 ` Anton D. Kachalov
2004-11-27 9:59 ` Anton D. Kachalov
2004-12-09 8:15 ` Slava Dubrovskiy
2004-12-09 8:22 ` Slava Dubrovskiy
2004-12-09 13:09 ` [sisyphus] QEMU Vitaly Ostanin
2004-12-09 13:10 ` Vitaly Ostanin
2004-12-09 16:06 ` [sisyphus] QEMU Andrey Rahmatullin
2004-12-09 18:42 ` Anton D. Kachalov
2004-12-09 21:22 ` Andrey Rahmatullin
2004-12-09 21:48 ` [sisyphus] QEMU Michael Shigorin
2004-12-09 22:52 ` [sisyphus] uudeview and uuencode Aleksey Birukov
2004-12-10 3:15 ` Вадим Илларионов
2004-11-26 21:41 ` [sisyphus] Re: QEMU Alexey Tourbin
2004-11-26 21:56 ` Anton D. Kachalov
2004-11-29 9:48 ` [sisyphus] QEMU Александр Никольников
2004-11-29 10:14 ` Anton D. Kachalov
2004-11-29 10:33 ` [sisyphus] QEMU Vitaly Ostanin
2004-11-29 11:06 ` Anton D. Kachalov
2004-11-29 11:42 ` Vitaly Ostanin
2004-11-29 11:49 ` Anton D. Kachalov
2004-11-29 11:53 ` Vitaly Ostanin
2004-11-29 12:18 ` Anton D. Kachalov
2004-12-02 12:04 ` Vitaly Ostanin
2004-12-02 14:25 ` Andrey Rahmatullin
2004-12-02 14:58 ` Vitaly Ostanin
2004-12-07 7:36 ` Aleksey Avdeev
2004-12-09 18:59 ` Anton D. Kachalov [this message]
2004-12-09 19:08 ` Anton D. Kachalov
2004-12-12 17:43 ` Vitaly Ostanin
2004-11-29 11:24 ` [sisyphus] QEMU Alexander Kirey
2004-11-29 11:40 ` Anton D. Kachalov
2004-12-03 12:40 ` Peter V. Saveliev
2004-12-05 13:30 ` Alex Yustasov
2004-12-05 17:30 ` [sisyphus] QEMU Michael Shigorin
2004-12-08 21:24 ` [sisyphus] QEMU Vlad Vostrykh
2004-12-08 21:38 ` Andrey Rahmatullin
2004-12-13 12:54 ` Nick S. Grechukh
2004-12-09 18:55 ` Anton D. Kachalov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041209185932.GC29275@lrn.ru \
--to=mouse@altlinux.ru \
--cc=sisyphus@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git