From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Thu, 22 May 2014 23:26:16 -0400 Message-ID: From: yan cui To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a11344278dafe8f04fa08caee Subject: [9fans] [GSOC] auth server: connection refused Topicbox-Message-UUID: ef69b290-ead8-11e9-9d60-3106f5b1d025 --001a11344278dafe8f04fa08caee Content-Type: text/plain; charset=UTF-8 Hi all, I encountered an error when connecting drawterm with cpu/auth server. Basically, I use drawterm -c super -a super -u bootes but it turns out an error, cpu: can't dial: super: Connection refused goodbye on the plan9 cpu/auth server, I type auth/debug, it outputs p9sk1 key: proto=p9sk1 user=bootes dom=cuiy.net !hex? !password? dialing auth server net!super!ticket cannot dial auth server: connection refused csquery authdom=cuiy.net auth=super I also type cpu -h super on the auth/cpu server, the error is the same with drawterm: cpu: can't dail: super: connection refused I set up the auth/cpu server according to plan9 wiki, http://plan9.bell-labs.com/wiki/plan9/configuring_a_standalone_cpu_server/ Followings are my /lib/ndb/local config. Any suggestions or comments are welcome! # # files comprising the database, use as many as you like, see ndb(6) # database= file=/lib/ndb/local file=/lib/ndb/common # file=/lib/ndb/auth auth=sources.cs.bell-labs.com authdom=outside.plan9.bell-labs.com ipnet=cuiy ip=192.168.122.0 ipmask=255.255.255.0 auth=super cpu=super fs=super ntp=128.59.22.30 dns=192.168.122.1 ipgw=192.168.122.1 authdom=cuiy.net dnsdom=cuiy.net ip=192.168.122.71 sys=super dom=cuiy.net # # because the public demands the name localsource # ip=127.0.0.1 sys=localhost dom=localhost -- Think big; Dream impossible; Make it happen. --001a11344278dafe8f04fa08caee Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,

=C2=A0=C2=A0 I en= countered an error when connecting drawterm with cpu/auth server.
= Basically, I use
drawte= rm -c super -a super -u bootes
but it turns out an error,
cpu: can't dial: super: Connection refused
<= span style=3D"background-color:rgb(0,255,255)">goodbye

on the plan9 cpu/auth server, I type auth/debug, it out= puts
p9sk1 ke= y: proto=3Dp9sk1 user=3Dbootes dom=3Dcuiy.net !hex? !password?
=
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 cannot dial auth server: connection refused
I also type cpu -h super on the auth/cpu server, th= e error is the same with drawterm:
cpu: can't d= ail: super: connection refused

I set up the auth/c= pu server according to plan9 wiki,
http://plan9.bell-labs.co= m/wiki/plan9/configuring_a_standalone_cpu_server/

Followings are my /lib/ndb/local config.
Any suggestions= or comments are welcome!

#
#=C2=A0 files comprising the database= , use as many as you like, see ndb(6)
#
database=3D
=C2=A0=C2=A0= =C2=A0 file=3D/lib/ndb/local
=C2=A0=C2=A0=C2=A0 file=3D/lib/ndb/common
#=C2=A0=C2=A0=C2=A0 file=3D/li= b/ndb/auth

auth=3Dsource= s.cs.bell-labs.com authdom=3Doutside.plan9.bell-labs.com

ipnet=3Dcuiy ip=3D192.168.122.0 ipmask=3D255.255.255.0
=C2=A0=C2=A0= =C2=A0 auth=3Dsuper
=C2=A0=C2=A0=C2=A0 cpu=3Dsuper
=C2=A0=C2=A0=C2=A0= fs=3Dsuper
=C2=A0=C2=A0=C2=A0 ntp=3D128.59.22.30
=C2=A0=C2=A0=C2=A0 = dns=3D192.168.122.1
=C2=A0=C2=A0=C2=A0 ipgw=3D192.168.122.1
=C2=A0=C2= =A0=C2=A0 authdom=3Dcuiy.net
=C2=A0=C2=A0=C2=A0 dnsdom=3Dcuiy.net
ip=3D192.168.122.71 sys=3Dsuper dom=3Dcuiy.net=

#
#=C2=A0 because the public demands the name localsource#
ip=3D127.0.0.1 sys=3Dlocalhost dom=3Dlocalhost

--
Think big; Dream impossible; Make= it happen.=C2=A0=C2=A0
--001a11344278dafe8f04fa08caee--