* [9fans] authentication, factotum and p9p
@ 2015-01-15 8:19 Ingo Krabbe
2015-01-15 8:52 ` David du Colombier
0 siblings, 1 reply; 2+ messages in thread
From: Ingo Krabbe @ 2015-01-15 8:19 UTC (permalink / raw)
To: 9fans
Good Morning,
I have a running cpu/file server (legacy plan9 with venti backed fossil) and a plan9 terminal through qemu in my linux laptop and I want to mount the 9p filesystem from the cpu/file server with linux now.
The 9p2000 protocol itself should be simple, but authentication might be a problem.
When I try
# 9 9pfuse -D CPU-ADDR MNTPT
I get
<- Tversion tag 0 msize 8192 version '9P2000'
-> Rversion tag 65535 msize 8192 version '9P2000'
<- Tattach tag 0 fid 0 afid -1 uname ingo aname
-> Rerror tag 0 ename cannot attach as none before authentication
9pfuse: fsmount: cannot attach as none before authentication
So how can I tell 9pfuse about the authentication tokens it needs.
Any ideas?
regards
ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [9fans] authentication, factotum and p9p
2015-01-15 8:19 [9fans] authentication, factotum and p9p Ingo Krabbe
@ 2015-01-15 8:52 ` David du Colombier
0 siblings, 0 replies; 2+ messages in thread
From: David du Colombier @ 2015-01-15 8:52 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
> So how can I tell 9pfuse about the authentication tokens it needs.
You have to authenticate using srv, before calling 9pfuse. For example:
% echo 'auth=andromeda.9grid.fr authdom=9grid.fr' >> $PLAN9/ndb/local
% factotum -n
% srv -a andromeda.9grid.fr
% 9pfuse `namespace`/andromeda.9grid.fr /n/andromeda
--
David du Colombier
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-15 8:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-15 8:19 [9fans] authentication, factotum and p9p Ingo Krabbe
2015-01-15 8:52 ` David du Colombier
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).