[Server-devel] create_user and re-registration

2009-10-12 Thread Daniel Drake
Hi, If an XO re-registers with the XS, its key is once again appended to .ssh/authorized_keys. Since introducing automatic registration in nepal we end up with many duplicate copies of the keys... any chance this small patch could be added? or that we could overwrite instead of append to the

Re: [Server-devel] fresh XS 0.6 install

2009-10-12 Thread tkkang
I am having problem with SoAS registration. I get can't connect error to server I check.. and idmgr (pid 3484) is running.. Not able to confirm if it is listening to 8080 with netstat --listen -pe --inet Am I missing something? -Original Message- From: Tim Moody

Re: [Server-devel] create_user and re-registration

2009-10-12 Thread Daniel Drake
2009/10/12 Martin Langhoff martin.langh...@gmail.com: Hi Daniel, Reasonable request... I reviewed the patch, expecting you'd be running `sort -u` over a tmp copy of authorized_keys, but it does nothing like that. How does it help, then? What does sort -u do? The man page doesn't make it

Re: [Server-devel] create_user and re-registration

2009-10-12 Thread Martin Langhoff
On Mon, Oct 12, 2009 at 10:25 AM, Daniel Drake d...@laptop.org wrote: What does sort -u do? The man page doesn't make it very clear. Same as sort|uniq, but... The awk command I inserted simply removes all lines from a file that are a duplicate of another. Or at least I hope it does - I don't

Re: [Server-devel] create_user and re-registration

2009-10-12 Thread Martin Langhoff
Now that makes more sense :-) m On Mon, Oct 12, 2009 at 10:53 AM, Daniel Drake d...@laptop.org wrote: 2009/10/12 Martin Langhoff martin.langh...@gmail.com: So that's the issue. I think you sent the wrong patch. No awk line in the patch, at least that I can see... Odd, lets try again.

Re: [Server-devel] Problemas con el Internet con el XS

2009-10-12 Thread Martin Langhoff
2009/10/12 Kevin Mauricio Benavides Castro kbenavi...@americancollege.edu.ni: Hola como estas martin tengo un problema con el XS con lo que es el internet Hola Kevin! que en uno de los servidores lo configuro normal a como estan configurado el resto pero parece que este no transmite internet

Re: [Server-devel] fresh XS 0.6 install

2009-10-12 Thread Tim Moody
would it make sense to modify /etc/services so 8080 is named idmgr? that would make netstat --listen -pe --inet a little more meaningful. - Original Message - From: Martin Langhoff martin.langh...@gmail.com To: Tim Moody timmo...@sympatico.ca Cc: server-devel@lists.laptop.org Sent:

Re: [Server-devel] fresh XS 0.6 install

2009-10-12 Thread Tim Moody
There's probably a better way to do this, but I don't know the xo very well yet. Here's what I did on soas: (assuming that networking is working, i.e. you can type schoolserver in the browse address and reach the moodle login screen on the xs) from home access the setup menu and take

Re: [Server-devel] fresh XS 0.6 install

2009-10-12 Thread tkkang
Thanks. As I read the threads I figured out that I need to make some change to the idmgr.conf so that it listen to specific IP of my XS. Timely help from Dave Hamilton save my day - added BIND_ADDRESS=192.168.1.22 (my XS IP) and the registration is now working. Cheers -Original

Re: [Server-devel] fresh XS 0.6 install

2009-10-12 Thread Martin Langhoff
On Mon, Oct 12, 2009 at 6:13 PM, tkk...@nurturingasia.com wrote: Thanks. As I read the threads I figured out that I need to make some change to the idmgr.conf so that it listen to specific IP of my XS. Timely help from Dave Hamilton save my day - added BIND_ADDRESS=192.168.1.22 (my XS IP)

Re: [Server-devel] fresh XS 0.6 install

2009-10-12 Thread Jerry Vonau
On Mon, 2009-10-12 at 18:20 +0200, Martin Langhoff wrote: On Mon, Oct 12, 2009 at 6:13 PM, tkk...@nurturingasia.com wrote: Thanks. As I read the threads I figured out that I need to make some change to the idmgr.conf so that it listen to specific IP of my XS. Timely help from Dave