Re: [Server-devel] IP addressing of access points

2009-01-28 Thread Daniel Drake
2009/1/28 Martin Langhoff martin.langh...@gmail.com: The base range has a very large netblock. It is a /19 at 172.18.96. with 8K addresses for the LAN / AP network. How do we reserve the IP addreses? - All together? (do your APs like to be on top, or bottom?) - a few per /8? (can make

[Server-devel] consequences of re-registering with XS

2009-02-12 Thread Daniel Drake
Hi, As I noted here: http://wiki.laptop.org/go/Deployment_wishlist#Delete_registration_info we are in a sticky situation where a load of XOs are registered to one XS, which no longer exists. We want to register them to a new one, and we are having to manually go to each laptop and modify the

Re: [Server-devel] xs-activation-server over IPv6

2009-02-12 Thread Daniel Drake
2009/2/8 Martin Langhoff martin.langh...@gmail.com: So initially I am going with #1-- do you think you can tweak the initrd a bit more to poke at ef01 over mesh, and ef02 over abg? Looking at activate.py, adding it to the array in try_network()... Thanks, done! New patch at

Re: [Server-devel] xs-activation-server over IPv6

2009-02-14 Thread Daniel Drake
2009/2/14 Martin Langhoff martin.langh...@gmail.com: Later. 0.5.2 or 0.6. If you need it in a formal release, let me know and I'll see about building a 0.5.2 That would be very useful if you could do that within the next week... also if you could include my xs-activity-server patches? We will

[Server-devel] automatic olpc-update from XS

2009-02-18 Thread Daniel Drake
Hi, Has anyone looked into making the XS serve automatic OS updates to XO over the network? I know about http://wiki.laptop.org/go/XS-rsync but it does not really explain how the XOs perform the update... Am I right in guessing that currently some voodoo must be run on the XO to get olpc-update

Re: [Server-devel] automatic olpc-update from XS

2009-02-19 Thread Daniel Drake
2009/2/18 Martin Langhoff martin.langh...@gmail.com: the original plan was to rig all that from the anti-theft proto. On the server side, there's a lot of work to do to make that happen. On the laptop side, it's unclear. For many months my emails to cscott on the matter went unanswered, I

Re: [Server-devel] @a...@...?

2009-02-23 Thread Daniel Drake
2009/2/23, Martin Langhoff martin.langh...@gmail.com: How to test? Firstly, what's the actual bug being addressed? - pay extra attention at the output of ejabberd connected-users - should be in sync with what users see on their network view Where do we view this output? - tail the ejabberd

Re: [Server-devel] @a...@...?

2009-03-05 Thread Daniel Drake
2009/3/4 Martin Langhoff martin.langh...@gmail.com: One little change -- if you have 85 XOs, I would want to see what the memory usage of ejabberd is. How do you suggest that we measure this? Thanks, Daniel ___ Server-devel mailing list

Re: [Server-devel] more 0.5.2-dev02 ejabberd testing

2009-03-09 Thread Daniel Drake
2009/3/6 Daniel Drake d...@laptop.org: I will continue testing by rebooting the server and booting all the XOs again, checking presence visibility, but right now they need a charge, so that will probably have to wait until monday. OK. Booted the server again, and all XOs, and they all managed

Re: [Server-devel] Serving 400+ students w/ a single central XS - ejabberd nightmare?

2009-03-09 Thread Daniel Drake
2009/3/9 Bryan Berry br...@olenepal.org: We will have roughly 8+ AP's. We have found that off-the-shelf AP's can handle around 60-70 users.  But that doesn't still doesn't solve the problem of the XO's getting bogged down by tons of ejabberd chatter. DSD: do you have any ideas about this?

Re: [Server-devel] notes on scaling ejabberd for the XO's

2009-03-15 Thread Daniel Drake
2009/3/15 Martin Langhoff martin.langh...@gmail.com: Client code for Gadget seems to be integrated in the Telepathy new Sugar present on the SoaS images. The server side -- the proper gadget code -- isn't on any XS, and I haven't seen or tested it (lack of time :-( ) Even if I had, it's a

Re: [Server-devel] adding custom dns entries on XS

2009-03-17 Thread Daniel Drake
2009/3/17 Daniel Drake d...@laptop.org: But the iptables idea is a good one, thanks! ...but unfortunately the redirect is done by IP, which results in all services/sites that might be running on the same system as activation.laptop.org being unaccessible, and also breaks as soon as the upstream

Re: [Server-devel] adding custom dns entries on XS

2009-03-17 Thread Daniel Drake
2009/3/17 Martin Langhoff martin.langh...@gmail.com: It's in my plans to have a means to do what you're doing. I was wondering about  - a conf.d approach  - a pre-processor for the .in files that handles ifdef-style blocks  - whether dnsmasq or djbdns can help us here I sure hope BIND

Re: [Server-devel] adding custom dns entries on XS

2009-03-17 Thread Daniel Drake
2009/3/17 Jerry Vonau jvo...@shaw.ca: The dns hijack would suffer from an ip change also, would it not? No. If the real antitheft.laptop.org changes IP, our hijack still works. Daniel ___ Server-devel mailing list Server-devel@lists.laptop.org

[Server-devel] xs-activation-import deleting leases

2009-04-07 Thread Daniel Drake
Hi, xs-activation-import unconditionally deletes the lease files from the directory that it imports. This doesn't play nice with a system such as puppet, which we're using here: we configure puppet to send a json file full of leases to the server, and when that file is changed puppet then runs

Re: [Server-devel] xs-activation-import deleting leases

2009-04-09 Thread Daniel Drake
2009/4/9 Martin Langhoff martin.langh...@gmail.com: The strategy I'm working towards is of atomic drop-box style directories (write a tempfile, mv it to the dropbox). If puppet is in charge of putting the file in its actual destination, then it's in charge of triggering the read new file /

Re: [Server-devel] xs-activation-import deleting leases

2009-04-10 Thread Daniel Drake
2009/4/10 Martin Langhoff martin.langh...@gmail.com: On Fri, Apr 10, 2009 at 6:15 AM, Daniel Drake d...@laptop.org wrote: No, since after the XS tools delete it, it doesn't know if the data on the remote server is new or not. (it doesn't keep other records other than the synchronized file

Re: [Server-devel] XS Restore UI and account aliasing are ready for testing...

2009-04-15 Thread Daniel Drake
2009/4/15 Tomeu Vizoso to...@sugarlabs.org: Hi Martin, how is this going? I think Paraguay were interested in deploying backups, are they going to use this code or further development is needed by them? Any other deployments in sight? The current interest from Paraguay is a simple way to do

Re: [Server-devel] Problems with EjabberD setup and how to test if it's working

2009-04-18 Thread Daniel Drake
2009/4/18 Yifan yifan@students.olin.edu: I am using XS. What command should I use to display the current version? (I'm not too familiar with linux hacking, and I have several stored images, so I'm not entirely sure which one I used.) I don't know, but if you are using anything older than

Re: [Server-devel] Problems with EjabberD setup and how to test if it's working

2009-04-18 Thread Daniel Drake
2009/4/18 Yifan yifan@students.olin.edu: Thanks for your response! The wiki page I'm referring to is http://wiki.laptop.org/go/Ejabberd_Configuration and http://wiki.laptop.org/go/Installing_ejabberd. Also don't use these pages. I haven't seen them before. They seem to be aimed at non-XS

Re: [Server-devel] Server strategy Nauru

2009-04-25 Thread Daniel Drake
2009/4/24 david da...@leeming-consulting.com: Hello, I am in Nauru where they have an OLPC program. I need to give some general advice on the strategy for providing server access. I understand that version 0.5 can only work with 40-50 connected, registered XOs simultaneously (or is it the

Re: [Server-devel] Filtering and authentication

2009-04-25 Thread Daniel Drake
2009/4/25 david da...@leeming-consulting.com: Can anyone refer me to how to set up content filtering on the XS 0.5, or maybe the connection with the public Internet can be pointed to an online proxy service so the filtering is done online. This is a temporary request from the Nauru OLPC

Re: [Server-devel] ds-backup.py backup_url server check

2009-05-04 Thread Daniel Drake
2009/5/1 Dave Bauer d...@solutiongrove.com: OK. If anyone else is interested, here is Browse-101 for 0.82 including the fix for http://dev.laptop.org/ticket/8857 http://dev.laptop.org/~dsd/py-activities/Browse-102.xo; and I tried browse-103 from activities.sugarlabs.org and neither one

Re: [Server-devel] Questions

2009-05-08 Thread Daniel Drake
Hi David, El día 8 de mayo de 2009 18:00, david da...@leeming-consulting.com escribió: Daniel, Feedback from Nauru. It is very hot and very humid. I find typically that almost all the children observe the jumping cursor. The recalibration does help, but it's still a major issue. I am simply

[Server-devel] paraguay XS customizations

2009-05-20 Thread Daniel Drake
In case it is of interest to anyone, here is a summary of changes made to XS-0.5.2 for the paraguayan deployment, in no particular order. All of these changes are automated and maintained through puppet, with puppetmaster running on a master server which we call the mothership. To install an XS,

Re: [Server-devel] [Sugar-devel] Browse-101 for 0.82 and XS-0.6 interop

2009-05-21 Thread Daniel Drake
0.6 . This version was previously available but hard to find -- Daniel Drake posted a (probably identical) version recently, but it was missing from the SL's download facility. Now it's there, easy to find, recommended. Thanks! Someone posted my version here: http://wiki.laptop.org/go

[Server-devel] ejabberd eating lots of CPU time - how to diagnose?

2009-05-25 Thread Daniel Drake
Running XS-0.5.2 at a school. top shows that ejabberd (beam.smp) is using lots of CPU time, in irregular spikes. It has used 43 hours of CPU time since I last restarted it 3 days ago (restarting did not change anything). It is a big school but even at times when there are as few as 33 users

Re: [Server-devel] ejabberd eating lots of CPU time - how to diagnose?

2009-05-25 Thread Daniel Drake
2009/5/25 Martin Langhoff martin.langh...@gmail.com: Strange.  - What does `ejabberdctl stats registeredusers ` say?  - What does `ejabberdctl registered-users` say? registered-users is not a valid option for ejabberdctl. stats registeredusers says 419. My guess is that some users

Re: [Server-devel] ejabberd eating lots of CPU time - how to diagnose?

2009-05-25 Thread Daniel Drake
2009/5/25 Martin Langhoff martin.langh...@gmail.com: Sorry - I meant 'connected-users'. Does the 'connected-users' when the server is idle show bogus connected users? How do you define a bogus connected user? Daniel ___ Server-devel mailing list

Re: [Server-devel] ejabberd eating lots of CPU time - how to diagnose?

2009-05-25 Thread Daniel Drake
2009/5/25 Martin Langhoff martin.langh...@gmail.com: On Mon, May 25, 2009 at 5:24 PM, Daniel Drake d...@laptop.org wrote: How do you define a bogus connected user? XO is off, or out of reach. ejabberd claims that it's online. That's rather difficult to test in a school environment, kids

Re: [Server-devel] ejabberd eating lots of CPU time - how to diagnose?

2009-05-28 Thread Daniel Drake
2009/5/28 Daniel Drake d...@laptop.org: I'm now watching more carefully in a quieter environment and there is a definite correlation between entries appearing in the logs (i.e. users connecting or disconnecting) and CPU spikes. With only 7 connected users, a connection or disconnection causes

Re: [Server-devel] XS server testing

2009-05-29 Thread Daniel Drake
2009/5/28 tkk...@nurturingasia.com: At the moment we are concern about the wireless support. A message below from a volunter: -- Yesterday in TK's office, I experienced that registration takes only 2 second for one XO, so I guess the bandwidth requirement for registratoin process is

[Server-devel] the first user is admin moodle policy

2009-06-16 Thread Daniel Drake
Hi, I don't feel that the first user is admin policy in the new XS-0.6 is going to agree with deployment procedures that well, especially when you are deploying XSes in number. For example in Paraguay, we installed all the XSes at the office and a separate team installed them in the schools. We

Re: [Server-devel] the first user is admin moodle policy

2009-06-17 Thread Daniel Drake
On Wed, 2009-06-17 at 14:31 +0200, Martin Langhoff wrote: On Tue, Jun 16, 2009 at 6:27 PM, Daniel Draked...@laptop.org wrote: I don't feel that the first user is admin policy in the new XS-0.6 is going to agree with deployment procedures that well, especially when you are deploying XSes in

Re: [Server-devel] IP addressing + XO MPP connectivity

2009-07-07 Thread Daniel Drake
Hi John, On Tue, 2009-07-07 at 02:03 -0400, John Watlington wrote: If you are getting a self-assigned IP address, it is because the laptop is not discovering the MPP. This is probably due to a short cut in the MPP discovery process. The NM-0.6 code *definitely* ignores the IP address

[Server-devel] fixing the installation instructions

2009-07-21 Thread Daniel Drake
The XS installation instructions at http://wiki.laptop.org/go/XS_Installing_Software seem to have been subject to a fair amount of confusion recently. For example, the instructions to use domain_config were deleted, and instead they advised you to modify all of the config files entering the

[Server-devel] moodle admin policy again

2009-07-21 Thread Daniel Drake
Hi Martin, I remember replying to your mail at http://lists.laptop.org/pipermail/server-devel/2009-June/003590.html but I can't find the response anywhere so maybe i was dreaming :) The solution you propose there sounds good. I am now dealing with a similar situation in Nepal. In this case I

Re: [Server-devel] Newbie problems

2009-07-21 Thread Daniel Drake
2009/7/22 Varun Arora futuregeni...@gmail.com: I am a ICT consultant working in the South Pacific Islands. Sorry if you guys are tired of reading newbie problems. But I had a serious concern with installation of XS in a pilot deployment in Niue: I installed all packages including MySQL DB, X

[Server-devel] registration questions

2009-07-24 Thread Daniel Drake
Hi, Is registration a requirement for accessing jabber on the XS? How about for backups? I am looking into automating registration of the XOs, to occur as soon as a network connection is established. However this is difficult as there is no asynchronous python xmlrpclib that I can find, other

Re: [Server-devel] registration questions

2009-07-24 Thread Daniel Drake
2009/7/24 Martin Langhoff martin.langh...@gmail.com: On Fri, Jul 24, 2009 at 9:18 AM, Daniel Draked...@laptop.org wrote: Is registration a requirement for accessing jabber on the XS? How about for backups? Yes for both.  - For Jabber, it's client-controlled: Sugar won't try

[Server-devel] XS backup/restore feature

2009-07-29 Thread Daniel Drake
Hi Martin, Any interest in adding functionality to the XS to back up and restore user data? Including: - stuff that has been posted on moodle - XO backups - registration information but *not* stuff where deployments should always have a master copy elsewhere: - activities from activity

Re: [Server-devel] the first user is admin moodle policy

2009-07-30 Thread Daniel Drake
2009/7/30 Joshua N Pritikin jpriti...@pobox.com: If you guys need any help testing the XO laptop autologin stuff, don't hesitate to ask. I'll do whatever I can to help you figure out why it's not working for us. I did a fresh XS-0.6d2 install and it works just fine here. Is anyone else

[Server-devel] XS automount design

2009-07-30 Thread Daniel Drake
It seems a little strange to me that the XS scripts that process files on USB sticks do not unmount the disk after use. In fact they don't even mount the disk in read-only mode. Do we encourage users to login as root and unmount the disk before unplug, or are we actually encouraging users that

Re: [Server-devel] XS automount design

2009-07-30 Thread Daniel Drake
2009/7/30 Martin Langhoff martin.langh...@gmail.com: No, we encourage them to wait for the done bells. Let me explain.  - we don't have any scripts that write, but we will likely do, so mounting ro is not a good idea  - we're either mounting sync or with the not-so-lazy async that was

Re: [Server-devel] XS build setup

2009-07-30 Thread Daniel Drake
One more build question... Do you do anything special with the iso after revisor has finished? I just built it and it ended up at 780mb in size, vs your 549mb. Daniel ___ Server-devel mailing list Server-devel@lists.laptop.org

Re: [Server-devel] XS automount design

2009-07-31 Thread Daniel Drake
2009/7/30 Martin Langhoff martin.langh...@gmail.com: I don't know if usbmount is sane in the face of triggering the unmount from the mount-post-processing scripts. It works fine and the usbmount code is already crafted to cleanly handle such a situation. how do you feel about this 98-umount

[Server-devel] skipping or automating anaconda during install

2009-08-03 Thread Daniel Drake
Hi, Does anyone know how to automate the anaconda step of the XS install? I placed the details that we want (disk layout, root password and timezone) in the .ks file but anaconda still prompts for that information and more or less ignores all of my additions except for the default disk layout

Re: [Server-devel] XS automount design

2009-08-03 Thread Daniel Drake
2009/8/3 Martin Langhoff martin.langh...@gmail.com: The other thing that bothers me is that unmounting it automatically makes a mess for anyone working interactively with USB sticks from the commandline. Remounting it RO at least leaves the mountpoint in place, and it's relatively easy and

Re: [Server-devel] skipping or automating anaconda during install

2009-08-04 Thread Daniel Drake
2009/8/3 Jerry Vonau jvo...@shaw.ca: Might be an anaconda bug, can't recall off the top of my head. Are you being prompted for language/keyboard/timezone info only? Try # out interactive in the ks.cfg file. That did it, thanks! ___ Server-devel

Re: [Server-devel] XS backup/restore feature

2009-08-04 Thread Daniel Drake
Here are new, tested versions of the backup/restore scripts. They are more robust (not using temporary disk space any more), which has a small speed penalty but should improve reliability and decrease disk space requirements. xs-backup now has a --uncompressed option which produces an un-gzipped

[Server-devel] revisor-2.1.8 rebuilt for F9

2009-08-06 Thread Daniel Drake
Hi, In case anyone is interested... the revisor in F9 (used for XS builds) is quite out of date. It downloads everything twice, which is a real pain for Nepal. The revisor developers told me this is fixed in the latest version, so I rebuilt it for F9. everything you need is here:

Re: [Server-devel] revisor-2.1.8 rebuilt for F9

2009-08-06 Thread Daniel Drake
2009/8/6 Daniel Drake d...@laptop.org: I'm running a build with it now, so I'm not yet sure if it works or of it actually does avoid the duplicate downloading It didn't work. Revisor is quite tied into anaconda, and revisor takes advantage of various new changes in anaconda. It fails

Re: [Server-devel] how to copy activation leases to XS?

2009-08-10 Thread Daniel Drake
2009/8/10 Joshua N Pritikin jpriti...@pobox.com: Is there an easy way to disable security on 30 laptops besides requesting dev keys, etc? You could send the 30 serial numbers to OLPC and ask if they will create developer keys on your behalf. Daniel

[Server-devel] idmgr broken in latest 0.6

2009-08-18 Thread Daniel Drake
Hi Martin, Latest idmgr in the XS is broken. No laptops can register because the database is still in the v2 format. /home/idmgr/create_registration only creates a v2 database, and marks the fs accordingly: echo 2 /home/idmgr/storage_format_version The spec file would then ordinarily cause

Re: [Server-devel] idmgr broken in latest 0.6

2009-08-18 Thread Daniel Drake
2009/8/18 Daniel Drake d...@laptop.org: The spec file would then ordinarily cause the upgrade_2_to_3 to be run, but it doesn't because commit 5ef89de945 makes the spec file update that file to '3' Also upgrade_users_2_to_3 doesn't work if idmgr was running. The wasrunning check is broken

[Server-devel] disable makewhatis

2009-08-31 Thread Daniel Drake
Hi, By default, makewhatis runs every day on the XS. Seems like a waste of resources. Could we turn it off by default? The setting is in /etc/man.config Daniel ___ Server-devel mailing list Server-devel@lists.laptop.org

Re: [Server-devel] [PATCH] create_user: fix handling of parameters - fixes empty authorized_keys

2009-09-15 Thread Daniel Drake
2009/9/15 Martin Langhoff mar...@laptop.org: We need doublequotes for interpolation. Single quotes look more symmetrical in if [ $a == 'x' ] constructs but we want the left side to be interpolated and the right side to be taken literally. oops, I ran into the same issue with my own patch but

Re: [Server-devel] [PATCH] create_user: fix handling of parameters - fixes empty authorized_keys

2009-09-15 Thread Daniel Drake
2009/9/15 Martin Langhoff martin.langh...@gmail.com: On Tue, Sep 15, 2009 at 12:28 PM, Daniel Drake d...@laptop.org wrote: oops, I ran into the same issue with my own patch but looks like I completely forgot to send a fixed one. Thanks for taking care of that! Bad boy! Question: have you got

Re: [Server-devel] Troubles running F9 mock chroot under F11

2009-09-15 Thread Daniel Drake
2009/9/15 Jerry Vonau jvo...@shaw.ca: Are you just adding rpms to the install media? Or are you trying something more difficult? I have a process in mind if you're just adding rpms to the mix... Just adding RPMs would be enough, but also we're customizing the kickstart file a little.

Re: [Server-devel] Troubles running F9 mock chroot under F11

2009-09-17 Thread Daniel Drake
2009/9/16 Jerry Vonau jvo...@shaw.ca: That should be do-able using mkslim (read it first) from xs-livecd's git repo, along with my idea to use a pre-configured updates repo on the iso. http://lists.laptop.org/pipermail/server-devel/2009-February/002937.html Thanks! Got it working as follows:

Re: [Server-devel] Troubles running F9 mock chroot under F11

2009-09-17 Thread Daniel Drake
2009/9/17 Jerry Vonau jvo...@shaw.ca: Well not quite the way I would of done it, I was hoping someone else would test my idea, but glad you got what you needed done. Mind sharing the yumdownloader routine? I might try to use something like that to populate my updates repo, then remove any

[Server-devel] noisy service dhcpd status

2009-09-24 Thread Daniel Drake
Running XS-0.6d, service dhcpd status is unusually noisy. It looks like it is regenerating the config file every time I check its status. Is this intentional? # service dhcpd status /etc / xs-commitchanged -m 'Dirty state' dhcpd-xs.conf #SERVERNUM := 1 #BASEDNSNAME := testxs.olenepal.org cp

[Server-devel] what is xs-callhome?

2009-10-06 Thread Daniel Drake
I just noticed for the first time this xs-callhome thing. What's the intended purpose of it? It seems quite broken at the moment. It is launched by cron every few hours, but looks for configuration in the wrong place (/etc/sysconfig/callhome instead of /etc/sysconfig/callhome/callhome.conf). Can

Re: [Server-devel] XS-0.6 -

2009-10-08 Thread Daniel Drake
2009/10/7 Martin Langhoff martin.langh...@gmail.com: 65d0816e002fe83f4e0130b6a92577377b9fd2e3  OLPC-School-Server-0.6-i386.iso c872907f1f696ea7bb1bb6e95319fa27e62ce76c  OLPC-School-Server-0.6-i386.img.gz Great! What's changed since 0.6d5? Daniel ___

[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] 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

[Server-devel] Nepal XS customizations

2009-10-22 Thread Daniel Drake
Here are the customizations we're making on top of XS-0.6 here in Nepal. This version will start being distributed to the field on Monday. Kickstart file modifications: - no GUI, just use text mode - auto reboot at the end of installation - no interactivity during installation - timezone and

[Server-devel] minor xs-activation-httphandler bug

2009-10-23 Thread Daniel Drake
xs-activation-httphandler.py does: lease = myoat.get_lease(sn, 300) if lease is not None: myoat.mark_served_lease(sn) resp[lease] = lease However, get_lease doesn't look like it will ever return None. Instead, it returns False if there is no lease. So we

Re: [Server-devel] Nepal XS customizations

2009-10-23 Thread Daniel Drake
2009/10/23 Martin Langhoff martin.langh...@gmail.com:  - a script to simplify eth0 configuration How does that work? http://hg.olenepal.org/NEXS_scripts/file/tip/netsetup.sh Notes on self test:  - 32 tests performed, to check that: hostname has been set, both ethernet interfaces present,

Re: [Server-devel] PolicyKit dependency chain for headless machines

2009-10-25 Thread Daniel Drake
2009/10/23 Martin Langhoff martin.langh...@gmail.com: Working on the OLPC XS rebase to F11 -- I end up with random bits of gnome and kde, brought in by PolicyKit, which wants a PolicyKit-authentication-agent. Yum only seems to know of KDE and Gnome authentication-agents. How does PK handle

Re: [Server-devel] xs-activation and OS update info

2009-10-29 Thread Daniel Drake
2009/10/27 Martin Langhoff martin.langh...@gmail.com: Right... makes sense. I am a bit intrigued with the custom config file parser / writer (that is 3x the sloc of the whole xs-activation ;-) ). It's not really a custom config file parser. It's a trivial change to Python's own ConfigParser

Re: [Server-devel] xs-activation and OS update info

2009-10-29 Thread Daniel Drake
2009/10/30 Martin Langhoff martin.langh...@gmail.com: It is about avoiding maintaining a bespoke lib. If you say it is a variant on a python standard lib, do you think we can subclass it? Or is there a reason not to? Yeah it can probably be subclassed. It is needed up until Python 3.0,

[Server-devel] OpenDNS instructions don't work

2010-02-03 Thread Daniel Drake
http://wiki.laptop.org/go/XS_Techniques_and_Configuration#Use_OpenDNS This doesn't work - xs-config.make says it shouldnt be used for named-xs.conf, and named doesn't work afterwards since the config file is borked. Daniel ___ Server-devel mailing list

Re: [Server-devel] Now completely fixed - ejabberd crashes when segregating presence by course...

2010-02-16 Thread Daniel Drake
On 29 December 2009 12:37, Martin Langhoff martin.langh...@gmail.com wrote: Thanks to Devon's good reporting, a few peeks at the server, and some discussion with the ejabberd dev team, this is completely fixed. Short version:   yum --enablerepo=olpcxs-testing install moodle-xs ejabberd-xs

[Server-devel] make-server-delegations output and importing to XS

2010-04-22 Thread Daniel Drake
Hi Martin, We're working on the antitheft stage where the private signing server generates delegations and sends them to the internet-accessible antitheft server. We can work with the scripts that are already in bios-crypto but we're a bit confused by their design. Perhaps we are missing

Re: [Server-devel] make-server-delegations output and importing to XS

2010-04-22 Thread Daniel Drake
On 22 April 2010 17:39, Martin Langhoff mar...@laptop.org wrote: I propose a different design: Works for me as long as you also craft a script that handles the run from a whole CSV file. In other words, the main workflow starts with a single 3-field CSV file exported from an inventory

Re: [Server-devel] make-server-delegations output and importing to XS

2010-04-23 Thread Daniel Drake
On 23 April 2010 12:54, Martin Langhoff martin.langh...@gmail.com wrote: On Thu, Apr 22, 2010 at 4:50 PM, Daniel Drake d...@laptop.org wrote: OK, no problem. Just curious though, whats the justification behind this? is there an existing project that runs in this way? The single file model

[Server-devel] Roadblocks for a central OATS server

2010-04-23 Thread Daniel Drake
Hi Martin, As discussed we're planning on putting a central internet-accessible OATS server in La Rioja, in addition to the ones in the schools. The purpose is to be able to deactivate stolen laptops before their lease expiry (assuming the thief doesn't take the laptop to the school, but does put

Re: [Server-devel] OATs delegations -- change in procedure -- need to use sig01 format too...

2010-04-26 Thread Daniel Drake
On 25 April 2010 01:40, Martin Langhoff martin.langh...@gmail.com wrote:  - We should make --act a no-op, so we just forget about it in the future. Gonzalo and Daniel have been working on the scripts and I am a bit behind on what they've done. Guys, would be great if you apply this -- or I'll

Re: [Server-devel] make-server-delegations output and importing to XS

2010-04-26 Thread Daniel Drake
On 26 April 2010 10:07, Gonzalo Odiard godi...@gmail.com wrote: I can do a python version. I don't like having hundreds of files opened, it's ok with you? I just wrote one, committing now. Daniel ___ Server-devel mailing list

[Server-devel] problems installing xs-activation on F12

2010-04-27 Thread Daniel Drake
http://fedora.laptop.org/xs/stable/olpc/xs-0.6/i386/xs-activation-0.2.39.g2277cdf-1.xs9.noarch.rpm Straightforward rpm -ivh of the RPM gives dependency errors. It needs: olpc-contents python = 2.5 python-json usbmount xs-tools olpc-contents and python-json easily installed by yum. xs-tools

Re: [Server-devel] problems installing xs-activation on F12

2010-04-27 Thread Daniel Drake
On 27 April 2010 10:34, Peter Robinson pbrobin...@gmail.com wrote: Does a recompile of this against a F-12 system not fix the python 2.5 - 2.6 problem? Probably yes, but not so sure I want to leave such a task in the hands of the deployment here, as this is something that will have to be

Re: [Server-devel] olpc-bios-crypto - relative vs abs symlinks?

2010-04-27 Thread Daniel Drake
On 27 April 2010 11:44, Martin Langhoff martin.langh...@gmail.com wrote: Curious - I see in your makefile and spec fixups you've changes the obc-* symlinks from abs to relative. Is it better in some sense in the context of an RPM? Can't recall, but I suspect it would have been something in

Re: [Server-devel] olpc-bios-crypto - relative vs abs symlinks?

2010-04-27 Thread Daniel Drake
On 27 April 2010 11:51, Daniel Drake d...@laptop.org wrote: On 27 April 2010 11:44, Martin Langhoff martin.langh...@gmail.com wrote: Curious - I see in your makefile and spec fixups you've changes the obc-* symlinks from abs to relative. Is it better in some sense in the context of an RPM

Re: [Server-devel] OATs delegations -- change in procedure -- need to use sig01 format too...

2010-04-28 Thread Daniel Drake
On 28 April 2010 14:54, Martin Langhoff martin.langh...@gmail.com wrote: All fixed now, see my earlier messages. The truncated needs fixing was related to the brokenness of dynlibs in olpc-bios-crypto and the -utils splitoff. I have reverted both temporarily and built an RPM that works well.

Re: [Server-devel] documentation for customizing XS ISO

2010-05-04 Thread Daniel Drake
On 4 May 2010 12:58, Martin Langhoff martin.langh...@gmail.com wrote: On Tue, May 4, 2010 at 11:15 AM, Daniel Drake d...@laptop.org wrote: I thought I saw some official documentation once for how deployments can customize kickstart, add more packages, etc. Can't find it now. Was I dreaming

[Server-devel] automatic OS updates from school server

2010-05-10 Thread Daniel Drake
In my opinion one of the bigger holes left in the school server is the fact that we can't push OS updates to the XOs. And the team here in La Rioja keep asking about it, Actually the hard work is all done (XS has updates server, XO has update client, both work well), the only missing bit is a

Re: [Server-devel] Help for unreliable ADSL and cable modems: bounce-eth0.sh

2010-07-26 Thread Daniel Drake
On 26 July 2010 17:22, Martin Langhoff mar...@laptop.org wrote: [ What I remember is that the NIC was a 'mii' device on an IBM SOHO-style minitower server. The cablemodem is a Motorola modem I've used before without trouble with Linux boxes. Cannot remember model, apologies. ] I've had 3

Re: [Server-devel] wifi setup

2010-08-04 Thread Daniel Drake
On 3 August 2010 23:56, James Cameron qu...@laptop.org wrote: Just now I've set up three access points with the same essid; a NetComm NB600W and two WRT54G running OpenWrt. XO-1.5 and XO-1 development build os304 for release 10.1.2 shows a single icon in the Neighbourhood View, and clicking

Re: [Server-devel] Schoolserver development in Uruguay

2010-08-19 Thread Daniel Drake
On 19 August 2010 18:25, Bernie Innocenti ber...@codewiz.org wrote: == Jabber == There are two people working on Jabber. They have been using ejabberd and, quite surprisingly, they've not seen any issues of high CPU load and database corruption. Tomorrow I'll get to work more with them.

Re: [Server-devel] oatslite: Report stolen and fix

2010-08-29 Thread Daniel Drake
On 28 August 2010 17:19, Martin Langhoff mar...@laptop.org wrote: Working in LR, fixed a bug in oatslite, plus minor improvements. Maybe we are looking at the wrong repo or otherwise using stale code? The code as-is could not have worked as it's missing a \n that is required in the format...

Re: [Server-devel] XS-0.7 plans -- your thoughts please...

2011-01-18 Thread Daniel Drake
On 18 January 2011 19:29, Martin Langhoff martin.langh...@gmail.com wrote: So -- going back on the traffic we've see in the last 24 months, what would you highlight? What have people asked for (that wasn't easy/trivial/possible)? What problems have we heard that were hard to diagnose...? Some

Re: [Server-devel] deregister laptops

2011-05-25 Thread Daniel Drake
Hi David, On 16 May 2011 01:21, David Leeming da...@leeming-consulting.com wrote: I tried sugar-control-panel -c registration and get this error: sugar-control-panel: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you

Re: [Server-devel] mesh and newer builds

2011-10-12 Thread Daniel Drake
On Wed, Oct 12, 2011 at 4:53 AM, Sameer Verma sve...@sfsu.edu wrote: 1) I have a XS-on-XO-1 which shows up in the Neighborhood as school-mesh-0 but when I connect the XO client, I get a 169.254.xxx.xxx address and the XO won't register. If I connect to mesh1, I get a 172.18.xxx.xxx address,

[Server-devel] [PATCH] xs-activation: Support creating rtcreset signatures with master key

2011-12-30 Thread Daniel Drake
If the master keypair is available as lease.public/lease.private, use it to create rtc reset signatures (rather than relying on delegations). The UUID of the client must be known to the server, stored in the moodle database. --- oat.py | 51

Re: [Server-devel] Who wrote http://wiki.laptop.org/go/XS_Install_Server?

2012-01-31 Thread Daniel Drake
On Mon, Jan 30, 2012 at 11:40 AM, George Hunt georgejh...@gmail.com wrote: I met Tony Anderson in Haiti, and again at the San Francisco OLPC Summit in late 2011. He prevailed upon me to spend some time trying to figure out how to rebase XS on a more recent Fedora Core. Yesterday I also started

[Server-devel] CentOS hardware support doubts

2012-01-31 Thread Daniel Drake
Hi, Like others, I'm interested in moving the XS to a newer OS base. My key motivation for this is that the Foundation Zamora Teran (OLPC Nicaragua) is having difficulty buying servers for new schools being added to the project - Fedora 9 is too old to support this hardware. For the next XS

Re: [Server-devel] CentOS hardware support doubts

2012-02-03 Thread Daniel Drake
On Thu, Feb 2, 2012 at 9:09 PM, Martin Langhoff martin.langh...@gmail.com wrote: I assume here that CentOS is reasonably in sync with RHEL. Does http://elrepo.org/bugs/print_bug_page.php?bug_id=126 help? More generally, does any of the external repos have a kmod-staging or kmod-atl1e that

Re: [Server-devel] XS-AU registration issue Fwd: Upgrade from XO 1.5 Firmware Q3B19 to Q3B22 results to Registration Failed Error

2012-02-06 Thread Daniel Drake
On Sat, Feb 4, 2012 at 8:22 AM, Mitchell Seaton msea...@ekindling.org wrote: Hey Guys and dev lists, You haven't seen this issue with XO build 883, and XS-AU 0.7? Can't be firmware issue as he says, must been OS or XS-AU issue/config. If 'schoolserver' resolves on XO and registration shows

[Server-devel] New XS release very soon

2012-02-07 Thread Daniel Drake
Hi, To avoid leaving the other threads dangling: I have been working on a new XS release in collaboration with the Zamora Teran Foundation (http://www.fundacionzt.org/). The underlying goal here is to move the XS to a new OS base, which supports new hardware. The foundation has recently had a

  1   2   >