From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Thu, 22 May 2014 23:24:34 -0400 Message-ID: From: yan cui To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=089e01634d8abf86bc04fa08c414 Subject: [9fans] [GSOC] auth server: connection refused Topicbox-Message-UUID: ef649d00-ead8-11e9-9d60-3106f5b1d025 --089e01634d8abf86bc04fa08c414 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. --089e01634d8abf86bc04fa08c414 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
--089e01634d8abf86bc04fa08c414-- 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-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 23 May 2014 00:42:52 -0400 Message-ID: From: yan cui To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=047d7b5d92d1c6943404fa09dc3f Subject: Re: [9fans] [GSOC] auth server: connection refused Topicbox-Message-UUID: ef7c6c1e-ead8-11e9-9d60-3106f5b1d025 --047d7b5d92d1c6943404fa09dc3f Content-Type: text/plain; charset=UTF-8 Finally got the reason, I execute a command exec rio at the end of /cfg/$sysname/cpurc, which turns out the reason of blocking drawterm, although do not know the detailed reason. Sorry for the noise. 2014-05-22 23:24 GMT-04:00 yan cui : > 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. > -- Think big; Dream impossible; Make it happen. --047d7b5d92d1c6943404fa09dc3f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Finally got the reason, I execute a command exec rio at th= e end of /cfg/$sysname/cpurc, which turns out the reason of blocking drawte= rm, although do not know the detailed reason. Sorry for the noise.=C2=A0


2014-05-22 23= :24 GMT-04:00 yan cui <ccuiyyan@gmail.com>:
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 dialing auth server net!super!ticket
=
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 cannot dial auth server: connection refused
=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 csquery authdom=3Dcuiy.net auth=3Dsuper

I also type = cpu -h super on the = auth/cpu server, the 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.com/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=3Dsources.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<= /a>
=C2=A0=C2=A0=C2=A0 dnsdom=3D
c= uiy.net

ip=3D192.168.122.71 sys=3Dsuper dom=3Dcuiy.net

#
#=C2=A0 because the pu= blic demands the name localsource
#
ip=3D127.0.0.1 sys=3Dlocalhost dom=3Dlocalhost<= font color=3D"#888888">

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



--
Think big; Dream i= mpossible; Make it happen.=C2=A0=C2=A0
--047d7b5d92d1c6943404fa09dc3f-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 23 May 2014 08:17:01 +0100 Message-ID: From: Charles Forsyth To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=089e014940f015bc7904fa0c04a5 Subject: Re: [9fans] [GSOC] auth server: connection refused Topicbox-Message-UUID: ef871bfa-ead8-11e9-9d60-3106f5b1d025 --089e014940f015bc7904fa0c04a5 Content-Type: text/plain; charset=UTF-8 On 23 May 2014 05:42, yan cui wrote: > which turns out the reason of blocking drawterm, although do not know the > detailed reason. Sorry for the noise. /rc/bin/cpurc has # cpu-specific startup if(test -e /cfg/$sysname/cpurc) . /cfg/$sysname/cpurc but that precedes setting up the network, listeners, so if you exec at that point, most of initialisation will be missed --089e014940f015bc7904fa0c04a5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On 23 May 2014 05:42, yan cui <ccuiyyan@gmail.com> wrote:
which turns out the reason of blocking drawterm, although do not know the d= etailed reason. Sorry for the noise.=C2=A0

