[9fans] 9pfuse adventure
  Home FAQ Contact Sign in
comp.os.plan9 only
 
Advanced search
POPULAR GROUPS

more...

comp.os.plan9 Profile…
 Up
[9fans] 9pfuse adventure         


Author: sqweek
Date: Feb 6, 2008 23:53

A while ago I ran acme at home to edit files at work using the neat
u9fs over ssh trick[1]. I was impressed with how well it worked, so I
thought I'd try it the other way. But obviously, my work machine isn't
running plan9 so I can't use exactly the same approach.
Also, my username at home is different to my username at work.
Wouldn't have expected this to give me trouble, but p9p doesn't appear
provide any facility to attach as a different user. So, I modified the
attach strategy to look for a USER environment variable before falling
back on getuser(). I've attached the diff, hopefully I got everything.
At this point all the connections work:
Show full article (10.22Kb)
17 Comments
Re: [9fans] 9pfuse adventure         


Author: Russ Cox
Date: Feb 8, 2008 11:26

> provide any facility to attach as a different user. So, I modified the
> attach strategy to look for a USER environment variable before falling
> back on getuser(). I've attached the diff, hopefully I got everything.

The name in the attach is almost just a comment.
What matters is the name used inside the authentication
protocol. (The name in the attach is really only there for
non-authenticated connections.) So these changes
shouldn't be necessary.
> !adding key: role=speakfor proto=p9sk1 dom=sqweek.dnsdojo.org
> user: sqweek
> password:
> !

This is the problem: you should never be prompted for a
role=speakfor key. You should be prompted for a role=client key.
If that happened correctly then I think things would have just
worked. Try pre-loading a role=client key into factotum and
see if that works better.

Russ
3 Comments
Can't find CD-ROM         


Author: Chris Saunders
Date: Feb 11, 2008 01:31

I am attempting to install Plan9 on Virtual PC. I boots fine but later when
I attempt to find the CD-ROM I cannot. Could anyone help?

Regards
Chris Saunders
3 Comments
Re: [9fans] Can't find CD-ROM         


Author: Pietro Gagliardi
Date: Feb 11, 2008 03:11

What are you doing when you attempt to find the CD-ROM?

On Feb 11, 2008, at 4:31 AM, Chris Saunders wrote:
> I am attempting to install Plan9 on Virtual PC. I boots fine but
> later when
> I attempt to find the CD-ROM I cannot. Could anyone help?
>
> Regards
> Chris Saunders
no comments
Re: [9fans] Can't find CD-ROM         


Author: Eris Discordia
Date: Feb 11, 2008 05:39

On Mon, 11 Feb 2008 09:31:15 -0000, Chris Saunders
mountaincable.net> wrote:
> I am attempting to install Plan9 on Virtual PC. I boots fine but later
> when
> I attempt to find the CD-ROM I cannot. Could anyone help?
>
> Regards
> Chris Saunders

I would suggest avoiding Virtual PC for Plan 9. My efforts went nowhere
with an installation of Plan 9 in VPC.

Try QEMU for Windows instead: http://www.h7.dion.ne.jp/~qemu-win/
(download the Windows installer, follow the instructions in the docs and
you will do fine).

Regarding your question (that is, if you want to see for yourself that
Plan 9 will not work on VPC):
Show full article (1.34Kb)
no comments
Re: [9fans] Can't find CD-ROM         


Author: ISHWAR RATTAN
Date: Feb 11, 2008 06:38

Switch to qemu!

-ishwar

On Mon, 11 Feb 2008, Chris Saunders wrote:
> I am attempting to install Plan9 on Virtual PC. I boots fine but later when
> I attempt to find the CD-ROM I cannot. Could anyone help?
>
> Regards
> Chris Saunders
>
no comments
Re: [9fans] Can't find CD-ROM         


Author: Chris Saunders
Date: Feb 11, 2008 06:54

I tried to load it from /dev/sdD0/data which according to the instruction
that I was following is correct.

Regards
Chris Saunders

"Pietro Gagliardi" mac.com> wrote in message
news:1BB187F4-647D-4443-88E0-02400D0F0641@mac.com...
> What are you doing when you attempt to find the CD-ROM?
>
> On Feb 11, 2008, at 4:31 AM, Chris Saunders wrote:
>
>> I am attempting to install Plan9 on Virtual PC. I boots fine but later
>> when
>> I attempt to find the CD-ROM I cannot. Could anyone help?
>>
>> Regards
>> Chris Saunders
no comments
Re: [9fans] Can't find CD-ROM         


Author: Chris Saunders
Date: Feb 11, 2008 06:54

As far as I know there is no Open dialog box in Plan9. Perhaps you could be
a little more explicit. I have several times brought the instalation up to
this point and the installer suggests that the install image should be at
/dev/sdD0/data.

Regards
Chris Saunders
> 4. When the virtual machine is running, try finding the menu item labeled
> "capture disc image..." or similar and when asked for an ISO image point
> the Open dialog box to the Plan 9 CD image.
no comments
Re: [9fans] Can't find CD-ROM         


Author: Eris Discordia
Date: Feb 11, 2008 07:20

On Mon, 11 Feb 2008 14:54:20 -0000, Chris Saunders
mountaincable.net> wrote:
> As far as I know there is no Open dialog box in Plan9.

Not in Plan 9. I thought you might be getting the Virtual PC settings
wrong and was referring to the settings on the menu bar on top of your
virtual machine window (which belongs to VPC).
> I have several times brought the instalation up to
> this point and the installer suggests that the install image should be at
> /dev/sdD0/data.

If you have come this far, it is clear I was wrong. The install image is
indeed where the installer suggests, at /dev/sdD0/data.

I guess you get the problem later on when you are asked (by the Plan 9
installer) to "browse" for the distribution (at the copydist stage of the
installation). At that point, having supplied /dev/sdD0/data as your data
source before, you have to tell the installer to look in the / directory
of the image for the distribution to copy. Just type in "/" (without the
quotes) there.
Show full article (1.46Kb)
no comments
Re: [9fans] Can't find CD-ROM         


Author: Alf
Date: Feb 11, 2008 07:24

> I am attempting to install Plan9 on Virtual PC. I boots fine but later when
> I attempt to find the CD-ROM I cannot. Could anyone help?
>

did you look under your desk ?
no comments
1 2