Re: [9fans] qemu and networking
On 08/01/2014 09:11, Bence Fábián wrote: I use QEMU emulator version 1.6.0, Copyright (c) 2003-2008 Fabrice Bellard I don't give any networking options at the command line and it works for me. I use 9front but I don't think it matters. I think Yoann asked how to connect to Plan9 from MacOS, right? You have to use tun/tap and maybe drawterm to connect to Plan 9 from MacOS, and then, for example, copy files via /mnt/term/. Nicolas
Re: [9fans] qemu and networking
Oh btw I'm on linux not os x. But didn't think that makes a difference for guest network. 2014/1/9 Bence Fábián beg...@gmail.com In his mail he was trying to reach the host from the guest. But the other way around he would need tun/tap. That's correct. 2014/1/9 Nicolas Bercher nberc...@yahoo.fr On 08/01/2014 09:11, Bence Fábián wrote: I use QEMU emulator version 1.6.0, Copyright (c) 2003-2008 Fabrice Bellard I don't give any networking options at the command line and it works for me. I use 9front but I don't think it matters. I think Yoann asked how to connect to Plan9 from MacOS, right? You have to use tun/tap and maybe drawterm to connect to Plan 9 from MacOS, and then, for example, copy files via /mnt/term/. Nicolas
Re: [9fans] qemu and networking
In his mail he was trying to reach the host from the guest. But the other way around he would need tun/tap. That's correct. 2014/1/9 Nicolas Bercher nberc...@yahoo.fr On 08/01/2014 09:11, Bence Fábián wrote: I use QEMU emulator version 1.6.0, Copyright (c) 2003-2008 Fabrice Bellard I don't give any networking options at the command line and it works for me. I use 9front but I don't think it matters. I think Yoann asked how to connect to Plan9 from MacOS, right? You have to use tun/tap and maybe drawterm to connect to Plan 9 from MacOS, and then, for example, copy files via /mnt/term/. Nicolas
Re: [9fans] qemu and networking
On 09/01/2014 17:10, Bence Fábián wrote: In his mail he was trying to reach the host from the guest. But the other way around he would need tun/tap. That's correct. On 07/01/2014 23:16, Yoann Padioleau wrote: How can I transfer files between plan9 and my host (I'm under macos)? Not sure the files transfer direction was mentioned at all: English is far from being my native language but *between* vs. *from...to* sound different to me. ;-) Nicolas
Re: [9fans] qemu and networking
ip/ping is a plan 9 command 10.0.2.2 is the ip of the (simulated) gateway from the guest 2014/1/9 Nicolas Bercher nberc...@yahoo.fr On 09/01/2014 17:10, Bence Fábián wrote: In his mail he was trying to reach the host from the guest. But the other way around he would need tun/tap. That's correct. On 07/01/2014 23:16, Yoann Padioleau wrote: How can I transfer files between plan9 and my host (I'm under macos)? Not sure the files transfer direction was mentioned at all: English is far from being my native language but *between* vs. *from...to* sound different to me. ;-) Nicolas
Re: [9fans] qemu and networking
I use QEMU emulator version 1.6.0, Copyright (c) 2003-2008 Fabrice Bellard I don't give any networking options at the command line and it works for me. I use 9front but I don't think it matters. term% pci | grep net 0.3.0:net 02.00.00 8086/100e 11 0:febc 131072 1:c041 64 term% cat '#l0/ether0/ifstats' Good Packets Received: 161 0 Good Packets Transmitted: 94 0 Total Octets Received: 163085 0 Total Octets Transmitted: 9118 0 Total Packets Received: 161 0 Total Packets Transmitted: 94 0 lintr: 0 1 rintr: 96 96 tintr: 0 0 ixcs: 0 0 0 rdtr: 0 Ctrlext: eeprom: 5452 1200 5634 3000 1000 6403 100E 8086 100E 8086 3040 0008 2000 7E14 0048 1000 00D8 2700 6CC9 3150 0722 040B 0984 C000 0706 1008 0F04 7FFF 4D01 0100 4000 121C 79AD phy:9140 794D 0141 0C20 01E1 01E0 0F00 3C00 0B62 AC00 0170 term% ndb/query sys $sysname ip=10.0.2.15 ipmask=255.255.255.0 ipgw=10.0.2.2 sys=cake dns=10.0.2.3 sys=cake ether=525400123456 term% 2014/1/7 Bakul Shah ba...@bitblocks.com On Tue, 07 Jan 2014 22:16:02 GMT Yoann Padioleau p...@fb.com wrote: I've installed plan9 on a plan9.raw.img file via qemu and I'm able to boot = on it. How can I transfer files between plan9 and my host (I'm under macos)? I've followed http://plan9.bell-labs.com/wiki/plan9/installing_plan_9_on_qe= mu/index.html and run qemu -hda Plan9.qcow2.img -net nic -net user but from plan9 when I do rc ip/ping 10.0.2.2 nothing happens. You can reuse your qcow image with virtualbox where this is relatively easy to fix.
[9fans] qemu and networking
Hi, I've installed plan9 on a plan9.raw.img file via qemu and I'm able to boot on it. How can I transfer files between plan9 and my host (I'm under macos)? I've followed http://plan9.bell-labs.com/wiki/plan9/installing_plan_9_on_qemu/index.html and run qemu -hda Plan9.qcow2.img -net nic -net user but from plan9 when I do rc ip/ping 10.0.2.2 nothing happens.
Re: [9fans] qemu and networking
I've only ever gotten networking working on OS X using the tun/tap driver. It's a bit of a pain in the ass but works quite well. -- Veety
Re: [9fans] qemu and networking
On Tue, Jan 07, 2014 at 10:16:02PM +, Yoann Padioleau wrote: qemu -hda Plan9.qcow2.img -net nic -net user but from plan9 when I do rc ip/ping 10.0.2.2 nothing happens. The user-mode (SLIRP) network stack in QEMU doesn't support ICMP. http://wiki.qemu.org/Documentation/Networking#User_Networking_.28SLIRP.29
Re: [9fans] qemu and networking
On Tue, 07 Jan 2014 22:16:02 GMT Yoann Padioleau p...@fb.com wrote: I've installed plan9 on a plan9.raw.img file via qemu and I'm able to boot = on it. How can I transfer files between plan9 and my host (I'm under macos)? I've followed http://plan9.bell-labs.com/wiki/plan9/installing_plan_9_on_qe= mu/index.html and run qemu -hda Plan9.qcow2.img -net nic -net user but from plan9 when I do rc ip/ping 10.0.2.2 nothing happens. You can reuse your qcow image with virtualbox where this is relatively easy to fix.