From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <40E65D6D.4050101@place.org> Date: Sat, 3 Jul 2004 00:17:01 -0700 From: Stephen Wynne User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [9fans] cpuserver: dhcp for authsrv, rio, users, ssh, factotum, pull Topicbox-Message-UUID: b3a996ae-eacd-11e9-9e20-41e7f4b1d025 I'm attempting to setup both a cpuserver and an authserver on one system. I'd like it to be a terminal, too. First, I more or less followed the advice on it at http://www.cs.bell-labs.com/wiki/plan9/Configuring_a_Standalone_CPU_Server while also looking at http://pages.cpsc.ucalgary.ca/~mirtchov/lanlp9/4e/cpuauth.html This may sound funny, but can I setup a CPU server, auth server, and terminal all on the same system and have it all configure itself dynamically based on a DHCP IP address? Although my system worked just fine from the gnot install defaults, after converting to a cpuserver, I got this: RIO says: aux/vga: mga2164w: can't set mga type rio: can't open display: initdisplpay: /dev/draw/new: no framebuffer init: rc exit status: rc 12: rio 13: display open Adding lines of display setup logic from from termrc didn't help. I am unclear what passwords to assign to secstore and bootes as I'm setting up the authserver for the first time. I'm also unclear what the difference is between bootes and other users I might create after this. Also, SSH fails to connect now that I've rebooted and setup bootes as the terminal "owner" (if that's the right term, pardon my pun). I figure something must be haywire in my authentication (Factotum?). Following instructions at http://pages.cpsc.ucalgary.ca/~mirtchov/lanlp9/tips.html I figured I should combine both authserver and terminal instructions. I get: cpu% auth/secstore -p /tmp/factotum can't dial tcp!$auth!5356 secstore authentication failed Out of curiosity, I tried to do a pull to update my system. That didn't work, either. I was running as bootes connected through drawterm: cpu% /usr/glenda/bin/rc/pull post... srv tcp!sources.cs.bell-labs.com!9fs: mount failed: authentication failed bind: /n/sources/plan9: '/n/sources/plan9' does not exist servermount: bind 363: bind cpu% 9fs sources srv tcp!sources.cs.bell-labs.com: mount failed: authentication failed I apologize for asking so many questions at once, but there doesn't seem to be a true cookbook recipe posted on just how to do this with all the obvious steps included for mortals like me. One problem I hit was trying to setup fossil by default on this system. There were exceptions to the flow of the normal KFS setup that threw me off and I was in a hurry. I have something else I want to do that I was almost able to do with a plain KFS gnot install, so I'm tempted to just do it over again and get back to that... By the way, can I reboot a system from drawterm and how would I do that? My cpurc is at http://www.place.org/~stevemw/junk/cpurc The ftpfs command is really handy!