/rc/bin/cpurc has
# cpu-specific startup
if(test -e /cfg/$sysname/cpurc)
. /cfg/$sysname/cpurc
<= div>
but that precedes setting up the network, listeners,
s= o if you exec at that point, most of initialisation will be missed
--089e014940f015bc7904fa0c04a5-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 23 May 2014 14:25:10 -0400 Message-ID: From: yan cui To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=bcaec50dc6688ade7804fa1559af Subject: Re: [9fans] [GSOC] auth server: connection refused Topicbox-Message-UUID: efc9001a-ead8-11e9-9d60-3106f5b1d025 --bcaec50dc6688ade7804fa1559af Content-Type: text/plain; charset=UTF-8 Finally got the reason. 2014-05-23 3:17 GMT-04:00 Charles Forsyth : > > On 23 May 2014 05:42, yan cui wrote: > >> which turns out the reason of blocking drawterm, although do not know the >> detailed reason. Sorry for the noise. > > > /rc/bin/cpurc has > > # cpu-specific startup > if(test -e /cfg/$sysname/cpurc) > . /cfg/$sysname/cpurc > > but that precedes setting up the network, listeners, > so if you exec at that point, most of initialisation will be missed > -- Think big; Dream impossible; Make it happen. --bcaec50dc6688ade7804fa1559af Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Finally got the reason.


2014-05-23 3:17 GMT-04:00 Charles Fors= yth <charles.forsyth@gmail.com>:
=

On 23 May 2014 05:42, yan cu= i <ccuiyyan@gmail.com> wrote:
which turns out the reason of blocking drawterm, although do not know the d= etailed reason. Sorry for the noise.=C2=A0

/rc/bin/cpurc has

# cpu-specific startup
if(test -e /cfg/$sysname/cpurc)
. /cfg/$sysname/cpurc
but that precedes setting up the network, listeners,
s= o if you exec at that point, most of initialisation will be missed



--
Think big; Dream i= mpossible; Make it happen.=C2=A0=C2=A0
--bcaec50dc6688ade7804fa1559af-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Fri, 23 May 2014 14:29:33 -0400 To: 9fans@9fans.net Message-ID: <393366970af403aeb6a317020ca5a318@ladd.quanstro.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] [GSOC] auth server: connection refused Topicbox-Message-UUID: efd84fd4-ead8-11e9-9d60-3106f5b1d025 On Fri May 23 14:26:50 EDT 2014, ccuiyyan@gmail.com wrote: > Finally got the reason. personally, i preferred the big switch statement in cpurc. it scales even to large installations, and has the advantage of being a little easier to get an overview. and there's no need for a bunch of files that are similar to #!/bin/rc . config-a - erik From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: "Steve Simon" Date: Fri, 23 May 2014 20:44:51 +0100 To: 9fans@9fans.net In-Reply-To: <393366970af403aeb6a317020ca5a318@ladd.quanstro.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] [GSOC] auth server: connection refused Topicbox-Message-UUID: efddad8a-ead8-11e9-9d60-3106f5b1d025 > personally, i preferred the big switch statement in cpurc. it scales > even to large installations, and has the advantage of being a little > easier to get an overview. and there's no need for a bunch of files I think the argument is that it keeps as much as possible common across all users (who use the labs distro), and keeps the site specific stuff seperate - thus replica can overwrite the common files easily when part of that changes. I guess you could say that its a workaround for the lack of a merge option in replica/pull. I don't know if this is the real reason the ". config-a" files where added, but its how I saw it. -Steve From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Fri, 23 May 2014 15:49:04 -0400 To: 9fans@9fans.net Message-ID: <026f8d18ea0523ab97649904237559fe@ladd.quanstro.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] [GSOC] auth server: connection refused Topicbox-Message-UUID: efe9cd36-ead8-11e9-9d60-3106f5b1d025 On Fri May 23 15:46:50 EDT 2014, steve@quintile.net wrote: > > personally, i preferred the big switch statement in cpurc. it scales > > even to large installations, and has the advantage of being a little > > easier to get an overview. and there's no need for a bunch of files > > I think the argument is that it keeps as much as possible common > across all users (who use the labs distro), and keeps the site specific > stuff seperate - thus replica can overwrite the common files easily > when part of that changes. > > I guess you could say that its a workaround for the lack of a merge option > in replica/pull. > > I don't know if this is the real reason the ". config-a" files where added, > but its how I saw it. i've never been able to keep /rc/bin/cpurc close to the distribution, so while the idea makes sense, i couldn't see the practical value for me. - erik