Listening to drawterm connections

echo 'key proto=p9sk1 dom=plan9 user=glenda !password=glenda' >/mnt/factotum/ctl

aux/listen1 -t tcp!*!ncpu /bin/cpu -R &

Invoking drawterm from client

drawterm -c <IP> -a <IP>

Exporting files from Linux

Install u9fs

apt-get install xinetd

Create file /etc/xinetd.d/u9fs

service u9fs

{

        socket_type     = stream

        user            = root

        instances       = UNLIMITED

        wait            = no

        server          = /usr/local/bin/u9fs

        server_args     = -a none

        port = 564

}

Add in /etc/services

# Local services

u9fs    564/tcp

Testing from Linux:

mount -t 9p <IP> <mnt-pint>

Testing from Plan 9

9fs <IP>