[9fans] ACME: can't open file

2011-01-28 Thread Nyan Htoo Tin

Hi, I'm newbie to plan 9, I followed a newbie-guideline for plan 9.
http://docs.google.com/viewer?a=v&q=cache:QmcfceZ7SaEJ:www.quanstro.net/newbie-guide.pdf+plan+9+newbie&hl=en&pid=bl&srcid=ADGEESgTqzYeNZOLhG2K94Rvow-B5QW7fca_kmbC2_aLHOYpZddUl27h_fpgZcy46k8CSKJ9CXoZVzGiEK0uCamT85OSZuUJjf3EuJe4DtkzATf3NhPMYS3PCVzt0nj4PQl7pIgfbOAM&sig=AHIEtbShZDoLJxZOeKbCGxgKuQx_B_yndA&pli=1
section 3.2
When I tried acme hello.c, there's an error saying:
can't open hello.c: 'hello.c' file does not exist

I'm running plan 9 on virtual box. Host OS is fedora.

Thanks & Best Regards,
Nyan



[9fans] network connection on virtualbox

2011-02-02 Thread Nyan Htoo Tin
Hi, Running plan 9 on virtual box 4.0.2, I've configured network
adaptaters as below.
Attached to NAT
Adapter type: PCnet-FAST 3(Am79C973)
check cable connected.

After booting plan 9, I typed ip/ipconfig, after waiting some time,
ipconfig: no success with DHCP.
I don't know what's wrong??
Please help.

Thanks in advance.

Nyan



Re: [9fans] network connection on virtualbox

2011-02-03 Thread Nyan Htoo Tin
On Feb 2, 9:11 pm, quans...@quanstro.net (erik quanstrom) wrote:
> On Wed Feb  2 05:04:07 EST 2011, nyanhtoo...@gmail.com wrote:
>
> > Hi, Running plan 9 on virtual box 4.0.2, I've configured network
> > adaptaters as below.
> > Attached to NAT
> > Adapter type: PCnet-FAST 3(Am79C973)
> > check cable connected.
>
> > After booting plan 9, I typed ip/ipconfig, after waiting some time,
> > ipconfig: no success with DHCP.
> > I don't know what's wrong??
> > Please help.
>
> virtualbox is finicky and what works depends a lot on the
> version of vb and it seems to depend on your own hardware.
>
> the 79c973 driver doesn't track link state currently, so there's
> limited ways i can think of to remotely help.  did you happen
> to see a message that looks like this on the console?
>
>                 print("#l%d: unknown PCnet card version 0x%.7ux\n",
>                         ether->ctlrno, x&0xFFF);
>
> can you verify a /net/ether0 exists?  if the answers are no and yes,
> then it might be worth running snoopy in another window
> to verify that you can see any packets.
>
> you might also try another emulated chipset.
>
> - erik

I tried on Qemu, still same problem even though now ip/ipconfig and
ndb/dns -r seems ok,



[9fans] Plan9 CPU server

2011-02-11 Thread Nyan Htoo Tin
Hi all, I've successfully tried plan9 on qemu/virtualbox.
But I don't understand what is CPU server that I usually saw in plan9
doc/manual??
I'd like to know details...link/pointer would be appreciated.

I've downloaded http://www.9gridchan.org/9grid_node_img and used
drawterm.
But I have no idea how to connect from plan9 machine.
Let's say after I've booted CPU server using this command
 qemu -hda ventigridserver.qcow2.img -redir tcp:2567::567 -redir tcp:
17010::17010 -m 256

I could use drawterm. But How do I connect from another plan9 machine?
I've tried cpu -h gridserver but not successful



Re: [9fans] Plan9 CPU server

2011-02-14 Thread Nyan Htoo Tin
On Feb 12, 1:22 am, j...@jfloren.net (John Floren) wrote:
> On Fri, Feb 11, 2011 at 8:30 AM, Nyan Htoo Tin  wrote:
>
>
>
>
>
>
>
>
>
> > Hi all, I've successfully tried plan9 on qemu/virtualbox.
> > But I don't understand what is CPU server that I usually saw in plan9
> > doc/manual??
> > I'd like to know details...link/pointer would be appreciated.
>
> > I've downloadedhttp://www.9gridchan.org/9grid_node_imgand used
> > drawterm.
> > But I have no idea how to connect from plan9 machine.
> > Let's say after I've booted CPU server using this command
> >  qemu -hda ventigridserver.qcow2.img -redir tcp:2567::567 -redir tcp:
> > 17010::17010 -m 256
>
> > I could use drawterm. But How do I connect from another plan9 machine?
> > I've tried cpu -h gridserver but not successful
>
> I'm not sure about the 9gridchan images in particular, but if you're
> trying to connect from another Plan 9 machine, *in general*, you want
> to add some stuff to /lib/ndb/local. If your cpu/auth server is called
> gridserver, the computer you want to connect *from* should have
> entries something like this:
>
> auth=gridserver authdom=yourauthdomain
>
> sys=gridserver dom=gridserver.yourauthdomain ip=
>
> Then you can do cpu -h gridserver.
>
> Hope this helps
>
> John

After I start qemu with

 qemu -hda ventigridserver.qcow2.img -redir tcp:2567::567 -redir tcp:
17010::17010 -m 256
I start again this time with: qemu -hda ventigridserver.qcow2.img
The one I want to connect *from* /lib/ndb/local file has these lines
also:
authdom=the9grid auth=gridserver
.
sys=gridserver authdom=the9grid
auth=gridserver
When I do cpu -h gridserver,
cpu: can't dial: gridserver: cs: can't translate address: dns:
resource does not exist

Thanks for your help...