[9fans] Remote auth server

2014-03-24 Thread Paul A. Anokhin
Hi! I'm trying to setup my first multi-host Plan 9 system. I was thinking about running file server/auth server on a VPS so that I can access it from anywhere. I configured cpu service on my VPS and I can connect to it via drawterm. But when I try to boot a terminal that is configured to use it a

Re: [9fans] Remote auth server

2014-03-24 Thread Ingo Krabbe
Yes it is possible and usefull too. All you should have on a fast lan is a fileserver. But: 1. the plan9 terminal must configure the network before it connects to the auth server either through dhcp or through a static configuration in the boot configuration 2. somewhere in the s

Re: [9fans] Remote auth server

2014-03-24 Thread erik quanstrom
> But is it actually possible to have the auth server and terminal not > on the same LAN? Every configuration example I've seen has all the > resources on the same IP address block. yes. i used to run a single authentication server for 2 sites. you'll need to make sure the auth server is announci

Re: [9fans] Remote auth server

2014-03-24 Thread cinap_lenrek
authdom isnt a hostname. its just a string. you can supply auth server ip address in plan9.ini with auth= or send it to the terminal using plan9 dhcp server (its a plan9 specific dhcp option field). it does not need to be an ip in ndb, ip/dhcpd will resolve it to an ip address for the client. -- c

Re: [9fans] Remote auth server

2014-03-24 Thread erik quanstrom
On Mon Mar 24 10:12:19 EDT 2014, cinap_len...@felloff.net wrote: > authdom isnt a hostname. its just a string. you can supply auth > server ip address in plan9.ini with auth= or send it to the > terminal using plan9 dhcp server (its a plan9 specific dhcp > option field). it does not need to be an i

Re: [9fans] Remote auth server

2014-03-24 Thread Paul A. Anokhin
OK, I checked and found out that the auth server seems to announce all the needed services. In fact i use a recent 9front and it seems to have reasonable defaults regarding all this stuff. When I turn off authentication on the server side, I can mount my auth server's filesystem via 9fs script from

Re: [9fans] Remote auth server

2014-03-24 Thread erik quanstrom
On Mon Mar 24 11:42:43 EDT 2014, pa...@paul7.net wrote: > OK, I checked and found out that the auth server seems to announce all > the needed services. In fact i use a recent 9front and it seems to > have reasonable defaults regarding all this stuff. > When I turn off authentication on the server s

[9fans] more serial questions

2014-03-24 Thread erik quanstrom
i'm just asking questions, because i don't have the experience the author clearly has. i'm looking at this comment /* * if we encounter a long run of continuous read * errors, do something drastic so that our caller * doesn't just

[9fans] usbinstamd64 file system full

2014-03-24 Thread Adriano Verardo
Hi, all On my Dell3010 and Tecnint PcBox the compilation of sources doesn't complete due to the lack of space on the usb key. I tried du -a / > du_before # on a key just loaded (3005 free blocks) du -a / > du_after # on the same key after the failure (0 free blocks) wc du_before du_after diff d

[9fans] No regression tests

2014-03-24 Thread Adriano Verardo
A few weeks ago i wrote about an unkillable manager of usb barcode readers. That code worked perfectly for 5+ years, with absolutely no changes. IMHO the problem seems to be a change in Bell kernel sources, as under 9Atom all works as expected. Unfortunately I can't say what is the last working

[9fans] 9front: /lib/ndb/local clobbered after edit w/ sam, soon following update

2014-03-24 Thread Michael Hansen
Earlier today, I ran sysupdate on a Thinkpad T23 running 9front-3196.bf2df3ad17fa and rebuilt from source, as shown in the 9front wiki. Later, I edited /lib/ndb/local with sam to specify a different ntp server. After writing the change, closing the file, and quitting sam, I restarted with fshalt -