[Server-devel] ? another OS for porting XSCE/IIAB

2017-02-17 Thread Tim Moody
https://techspecs.blog/blog/2017/2/14/googles-not-so-secret-new-os
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Can I name my server something other than http://BOX.LAN ?

2017-02-15 Thread Tim Moody
I think the question and answer don't quite line up.  What I name the
server and the alias I give for the browser to find it are not the same
thing.

The host name should be set with either in the admin console or via local
vars as the FAQ says, but the rest deals with aliases.

Are we now at the point of changing the default hostname to box?

On Tue, Feb 14, 2017 at 10:35 PM, Adam Holt  wrote:

> As our documentation is coming together, this is only a Draft!  As I'm
> sure Jerry Vonau and other networking wizards like can improve on this
> response :)
>
> http://wiki.laptop.org/go/XS_Community_Edition/FAQ#Can_I_
> name_my_server_something_other_than_http:.2F.2FBOX.LAN_.3F
>
> PS this is #11 within the 21 Frequently Asked Questions at
> http://schoolserver.org/FAQ
>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Linking (WiFi) SIP telephony and GSM networks

2017-02-11 Thread Tim Moody
Very impressive.  Are the details somewhere?

On Fri, Feb 10, 2017 at 11:34 PM, Anish Mangal  wrote:

> Hi,
>
> Wanted to share an update. So far, I set up asterisk on the schoolserver
> to run a SIP telephony service on the wifi network where people can call
> each other.
>
> Last night, I connected and configured a gsm modem (only specific huawei
> models work) to act as a bridge between SIP and GSM networks. Now, someone
> on the WiFi network can place outbound GSM calls. Someone on the GSM
> network side can call the dongle's SIM's phone number and be presented with
> an IVR where they can dial the extension of the user they want to connect
> to.
>
> If any of this is potentially useful to your deployments, please get in
> touch.
>
> This is going to be super-duper useful for the deployments in Spiti and
> Ladakh
>
>
>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] xsce on rpi georgehunt's base-6.2

2017-01-15 Thread Tim Moody
sorry, I may have seemed to imply that ansible needs to be 2.2. I think just 
2.2 or greater. stick with 2.3


see below


From: xsce-de...@googlegroups.com <xsce-de...@googlegroups.com> on behalf of 
Reno McDonald <darken...@gmail.com>
Sent: Sunday, January 15, 2017 1:30 PM
To: xsce-de...@googlegroups.com
Cc: server-devel
Subject: Re: [XSCE] xsce on rpi georgehunt's base-6.2

Is Ansible 2.2 the magical version? I have some notes on my unsuccessful 
attempts to install XSCE. So far, I have not succeeded at installing XSCE on a 
RPI2. (Do note though that imaging my SD card does work on the RPI2.) The 
various Ansible versions are mostly pulled from Github Except where noted.


All of these are RASPBIAN JESSIE LITE and George's Base-6.2 branch (except 
where noted).


  *   Ansible 1.8 Does not work. Roles use new keywords, ansible recognizes 
this and exits.

  *   Ansible 1.9 had a series of problems to what I later think is due to 
newer commands. Also, duplicate keys cause it to halt. (couldnt find duplicate 
keys, but that's what Ansible said). Wasn't taking such detailed notes at that 
time :\.
  *   Ansible 2.3.0 (Installed from Tim's Script.)
 *   fatal: Unable to mark file vars/local_vars.yml
 *   I think this is an attempt to untrack local_vars to permit changes.  
It will only cause a problem if you make changes and later try to git pull
 *   Error occurs and simply continues

  TASK [Gathering Facts] 

  ok: [127.0.0.1]
   [WARNING]: While constructing a mapping from 
/opt/schoolserver/xsce/vars/Debian.yml, line 1,
  column 1, found a duplicate dict key (apache_log_dir). Using last defined 
value only.

 *2.3.0 doesn't care about duplicate keys and gracefully handles by 
using last duplicate key it sees. Previous versions error & stops.

TASK [xsce-admin : Enable ssl] 

  fatal: [127.0.0.1]: FAILED! => {"changed": false, "failed": true, "msg": 
"Error executing /usr/sbin/apache2ctl: [Thu Jan 12 22:24:50.174043 2017] 
[proxy_html:notice] [pid 8890] AH01425: I18n support in mod_proxy_html requires 
mod_xml2enc. Without it, non-ASCII characters in proxied pages are likely to 
display incorrectly.\n[Thu Jan 12 22:24:50.180203 2017] [alias:warn] [pid 8890] 
AH00671: The Alias directive in /etc/apache2/sites-enabled/010-xsce.conf at 
line 271 will probably never match because it overlaps an earlier Alias.\n(2)No 
such file or directory: AH02297: Cannot access directory '/var/log/apache2}/' 
for log file '/var/log/apache2}/access.log' defined at 
/etc/apache2/sites-enabled/010-xsce.conf:158\nAH00014: Configuration check 
failed\n"}

this would be a new bug as it is the area currently getting worked on

 *   /etc/apache2/sites-enabled/010-xsce.conf line 158 has a type:
*   A bracket breaks the config.
*   Upon fixing and rerunning, the typo resurfaces.
*
*   fixing the target never helps because the next ansible run replaces 
your fix.  need to fix in ansible. hopefully George will do so.

not sure 6.1 ever ran on raspbian

TASK [httpd : Create httpd config files] 
**
  failed: [127.0.0.1] (item={u'dest': u'/etc/httpd/conf.d/010-xsce.conf', 
u'src': u'010-xsce.conf.j2', u'mode': u'0755'}) => {"changed": true, "failed": 
true, "item": {"dest": "/etc/httpd/conf.d/010-xsce.conf", "mode": "0755", 
"src": "010-xsce.conf.j2"}, "msg": "Destination directory /etc/httpd/conf.d 
does not exist"}
  failed: [127.0.0.1] (item={u'dest': u'/etc/httpd/conf.d/proxy_ajp.conf', 
u'src': u'proxy_ajp.conf.j2', u'mode': u'0644'}) => {"changed": true, "failed": 
true, "item": {"dest": "/etc/httpd/conf.d/proxy_ajp.conf", "mode": "0644", 
"src": "proxy_ajp.conf.j2"}, "msg": "Destination directory /etc/httpd/conf.d 
does not exist"}
  ok: [127.0.0.1] => (item={u'dest': u'/etc/php.ini', u'src': u'php.ini.j2', 
u'mode': u'0644'})
  failed: [127.0.0.1] (item={u'dest': u'/etc/httpd/conf.d/xs-console.conf', 
u'src': u'xs-console.conf.j2', u'mode': u'0644'}) => {"changed": true, 
"failed": true, "item": {"dest": "/etc/httpd/conf.d/xs-console.conf", "mode": 
"0644", "src": "xs-console.conf.j2"}, "msg": "Destination directory 
/etc/httpd/conf.d does not exist"}














On Sun, Jan 15, 2017 at 7:09 AM, Tim Moody 
<t...@timmoody.com<mailto:t...@timmoody.com>> wrote:

? that;  error in the previous email



Fr

Re: [Server-devel] [XSCE] xsce on rpi georgehunt's base-6.2

2017-01-15 Thread Tim Moody




From: xsce-de...@googlegroups.com <xsce-de...@googlegroups.com> on behalf of 
Anish Mangal <anis...@umich.edu>
Sent: Sunday, January 15, 2017 7:52 AM
To: xsce-devel; server-devel
Subject: [XSCE] xsce on rpi georgehunt's base-6.2

Hi,

now setting up xsce on rpi3 from scratch
[trying on 2017-01-11-raspbian-jessie-lite.img as base]

log of commands follows #
# sudo apt-get update [success]
# sudo apt-get upgrade [success]
- I don't normally do this one

# apt-get install vim git ansible [success]
I follow George in using 
https://github.com/tim-moody/xsce-factory/blob/master/scripts/ansible/get-ansible
 to install ansible (2.2.x)

# mkdir /opt/schoolserver
# cd /opt/schoolserver
# git clone https://github.com/georgejhunt/xsce.git [success]
# cd xsce
# git branch [success base-6.2]
# ./runansible [here-we-go!]
ERROR: become is not a legal parameter at this level in an Ansible Playbook

Perhaps this is an incorrect version of ansible 1.7.2 which gets installed by 
default. How do I fix this?

become is a new keyword

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] comparison of XSCE 6.1 Admin Console's Utilities on Latest FedBerry/Raspbian OS's

2016-10-28 Thread Tim Moody

  *   Change Password: works (feedback missing if password change fails, e.g. 
if less than 8 characters etc)

yes, a known problem and on my todo  list

  *   Display System Storage: doesn't show key partitions/space on Raspbian 
(compare "df -h" or results from a Fedora-like backend)

is this with or without the lvm patch?  the complicated output has been turned 
off for now in lvm version to gain compatibility

  *   Perform Internet Speed Test
 *   Run 100M Speed Test: never responds, no matter how long I wait, 
worrisome as I have plenty of bandwdith on both cases :/

did the script install and does it run manually?  uses a 3rd party website I 
haven't tried in awhile; maybe doesn't work.

  *   Run Ansible by Tag: priceless, given that "Install Configured Options" 
(ansible) can sometimes take an hour or so to complete!

with the normal caveats that what you get may not be what you expect.
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Re: Open issues and PRs on github/xsce

2016-10-20 Thread Tim Moody
I don't know what if any connectivity I will have before the 25th, so pick a 
time and I'll join if I'm able.


I think these issues/PRs fall into several categories including ones only 
created for discussion and not actionable.


To me the biggest question is what is for 6.2.



From: aholt...@gmail.com  on behalf of Adam Holt 

Sent: Thursday, October 20, 2016 10:32 AM
To: Anish Mangal
Cc: server-devel; xsce-devel
Subject: [XSCE] Re: Open issues and PRs on github/xsce


I'm trying to organize a mtg "this wkd" (or if absolutely nec Monday morning) 
after Tim gets off a long ferry ride this Saturday, and respectful of George 
and Curt being busy Sunday PM with WiFi scalability testing.

Proposed times are:

- Saturday Oct 22, Noon NYC Time
- Sunday Oct 23, 1PM NYC Time
- Monday Oct 24, 11AM NYC Time

Tim & All please call/text me to refine timing!

On Oct 20, 2016 7:00 AM, "Anish Mangal" 
> wrote:
bump?

On Thu, Oct 13, 2016 at 7:00 AM, Anish Mangal 
> wrote:
Hi,

It seems the number of open issues and PRs on github are piling up :-)

There are 19 open issues, and 15 PRs with the oldest one being 2.5 yrs ago. 
Perhaps a technical meeting to run through these and atleast update their 
statuses would be nice.

Thoughts? :-)

--
Anish





--
Anish



___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] lvm and raid

2016-10-15 Thread Tim Moody
a project using donated hardware has several 250g disks rather than a single 1 
tb disk, so the use of raid (via bios) or lvm to create a single virtual disk 
is appealing.


any experience with performance that should be considered?


I am tempted to create physical partitions for root, swap,  and boot and then a 
virtual disk for /library?


comments?

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Proposal | SIP VoIP server on XSCE

2016-10-14 Thread Tim Moody
I think it's a good idea. Are you thinking Asterix? Does it change networking 
or just sit on top?



Sent from my Samsung Galaxy smartphone.


 Original message 
From: Anish Mangal 
Date: 10/14/16 1:48 AM (GMT-08:00)
To: xsce-devel , server-devel 

Subject: [XSCE] Proposal | SIP VoIP server on XSCE

Hi,

A SIP server on the XSCE will allow for VOIP services (audio, video, text). 
There are numerous SIP clients on various platforms so it seems a good protocol 
and standard to build upon.

I have already included a SIP server in the upcoming deployment of XSCE and 
mesh in Spiti, north India.

Thoughts?

Best,
Anish


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Proposal: f-droid on the xsce

2016-10-06 Thread Tim Moody
Really. How big is it and how do you get it?



Sent from my Samsung Galaxy smartphone.


 Original message 
From: Anish Mangal <anis...@umich.edu>
Date: 10/6/16 6:57 AM (GMT-08:00)
To: xsce-devel <xsce-de...@googlegroups.com>
Cc: server-devel <server-devel@lists.laptop.org>
Subject: Re: [XSCE] Proposal: f-droid on the xsce

Do you mean the fdroid apk? I am talking about mirroring the fdroid repo on the 
server :)

On Wed, Oct 5, 2016 at 6:01 AM, Tim Moody 
<t...@timmoody.com<mailto:t...@timmoody.com>> wrote:
I have downloaded the mediwiki directly from a link on xsce and also used 
fdroid.  If there is a link I prefer that, but I was thinking we should include 
fdroid as a download from the server.




Sent from my Samsung Galaxy smartphone.


 Original message 
From: Anish Mangal <anis...@umich.edu<mailto:anis...@umich.edu>>
Date: 10/4/16 11:06 AM (GMT-08:00)
To: server-devel 
<server-devel@lists.laptop.org<mailto:server-devel@lists.laptop.org>>, 
xsce-devel <xsce-de...@googlegroups.com<mailto:xsce-de...@googlegroups.com>>
Subject: [XSCE] Proposal: f-droid on the xsce

Often times, users need to install apps on their android phone without internet 
connectivity. One application that allows this is f-droid.

https://f-droid.org/

While it is easily possible to download apks hosted by apache, using an 
application like f-droid might offer better ux.

Thoughts?

--
Anish





--
Anish


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Re: Captive portal updates

2016-09-25 Thread Tim Moody
Go for it. Is it possible to use coova for dhcpd even if captive is off?



Sent from my Samsung Galaxy smartphone.


 Original message 
From: Anish Mangal <anis...@umich.edu>
Date: 9/25/16 8:42 AM (GMT-08:00)
To: xsce-devel <xsce-de...@googlegroups.com>
Cc: George Hunt <georgejh...@gmail.com>, A Holt <h...@unleashkids.org>, 
server-devel <server-devel@lists.laptop.org>
Subject: Re: [XSCE] Re: Captive portal updates



On Sun, Sep 25, 2016 at 8:52 PM, Tim Moody 
<t...@timmoody.com<mailto:t...@timmoody.com>> wrote:

In the radius+ solution am I required to create users?  Seems like overkill if 
all I want is a redirect to the home page when I first connect.  If I want 
named accounts then it is a good approach.


You are not necessarily required to create accounts *per* user, but an account 
is needed. It is easy enough to create a default account (during initial 
installation/setup itself). The default login/captive portal page can have the 
details prefilled. For example, take a look at the video:

http://people.sugarlabs.org/anish/captive.webm

In this case, I just require the user to press the "accept and login" button 
and get redirected to school.lan from there (the last bit is not in the video).


You _can_ have named accounts if you want. You can have bandwidth control per 
account as well if needed (this would obsolete wondershaper). This can be 
useful if some users have fast access and others have limited bandwidth access 
to your server (can happen in a mesh setup).

So, in sum, it is easy to have the default redirect without requiring the user 
to enter credentials, but it is possible to have credentials as well.

I think the answer to br0 is yes.


Wonderful :-)


I worry that switching dhcp providers could get tricky.


Why? In my testing so far, I havent faced any issues.



From: Anish Mangal <anis...@umich.edu<mailto:anis...@umich.edu>>
Sent: Sunday, September 25, 2016 4:07 AM
To: Tim Moody; George Hunt; A Holt; xsce-devel; server-devel
Subject: Re: Captive portal updates

Hi,

I wanted to ask whether a captive portal + radius server + radius server gui 
would be a useful feature and wanted to discuss possible implementation routes 
as this affects other services on the XSCE.

A radius server allows to have controlled access to server resources, internet 
connectivity, and allows one to create users, groups, and set aside network 
bandwidth. i.e. it is quite useful in a medium to large setup. A captive portal 
alongside it allows for good UX with notifications in phones, tablets and not 
having users to type http://school.lan.

The existing captive portal PR (#771) is a very good step in that direction, 
but I believe we will eventually need to use some kind of standard 
implementations - radius + captive portal setups.

Now that 6.1 is out of the door, I would like to propose a captive portal 
feature for 6.2.

In the current setup I am testing, I am using freeradius[1] as the radius 
server, and CoovaChilli [2] as the captive portal. Coova does it's own dhcp so 
it will have to replace dhcpd if it is used. Also, starting/stopping the coova 
services affects iptables, so initially, having it run in conjunction with 
dansguardian and squid might be a little tricky (though it is certainly 
possible, just needs more time to test/develop). Also, while freeradius is 
available as a rpm package, coova, and a dependency needs to be complied from 
source. I can create the packages for it though - it did not seem complicated.

So, the current approach I am proposing is:
1. If captive + radius is enabled, dhcpd is disabled, squid and dansguardian 
are disabled. Later, we can just have dhcpd disabled and the other two enabled 
if need be
2. If captive + radius is enabled, either we include a few knobs and levers to 
manage radius in our admin console (more difficult), or include a radius admin 
console (easier)

At the same time I have a question, since my understanding of xsce networking 
is limited. When setup in LANcontroller mode with both the internal wifi + LAN 
being controlled by XSCE, does all the LAN side traffic flow through br0? Is it 
always the case?  (in gateway mode too). If that is so, then I will configure 
coova to work on br0.

[1] http://freeradius.org/
FreeRADIUS: The world's most popular RADIUS Server<http://freeradius.org/>
freeradius.org<http://freeradius.org>
The FreeRADIUS Project. FreeRADIUS includes a RADIUS server, a BSD licensed 
client library, a PAM library, and an Apache module. In most cases, the word 
FreeRADIUS ...



[2] http://coova.github.io/CoovaChilli/
CoovaChilli, an open source captive portal access 
controller<http://coova.github.io/CoovaChilli/>
coova.github.io<http://coova.github.io>
CoovaChilli. CoovaChilli is an open-source software access controller, based on 
the popular, but now defunct, ChilliSpot project, and is

Re: [Server-devel] Captive portal updates

2016-09-25 Thread Tim Moody
In the radius+ solution am I required to create users?  Seems like overkill if 
all I want is a redirect to the home page when I first connect.  If I want 
named accounts then it is a good approach.


I think the answer to br0 is yes.


I worry that switching dhcp providers could get tricky.



From: Anish Mangal <anis...@umich.edu>
Sent: Sunday, September 25, 2016 4:07 AM
To: Tim Moody; George Hunt; A Holt; xsce-devel; server-devel
Subject: Re: Captive portal updates

Hi,

I wanted to ask whether a captive portal + radius server + radius server gui 
would be a useful feature and wanted to discuss possible implementation routes 
as this affects other services on the XSCE.

A radius server allows to have controlled access to server resources, internet 
connectivity, and allows one to create users, groups, and set aside network 
bandwidth. i.e. it is quite useful in a medium to large setup. A captive portal 
alongside it allows for good UX with notifications in phones, tablets and not 
having users to type http://school.lan.

The existing captive portal PR (#771) is a very good step in that direction, 
but I believe we will eventually need to use some kind of standard 
implementations - radius + captive portal setups.

Now that 6.1 is out of the door, I would like to propose a captive portal 
feature for 6.2.

In the current setup I am testing, I am using freeradius[1] as the radius 
server, and CoovaChilli [2] as the captive portal. Coova does it's own dhcp so 
it will have to replace dhcpd if it is used. Also, starting/stopping the coova 
services affects iptables, so initially, having it run in conjunction with 
dansguardian and squid might be a little tricky (though it is certainly 
possible, just needs more time to test/develop). Also, while freeradius is 
available as a rpm package, coova, and a dependency needs to be complied from 
source. I can create the packages for it though - it did not seem complicated.

So, the current approach I am proposing is:
1. If captive + radius is enabled, dhcpd is disabled, squid and dansguardian 
are disabled. Later, we can just have dhcpd disabled and the other two enabled 
if need be
2. If captive + radius is enabled, either we include a few knobs and levers to 
manage radius in our admin console (more difficult), or include a radius admin 
console (easier)

At the same time I have a question, since my understanding of xsce networking 
is limited. When setup in LANcontroller mode with both the internal wifi + LAN 
being controlled by XSCE, does all the LAN side traffic flow through br0? Is it 
always the case?  (in gateway mode too). If that is so, then I will configure 
coova to work on br0.

[1] http://freeradius.org/
FreeRADIUS: The world's most popular RADIUS Server<http://freeradius.org/>
freeradius.org
The FreeRADIUS Project. FreeRADIUS includes a RADIUS server, a BSD licensed 
client library, a PAM library, and an Apache module. In most cases, the word 
FreeRADIUS ...



[2] http://coova.github.io/CoovaChilli/
CoovaChilli, an open source captive portal access 
controller<http://coova.github.io/CoovaChilli/>
coova.github.io
CoovaChilli. CoovaChilli is an open-source software access controller, based on 
the popular, but now defunct, ChilliSpot project, and is actively maintained by 
an ...




Best,
Anish


On Tue, Sep 20, 2016 at 7:36 AM, Anish Mangal 
<anis...@umich.edu<mailto:anis...@umich.edu>> wrote:
I believe I am able to get the captive portal working as intended

http://people.sugarlabs.org/anish/captive.webm

Now will need to work in a branch on a playbook.

Another idea would be to have a web ui for radius to show all kids of user 
stats, control per user/group bandwidth, and accounting.

On Mon, Sep 19, 2016 at 8:54 PM, Anish Mangal 
<anis...@umich.edu<mailto:anis...@umich.edu>> wrote:


On Mon, Sep 19, 2016 at 8:54 PM, Anish Mangal 
<anis...@umich.edu<mailto:anis...@umich.edu>> wrote:
Hi,

So I was able to setup freeradius and coovachilli on a centos x86 machine to 
setup a captive portal using the method below:
https://www.howtoforge.com/tutorial/how-to-install-a-wireless-hotspot-with-captive-page-in-linux-using-coovachilli/

Now, this is progress since the user experience is exactly how you would see in 
a coffee shop. Upon connecting, you will see a notification in your phone, and 
be prompted by a login prompt (where we can redirect the user to school.lan) or 
whatever afterwards.

However, there are some notes:
1. Coovachili does its own dhcp, so probably we might have to use that, if the 
captive portal is being enabled.
2. By default it does dhcp on a different subnet. and _maybe_ because of that, 
a bunch of iptables rules dont work. name resolution doesnt work. Will change 
the default subnet to what we currently use and disable dhcpd and see what 
happens

To setup coova and freeradius, they have to be compiled from source. The 
compiling was pretty str

Re: [Server-devel] Server-devel Digest, Vol 110, Issue 5 (Tony Anderson)

2016-08-24 Thread Tim Moody
I should add to Tony's comments that Sugarizer will be a standard feature of 
XSCE as of the upcoming 6.1 release,  so the extent to which XSCE supports 
sugar will be dependent on the extent to which Activities are implemented in 
Sugarizer.  This is increasingly important as we encounter deployments where 
the clients are not XOs.
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Has anyone else seen squid swap.state bloat?

2016-05-10 Thread Tim Moody
I don't think it is practical to have a separate partition and while 
http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid#What_.27.27cache_dir.27.27_size_should_I_use.3F
 talks about a separate partition, it and other docs make  it clear that the 
entire partition should not and need not  be used.
We need to experiment with http://www.squid-cache.org/Doc/config/cache_dir/ 
parameters to find something that works.  If that fails then we should create a 
cron job.

Date: Wed, 11 May 2016 08:23:56 +0530
Subject: Re: [XSCE] Has anyone else seen squid swap.state bloat?
From: anis...@umich.edu
To: m...@jvonau.ca
CC: xsce-de...@googlegroups.com; server-devel@lists.laptop.org

I think this is serious enough to warrant atleast a doc note to have the squid 
cache in a different partition as it makes the machine completely unusable 
otherwise. I don't think it is maybe the best idea to have it in library (but 
rather a separate partition). 

Or, as you say, a cron job - but in my case the bloat filled up the hdd in less 
than a week. 

On Sun, May 8, 2016 at 6:11 PM, Jerry Vonau  wrote:




> On May 5, 2016 at 11:20 PM Anish Mangal  wrote:

>

>

> Yesterday, an interesting issue happened. On an older XSCE install, the

> squid cache bloated over time to create a 300GB swap file and made the

> server unusable. I was wondering if anyone else may have come across this

> before?

>



Yes, squid's model assumes that the cache that lives on a partition all by

itself with no real consideration for other programs on that partition.

Think that was the original reason for /library in the first place, maybe

we should rethink where the content/databases should reside.



> Attached is the munin screenshot showing the increasing disk usage over

> time. I deleted the file and things are back to normal - for now.

>



Weekly cron job to do that unattended?



> The xsce git hash is 9a072ead3da91b84e6db896554c50bfa37e7b4e6

>

> --

> Anish



Jerry



-- 
Anish



  ___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Has anyone else seen squid swap.state bloat?

2016-05-10 Thread Tim Moody
I don't think it is practical to have a separate partition and while 
http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid#What_.27.27cache_dir.27.27_size_should_I_use.3F
 talks about a separate partition, it and other docs make  it clear that the 
entire partition should not and need not  be used.
We need to experiment with http://www.squid-cache.org/Doc/config/cache_dir/ 
parameters to find something that works.  If that fails then we should create a 
cron job.

Date: Wed, 11 May 2016 08:23:56 +0530
Subject: Re: [XSCE] Has anyone else seen squid swap.state bloat?
From: anis...@umich.edu
To: m...@jvonau.ca
CC: xsce-de...@googlegroups.com; server-devel@lists.laptop.org

I think this is serious enough to warrant atleast a doc note to have the squid 
cache in a different partition as it makes the machine completely unusable 
otherwise. I don't think it is maybe the best idea to have it in library (but 
rather a separate partition). 

Or, as you say, a cron job - but in my case the bloat filled up the hdd in less 
than a week. 

On Sun, May 8, 2016 at 6:11 PM, Jerry Vonau  wrote:




> On May 5, 2016 at 11:20 PM Anish Mangal  wrote:

>

>

> Yesterday, an interesting issue happened. On an older XSCE install, the

> squid cache bloated over time to create a 300GB swap file and made the

> server unusable. I was wondering if anyone else may have come across this

> before?

>



Yes, squid's model assumes that the cache that lives on a partition all by

itself with no real consideration for other programs on that partition.

Think that was the original reason for /library in the first place, maybe

we should rethink where the content/databases should reside.



> Attached is the munin screenshot showing the increasing disk usage over

> time. I deleted the file and things are back to normal - for now.

>



Weekly cron job to do that unattended?



> The xsce git hash is 9a072ead3da91b84e6db896554c50bfa37e7b4e6

>

> --

> Anish



Jerry



-- 
Anish



  ___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] rpi3 data points

2016-04-27 Thread Tim Moody
At the recent LinuxFest in Bellingham we had the opportunity to do a little 
capacity testing on the internal wifi of the rpi3. The LANForge system from 
Candela Technologies was used to create connections to the rpi3 and a maximum 
of 32 were made. We also did some throughput testing and saw 2.5 Mbs over all 
clients.
This was ad hoc testing in a noisy room full  of  booths, so not entirely 
rigorous, but a data point nonetheless. ___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Re: [UKids] Raspberri Pi/clone(s) most ruggedizable for OLPC fieldwork?

2016-04-06 Thread Tim Moody
Jerry could list the problems he's aware of.

But if you can get 64bit F24 running on Pine64, then you can use 
https://github.com/XSCE/xsce/wiki/XSCE-Installation#do-everything-from-scratch 
to install XSCE with ansible.  At that point you can tell us what works and 
what doesn't.

I ordered mine in Feb and am still waiting for delivery.

> -Original Message-
> From: Peter Robinson [mailto:pbrobin...@gmail.com]
> Sent: Wednesday, April 06, 2016 9:38 AM
> To: Tim Moody <t...@timmoody.com>
> Cc: xsce-de...@googlegroups.com; Adam Holt <h...@laptop.org>; server-
> devel <server-devel@lists.laptop.org>
> Subject: Re: [Server-devel] [XSCE] Re: [UKids] Raspberri Pi/clone(s) most
> ruggedizable for OLPC fieldwork?
> 
> Not sure how they do that. If it's done with something like ansible it would
> be very easy to migrate to new releases.
> 
> Peter
> 
> On Wed, Apr 6, 2016 at 2:23 PM, Tim Moody <t...@timmoody.com> wrote:
> > Jerry and George spent a lot of time migrating legacy XS code from F18 to
> F22.  There is more work to get to F24.  I agree that we want to get there.
> >
> >> -Original Message-
> >> From: Peter Robinson [mailto:pbrobin...@gmail.com]
> >> Sent: Wednesday, April 06, 2016 6:42 AM
> >> To: Tim Moody <t...@timmoody.com>
> >> Cc: xsce-de...@googlegroups.com; Adam Holt <h...@laptop.org>;
> server-
> >> devel <server-devel@lists.laptop.org>
> >> Subject: Re: [Server-devel] [XSCE] Re: [UKids] Raspberri Pi/clone(s)
> >> most ruggedizable for OLPC fieldwork?
> >>
> >> On Sat, Apr 2, 2016 at 8:15 PM, Tim Moody <t...@timmoody.com> wrote:
> >> > For xsce I'd start with f22.  You can look at the rpi images on
> >> > xsce.org/downloads
> >>
> >> They're 32 bit ARMv7 are they not? Personally I'd be starting with
> >> Fedora 24 as you'll have support until July 2017, instead of the 3 or
> >> so months left for for F-22. Also for an aarch64 device F-23+ is highly
> recommended.
> >>
> >> > Sent from my Samsung Galaxy smartphone.
> >> >
> >> >
> >> >  Original message 
> >> > From: Alex Perez <ape...@alexperez.com>
> >> > Date: 4/2/2016 2:12 PM (GMT-05:00)
> >> > To: Adam Holt <h...@laptop.org>
> >> > Cc: server-devel <server-devel@lists.laptop.org>,
> >> > xsce-de...@googlegroups.com
> >> > Subject: [XSCE] Re: [UKids] Raspberri Pi/clone(s) most ruggedizable
> >> > for OLPC fieldwork?
> >> >
> >> >
> >> > On Feb 6, 2016, at 1:10 PM, Adam Holt <h...@laptop.org> wrote:
> >> >
> >> > Will the $15 http://pine64.com (which just raised $1.7M) become
> >> > genuinely productizable for truly hassle-free field use with 128GB
> >> > MicroSD cards by late 2016?  On the bright side, it accommodates
> >> > 128GB maximum, which is exactly what we need on the high end in
> 2016.
> >> >
> >> >
> >> > Looping back on this...
> >> >
> >> > My PINE64 arrived in the mail today. Mine is the 2GB RAM variant,
> >> > with gigabit ethernet, but no bluetooth or Wi-Fi (which is an
> >> > add-in
> >> > module)
> >> >
> >> >  I actually have a couple of 200GB microSD cards that I just
> >> > acquired, and I’ll be putting it through its paces. The SanDisk
> >> > SDSDQUAN-200G-G4A retails for $249, but the actual street prices
> >> > are
> >> > $80 (on Amazon)
> >> >
> >> > I suspect it will work fine in the PINE64. Does anyone here have
> >> > any recommendations for putting XSCE through its paces, or
> >> > otherwise stress-testing the install, besides normal benchmarking
> >> > of static HTTP page load performance.
> >> >
> >> > Regards,
> >> > Alex Perez
> >> >
> >> >
> >> > ___
> >> > Server-devel mailing list
> >> > Server-devel@lists.laptop.org
> >> > http://lists.laptop.org/listinfo/server-devel
> >> >
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Re: [UKids] Raspberri Pi/clone(s) most ruggedizable for OLPC fieldwork?

2016-04-06 Thread Tim Moody
Jerry and George spent a lot of time migrating legacy XS code from F18 to F22.  
There is more work to get to F24.  I agree that we want to get there.

> -Original Message-
> From: Peter Robinson [mailto:pbrobin...@gmail.com]
> Sent: Wednesday, April 06, 2016 6:42 AM
> To: Tim Moody <t...@timmoody.com>
> Cc: xsce-de...@googlegroups.com; Adam Holt <h...@laptop.org>; server-
> devel <server-devel@lists.laptop.org>
> Subject: Re: [Server-devel] [XSCE] Re: [UKids] Raspberri Pi/clone(s) most
> ruggedizable for OLPC fieldwork?
> 
> On Sat, Apr 2, 2016 at 8:15 PM, Tim Moody <t...@timmoody.com> wrote:
> > For xsce I'd start with f22.  You can look at the rpi images on
> > xsce.org/downloads
> 
> They're 32 bit ARMv7 are they not? Personally I'd be starting with Fedora 24
> as you'll have support until July 2017, instead of the 3 or so months left 
> for for
> F-22. Also for an aarch64 device F-23+ is highly recommended.
> 
> > Sent from my Samsung Galaxy smartphone.
> >
> >
> >  Original message 
> > From: Alex Perez <ape...@alexperez.com>
> > Date: 4/2/2016 2:12 PM (GMT-05:00)
> > To: Adam Holt <h...@laptop.org>
> > Cc: server-devel <server-devel@lists.laptop.org>,
> > xsce-de...@googlegroups.com
> > Subject: [XSCE] Re: [UKids] Raspberri Pi/clone(s) most ruggedizable
> > for OLPC fieldwork?
> >
> >
> > On Feb 6, 2016, at 1:10 PM, Adam Holt <h...@laptop.org> wrote:
> >
> > Will the $15 http://pine64.com (which just raised $1.7M) become
> > genuinely productizable for truly hassle-free field use with 128GB
> > MicroSD cards by late 2016?  On the bright side, it accommodates 128GB
> > maximum, which is exactly what we need on the high end in 2016.
> >
> >
> > Looping back on this...
> >
> > My PINE64 arrived in the mail today. Mine is the 2GB RAM variant, with
> > gigabit ethernet, but no bluetooth or Wi-Fi (which is an add-in
> > module)
> >
> >  I actually have a couple of 200GB microSD cards that I just acquired,
> > and I’ll be putting it through its paces. The SanDisk
> > SDSDQUAN-200G-G4A retails for $249, but the actual street prices are
> > $80 (on Amazon)
> >
> > I suspect it will work fine in the PINE64. Does anyone here have any
> > recommendations for putting XSCE through its paces, or otherwise
> > stress-testing the install, besides normal benchmarking of static HTTP
> > page load performance.
> >
> > Regards,
> > Alex Perez
> >
> >
> > ___
> > Server-devel mailing list
> > Server-devel@lists.laptop.org
> > http://lists.laptop.org/listinfo/server-devel
> >
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Re: [UKids] Raspberry Pi 3

2016-04-05 Thread Tim Moody
And of course the README accompanying the images at

 

http://xsce.org/downloads/xsce-release-6.0/rpi-images/README.html

 

 

From: aholt...@gmail.com [mailto:aholt...@gmail.com] On Behalf Of Adam Holt
Sent: Tuesday, April 05, 2016 11:03 AM
To: Community Support Volunteers -- who help respond to help AT laptop.org 
<support-g...@lists.laptop.org>; Unleash Kids! <unleashk...@googlegroups.com>; 
server-devel <server-devel@lists.laptop.org>; xsce-devel 
<xsce-de...@googlegroups.com>
Subject: [XSCE] Re: [UKids] Raspberry Pi 3

 

On Tue, Apr 5, 2016 at 10:49 AM, Tim Moody <t...@timmoody.com 
<mailto:t...@timmoody.com> > wrote:

For those who wish to experiment I have added several rpi3 images to 
http://xsce.org/downloads/xsce-release-6.0/rpi-images/ 

 

These are based on the rpi2 images, so they are 32 bit, but they are configured 
to use the internal wifi as a hotspot.

 

The Raspberry Pi folks also claim the 3 is 30% faster than the 2, even in 32 
bit mode, and have not yet announced plans for 64 bit support.

 

https://www.raspberrypi.org/forums/viewtopic.php?f=66 
<https://www.raspberrypi.org/forums/viewtopic.php?f=66=138385> =138385

 

Fantastic news, thank you Tim!

Intro explanations for all:

   http://xsce.org  (glossy)

   http://schoolserver.org  (community)

   http://schoolserver.org/faq  (frequently asked questions)

   https://github.com/XSCE/xsce/wiki/XSCE-Installation  (official install 
instructions, please read this!)
   
http://wiki.laptop.org/go/XS_Community_Edition/FAQ#Is_a_quick_installation_possible.3F
  (community tips on quick installation)


-- 

Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] Raspberry Pi 3

2016-04-05 Thread Tim Moody
For those who wish to experiment I have added several rpi3 images to
http://xsce.org/downloads/xsce-release-6.0/rpi-images/ 

 

These are based on the rpi2 images, so they are 32 bit, but they are
configured to use the internal wifi as a hotspot.

 

The Raspberry Pi folks also claim the 3 is 30% faster than the 2, even in 32
bit mode, and have not yet announced plans for 64 bit support.

 

https://www.raspberrypi.org/forums/viewtopic.php?f=66
 =138385

 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Re: [UKids] Raspberri Pi/clone(s) most ruggedizable for OLPC fieldwork?

2016-04-02 Thread Tim Moody
For xsce I'd start with f22.  You can look at the rpi images on 
xsce.org/downloads


Sent from my Samsung Galaxy smartphone.

 Original message 
From: Alex Perez  Date: 
4/2/2016  2:12 PM  (GMT-05:00) To: Adam Holt  
Cc: server-devel , 
xsce-de...@googlegroups.com Subject: [XSCE] Re: [UKids] Raspberri 
Pi/clone(s) most ruggedizable for OLPC fieldwork? 


> On Feb 6, 2016, at 1:10 PM, Adam Holt  wrote:
>
> Will the $15 http://pine64.com  (which just raised $1.7M) 
> become genuinely productizable for truly hassle-free field use with 128GB 
> MicroSD cards by late 2016?  On the bright side, it accommodates 128GB 
> maximum, which is exactly what we need on the high end in 2016.

Looping back on this...

My PINE64 arrived in the mail today. Mine is the 2GB RAM variant, with gigabit 
ethernet, but no bluetooth or Wi-Fi (which is an add-in module)

 I actually have a couple of 200GB microSD cards that I just acquired, and I’ll 
be putting it through its paces. The SanDisk SDSDQUAN-200G-G4A retails for 
$249, but the actual street prices are $80 (on Amazon)

I suspect it will work fine in the PINE64. Does anyone here have any 
recommendations for putting XSCE through its paces, or otherwise stress-testing 
the install, besides normal benchmarking of static HTTP page load performance.

Regards,
Alex Perez

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XSCE 6.0 Released

2016-03-27 Thread Tim Moody
Please do yourself a favor and don't just grab an image.  Have a look at the 
installation instructions first.

 

https://github.com/XSCE/xsce/wiki/XSCE-Installation 

 

 

On Sun, Mar 27, 2016 at 1:47 PM, Adam Holt  > wrote:

Thank you Tim & All -

Those who want a visual shortcut to prefab 'short-cuts' installable images, 
please bookmark the top-right of http://schoolsever.org

 

Correction http://schoolserver.org :-)

 

 

Years in the making!!  A cast of thousands!!

 

The School Server Community Edition (XSCE) version 6.0 is hereby officially 
released.  Thanks to the many contributors, developers, and testers.

 

In addition to releasing the School Server software, we have provided 
'short-cut' images for several platforms with more on the way.

 

Please read the following Release Notes and then proceed to 
https://github.com/XSCE/xsce/wiki/XSCE-Installation.

 


Release Notes for XSCE 6.0


What is it?


XSCE is the digital backbone for your education revolution. Put simply, School 
Server is an open-education project inspired by One Laptop Per Child to provide 
breakthrough digital learning tools to the world’s poorest children.


A Rose by any other Name


Internally and in the source code we refer to this software as XSCE, the 
Community Edition of the XS server originally from OLPC. Students and teachers 
often know it as Internet in a Box, a collection of educational materials and 
applications found on the internet, but available on the server even without an 
internet connection. We also refer to it as a School Server since it is aimed 
at schools and other places where people learn and performs the function of a 
server.


What's new in XSCE Release 6.0?


This release extends the tools available to educators in three ways:

*   It makes available free and open source content that is available in 
many languages
*   It provides new avenues for students to create, and share their work
*   It contains number of advances to permit easy configuration, tailoring 
of content, and monitoring of student work.


Newly Available Open Source Educational Content


*   KA Lite brings the online features of Khan Academy to the offline 
School Server based classroom. There are videos, exercises, tests, and student 
tracking in a number of languages, all selectable via a Graphical User 
Interface.  
https://learningequality.org/ka-lite/
*   Searchable offline access to Wikipedia and other content such as 
Wiktionaries and TED Talks in a variety of subjects and many languages, 
provided by the Kiwix server technology.   
http://www.kiwix.org/wiki/Main_Page
*   RACHEL (a curated selection of offline materials)  
 http://worldpossible.org/rachel/
*   Bring your own content by inserting a USB thumbdrive with content into 
the server having it immediately viewable by students.


Encourage Students to Write, Foster the Creative Process


*   Elgg provides the tools for generating social networks  
 
http://learn.elgg.org/en/2.0/intro/features.html
*   ownCloud provides client based tools for storing and retrieving 
materials stored on the XSCE local cloud.
*   DokuWiki (EXPERIMENTAL) provides a means for students to publish their 
work.   https://www.dokuwiki.org/features
*   Wordpress (EXPERIMENTAL -- enable in "local_vars") gives students 
experience editing/sharing using a tool that is becoming an industry standard.


New Tools for Administering the XSCE School Server


*   A new Graphical User Interface (Admin Console) to enable services, 
select and download content, get information
*   AWstats is a flexible tool for summarizing the web traffic on and 
through the server in graphical and detailed ways.  
http://www.awstats.org/


How do I get it?


There are three main methods of installing this software:

*   Use ansible and the git repository - this is the fall back when you 
need to customize or you have a platform for which we have not created an image.
*   Use an image you download - for some commonly used platforms we create 
image files that you can download, put on a usb stick or sd card and boot in 
your new hardware.
*   Create and use your own image - this will appeal to you if you want an 
image to use in multiple machines and are able to use the tools we provide to 
create it.

In each case you need hardware that has been assembled, but with nothing 
installed on it.

Detailed instructions on each of these methods is at  
 
https://github.com/XSCE/xsce/wiki/XSCE-Installation.

 

 

--
Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !

-- 

Unsung Heroes of OLPC, interviewed live @ 

[Server-devel] XSCE 6.0 Released

2016-03-27 Thread Tim Moody
Years in the making!!  A cast of thousands!!

 

The School Server Community Edition (XSCE) version 6.0 is hereby officially
released.  Thanks to the many contributors, developers, and testers.

 

In addition to releasing the School Server software, we have provided
'short-cut' images for several platforms with more on the way.

 

Please read the following Release Notes and then proceed to
https://github.com/XSCE/xsce/wiki/XSCE-Installation.

 


Release Notes for XSCE 6.0


What is it?


XSCE is the digital backbone for your education revolution. Put simply,
School Server is an open-education project inspired by One Laptop Per Child
to provide breakthrough digital learning tools to the world's poorest
children.


A Rose by any other Name


Internally and in the source code we refer to this software as XSCE, the
Community Edition of the XS server originally from OLPC. Students and
teachers often know it as Internet in a Box, a collection of educational
materials and applications found on the internet, but available on the
server even without an internet connection. We also refer to it as a School
Server since it is aimed at schools and other places where people learn and
performs the function of a server.


What's new in XSCE Release 6.0?


This release extends the tools available to educators in three ways:

*   It makes available free and open source content that is available in
many languages
*   It provides new avenues for students to create, and share their work
*   It contains number of advances to permit easy configuration,
tailoring of content, and monitoring of student work.


Newly Available Open Source Educational Content


*   KA Lite brings the online features of Khan Academy to the offline
School Server based classroom. There are videos, exercises, tests, and
student tracking in a number of languages, all selectable via a Graphical
User Interface. 
https://learningequality.org/ka-lite/
*   Searchable offline access to Wikipedia and other content such as
Wiktionaries and TED Talks in a variety of subjects and many languages,
provided by the Kiwix server technology.
 http://www.kiwix.org/wiki/Main_Page
*   RACHEL (a curated selection of offline materials)
 http://worldpossible.org/rachel/
*   Bring your own content by inserting a USB thumbdrive with content
into the server having it immediately viewable by students.


Encourage Students to Write, Foster the Creative Process


*   Elgg provides the tools for generating social networks

http://learn.elgg.org/en/2.0/intro/features.html
*   ownCloud provides client based tools for storing and retrieving
materials stored on the XSCE local cloud.
*   DokuWiki (EXPERIMENTAL) provides a means for students to publish
their work.  
https://www.dokuwiki.org/features
*   Wordpress (EXPERIMENTAL -- enable in "local_vars") gives students
experience editing/sharing using a tool that is becoming an industry
standard.


New Tools for Administering the XSCE School Server


*   A new Graphical User Interface (Admin Console) to enable services,
select and download content, get information
*   AWstats is a flexible tool for summarizing the web traffic on and
through the server in graphical and detailed ways. 
http://www.awstats.org/


How do I get it?


There are three main methods of installing this software:

*   Use ansible and the git repository - this is the fall back when you
need to customize or you have a platform for which we have not created an
image.
*   Use an image you download - for some commonly used platforms we
create image files that you can download, put on a usb stick or sd card and
boot in your new hardware.
*   Create and use your own image - this will appeal to you if you want
an image to use in multiple machines and are able to use the tools we
provide to create it.

In each case you need hardware that has been assembled, but with nothing
installed on it.

Detailed instructions on each of these methods is at

https://github.com/XSCE/xsce/wiki/XSCE-Installation.

 

 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] rpi - 2 questions

2016-03-22 Thread Tim Moody
The xsce rpi2 images are pretty much there based on
https://www.kraxel.org/repos/rpi2/ But there are two decisions still
outstanding.

 

1) fsck on rootfs

 

Kraxel had in /etc/fstab

 

UUID=1a57e552-0bae-4a16-9705-12d51e12db05 / ext4 noatime 0 0

 

but I have noticed error messages about lost inodes when I mount this
partition on another machine and was thinking of changing to

 

UUID=1a57e552-0bae-4a16-9705-12d51e12db05 / ext4 noatime 1 1 

 

which would force fsck on each boot, but add a delay.  an alternative would
be to document the use of touch /forcefsck to force it only on the next
boot.

 

Is changing fstab a good idea and is there a better one?  My inclination is
to make the change rather than rely on someone to force fsck.

 

2) kernel

 

Kraxel had 4.4.1, now upgradable to 4.4.6

 

https://github.com/raspberrypi/firmware

 

has 4.1.20 and seems a bit more official, but there is no repo I can find,
so no dnf update.

 

My inclination is to stick with Kraxel, but I am open to suggestions.

 

Another factor is that rpi3 will need the device tree from
raspberrypi/firmware and possibly other files, but this is not very relevant
until they get a 64bit kernel and linux.

 

 

 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [UKids] Internet-in-a-Box 2.0 PREVIEW

2016-02-09 Thread Tim Moody
At lot of this content would be quite large in static html, so kiwix.org have 
compressed it into a file format called zim which is then rendered by their 
kiwix server which is either proxied by apache or accessed directly.  Apache 
alone is not sufficient.

 

From: unleashk...@googlegroups.com [mailto:unleashk...@googlegroups.com] On 
Behalf Of robb
Sent: Tuesday, February 09, 2016 8:02 AM
To: Adam Holt <h...@laptop.org>; Bishnu Bidari <bishnu.bid...@olenepal.org>
Cc: xsce-devel <xsce-de...@googlegroups.com>; Unleash Kids! 
<unleashk...@googlegroups.com>; server-devel <server-devel@lists.laptop.org>; 
Community Support Volunteers -- who help respond to help AT laptop.org 
<support-g...@lists.laptop.org>
Subject: Re: [UKids] Internet-in-a-Box 2.0 PREVIEW

 

If you already have an (apache) webserver running, is there an option to serve 
the content through that webserver? Is there a howto somewhere?

regards,
robb

Op 09-02-16 om 12:20 schreef Adam Holt:

On Tue, Feb 9, 2016 at 4:57 AM, Bishnu Bidari <bishnu.bid...@olenepal.org 
<mailto:bishnu.bid...@olenepal.org> > wrote:

Hi Adam, 

Glad to hear that IIAB 2.0 is out. The content looks great.

 

We, olenepal, are distriubting IIAB content(wikipedia, OSM etc) integrating 
with our offline e-pustakalaya content. Hence could we get the direct link to 
download such content seperately?

 

Yes, many of the pieces are directly downloadable here, if you do not wish to 
order a disk:
http://download.kiwix.org/portable/

Tim Moody, Emmanuel Engelhart and a growing team of very experienced 
content-packagers (in the US especially, so far) will also be evolving much 
higher quality youth-oriented subsets of Wikipedia this year.  Directly 
education-relevant far more than in the past: not just for schools/libraries 
but also for after-school programs and die-hard passionate 
parents/families/kids/teachers etc.

Watch for releases in+around June, of these colorful new 10GB-and-larger 
Wikipedia treasure troves -- starting in English, French and Spanish -- and 
containing many more high-resolution maps, historical photographs and 
increasingly videos than in the past.  Won't happen overnight but it's coming =)

 

Thanks,

Bishnu

 

On Tue, Feb 9, 2016 at 3:32 PM Adam Holt <h...@laptop.org 
<mailto:h...@laptop.org> > wrote:

We have 795GB in English, Spanish, French, Russian, Arabic, Khmer, Malay, 
Burmese and Haitian Creole.  Hard disks are shipped out to those in need, 
particularly useful for those implementing XSCE 6.0 (http://schoolserver.org) 
which will be released very shortly, in not so many days.

IIAB 2.0 (Internet-in-a-Box 2.0) Summary Contents List:
https://docs.google.com/document/d/1RXzapvzvGRxPoJk0v9Wsdn0Wv02M-iokY6jZ8BQDh9U


 

Last-minute revisions will be considered before final release if there are 
special requests -- and late-breaking, larger suggestions will be accepted as 
part of IIAB 2.1.

Thanks all for your feedback & thanks to all who've helped year after year!!


--

Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org

-- 

Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
--- 
You received this message because you are subscribed to the Google Groups 
"Unleash Kids" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to unleashkids+unsubscr...@googlegroups.com 
<mailto:unleashkids+unsubscr...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout.

-- 

Thanks,
Bishnu

-- 
Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
--- 
You received this message because you are subscribed to the Google Groups 
"Unleash Kids" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to unleashkids+unsubscr...@googlegroups.com 
<mailto:unleashkids+unsubscr...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout.

-- 

Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !

-- 
Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
--- 
You received this message because you are subscribed to the Google Groups 
"Unleash Kids" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to unleashkids+unsubscr...@googlegroups.com 
<mailto:unleashkids+unsubscr...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout.

-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 



-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 

-- 
Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
--- 
You received this message because you are subscribed to the Google Groups 
"Unleash Kids&quo

Re: [Server-devel] [UKids] Internet-in-a-Box 2.0 PREVIEW

2016-02-09 Thread Tim Moody
Hi Bishnu,

 

Actually if you use xsce, there is a graphical user interface that will allow 
you to select by language all of the wiki type content from the url Adam 
mentions and download and unzip it to a location where the kiwix server can 
render it. In your case, since you have your own server, you could use xsce as 
a staging machine to make life easier.

 

For OSM, Anish has freshly generated India and Nepal and can give you a link.

 

Tim

 

From: unleashk...@googlegroups.com [mailto:unleashk...@googlegroups.com] On 
Behalf Of Adam Holt
Sent: Tuesday, February 09, 2016 6:21 AM
To: Bishnu Bidari <bishnu.bid...@olenepal.org>
Cc: xsce-devel <xsce-de...@googlegroups.com>; Unleash Kids! 
<unleashk...@googlegroups.com>; server-devel <server-devel@lists.laptop.org>; 
Community Support Volunteers -- who help respond to help AT laptop.org 
<support-g...@lists.laptop.org>
Subject: Re: [UKids] Internet-in-a-Box 2.0 PREVIEW

 

On Tue, Feb 9, 2016 at 4:57 AM, Bishnu Bidari <bishnu.bid...@olenepal.org 
<mailto:bishnu.bid...@olenepal.org> > wrote:

Hi Adam,

Glad to hear that IIAB 2.0 is out. The content looks great.

 

We, olenepal, are distriubting IIAB content(wikipedia, OSM etc) integrating 
with our offline e-pustakalaya content. Hence could we get the direct link to 
download such content seperately?

 

Yes, many of the pieces are directly downloadable here, if you do not wish to 
order a disk:
http://download.kiwix.org/portable/

Tim Moody, Emmanuel Engelhart and a growing team of very experienced 
content-packagers (in the US especially, so far) will also be evolving much 
higher quality youth-oriented subsets of Wikipedia this year.  Directly 
education-relevant far more than in the past: not just for schools/libraries 
but also for after-school programs and die-hard passionate 
parents/families/kids/teachers etc.

Watch for releases in+around June, of these colorful new 10GB-and-larger 
Wikipedia treasure troves -- starting in English, French and Spanish -- and 
containing many more high-resolution maps, historical photographs and 
increasingly videos than in the past.  Won't happen overnight but it's coming =)

 

Thanks,

Bishnu

 

On Tue, Feb 9, 2016 at 3:32 PM Adam Holt <h...@laptop.org 
<mailto:h...@laptop.org> > wrote:

We have 795GB in English, Spanish, French, Russian, Arabic, Khmer, Malay, 
Burmese and Haitian Creole.  Hard disks are shipped out to those in need, 
particularly useful for those implementing XSCE 6.0 (http://schoolserver.org) 
which will be released very shortly, in not so many days.

IIAB 2.0 (Internet-in-a-Box 2.0) Summary Contents List:
https://docs.google.com/document/d/1RXzapvzvGRxPoJk0v9Wsdn0Wv02M-iokY6jZ8BQDh9U


 

Last-minute revisions will be considered before final release if there are 
special requests -- and late-breaking, larger suggestions will be accepted as 
part of IIAB 2.1.

Thanks all for your feedback & thanks to all who've helped year after year!!


--

Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org

-- 

Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
--- 
You received this message because you are subscribed to the Google Groups 
"Unleash Kids" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to unleashkids+unsubscr...@googlegroups.com 
<mailto:unleashkids+unsubscr...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout.

-- 

Thanks,
Bishnu

-- 
Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
--- 
You received this message because you are subscribed to the Google Groups 
"Unleash Kids" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to unleashkids+unsubscr...@googlegroups.com 
<mailto:unleashkids+unsubscr...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout.

-- 

Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !

-- 
Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
--- 
You received this message because you are subscribed to the Google Groups 
"Unleash Kids" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to unleashkids+unsubscr...@googlegroups.com 
<mailto:unleashkids+unsubscr...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout.

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Re: XSCE testing on NUC/el7 ; munin not working

2016-01-29 Thread Tim Moody
I think there is a cosmetic issue here.  I had the same problem and it repaired 
itself as soon as munin had calculated some stats later in the day and I 
rebooted.

 

From: xsce-de...@googlegroups.com [mailto:xsce-de...@googlegroups.com] On 
Behalf Of Anish Mangal
Sent: Friday, January 29, 2016 4:13 AM
To: Tim Moody <t...@timmoody.com>; Jerry Vonau <m...@jvonau.ca>; George Hunt 
<georgejh...@gmail.com>; xsce-devel <xsce-de...@googlegroups.com>; server-devel 
<server-devel@lists.laptop.org>
Subject: [XSCE] Re: XSCE testing on NUC/el7 ; munin not working

 

ugh  

runtags munin fixed it 

damn you... ghost in the machine!

 

On Fri, Jan 29, 2016 at 1:48 PM, Anish Mangal <anis...@umich.edu 
<mailto:anis...@umich.edu> > wrote:

Hi,

While testing xsce, and enabling munin from the admin console, the munin portal 
does not open, and instead I see a simple apache file directory showing the 
'static' folder. Seems as if munin hasn't run (as cron) to populate the data 
(or that is what jerry suggsted is happening). 

systemctl status munin-node.service reports that it is running, and grepping 
the journal log throws this output

[root@schoolserver xsce]# journalctl -xa|grep munin
-- Subject: Unit munin-node.service has begun start-up
-- Unit munin-node.service has begun starting up.
-- Subject: Unit munin-node.service has finished start-up
-- Unit munin-node.service has finished starting up.
Jan 29 13:35:05 schoolserver.lan systemd[1]: Started Session 1 of user munin.
Jan 29 13:35:05 schoolserver.lan systemd[1]: Starting Session 1 of user munin.
Jan 29 13:35:05 schoolserver.lan CROND[2339]: (munin) CMD (test -x 
/usr/bin/munin-cron && /usr/bin/munin-cron)

any pointers? The server has been up for 4+ hours since the last reboot.



-- 

Anish

 




-- 

Anish

 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] zims

2015-12-13 Thread Tim Moody
you're right.  I mistakenly thought it referred to the source, which came
from the zip file, but in fact the target directory is not created unless
you enable kiwix.  I just tested pre-creating the target directory and I
think that fixes the problem.

 

From: Thomas Gilliard [mailto:satelli...@gmail.com] 
Sent: Sunday, December 13, 2015 1:07 PM
To: Tim Moody <t...@timmoody.com>
Cc: xsce-de...@googlegroups.com; server-devel@lists.laptop.org
Subject: Re: zims

 

https://wiki.sugarlabs.org/go/XSCE#zim_errors_in_xsce



*   No such file or directory causes "Failed" in zim_install_step3.sh

Tom Gilliard
satellit

On 12/12/2015 05:50 PM, Thomas Gilliard wrote:

https://wiki.sugarlabs.org/go/XSCE#Gutenburg_zim_error_in_centos_7_xsce
screenshot of gutenberg install in working centos7 xsce install from USB 

Looks like a missing directory

Tom Gilliard
satellit




On 12/11/2015 08:54 AM, Tim Moody wrote:

the rachel problem corrects itself the second time you take the option.  the
screen should say this.  if it doesn't you don't have the latest version.

 

when doing an install from an image do you make sure you have the latest
fixes by doing the following?

 

cd /opt/schoolserver/xsce

 

git pull

 

./install-console

 

From: Thomas Gilliard [mailto:satelli...@gmail.com] 
Sent: Friday, December 11, 2015 11:18 AM
To: Tim Moody  <mailto:t...@timmoody.com> <t...@timmoody.com>
Cc: satelli...@gmail.com <mailto:satelli...@gmail.com> 
Subject: Re: zims

 

Tim

I will have to retry this. I do not remember as I have done 4 installs and
tried several kwix installs.
I do know that rachel on a centos 7.1 install failed with a crc error due to
mp4 files. It would not install.

But I have another install where it works perfectly?

Note that my upstream cat5 connection uses the network socket on the NUC [1]
so the setup may not be the same as mentioned in the instructions.

Will try to do this again in f22 xsce -live and make notes.

Thanks for all your work on this amazing software;

Tom Gilliard
satellit

[1] https://wiki.sugarlabs.org/go/XSCE#System_Setup

On 12/11/2015 06:48 AM, Tim Moody wrote:

Tom,

 

On the call yesterday you mentioned problems with zims.

 

Can you give me more details?

 

Thanks,

 

Tim

 

 

 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] XSCE Network Testing

2015-11-30 Thread Tim Moody
Network discovery and configuration have become increasingly complex as we
try to handle more and more cases.  I have created a test plan for
networking to supplement the general test plan for XSCE.  There are probably
additional cases that should be tested, especially in the area of
connections that are added or changed after installation, so add them if you
can.

 

Please help get this right by testing and recording your results in

 

https://docs.google.com/spreadsheets/d/1NTePIfkhBJpRbBQ867V3WK_ORgunMMfaZt9V
Vd8tCmI/edit?usp=sharing

 

Please copy the template to a new worksheet and fill in the testing
environment and the results for scenarios tested.

 

The overall test plan for XSCE is at

 

https://docs.google.com/spreadsheets/d/1pevXOSIoV9LQF_8QV-5_ds0WPqC1Lko3UYYJ
h8UnUkM/edit#gid=0
 =A1

 

 

 

 

 

 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] khan_assessments.zip download fails

2015-11-20 Thread Tim Moody
the easiest workaround is to have enough memory.  I bumped the vm up to 1.5G 
RAM and the problem disappeared, but this could come up if you put a large 
storage on a machine with small memory and want to run kalite with the 
assessments.

> -Original Message-
> From: xsce-de...@googlegroups.com [mailto:xsce-
> de...@googlegroups.com] On Behalf Of Jerry Vonau
> Sent: Friday, November 20, 2015 3:29 PM
> To: xsce-de...@googlegroups.com; 'server-devel'  de...@lists.laptop.org>; Tim Moody <t...@timmoody.com>
> Subject: RE: [XSCE] khan_assessments.zip download fails
> 
> google foo is good today, open ansible issue with possible workaround:
> https://github.com/ansible/ansible/issues/9512
> 
> > On November 20, 2015 at 2:11 PM Tim Moody <t...@timmoody.com>
> wrote:
> >
> >
> > I don't think it is on extraction as that is a later task in a
> > different .yml
> >
> > > -Original Message-
> > > From: xsce-de...@googlegroups.com [mailto:xsce-
> > > de...@googlegroups.com] On Behalf Of Jerry Vonau
> > > Sent: Friday, November 20, 2015 3:09 PM
> > > To: xsce-de...@googlegroups.com; server-devel  > > de...@lists.laptop.org>; Tim Moody <t...@timmoody.com>
> > > Subject: Re: [XSCE] khan_assessments.zip download fails
> > >
> > > tmpfs is handled by a systemd file, think you can turn that off, but
> > > /tmp won't auto cleanup on reboot, so there might be some crud that
> > > builds up.
> > > Think that is occurring on extraction, can we set the working
> > > directory somehow?
> > >
> > > > On November 20, 2015 at 1:27 PM Tim Moody <t...@timmoody.com>
> > > wrote:
> > > >
> > > >
> > > > the kalite playbook attempts to download the 500M
> > > > khan_assessments.zip using get_url to/opt/schoolserver//downloads,
> > > > which has plenty of space.  but it appears to use /tmp as a
> > > > working directory which does not have enough space.
> > > > I have read that tmpfs uses half of memory, so the problem will
> > > > only occur on a machine with smaller amounts of memory.  Is there
> > > > a way to increase the size of tmpfs temporarily?  I don't see an
> > > > entry in fstab.
> > > >
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] khan_assessments.zip download fails

2015-11-20 Thread Tim Moody
I don't think it is on extraction as that is a later task in a different .yml

> -Original Message-
> From: xsce-de...@googlegroups.com [mailto:xsce-
> de...@googlegroups.com] On Behalf Of Jerry Vonau
> Sent: Friday, November 20, 2015 3:09 PM
> To: xsce-de...@googlegroups.com; server-devel  de...@lists.laptop.org>; Tim Moody <t...@timmoody.com>
> Subject: Re: [XSCE] khan_assessments.zip download fails
> 
> tmpfs is handled by a systemd file, think you can turn that off, but /tmp
> won't auto cleanup on reboot, so there might be some crud that builds up.
> Think that is occurring on extraction, can we set the working directory
> somehow?
> 
> > On November 20, 2015 at 1:27 PM Tim Moody <t...@timmoody.com>
> wrote:
> >
> >
> > the kalite playbook attempts to download the 500M khan_assessments.zip
> > using get_url to/opt/schoolserver//downloads, which has plenty of
> > space.  but it appears to use /tmp as a working directory which does
> > not have enough space.
> > I have read that tmpfs uses half of memory, so the problem will only
> > occur on a machine with smaller amounts of memory.  Is there a way to
> > increase the size of tmpfs temporarily?  I don't see an entry in
> > fstab.
> >
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] [RFC] XSCE 6.0 test matrix

2015-11-15 Thread Tim Moody
What does install mode mean? (gateway, appliance, nw controller?)

 

I added Number Eth adapters and other HW info

 

what do L0 and L1 mean?

 

From: xsce-de...@googlegroups.com [mailto:xsce-de...@googlegroups.com] On 
Behalf Of Tim Moody
Sent: Friday, November 13, 2015 10:49 AM
To: xsce-de...@googlegroups.com; 'server-devel' <server-devel@lists.laptop.org>
Subject: RE: [XSCE] [RFC] XSCE 6.0 test matrix

 

good start.  I would break out NUC and VM by OS (centos vs f22)

 

also, probably need short explanations on some of the header fields

 

 <https://github.com/XSCE/xsce-tests> https://github.com/XSCE/xsce-tests, most 
recently owned by George, should get into the picture

 

 <https://github.com/XSCE/xsce/blob/master/docs/TESTING.rst> 
https://github.com/XSCE/xsce/blob/master/docs/TESTING.rst is getting stale.

 

From:  <mailto:xsce-de...@googlegroups.com> xsce-de...@googlegroups.com [ 
<mailto:xsce-de...@googlegroups.com> mailto:xsce-de...@googlegroups.com] On 
Behalf Of Anish Mangal
Sent: Thursday, November 12, 2015 11:15 PM
To: server-devel < <mailto:server-devel@lists.laptop.org> 
server-devel@lists.laptop.org>; xsce-devel < 
<mailto:xsce-de...@googlegroups.com> xsce-de...@googlegroups.com>
Subject: [XSCE] [RFC] XSCE 6.0 test matrix

 

With the XSCE 6.0 release imminent in a few weeks, it would be great if we 
could get the code tested in the many platforms we support. To this end, I have 
started working on a test-grid. The spreadsheet is linked here:

https://docs.google.com/spreadsheets/d/1pevXOSIoV9LQF_8QV-5_ds0WPqC1Lko3UYYJh8UnUkM/edit#gid=0

At this point, I'm looking for contributions to improve the structure of the 
sheet, but more importantly, for respective module maintainers to fill in the 
necessary testing steps in the 'Template' tab. 

Note: This is NOT a call to fill in test data yet. The sheet is not ready - 
both in completeness and user-friendliness. Please help with making it so. 

Thank you all!

Anish

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] [RFC] XSCE 6.0 test matrix

2015-11-15 Thread Tim Moody
 

 

From: xsce-de...@googlegroups.com [mailto:xsce-de...@googlegroups.com] On 
Behalf Of Anish Mangal
Sent: Sunday, November 15, 2015 11:28 AM
To: xsce-devel <xsce-de...@googlegroups.com>
Cc: server-devel <server-devel@lists.laptop.org>
Subject: Re: [XSCE] [RFC] XSCE 6.0 test matrix

 

 

 

On Sun, Nov 15, 2015 at 9:46 PM, Tim Moody <t...@timmoody.com 
<mailto:t...@timmoody.com> > wrote:

What does install mode mean? (gateway, appliance, nw controller?)

 

 

Yes

 

I added Number Eth adapters and other HW info

 

 

Great. I was actually thinking whether we should have different rows for all 
such info, or just a link to /etc/xsce.ini. Maybe it makes sense to have them 
in separate rows just in case the info in /etc/xsce,ini may be stale?

 

some things like ram and storage are not in the ini, but I debated about 
repeating things that are.  the question could also be asked about the commit 
hash, which is in the ini.  I guess it's a tradeoff between being able to see 
the context at a glance and having to copy things.

 

what do L0 and L1 mean?

 

 

This is a remnant of my semiconductor h/w verification days. Wanted to have a 
basic distinction between depth of testing. So in this case, L0 would mean 
basic testing of the most critical stuff. L1 means deeper level testing. The 
idea being an L0 test run would be over much quicker and L1 take additional 
time (and maybe expertise) so not everybody might want to do it. 

Thoughts?

 

From: xsce-de...@googlegroups.com <mailto:xsce-de...@googlegroups.com>  
[mailto:xsce-de...@googlegroups.com <mailto:xsce-de...@googlegroups.com> ] On 
Behalf Of Tim Moody
Sent: Friday, November 13, 2015 10:49 AM
To: xsce-de...@googlegroups.com <mailto:xsce-de...@googlegroups.com> ; 
'server-devel' <server-devel@lists.laptop.org 
<mailto:server-devel@lists.laptop.org> >
Subject: RE: [XSCE] [RFC] XSCE 6.0 test matrix

 

good start.  I would break out NUC and VM by OS (centos vs f22)

 

also, probably need short explanations on some of the header fields

 

 <https://github.com/XSCE/xsce-tests> https://github.com/XSCE/xsce-tests, most 
recently owned by George, should get into the picture

 

 <https://github.com/XSCE/xsce/blob/master/docs/TESTING.rst> 
https://github.com/XSCE/xsce/blob/master/docs/TESTING.rst is getting stale.

 

From:  <mailto:xsce-de...@googlegroups.com> xsce-de...@googlegroups.com [ 
<mailto:xsce-de...@googlegroups.com> mailto:xsce-de...@googlegroups.com] On 
Behalf Of Anish Mangal
Sent: Thursday, November 12, 2015 11:15 PM
To: server-devel < <mailto:server-devel@lists.laptop.org> 
server-devel@lists.laptop.org>; xsce-devel < 
<mailto:xsce-de...@googlegroups.com> xsce-de...@googlegroups.com>
Subject: [XSCE] [RFC] XSCE 6.0 test matrix

 

With the XSCE 6.0 release imminent in a few weeks, it would be great if we 
could get the code tested in the many platforms we support. To this end, I have 
started working on a test-grid. The spreadsheet is linked here:

https://docs.google.com/spreadsheets/d/1pevXOSIoV9LQF_8QV-5_ds0WPqC1Lko3UYYJh8UnUkM/edit#gid=0

At this point, I'm looking for contributions to improve the structure of the 
sheet, but more importantly, for respective module maintainers to fill in the 
necessary testing steps in the 'Template' tab. 

Note: This is NOT a call to fill in test data yet. The sheet is not ready - 
both in completeness and user-friendliness. Please help with making it so. 

Thank you all!

Anish

 

 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] [RFC] XSCE 6.0 test matrix

2015-11-15 Thread Tim Moody


> -Original Message-
> From: xsce-de...@googlegroups.com [mailto:xsce-
> de...@googlegroups.com] On Behalf Of Jerry Vonau
> Sent: Sunday, November 15, 2015 12:24 PM
> To: Anish Mangal <anis...@umich.edu>; xsce-de...@googlegroups.com
> Cc: server-devel <server-devel@lists.laptop.org>
> Subject: Re: [XSCE] [RFC] XSCE 6.0 test matrix
> 
> 
> 
> > On November 15, 2015 at 10:27 AM Anish Mangal <anis...@umich.edu>
> wrote:
> >
> >
> > On Sun, Nov 15, 2015 at 9:46 PM, Tim Moody <t...@timmoody.com>
> wrote:
> >
> > > What does install mode mean? (gateway, appliance, nw controller?)
> > >
> > >
> > >
> >
> > Yes
> >
> 
> Should we add a starting point as in pre-packaged image, older vm, fresh vm,
> fresh stock net/livecd install, or my kickstart assisted install? Did I
> miss any flavors of starting points?

I think the whole question of test methodology has not yet been addressed, but 
this is certainly an aspect of it.

> 
> >
> > > I added Number Eth adapters and other HW info
> > >
> > >
> > >
> >
> > Great. I was actually thinking whether we should have different rows
> > for all such info, or just a link to /etc/xsce.ini. Maybe it makes
> > sense to have them in separate rows just in case the info in
> > /etc/xsce,ini may be stale?
> >
> >
> > > what do L0 and L1 mean?
> > >
> > >
> > >
> >
> > This is a remnant of my semiconductor h/w verification days. Wanted to
> > have a basic distinction between depth of testing. So in this case, L0
> > would mean basic testing of the most critical stuff. L1 means deeper
> > level testing. The idea being an L0 test run would be over much
> > quicker and L1 take additional time (and maybe expertise) so not
> > everybody might want to do it.
> 
> I like the idea. Just to clarify, are you thinking if the correct result 
> appears in
> L0 there should be no need to move to L1's more detailed debugging?
> 
> Jerry
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] [RFC] XSCE 6.0 test matrix

2015-11-13 Thread Tim Moody
good start.  I would break out NUC and VM by OS (centos vs f22)

 

also, probably need short explanations on some of the header fields

 

https://github.com/XSCE/xsce-tests, most recently owned by George, should get 
into the picture

 

https://github.com/XSCE/xsce/blob/master/docs/TESTING.rst is getting stale.

 

From: xsce-de...@googlegroups.com [mailto:xsce-de...@googlegroups.com] On 
Behalf Of Anish Mangal
Sent: Thursday, November 12, 2015 11:15 PM
To: server-devel ; xsce-devel 

Subject: [XSCE] [RFC] XSCE 6.0 test matrix

 

With the XSCE 6.0 release imminent in a few weeks, it would be great if we 
could get the code tested in the many platforms we support. To this end, I have 
started working on a test-grid. The spreadsheet is linked here:

https://docs.google.com/spreadsheets/d/1pevXOSIoV9LQF_8QV-5_ds0WPqC1Lko3UYYJh8UnUkM/edit#gid=0

At this point, I'm looking for contributions to improve the structure of the 
sheet, but more importantly, for respective module maintainers to fill in the 
necessary testing steps in the 'Template' tab. 

Note: This is NOT a call to fill in test data yet. The sheet is not ready - 
both in completeness and user-friendliness. Please help with making it so. 

Thank you all!

Anish

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] CentOS install - i3 NUC - Code to Inspire

2015-11-01 Thread Tim Moody
Actually now I see more.  They were so slow loading I thought the higher levels 
didn't exist.

 

Still not getting anything above 10 or 11 depending on how you count.  At some 
of the lower levels there are tiles missing.

 

From: xsce-de...@googlegroups.com [mailto:xsce-de...@googlegroups.com] On 
Behalf Of Tim Moody
Sent: Sunday, November 01, 2015 9:51 PM
To: xsce-de...@googlegroups.com; 'server-devel' 
<server-devel@lists.laptop.org>; 'Nick Doiron' <ndoi...@mapmeld.com>
Subject: RE: [XSCE] CentOS install - i3 NUC - Code to Inspire

 

What I see

 

L3 has its own style.  There is nothing above L7.

 

From: xsce-de...@googlegroups.com <mailto:xsce-de...@googlegroups.com>  
[mailto:xsce-de...@googlegroups.com] On Behalf Of Anish Mangal
Sent: Saturday, October 31, 2015 11:17 AM
To: xsce-devel <xsce-de...@googlegroups.com 
<mailto:xsce-de...@googlegroups.com> >; server-devel 
<server-devel@lists.laptop.org <mailto:server-devel@lists.laptop.org> >; Nick 
Doiron <ndoi...@mapmeld.com <mailto:ndoi...@mapmeld.com> >
Subject: Re: [XSCE] CentOS install - i3 NUC - Code to Inspire

 

Nick, et. al. 

Would love some feedback on the tiles. 
http://home.braddock.com:28112/osm/slippymap.html

The scheme I've broadly followed is this:

Zoom <= 6

Natural earth data overlaid with text labels

Zoom between 7 and 10

OSMBright as a base layer + hillshade + slopeshade + color-relief. DEM data is 
SRTM 15 arc-sec resolution.

Zoom >= 11

OSMBright + hillshade + contours. DEM data is 1 arc-sec resolution

Would LOVE feedback, critiques on the design styling and suggestions to improve 
it. For example:

1. Contours at zoom level 11 is maybe a bit overdone, can be included from zoom 
12 or 13 onwards. 

2. Between zoom 7 and 10, the tiles look faded. This is primarily due to the 
hillshade, which is gray in color. Now if this is really a problem, I could 
make this situation slightly better.

3. Zoom level 10 (the last level with the crazy colors) has too much faded out 
elevation, and in the next level the elevation features are much sharper. Is 
this a problem?

4. The colors of the contours is blue. Maybe there is a better color out there? 
I suck at design and colors generally!

In terms of size, the tiles with elevation data are roughly double the size 
without elevation data.

 

Thanks everyone for being a great help during this process. :-)
--

Anish

 

On Thu, Oct 29, 2015 at 11:08 PM, Nick Doiron <ndoi...@mapmeld.com 
<mailto:ndoi...@mapmeld.com> > wrote:

Back at the office today.  My NUC box has CentOS installed and a version of 
XSCE, depending on what was in the image... if it's a little out of date should 
I pull down the latest XSCE commits and reinstall, or what?

 

OSM tiles looking good. Anish, I like that you included terrain! awesome

 

-- Nick

 

On Thu, Oct 29, 2015 at 8:17 AM, Adam Holt <h...@laptop.org 
<mailto:h...@laptop.org> > wrote:

Nick,

1) How's your NUC working out?  Understanding you've been swamped at the 
Unicode Conf :)

2) Separately can you look over the new OpenStreetMap tiles Anish has generated 
at http://home.braddock.com:28112/osm/slippymap.html and provide us some 
feedback on these tiles look+feel at different zoom levels?

PS Tiles are still generating, as Anish moves beyond Level 11 towards 
12/onwards, so once there are enough Anish will publish a .tar

 

On Mon, Oct 26, 2015 at 6:24 PM, Nick Doiron <ndoi...@mapmeld.com 
<mailto:ndoi...@mapmeld.com> > wrote:

ok never mind... this time it gave me an option to select CentOS and it is 
happening

asks for schoolserver login and everything

 

not sure what I did differently on the 2nd round

 

On Mon, Oct 26, 2015 at 3:23 PM, Nick Doiron <ndoi...@mapmeld.com 
<mailto:ndoi...@mapmeld.com> > wrote:

Good news: appears in boot menu as a bootable disk.  I re-ran the USB install 
to look for warnings:

===

root login on 'tty1'

no /usr/local/bin/dbus-daemon found: none killed

can't remove '/var/run/dbus/pid': No such file or directory



I run erase



EXT4-fs (sda2): couldn't mount as ext3 due to feature incompatibilities

EXT4-fs (sda2): couldn't mount as ext2 due to feature incompatibilities

EXT4-fs (sda3): couldn't mount as ext3 due to feature incompatibilities

EXT4-fs (sda3): couldn't mount as ext2 due to feature incompatibilities

=== (tar -xf /mnt/sdb2/target/21/x86_64/x86_64fc21_centos_150507.tgz) takes 
several minutes

 

In grub install step, I missed the first part but eventually get:

Usage: basename FILE [SUFFIX]

Strip directory path and .SUFFIX from FILE

 

tee: /mnt/sdb2/install.2096.log: I/O error

root@xsce:~#

 

Both install logs are empty

 

On Mon, Oct 26, 2015 at 3:15 PM, Nick Doiron <ndoi...@mapmeld.com 
<mailto:ndoi...@mapmeld.com> > wrote:

The CentOS installer ran for a time from the USB, then I was in a shell. I 
turned the device off, unplugged the U

Re: [Server-devel] [XSCE] CentOS install - i3 NUC - Code to Inspire

2015-11-01 Thread Tim Moody
What I see

 

L3 has its own style.  There is nothing above L7.

 

From: xsce-de...@googlegroups.com [mailto:xsce-de...@googlegroups.com] On 
Behalf Of Anish Mangal
Sent: Saturday, October 31, 2015 11:17 AM
To: xsce-devel ; server-devel 
; Nick Doiron 
Subject: Re: [XSCE] CentOS install - i3 NUC - Code to Inspire

 

Nick, et. al. 

Would love some feedback on the tiles. 
http://home.braddock.com:28112/osm/slippymap.html

The scheme I've broadly followed is this:

Zoom <= 6

Natural earth data overlaid with text labels

Zoom between 7 and 10

OSMBright as a base layer + hillshade + slopeshade + color-relief. DEM data is 
SRTM 15 arc-sec resolution.

Zoom >= 11

OSMBright + hillshade + contours. DEM data is 1 arc-sec resolution

Would LOVE feedback, critiques on the design styling and suggestions to improve 
it. For example:

1. Contours at zoom level 11 is maybe a bit overdone, can be included from zoom 
12 or 13 onwards. 

2. Between zoom 7 and 10, the tiles look faded. This is primarily due to the 
hillshade, which is gray in color. Now if this is really a problem, I could 
make this situation slightly better.

3. Zoom level 10 (the last level with the crazy colors) has too much faded out 
elevation, and in the next level the elevation features are much sharper. Is 
this a problem?

4. The colors of the contours is blue. Maybe there is a better color out there? 
I suck at design and colors generally!

In terms of size, the tiles with elevation data are roughly double the size 
without elevation data.

 

Thanks everyone for being a great help during this process. :-)
--

Anish

 

On Thu, Oct 29, 2015 at 11:08 PM, Nick Doiron  > wrote:

Back at the office today.  My NUC box has CentOS installed and a version of 
XSCE, depending on what was in the image... if it's a little out of date should 
I pull down the latest XSCE commits and reinstall, or what?

 

OSM tiles looking good. Anish, I like that you included terrain! awesome

 

-- Nick

 

On Thu, Oct 29, 2015 at 8:17 AM, Adam Holt  > wrote:

Nick,

1) How's your NUC working out?  Understanding you've been swamped at the 
Unicode Conf :)

2) Separately can you look over the new OpenStreetMap tiles Anish has generated 
at http://home.braddock.com:28112/osm/slippymap.html and provide us some 
feedback on these tiles look+feel at different zoom levels?

PS Tiles are still generating, as Anish moves beyond Level 11 towards 
12/onwards, so once there are enough Anish will publish a .tar

 

On Mon, Oct 26, 2015 at 6:24 PM, Nick Doiron  > wrote:

ok never mind... this time it gave me an option to select CentOS and it is 
happening

asks for schoolserver login and everything

 

not sure what I did differently on the 2nd round

 

On Mon, Oct 26, 2015 at 3:23 PM, Nick Doiron  > wrote:

Good news: appears in boot menu as a bootable disk.  I re-ran the USB install 
to look for warnings:

===

root login on 'tty1'

no /usr/local/bin/dbus-daemon found: none killed

can't remove '/var/run/dbus/pid': No such file or directory



I run erase



EXT4-fs (sda2): couldn't mount as ext3 due to feature incompatibilities

EXT4-fs (sda2): couldn't mount as ext2 due to feature incompatibilities

EXT4-fs (sda3): couldn't mount as ext3 due to feature incompatibilities

EXT4-fs (sda3): couldn't mount as ext2 due to feature incompatibilities

=== (tar -xf /mnt/sdb2/target/21/x86_64/x86_64fc21_centos_150507.tgz) takes 
several minutes

 

In grub install step, I missed the first part but eventually get:

Usage: basename FILE [SUFFIX]

Strip directory path and .SUFFIX from FILE

 

tee: /mnt/sdb2/install.2096.log: I/O error

root@xsce:~#

 

Both install logs are empty

 

On Mon, Oct 26, 2015 at 3:15 PM, Nick Doiron  > wrote:

The CentOS installer ran for a time from the USB, then I was in a shell. I 
turned the device off, unplugged the USB, and get this on boot from hard drive.

 

GRUB loading

Welcome to GRUB!

error: file '/boot/grub/i386-pc/normal.mod' not found

Entering rescue mode...

grub rescue>

 

In the prompt I ran ls:

grub rescue > ls

(hd0) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)

 

I'll be taking the box to the Unicode Conference without a monitor, so I won't 
be able to make much progress in the next couple days. But I'm happy to read a 
bunch of resources if you have them.

 

 

On Mon, Oct 26, 2015 at 3:05 PM, Nick Doiron  > wrote:

ok I followed Tim's instructions and it's booting from it now... I can see it 
on the monitor, and hear the NUC writing to the hard disk

 

On Mon, Oct 26, 2015 at 3:03 PM, James Cameron  > wrote:

On 

[Server-devel] ids

2015-10-30 Thread Tim Moody
what is the source of these ids in xsce.ini and how do they differ from each
other:

 

xsce_commit = 6b02b1aad3718625e946d139d3df75bc40fbf5a0

xsce_uuid = ccdc0897-2d2d-49fe-8a95-7776479d322d

product_id = 007B8D76-97D7-DD11-82FC-B8AEED71A692

runtime_commit = 4dccd438b672f30a33b0c491a1bd97b490b6e642

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] automount

2015-10-30 Thread Tim Moody
what about using udevadm trigger?

 

From: outlook_e5f197d31ca4c...@outlook.com
[mailto:outlook_e5f197d31ca4c...@outlook.com] On Behalf Of Tim Moody
Sent: Friday, October 30, 2015 10:00 AM
To: xsce-devel <xsce-de...@googlegroups.com>; server-devel
<server-devel@lists.laptop.org>
Subject: automount

 

When a usb drive is inserted into the server it is mounted (hopefully).  If
the server is restarted that mount disappears even if the device is still
attached.

 

I started down the road of remounting any drives that were automounted for
shared content.

 

Now I am wondering if at startup I should mount anything returned by blkid
that is not already mounted.  (I don't want to alter fstab.)

 

Also, what are the chances that a device that was /dev/sdb1 for example will
still be so on restart?

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] automount

2015-10-30 Thread Tim Moody
I had it on good advice that mounts are not reestablished on restart.  It
makes sense as there is no physical event of plugging in the device.

But because of your comment I just rebooted and the mount was in fact
reestablished, so looks like it is not in fact a problem.

> My gut feel is that means there is something wrong with the automounting;

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Re: Docker

2015-10-29 Thread Tim Moody
It would be great if you could do a docker proof of concept on xsce.  Most of 
us have little experience with it beyond what we read.  I don't really see 
docker and ansible as alternatives, since an ansible playbook can easily run in 
a docker container.  I'd like to move from VBox to docker at some point.

 

From: xsce-de...@googlegroups.com [mailto:xsce-de...@googlegroups.com] On 
Behalf Of Adam Holt
Sent: Thursday, October 29, 2015 11:37 AM
To: Pierre Ozoux <pie...@ozoux.net>
Cc: server-devel <server-devel@lists.laptop.org>; xsce-devel 
<xsce-de...@googlegroups.com>
Subject: [XSCE] Re: [Server-devel] Docker

 

Hi Pierre,

We'd love to include our ansible progress within docker images.  TK Kang and 
others have been a big proponent!

I'm not qualified to comment however..hopefully Tim Moody and others can offer 
more precise suggestions :)

 

On Thu, Oct 29, 2015 at 6:17 AM, Pierre Ozoux <pie...@ozoux.net 
<mailto:pie...@ozoux.net> > wrote:

Hi!

I got to know the group thought anis...@umich.edu <mailto:anis...@umich.edu> 
I'm a sysadmin in love with freesoftware, and I try to degooglify
Internet with a (yet) small project: https://indiehosters.net/page/home

I also love Docker. The way it works, it will offer a standard way to
package and maintain all free softweare of the world!
(no more hassle about having php, python or ruby installed, just docker
run!)

For IndieHosters, I package applications like here:
https://github.com/indiehosters

I was wonderwing if you planned to move from ansible to docker
In this case, we could collaborate, I'd be happy to help this way :)

Let me know!

--
I use PGP to protect our privacy, if you want to know more, you can
follow this
https://emailselfdefense.fsf.org/en/

If you have further questions, please do not hesitate to ask.
You can verify my public key here: https://keybase.io/pierreozoux


___
Server-devel mailing list
Server-devel@lists.laptop.org <mailto:Server-devel@lists.laptop.org> 
http://lists.laptop.org/listinfo/server-devel

-- 



Unsung Heroes of OLPC, interviewed live @  
<http://lists.laptop.org/listinfo/server-devel> http://unleashkids.org !

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] usbmount

2015-10-27 Thread Tim Moody
I'm working on adding LibraryBox/PirateBox type functionality whereby if a
usb in plugged into the server it is automounted by usbmount and if it has
/share, /Share, or /PirateShare in its root directory a symlink will be
created in /library/content/USBx depending on where it was mounted.

 

I think this should be enabled by default.

 

Any comments?

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] usbmount

2015-10-27 Thread Tim Moody
 

 

From: xsce-de...@googlegroups.com [mailto:xsce-de...@googlegroups.com] On 
Behalf Of Anish Mangal
Sent: Tuesday, October 27, 2015 11:18 AM
To: xsce-devel <xsce-de...@googlegroups.com>
Cc: server-devel <server-devel@lists.laptop.org>
Subject: Re: [XSCE] usbmount

 

Why the need to have a folder with a specific name? In different langs, the 
folder name could be different to make sense to users?

I assume you mean on the usb not the symlink.  The worry was that we wouldn't 
want to share the /grades or /myphotos folders, so we should restrict the share 
to specific folders.  The link students will see will just be USBx, which is 
pretty international.  Also, /library/content renders unicode names, so files 
inside the share in any language should work.

Remember, this is a dynamic share, not a copy at the moment.

Another idea could be to link it to the folderspace where owncloud houses it's 
content to allow easy back and forth between the server and the USB key - 
unless there is a better mechanism. 

 

I think owncloud is a much more feature-rich alternative.  You can create 
folders with any name you like with restrictions on users.  You can upload 
files to those folders from your hard disk or an attached usb.  I also think 
owncloud creates db records for uploads and we would have to do that manually, 
which could be tricky and risky.

 

I think the automount is simple with some restrictions and owncloud is more 
complex with more functionality.

 

On Tue, Oct 27, 2015 at 8:12 PM, Tim Moody <t...@timmoody.com 
<mailto:t...@timmoody.com> > wrote:

I'm working on adding LibraryBox/PirateBox type functionality whereby if a usb 
in plugged into the server it is automounted by usbmount and if it has /share, 
/Share, or /PirateShare in its root directory a symlink will be created in 
/library/content/USBx depending on where it was mounted.

 

I think this should be enabled by default.

 

Any comments?

 

 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] usbmount

2015-10-27 Thread Tim Moody




Sent from my Samsung Galaxy smartphone. Original message From: 
Anish Mangal <anis...@umich.edu> Date: 10/27/2015  1:33 PM  (GMT-05:00) To: 
xsce-devel <xsce-de...@googlegroups.com> Cc: server-devel 
<server-devel@lists.laptop.org> Subject: Re: [XSCE] usbmount 


On Tue, Oct 27, 2015 at 10:28 PM, Tim Moody <t...@timmoody.com> wrote:
  From: xsce-de...@googlegroups.com [mailto:xsce-de...@googlegroups.com] On 
Behalf Of Anish Mangal
Sent: Tuesday, October 27, 2015 11:18 AM
To: xsce-devel <xsce-de...@googlegroups.com>
Cc: server-devel <server-devel@lists.laptop.org>
Subject: Re: [XSCE] usbmount Why the need to have a folder with a specific 
name? In different langs, the folder name could be different to make sense to 
users?I assume you mean on the usb not the symlink.  The worry was that we 
wouldn't want to share the /grades or /myphotos folders, so we should restrict 
the share to specific folders.  The link students will see will just be USBx, 
which is pretty international.  Also, /library/content renders unicode names, 
so files inside the share in any language should work.Remember, this is a 
dynamic share, not a copy at the moment.
Yes, I meant on the USB. So if I understand your explanation correctly, 
everything in the USB drive will be linked/shared in a folder visible to the 
students?
 Everything under /media/usbn/share (or either of the other 2 checked ) will 
appear as /library/content/USBn. Nothing else is shared. /library/content is 
already in the web space. Another idea could be to link it to the folderspace 
where owncloud houses it's content to allow easy back and forth between the 
server and the USB key - unless there is a better mechanism.  I think owncloud 
is a much more feature-rich alternative.  You can create folders with any name 
you like with restrictions on users.  You can upload files to those folders 
from your hard disk or an attached usb.  I also think owncloud creates db 
records for uploads and we would have to do that manually, which could be 
tricky and risky. 
+1. Fair enough. Hacking here might lead to problems. 
 I think the automount is simple with some restrictions and owncloud is more 
complex with more functionality. On Tue, Oct 27, 2015 at 8:12 PM, Tim Moody 
<t...@timmoody.com> wrote:I'm working on adding LibraryBox/PirateBox type 
functionality whereby if a usb in plugged into the server it is automounted by 
usbmount and if it has /share, /Share, or /PirateShare in its root directory a 
symlink will be created in /library/content/USBx depending on where it was 
mounted. I think this should be enabled by default. Any comments?  



___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] can usbmount auto-mount USB drives?

2015-10-16 Thread Tim Moody
found docs, but 

 

on my fedora 22 nuc usb does not automount even though found and usbmount is 
enabled and configured for vfat file system

 

when I remove, even after umount I get unable to read boot sector to mark fs as 
dirty

 

I have tried two drives and both exhibit the same behavior even though both 
mount on win7 and automount on f20 (albeit with a complaint about the dirty bit)

 

dmesg:

 

[73452.564128] usb 1-1: new high-speed USB device number 5 using xhci_hcd

[73452.738388] usb 1-1: New USB device found, idVendor=13fe, idProduct=1f00

[73452.738391] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[73452.738393] usb 1-1: Product: DataTraveler 2.0

[73452.738395] usb 1-1: Manufacturer: Kingston

[73452.738396] usb 1-1: SerialNumber: 5B8701CD

[73452.738733] usb-storage 1-1:1.0: USB Mass Storage device detected

[73452.738846] scsi host3: usb-storage 1-1:1.0

[73453.741857] scsi 3:0:0:0: Direct-Access Kingston DataTraveler 2.0 PMAP 
PQ: 0 ANSI: 0 CCS

[73453.742213] sd 3:0:0:0: Attached scsi generic sg1 type 0

[73454.727127] sd 3:0:0:0: [sdb] 15646720 512-byte logical blocks: (8.01 
GB/7.46 GiB)

[73454.727291] sd 3:0:0:0: [sdb] Write Protect is off

[73454.727295] sd 3:0:0:0: [sdb] Mode Sense: 23 00 00 00

[73454.727417] sd 3:0:0:0: [sdb] No Caching mode page found

[73454.727443] sd 3:0:0:0: [sdb] Assuming drive cache: write through

[73454.728871]  sdb: sdb1

[73454.729614] sd 3:0:0:0: [sdb] Attached SCSI removable disk

 

/etc/usbmount/usbmount.conf

 

# Configuration file for the usbmount package, which mounts removable

# storage devices when they are plugged in and unmounts them when they

# are removed.

 

# Change to zero to disable usbmount

ENABLED=1

 

# Mountpoints: These directories are eligible as mointpoints for

# removable storage devices.  A newly plugged in device is mounted on

# the first directory in this list that exists and on which nothing is

# mounted yet.

MOUNTPOINTS="/media/usb0 /media/usb1 /media/usb2 /media/usb3

 /media/usb4 /media/usb5 /media/usb6 /media/usb7"

 

# Filesystem types: removable storage devices are only mounted if they

# contain a filesystem type which is in this list.

FILESYSTEMS="vfat ext2 ext3 ext4 hfsplus"

 

#

# WARNING!  #

#   #

# The "sync" option may not be a good choice to use with flash drives, as   #

# it forces a greater amount of writing operating on the drive. This makes  #

# the writing speed considerably lower and also leads to a faster wear out  #

# of the disk.  #

#   #

# If you omit it, don't forget to use the command "sync" to synchronize the #

# data on your disk before removing the drive or you may experience data#

# loss. #

#   #

# It is highly recommended that you use the pumount command (as a regular   #

# user) before unplugging the device. It makes calling the "sync" command   #

# and mounting with the sync option unnecessary---this is similar to other  #

# operating system's "safely disconnect the device" option. #

#

# Mount options: Options passed to the mount command with the -o flag.

# See the warning above regarding removing "sync" from the options.

MOUNTOPTIONS="sync,noexec,nodev,noatime,nodiratime"

 

# Filesystem type specific mount options: This variable contains a space

# separated list of strings, each which the form "-fstype=TYPE,OPTIONS".

#

# If a filesystem with a type listed here is mounted, the corresponding

# options are appended to those specificed in the MOUNTOPTIONS variable.

#

# For example, "-fstype=vfat,gid=floppy,dmask=0007,fmask=0117" would add

# the options "gid=floppy,dmask=0007,fmask=0117" when a vfat filesystem

# is mounted.

FS_MOUNTOPTIONS=""

 

# If set to "yes", more information will be logged via the syslog

# facility.

VERBOSE=no

 

If I mount manually I get

 

/dev/sdb1 on /media/usb0 type vfat 
(rw,relatime,sync,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)

 

From: xsce-de...@googlegroups.com [mailto:xsce-de...@googlegroups.com] On 
Behalf Of Adam Holt
Sent: Friday, October 16, 2015 8:43 AM
To: server-devel ; xsce-devel 

Subject: [XSCE] can usbmount auto-mount USB drives?

 

What's the best way to arrange for a teacher's USB drive to be auto-mounted, so 
that her/his content is "instantly" displayed on a school server during 

Re: [Server-devel] KaLite splitting collections into smaller bits

2015-10-10 Thread Tim Moody
We chose Early-Trig and the rest as our two divisions.  I now have Eng 
Early-Trig downloaded and will tar and add to your collection.

 

From: Anish Mangal [mailto:anis...@umich.edu] 
Sent: Saturday, October 10, 2015 2:07 AM
To: Tim Moody <t...@timmoody.com>; A Holt <h...@unleashkids.org>; server-devel 
<server-devel@lists.laptop.org>
Subject: KaLite splitting collections into smaller bits

 

Hi, 

I am creating an offline copy of the kalite content and it would be useful to 
know the sub-collections in particular subjects whch would be desireable. 

For example in ES, I am making the full dump of all Maths videos, but I assume 
it would also be useful to have Maths-elementary Maths-senior etc. 

So feedback for what goes in which collection would be useful!

Here is the reference list in Maths-ES.  Similar lists exist for Maths-EN, 
Sciences and other topics. 

I think it only make sense to split a collection if the size is over 10G or so. 
Whatsay?

You can get an idea of the same by looking at the kalite section here:
https://docs.google.com/spreadsheets/d/13SA6Grzx70svt_8B4epxaDtbtElg0VlmdcXXg-fth5I/edit#gid=0


Matemáticas <http://125.23.112.4:8008/update/videos/> 

*   Matemáticas elementales <http://125.23.112.4:8008/update/videos/> 
*   Aritmética <http://125.23.112.4:8008/update/videos/> 
*   Pre-álgebra <http://125.23.112.4:8008/update/videos/> 
*   Fundamentos de álgebra <http://125.23.112.4:8008/update/videos/> 
*   Álgebra I <http://125.23.112.4:8008/update/videos/> 
*   Geometría básica <http://125.23.112.4:8008/update/videos/> 
*   Geometría <http://125.23.112.4:8008/update/videos/> 
*   Álgebra II <http://125.23.112.4:8008/update/videos/> 
*   Trigonometría <http://125.23.112.4:8008/update/videos/> 
*   Probabilidad y estadística <http://125.23.112.4:8008/update/videos/> 
*   Precálculo <http://125.23.112.4:8008/update/videos/> 
*   Cálculo diferencial <http://125.23.112.4:8008/update/videos/> 
*   Cálculo Integral <http://125.23.112.4:8008/update/videos/> 
*   Calculo multivariable <http://125.23.112.4:8008/update/videos/> 
*   Ecuaciones diferenciales <http://125.23.112.4:8008/update/videos/> 
*   Álgebra lineal <http://125.23.112.4:8008/update/videos/> 
*   Matemáticas recreativas <http://125.23.112.4:8008/update/videos/> 
*   Concursos de matemáticas <http://125.23.112.4:8008/update/videos/> 
*   6.º grado (Ontario) <http://125.23.112.4:8008/update/videos/> 

 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [UKids] ext2 vs ext4 vs exFAT for XO content SD cards?

2015-08-17 Thread Tim Moody
I agree that http://www.tvetacademy.org/ looks interesting, provided you can 
meet their staff requirements.  In your case probably you can use a lot of 
their Eng materials so no need to shoot videos, etc.  It would be great if you 
would contact them and see what develops.

 

From: unleashk...@googlegroups.com [mailto:unleashk...@googlegroups.com] On 
Behalf Of Ian Thomson

 

BTY, have you seen the TVET equivalent of Khan? 

https://www.youtube.com/watch?v=PrqcaxsyK0E

 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [UKids] Re: [XSCE] Tilestache on XSCE stack (OSM offline)

2015-08-11 Thread Tim Moody
This looks great and not overly complex.  XSCE uses one convention that you are 
probably not aware of and that is that we put data in /library, in this case 
probably /library/osm or tilestache or some combination.  Can tilestache.cfg 
point to a location different than the html and config files?

 

From: unleashk...@googlegroups.com [mailto:unleashk...@googlegroups.com] On 
Behalf Of Adam Holt
Sent: Tuesday, August 11, 2015 12:19 AM
To: xsce-devel xsce-de...@googlegroups.com; Unleash Kids! 
unleashk...@googlegroups.com; server-devel server-devel@lists.laptop.org
Subject: [UKids] Re: [XSCE] Tilestache on XSCE stack (OSM offline)

 

Don't stop pushing Jerome- I hope you can demonstrate Nepal-or-larger working 
models during our Toronto summit Oct 10-12.

See you 7AM EDT Thursday on our weekly call, if you have time for our unusually 
early meeting this week: http://tinyurl.com/xsceminutes


(Several of our early design discussions on offline mapping began on 
unleashk...@googlegroups.com mailto:unleashk...@googlegroups.com , so am 
bringing that thread full circle.)

 

On Mon, Aug 10, 2015 at 11:01 PM, Anish Mangal anis...@umich.edu 
mailto:anis...@umich.edu  wrote:

adding server-devel (the publicly archived mailing list) as well.

Great work. Thanks! 

Happy to help with the testing. I have an intel NUC running an atom processor 2 
Ghz, and 2GB RAM - not exactly low end, but still a viable appliance to deploy 
the xsce. 

Could you tell me how to get the mbtiles from your ftp. If this works, I can 
help with creating a playbook - and possibly admin console integration.

Thanks,

Anish

 

 

On Tue, Aug 11, 2015 at 8:19 AM, Jérôme Gagnon-Voyer gagno...@gmail.com 
mailto:gagno...@gmail.com  wrote:

Hi all

 

This is about the project to bring a new way of storing OpenStreetMaps offline 
for internet in a box (schoolserver).

 

(Apologies if I'm using the wrong mailing list, feel free to add more)

 

I wanted to test what it would look like to run Tilestache to serve .mbtiles 
using the schoolserver. So I installed XSCE on a local VM with Fedora 21 here, 
installed Tilestache, moved the .mbtiles in it, and did some testing.

So far I only tested with Nepal zoom 0-13 and Nepal zoom 14-15 (to see how 
combining multiple files was working)

I reduced the VM to use only 1 core at 50% (I'm on MBP Intel i5 2.6Ghz, 2 
cores). Speed was decent when viewing with leaflet in my browser from my laptop.

 

I've created a gist that explains all the steps required to do it

https://gist.github.com/jeromegv/cb64bc2c994e80af

 

The reason I wanted to test it was also to see if the integration would be 
relatively straightforward. I assume you would eventually want to do the 
install through the schoolserver admin console. When comes the time to do that, 
I might not be the person to do this integration, but I think that the steps 
I've done so far should at least prove that the XSCE stack should be 
compatible. 

 

*   I might not have the best testing setup or what is similar to a typical 
schoolserver, if you have the proper hardware to test, let me know, I can send 
you the .mbtiles on a FTP for nepal and you can test it (about 1Gb)
*   Feel free to provide feedback on the GIST and if the integration seems 
to make sense
*   There's an extra optimization that is possible for tilestache, to cache 
the tiles to the HD once they were retrieved and served from the .mbtiles once. 
It's currently disabled. Not so sure if it's worth it and how much we would 
gain considering MBtiles are already pre-rendered files, perhaps better to test 
once we have a full planet. The downside is that it stores on HD a lot of PNG 
files and this might eventually baloon if you get tons of people to use those 
maps. Benefit of sticking entirely to mbtiles is we know exactly how much disk 
space. Might be optional setting from admin console when there's plenty of HD 
available.
*   Next step for me will be to test generation of MBtiles for bigger 
country and eventually get to the Planet. Will need some type of cloud setup to 
manage/store all that.

Thanks

 

-- 

Jérôme Gagnon-Voyer

-- 

Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !

-- 
Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
--- 
You received this message because you are subscribed to the Google Groups 
Unleash Kids group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to unleashkids+unsubscr...@googlegroups.com 
mailto:unleashkids+unsubscr...@googlegroups.com .
For more options, visit https://groups.google.com/d/optout.

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [UKids] Re: [XSCE] Tilestache on XSCE stack (OSM offline)

2015-08-11 Thread Tim Moody
I think rendering on the fly is a bit of a misnomer as the metatiles are just 
concatenated pngs to save on the number of files in the file system, but they 
aren't compressed and are just rendered tiles.

 

http://wiki.openstreetmap.org/wiki/Meta_tiles.  I think Braddock used 4096 
tiles per metatile.

 

From: xsce-de...@googlegroups.com [mailto:xsce-de...@googlegroups.com] On 
Behalf Of Jérôme Gagnon-Voyer
Sent: Tuesday, August 11, 2015 1:18 PM
To: Anish Mangal anishmangal2...@gmail.com
Cc: xsce-devel xsce-de...@googlegroups.com; Anish Mangal anis...@umich.edu; 
Adam Holt h...@laptop.org; Unleash Kids! unleashk...@googlegroups.com; 
server-devel server-devel@lists.laptop.org
Subject: Re: [UKids] Re: [XSCE] Tilestache on XSCE stack (OSM offline)

 

I see i see, so the disk space can't be exactly compared to what we see in 
.mbtiles, since if you had to transfer that to another server and did not want 
to do rendering on fly, this would be a different file size (much bigger).

 

Thanks

 

On Tue, Aug 11, 2015 at 12:49 PM, Anish Mangal anishmangal2...@gmail.com 
mailto:anishmangal2...@gmail.com  wrote:

I just used the default settings in renderd. As far as I know, I didn't 
generate any png or jpg tiles, only metatiles were generated, which are renderd 
as png on the fly. 

 

On Tue, Aug 11, 2015 at 8:10 PM, Jérôme Gagnon-Voyer gagno...@gmail.com 
mailto:gagno...@gmail.com  wrote:

Hi Anish

 

Regarding file size

 

Would you mind sharing how you generated those tiles? Like the settings used, 
if its PNG 8 bit, full png or JPG, metatiles size, style used, etc...

 

I'll be sending you and Tim in separate email the link to download the .mbtiles 
file

 

On Tue, Aug 11, 2015 at 9:35 AM, Anish Mangal anis...@umich.edu 
mailto:anis...@umich.edu  wrote:

 

Hi

Here is the data
size  zoom 
 28K 0
 48K 1
 80K 2
184K 3
340K 4
788K 5
2.1M 6
5.8M 7
 19M 8
 58M 9
188M10
673M11
 17M12
 54M13
134M14
375M15
1.1G16
3.0G17
9.6G18


As is obvious, for zoom levels 0-11 I had generated tiles for the entire world, 
which was essentially empty tiles except the shape of continents since the only 
data source I used was the nepal osm data

Zoom level 12 and onwards, tiles were generated only for nepal.

The bigger question i'd be asking is the setup required to generate tiles, and 
what it would take to do for the entire planet. I guess Braddock would be happy 
to give access to Jerome on hadron if he wants to give it a try. It is a 
machine with a 500G SSD and 32G RAM and an 8 core processor.

 

 

 

On Tue, Aug 11, 2015 at 6:38 PM, Tim Moody t...@timmoody.com 
mailto:t...@timmoody.com  wrote:

Anish, you generated tiles for Nepal.  How does the size compare to what you 
got?

 

From:  mailto:unleashk...@googlegroups.com unleashk...@googlegroups.com 
[mailto: mailto:unleashk...@googlegroups.com unleashk...@googlegroups.com] On 
Behalf Of Tim Moody
Sent: Tuesday, August 11, 2015 9:04 AM
To: 'Jérôme Gagnon-Voyer'  mailto:gagno...@gmail.com gagno...@gmail.com
Cc: 'Adam Holt'  mailto:h...@laptop.org h...@laptop.org; 'xsce-devel'  
mailto:xsce-de...@googlegroups.com xsce-de...@googlegroups.com; 'Unleash 
Kids!'  mailto:unleashk...@googlegroups.com unleashk...@googlegroups.com; 
'server-devel'  mailto:server-devel@lists.laptop.org 
server-devel@lists.laptop.org
Subject: RE: [UKids] Re: [XSCE] Tilestache on XSCE stack (OSM offline)

 

Can I get the data, maybe a dropbox link?  not sure of a place to ftp unless 
you have one.

 

From:  mailto:unleashk...@googlegroups.com unleashk...@googlegroups.com [ 
mailto:unleashk...@googlegroups.com mailto:unleashk...@googlegroups.com] On 
Behalf Of Jérôme Gagnon-Voyer
Sent: Tuesday, August 11, 2015 9:01 AM
To: Tim Moody  mailto:t...@timmoody.com t...@timmoody.com
Cc: Adam Holt  mailto:h...@laptop.org h...@laptop.org; xsce-devel  
mailto:xsce-de...@googlegroups.com xsce-de...@googlegroups.com; Unleash 
Kids!  mailto:unleashk...@googlegroups.com unleashk...@googlegroups.com; 
server-devel  mailto:server-devel@lists.laptop.org 
server-devel@lists.laptop.org
Subject: Re: [UKids] Re: [XSCE] Tilestache on XSCE stack (OSM offline)

 

You define the path to the mbtiles in tilestache.cfg, so yes, they could be in 
any location (as long as the access rights / permissions are right)

 

On Tue, Aug 11, 2015 at 8:28 AM, Tim Moody t...@timmoody.com 
mailto:t...@timmoody.com  wrote:

This looks great and not overly complex.  XSCE uses one convention that you are 
probably not aware of and that is that we put data in /library, in this case 
probably /library/osm or tilestache or some combination.  Can tilestache.cfg 
point to a location different than the html and config files?

 

From:  mailto:unleashk...@googlegroups.com unleashk...@googlegroups.com 
[mailto: mailto:unleashk...@googlegroups.com unleashk...@googlegroups.com] On 
Behalf Of Adam Holt
Sent: Tuesday, August 11, 2015 12:19 AM
To: xsce-devel  mailto:xsce

Re: [Server-devel] [XSCE] Changing the XSCE's hostname (or the address one enters in the browser)

2015-08-08 Thread Tim Moody
xsce distinguishes between hostname (schoolserver) and domain name (defaults to 
.lan).  You can change the second of these no problem in the console.  You can 
override the first in local_vars, but if you do XOs won't automatically find 
the schoolserver.  (I have a machine that I named xsce.lan, which works fine.) 
The expectation is that if you need multiple schoolservers or need to add to an 
existing network that you will do it by changing the domain name, so only that 
is exposed in the console.

 

From: xsce-de...@googlegroups.com [mailto:xsce-de...@googlegroups.com] On 
Behalf Of Anish Mangal
Sent: Saturday, August 08, 2015 2:44 AM
To: xsce-devel xsce-de...@googlegroups.com; server-devel 
server-devel@lists.laptop.org
Cc: arvind thanvi artha...@gmail.com
Subject: [XSCE] Changing the XSCE's hostname (or the address one enters in the 
browser)

 

Hi,

What would be a method to change the XSCE's hostname post an initial install 
from schoolserver.lan to something else. 

The web-admin console does not allow changing this, so I am guessing it will 
break a few things if I force the issue. What would be a way around this..

1) Either change the hostname
 

OR

2) Redirect to schoolserver.lan upon entering my-preferred-addr in the 
browser.


1) would be preferred and 2) a backup.

Thoughts on how to best do this?

Best,

Anish

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] sdcard for /opt and /library on xo 1.5

2015-07-15 Thread Tim Moody


 -Original Message-
 From: Jerry Vonau [mailto:m...@jvonau.ca]
 Sent: Wednesday, July 15, 2015 3:56 AM
 To: xsce-de...@googlegroups.com; Tim Moody
 Cc: de...@lists.laptop.org; server-devel@lists.laptop.org
 Subject: RE: [XSCE] sdcard for /opt and /library on xo 1.5
 
 
 
  On July 14, 2015 at 10:49 PM Tim Moody t...@timmoody.com wrote:
 
 
  I think the bottom line is that on this xo1.5 I need to use a usb
  thumb drive instead of this micro sdcard and its holder.
 
 
 For what it's worth I've never had much luck using micro/SD adapters in
 general.
 If I recall correctly the 1.5's internal micro card is held in a replaceable 
 holder,
 might be just plain easier to replace that one with the larger card and not
 have the filesystem dangling out the side of the XO. ;) The XO's image file 
 will
 resize to fit the larger card but you'd have skip the custom partitioning

Very interesting idea.  James?

 proposed.
 
 Hope it helps,
 
 Jerry
 
 
 
 
   -Original Message-
   From: xsce-de...@googlegroups.com [mailto:xsce-
   de...@googlegroups.com] On Behalf Of James Cameron
   Sent: Tuesday, July 14, 2015 8:14 PM
   To: Tim Moody
   Cc: server-devel@lists.laptop.org; de...@lists.laptop.org; xsce-
   de...@googlegroups.com
   Subject: Re: [XSCE] sdcard for /opt and /library on xo 1.5
  
   G'day Tim,
  
   Thanks, that's interesting.
  
   My best guess is you have a bad connector and the 24-hour thermal
   test you did fixed it.  The problem may return.
  
   Another guess is that the card has the production state awareness
   feature [1], part of e.MMC v5.0, which uses the storage cells
   differently before
  they
   are enabled for normal use.  The state can be changed with suitable
   tools,
  or
   will clear itself once enough data is written; followed by a power
   cycle.
  The
   result is a sudden increase in performance after that power cycle.
  
  interesting ideas.  I have no way of judging either.
 
  My guess is that I tried so many different ways of partitioning it
  from fdisk to parted that it was so messed up that an xo 1.5, a nuc,
  and a dell all found it corrupt, compounded by the fact that systemd
  has it in use even if it is not actually mounted.
 
  The sdcard holder is also looking pretty suspect as used with the card
  slot on the xo.  I put the micro sd in the holder back into the xo 1.5
  and it reported two devices with pttype of dos, but gave unknown
  file system when I tried to mount
 
  -bash-4.2# mount
  /dev/mmcblk1p1 on /bootpart type ext4
  (rw,relatime,user_xattr,barrier=1)
  /dev/mmcblk1p2 on / type ext4
  (rw,noatime,user_xattr,barrier=1,data=ordered)
  devtmpfs on /dev type devtmpfs
  (rw,nosuid,relatime,size=475460k,nr_inodes=118865,mode=755)
  /dev/mmcblk1p2 on /home type ext4
  (rw,relatime,user_xattr,barrier=1,data=ordered)
  /dev/mmcblk1p2 on /versions type ext4
  (rw,relatime,user_xattr,barrier=1,data=ordered)
  /dev/mmcblk1p1 on /security type ext4
  (rw,relatime,user_xattr,barrier=1)
  proc on /proc type proc (rw,relatime)
  sysfs on /sys type sysfs (rw,relatime) tmpfs on /dev/shm type tmpfs
  (rw,relatime,size=51200k) devpts on /dev/pts type devpts
  (rw,relatime,gid=5,mode=620) tmpfs on /run type tmpfs
  (rw,nosuid,nodev,mode=755) tmpfs on /sys/fs/cgroup type tmpfs
  (rw,nosuid,nodev,noexec,mode=755) cgroup on /sys/fs/cgroup/systemd
  type cgroup
 
 (rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/system
  d-cgro
  ups-agent,name=systemd)
  cgroup on /sys/fs/cgroup/cpu type cgroup
  (rw,nosuid,nodev,noexec,relatime,cpu)
  systemd-1 on /proc/sys/fs/binfmt_misc type autofs
  (rw,relatime,fd=27,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
  hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime) debugfs on
  /sys/kernel/debug type debugfs (rw,relatime) mqueue on /dev/mqueue
  type mqueue (rw,relatime) vartmp on /var/tmp type tmpfs
  (rw,relatime,size=51200k) /tmp on /tmp type tmpfs
  (rw,relatime,size=204800k) none on /var/lib/stateless/writable type
  tmpfs
  (rw,relatime,size=4096k,nr_inodes=2048)
  none on /var/cache/man type tmpfs
  (rw,relatime,size=4096k,nr_inodes=2048)
  none on /var/lib/xkb type tmpfs
  (rw,relatime,size=4096k,nr_inodes=2048)
  none on /var/cache/httpd/ssl type tmpfs
  (rw,relatime,size=4096k,nr_inodes=2048)
  none on /var/cache/httpd/proxy type tmpfs
  (rw,relatime,size=4096k,nr_inodes=2048)
  none on /var/cache/php-pear type tmpfs
  (rw,relatime,size=4096k,nr_inodes=2048)
  none on /var/lib/dav type tmpfs
  (rw,relatime,size=4096k,nr_inodes=2048)
  none on /var/lib/dhclient type tmpfs
  (rw,relatime,size=4096k,nr_inodes=2048)
  none on /etc/adjtime type tmpfs
  (rw,relatime,size=4096k,nr_inodes=2048)
  none on /var/lib/logrotate.status type tmpfs
  (rw,relatime,size=4096k,nr_inodes=2048)
  none on /var/spool type tmpfs (rw,relatime,size=4096k,nr_inodes=2048)
  /dev/mmcblk1p1 on /etc/ssh type ext4
  (rw,relatime,user_xattr,barrier=1)
  /dev/mmcblk1p1 on /var/lib/dbus type ext4
  (rw,relatime

Re: [Server-devel] [XSCE] sdcard for /opt and /library on xo 1.5

2015-07-14 Thread Tim Moody
I think the bottom line is that on this xo1.5 I need to use a usb thumb
drive instead of this micro sdcard and its holder.

 -Original Message-
 From: xsce-de...@googlegroups.com [mailto:xsce-
 de...@googlegroups.com] On Behalf Of James Cameron
 Sent: Tuesday, July 14, 2015 8:14 PM
 To: Tim Moody
 Cc: server-devel@lists.laptop.org; de...@lists.laptop.org; xsce-
 de...@googlegroups.com
 Subject: Re: [XSCE] sdcard for /opt and /library on xo 1.5
 
 G'day Tim,
 
 Thanks, that's interesting.
 
 My best guess is you have a bad connector and the 24-hour thermal test you
 did fixed it.  The problem may return.
 
 Another guess is that the card has the production state awareness feature
 [1], part of e.MMC v5.0, which uses the storage cells differently before
they
 are enabled for normal use.  The state can be changed with suitable tools,
or
 will clear itself once enough data is written; followed by a power cycle.
The
 result is a sudden increase in performance after that power cycle.
 
interesting ideas.  I have no way of judging either.

My guess is that I tried so many different ways of partitioning it from
fdisk to parted that it was so messed up that an xo 1.5, a nuc, and a dell
all found it corrupt, compounded by the fact that systemd has it in use even
if it is not actually mounted.

The sdcard holder is also looking pretty suspect as used with the card slot
on the xo.  I put the micro sd in the holder back into the xo 1.5 and it
reported two devices with pttype of dos, but gave unknown file system when
I tried to mount

-bash-4.2# mount
/dev/mmcblk1p1 on /bootpart type ext4 (rw,relatime,user_xattr,barrier=1)
/dev/mmcblk1p2 on / type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
devtmpfs on /dev type devtmpfs
(rw,nosuid,relatime,size=475460k,nr_inodes=118865,mode=755)
/dev/mmcblk1p2 on /home type ext4
(rw,relatime,user_xattr,barrier=1,data=ordered)
/dev/mmcblk1p2 on /versions type ext4
(rw,relatime,user_xattr,barrier=1,data=ordered)
/dev/mmcblk1p1 on /security type ext4 (rw,relatime,user_xattr,barrier=1)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /dev/shm type tmpfs (rw,relatime,size=51200k)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup
(rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgro
ups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpu type cgroup
(rw,nosuid,nodev,noexec,relatime,cpu)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs
(rw,relatime,fd=27,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
vartmp on /var/tmp type tmpfs (rw,relatime,size=51200k)
/tmp on /tmp type tmpfs (rw,relatime,size=204800k)
none on /var/lib/stateless/writable type tmpfs
(rw,relatime,size=4096k,nr_inodes=2048)
none on /var/cache/man type tmpfs (rw,relatime,size=4096k,nr_inodes=2048)
none on /var/lib/xkb type tmpfs (rw,relatime,size=4096k,nr_inodes=2048)
none on /var/cache/httpd/ssl type tmpfs
(rw,relatime,size=4096k,nr_inodes=2048)
none on /var/cache/httpd/proxy type tmpfs
(rw,relatime,size=4096k,nr_inodes=2048)
none on /var/cache/php-pear type tmpfs
(rw,relatime,size=4096k,nr_inodes=2048)
none on /var/lib/dav type tmpfs (rw,relatime,size=4096k,nr_inodes=2048)
none on /var/lib/dhclient type tmpfs (rw,relatime,size=4096k,nr_inodes=2048)
none on /etc/adjtime type tmpfs (rw,relatime,size=4096k,nr_inodes=2048)
none on /var/lib/logrotate.status type tmpfs
(rw,relatime,size=4096k,nr_inodes=2048)
none on /var/spool type tmpfs (rw,relatime,size=4096k,nr_inodes=2048)
/dev/mmcblk1p1 on /etc/ssh type ext4 (rw,relatime,user_xattr,barrier=1)
/dev/mmcblk1p1 on /var/lib/dbus type ext4 (rw,relatime,user_xattr,barrier=1)
/dev/mmcblk1p1 on /var/lib/random-seed type ext4
(rw,relatime,user_xattr,barrier=1)
/dev/mmcblk1p1 on /etc/NetworkManager/system-connections type ext4
(rw,relatime,user_xattr,barrier=1)
/dev/sda2 on /library type ext4
(rw,noatime,user_xattr,barrier=1,data=ordered)
/dev/sda1 on /opt type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
(sda is a usb thumbdrive)

-bash-4.2# blkid
/dev/sda1: UUID=20d7ab6c-ec76-4fc3-a702-75c0051b5ce6 TYPE=ext4
/dev/sda2: UUID=e1c0ef6a-dc89-4d46-bcef-7b19360d41f7 TYPE=ext4
/dev/mmcblk0p1: UUID=de889f2b-fffb-4a45-8358-dce449f2cf7e TYPE=ext4
/dev/mmcblk0p2: UUID=0ad6a5ee-bc3d-4fc6-8b9b-ca9bc456cb74 TYPE=ext4
/dev/mmcblk1p1: LABEL=Boot UUID=ac3c6c0f-8350-47ab-a308-42d49652f030
TYPE=ext2
/dev/mmcblk1p2: LABEL=OLPCRoot UUID=61a34c92-0f69-409d-9b61-23a5522d296d
TYPE=ext4
/dev/mmcblk0: PTTYPE=dos
/dev/mmcblk1: PTTYPE=dos

-bash-4.2# mkdir /mnt/sdcard
-bash-4.2# mount /dev/mmcblk0 /mnt/sdcard
mount: unknown filesystem type '(null)'

But when I put the micro sdcard into my usb

[Server-devel] sdcard for /opt and /library on xo 1.5

2015-07-14 Thread Tim Moody
I have been around the block with a 128G micro sdcard allegedly from
Sandisk.  I made various attempts at creating two partitions and formatting
them ext4, some of which progressed at the rate of 10G/hour.

 

I finally used dd to write /dev/zero to the entire device, which took almost
24 hours.

 

After that parted mklabel msdos and mkpart worked fine and mkfs.ext4 also
worked fine in a couple of minutes.

 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [support-gang] [IIAB] [XSCE] RE: [UKids] Re: Taking OpenStreetMap Offline - DESIGN Call - Thur June 11, 10AM EDT / 2PM UTC

2015-06-21 Thread Tim Moody
I agree on the VM.  I use VBox and usually give it 1G.  I have started giving 
100G of disk because it only takes what it needs.

 

I haven't gotten into vagrant, so I just create a 'Base' VM and then clone it, 
which takes about 2 minutes.  I put minimal fedora (I have both 21 and 22) plus 
my keys, git, nano, wget, ansible, and mkdir /opt/schoolserver into the base.

 

Now I just have to clone the vm, clone the xsce repo and either 
./install-console or ./runansible.  I usually save this VM too, for future 
cloning to do tests.

 

From: support-gang [mailto:support-gang-boun...@lists.laptop.org] On Behalf Of 
Anish Mangal
Sent: Saturday, June 20, 2015 10:53 PM
To: Jérôme Gagnon-Voyer
Cc: xsce-devel; Internet In a Box Working Group; Braddock Gaskill; Unleash 
Kids!; Jaakko Helleranta; server-devel; iaep; Community Support Volunteers -- 
who help respond to help AT laptop.org
Subject: Re: [support-gang] [IIAB] [XSCE] RE: [UKids] Re: Taking OpenStreetMap 
Offline - DESIGN Call - Thur June 11, 10AM EDT / 2PM UTC

 

I guess a VM using a single core and 512 MB or 1GB RAM would be a reasonable 
starting point. A Rpi-2 would be great as well. You could just test from the 
latest master branch, and it *should* work. Currently, a role called 'Pathagar' 
is broken, so you may have to disable installing it in vars/default_vars.yml 
when you give it a go. 

Is using a VM, I often tend to use vagrant. You can use a fedora 21/22 minimal 
or centos minimal image. 

This is the image I used for testing my XSCE install, where things went 
smoothly - 
https://github.com/holms/vagrant-centos7-box/releases/download/7.1.1503.001/CentOS-7.1.1503-x86_64-netboot.box

If using centOS you will need to enable the epel repo - yum install epel-release

 

Hope this helps. 

Best,

Anish

 

On Sun, Jun 21, 2015 at 7:44 AM, Jérôme Gagnon-Voyer gagno...@gmail.com 
mailto:gagno...@gmail.com  wrote:

Hi all

 

I wanted to do some testing of the search solutions on some kind of 
hardware/software that would look similar to what will be deployed in the field 
(to measure the performance impact).

 

Got this idea from this post where : 
http://www.openstreetmap.org/user/SimonPoole/diary/34857

 

Should I be testing with XSCE 5.1? XSCE 5.5 beta? Should I get some hardware 
like a Pi2, or just get some VM? Any VM recommendation?

 

Thanks

 

On Wed, Jun 17, 2015 at 3:15 PM, Tim Moody t...@timmoody.com 
mailto:t...@timmoody.com  wrote:

Thanks, this is very useful information.  I didn't realize that slippy maps is 
a strategy and leaflet is a library for it that OSM itself uses.

 

A few questions.

 

Which of the filtered datasets did you use for populated places? 

 

Are they from 
http://wiki.openstreetmap.org/wiki/Planet.osm#Country_and_area_extracts ?

 

Is the directory structure such that separately rendered tiles for different 
regions can be merged by over-copying?

 

I did some sampling.

 

In Manhattan the maximum zoom is  http://xsce/iiab/maps/tile/15/9649/12318.png 
so level 15 (16th)

 

In Northern Ontario the maximum zoom is 
http://xsce/iiab/maps/tile/13/2048/2704.png level 13 (14th)

 

In the middle of the North Pacific http://xsce/iiab/maps/tile/14/1088/6190.png 
a surprising level 14

 

Moving slightly left I get http://xsce/iiab/maps/tile/14/1080/6191.png so I'm 
not quite clear on the generic blue tile point.

 

I'm also not clear on the point about the meta tiles.  From what I read in 
http://wiki.openstreetmap.org/wiki/Meta_tiles , meta files just concatenate the 
smaller tiles, so I'm not clear on how that saves space.  I do understand that 
it greatly reduces the number of nodes in the file system making retrieving 
them viable.

 

I looked at space usage by zoom level on the current IIAB OSM:

 


Level

Size (in K)

Cumulative (in K)

Cumulative (in G)



0

60

60

0


1

84

144

0


2

152

296

0


3

300

596

0


4

1,004

1,600

0


5

2,800

4,400

0


6

9,064

13,464

0


7

26,328

39,792

0


8

86,280

126,072

0


9

255,576

381,648

0


10

859,540

1,241,188

1


11

2,233,136

3,474,324

3


12

5,905,172

9,379,496

9


13

17,480,260

26,859,756

27


14

43,947,380

70,807,136

71


15

35,454,488

106,261,624

106

 

So 10G gets 13 levels.

 

 

From: unleashk...@googlegroups.com mailto:unleashk...@googlegroups.com  
[mailto:unleashk...@googlegroups.com mailto:unleashk...@googlegroups.com ] On 
Behalf Of Braddock Gaskill
Sent: Monday, June 15, 2015 8:39 PM
To: Internet In a Box Working Group
Cc: xsce-devel; Unleash Kids!; Jaakko Helleranta; server-devel; iaep; Community 
Support Volunteers -- who help respond to help AT laptop.org 
http://laptop.org 
Subject: Re: [IIAB] [XSCE] RE: [UKids] Re: [support-gang] Taking OpenStreetMap 
Offline - DESIGN Call - Thur June 11, 10AM EDT / 2PM UTC

 

In IIAB we use a dataset of populated places to render at the highest 
resolution level, and render the rest of the world at a slightly lower 
resolution

Re: [Server-devel] [IIAB] [XSCE] RE: [UKids] Re: [support-gang] Taking OpenStreetMap Offline - DESIGN Call - Thur June 11, 10AM EDT / 2PM UTC

2015-06-17 Thread Tim Moody
Thanks, this is very useful information.  I didn't realize that slippy maps is 
a strategy and leaflet is a library for it that OSM itself uses.

 

A few questions.

 

Which of the filtered datasets did you use for populated places? 

 

Are they from 
http://wiki.openstreetmap.org/wiki/Planet.osm#Country_and_area_extracts ?

 

Is the directory structure such that separately rendered tiles for different 
regions can be merged by over-copying?

 

I did some sampling.

 

In Manhattan the maximum zoom is  http://xsce/iiab/maps/tile/15/9649/12318.png 
so level 15 (16th)

 

In Northern Ontario the maximum zoom is 
http://xsce/iiab/maps/tile/13/2048/2704.png level 13 (14th)

 

In the middle of the North Pacific http://xsce/iiab/maps/tile/14/1088/6190.png 
a surprising level 14

 

Moving slightly left I get http://xsce/iiab/maps/tile/14/1080/6191.png so I'm 
not quite clear on the generic blue tile point.

 

I'm also not clear on the point about the meta tiles.  From what I read in 
http://wiki.openstreetmap.org/wiki/Meta_tiles , meta files just concatenate the 
smaller tiles, so I'm not clear on how that saves space.  I do understand that 
it greatly reduces the number of nodes in the file system making retrieving 
them viable.

 

I looked at space usage by zoom level on the current IIAB OSM:

 


Level

Size (in K)

Cumulative (in K)

Cumulative (in G)



0

60

60

0


1

84

144

0


2

152

296

0


3

300

596

0


4

1,004

1,600

0


5

2,800

4,400

0


6

9,064

13,464

0


7

26,328

39,792

0


8

86,280

126,072

0


9

255,576

381,648

0


10

859,540

1,241,188

1


11

2,233,136

3,474,324

3


12

5,905,172

9,379,496

9


13

17,480,260

26,859,756

27


14

43,947,380

70,807,136

71


15

35,454,488

106,261,624

106

 

So 10G gets 13 levels.

 

 

From: unleashk...@googlegroups.com [mailto:unleashk...@googlegroups.com] On 
Behalf Of Braddock Gaskill
Sent: Monday, June 15, 2015 8:39 PM
To: Internet In a Box Working Group
Cc: xsce-devel; Unleash Kids!; Jaakko Helleranta; server-devel; iaep; Community 
Support Volunteers -- who help respond to help AT laptop.org
Subject: Re: [IIAB] [XSCE] RE: [UKids] Re: [support-gang] Taking OpenStreetMap 
Offline - DESIGN Call - Thur June 11, 10AM EDT / 2PM UTC

 

In IIAB we use a dataset of populated places to render at the highest 
resolution level, and render the rest of the world at a slightly lower 
resolution.  Our highest resolution is high enough to see individual buildings. 
 Our total dataset of rendered tiles for the world with detailed populated 
places coverage is 100GB.

 

Another optimization we made for IIAB that contributed considerable dataset 
size reduction and helped with filesystem efficiency - we use the OSM meta 
tiles, which normally store 64 tile png images, but we modify them to store 
4096 png images per file, and we made an optimization so that identical tiles 
are removed (think of all the blue of the ocean cover 75% of the earth).

 

We use Leaflet as our javascript web front end, and it works quite well.

 

-braddock

 

 

On Sun, Jun 14, 2015 at 11:24 PM, Nick Doiron ndoi...@mapmeld.com 
mailto:ndoi...@mapmeld.com  wrote:

I don't think there's any technical issues with rendering the world at 10 and 
specific countries at 16, other than the human knowing where they can and 
cannot zoom

 

-- Nick

 

On Sun, Jun 14, 2015 at 11:58 AM, Tim Moody t...@timmoody.com 
mailto:t...@timmoody.com  wrote:

couple of observations:

 

As expected, the new tiles have a lot more detail.

 

There are more levels of zoom in the new ones.

 

Some names have changed - the old map had Lalitpur and the new one has Patan 
(both are used)

 

I don't see any boxes for unprintable characters, but there is a lot less 
Devanagari. (Google maps has more)

 

Is it possible to merge individually generated regional tiles?  for example if 
you rendered India and Nepal separately would you get both?

 

What happens if you render the world at level 10 and then specific countries at 
16?

 

From: xsce-de...@googlegroups.com mailto:xsce-de...@googlegroups.com  
[mailto:xsce-de...@googlegroups.com mailto:xsce-de...@googlegroups.com ] On 
Behalf Of Anish Mangal
Sent: Saturday, June 13, 2015 10:06 PM
To: Jérôme Gagnon-Voyer
Cc: xsce-devel; Community Support Volunteers -- who help respond to help AT 
laptop.org http://laptop.org ; Unleash Kids!; server-devel; iaep; Internet In 
a Box Working Group; Jaakko Helleranta
Subject: Re: [XSCE] RE: [UKids] Re: [support-gang] Taking OpenStreetMap Offline 
- DESIGN Call - Thur June 11, 10AM EDT / 2PM UTC

 

Hi,

Following from the skype call this week, I uploaded Nepal's OSM data in 
postgres and render tiles to see performance, and as expected, everything is 
blazing fast. 

The pbf file went into the postgress in less than 5 minutes, and tiles are 
being rendered pretty fast as well.

You can check it yourself by going to 
http://home.braddock.com:28112/osm

Re: [Server-devel] [IAEP] [XSCE] RE: [UKids] Re: [support-gang] Taking, OpenStreetMap Offline - DESIGN Call - Thur June 11, 10AM EDT / 2PM UTC

2015-06-15 Thread Tim Moody
 - DESIGN Call - Thur June 11, 10AM EDT /
2PM UTC (Nick Doiron)


 --

 Message: 1
 Date: Sun, 14 Jun 2015 23:24:11 -0700
 From: Nick Doiron ndoi...@mapmeld.com
 To: xsce-de...@googlegroups.com
 Cc: Internet In a Box Working Group i...@sgvhak.org,Unleash Kids!
   unleashk...@googlegroups.com, J?r?me Gagnon-Voyer
   gagno...@gmail.com,   Jaakko Helleranta jaa...@helleranta.com,
   server-devel server-devel@lists.laptop.org,   iaep
   i...@lists.sugarlabs.org, Community Support Volunteers -- who 
 help
   respond to help AT  laptop.org support-g...@lists.laptop.org
 Subject: Re: [IAEP] [XSCE] RE: [UKids] Re: [support-gang] Taking
   OpenStreetMap Offline - DESIGN Call - Thur June 11, 10AM EDT / 2PM UTC
 Message-ID:
   calg_m-vxbhfm0ovcturwl-hvnu5ycdwpfsrhu6jh5c1vvtq...@mail.gmail.com
 Content-Type: text/plain; charset=utf-8

 I don't think there's any technical issues with rendering the world at 10
 and specific countries at 16, other than the human knowing where they can
 and cannot zoom

 -- Nick

 On Sun, Jun 14, 2015 at 11:58 AM, Tim Moody t...@timmoody.com wrote:

 couple of observations:



 As expected, the new tiles have a lot more detail.



 There are more levels of zoom in the new ones.



 Some names have changed - the old map had Lalitpur and the new one has
 Patan (both are used)



 I don't see any boxes for unprintable characters, but there is a lot less
 Devanagari. (Google maps has more)



 Is it possible to merge individually generated regional tiles?  for
 example if you rendered India and Nepal separately would you get both?



 What happens if you render the world at level 10 and then specific
 countries at 16?



 *From:* xsce-de...@googlegroups.com [mailto:xsce-de...@googlegroups.com] *On
 Behalf Of *Anish Mangal
 *Sent:* Saturday, June 13, 2015 10:06 PM
 *To:* J?r?me Gagnon-Voyer
 *Cc:* xsce-devel; Community Support Volunteers -- who help respond to
 help AT laptop.org; Unleash Kids!; server-devel; iaep; Internet In a Box
 Working Group; Jaakko Helleranta
 *Subject:* Re: [XSCE] RE: [UKids] Re: [support-gang] Taking OpenStreetMap
 Offline - DESIGN Call - Thur June 11, 10AM EDT / 2PM UTC



 Hi,

 Following from the skype call this week, I uploaded Nepal's OSM data in
 postgres and render tiles to see performance, and as expected, everything
 is blazing fast.

 The pbf file went into the postgress in less than 5 minutes, and tiles are
 being rendered pretty fast as well.

 You can check it yourself by going to
 http://home.braddock.com:28112/osm/slippymap.html

 * Select Mapnik

 * Zoom out and center over Nepal

 * Select Local tiles

 * Zoom in

 I don't know what this proves as the bottleneck still is doing this for
 the entire planet, which we need to figure out a way for anyway.

 Best,

 Anish





 On Sun, Jun 14, 2015 at 6:02 AM, Anish Mangal anis...@umich.edu wrote:

 Hi J?r?me,

 I incorporated one of your comments; as for the other I think Timm, Nick
 would be better suited for the discussion (python backend v/s frontend js).
 :-)

 Best,

 Anish



 On Sun, Jun 14, 2015 at 3:22 AM, J?r?me Gagnon-Voyer gagno...@gmail.com
 wrote:

 Hi Anish



 Great document. I've added 2 comments to the document, feel free to
 incorporate into the document if that makes sense.



 Also added a TODO for myself to do more research about the various search
 solutions.

 I've used Nominatim in the past (on the client side, not the server
 infrastructure) and it was overall very good, but I'll want to know more
 about the other ones.



 On Sat, Jun 13, 2015 at 12:51 PM, Tim Moody t...@timmoody.com wrote:

 Thanks, Anish for an excellent start at getting this down on paper (so to
 speak).  I think this covers things pretty well and gives us the necessary
 hooks on which to hang the details as we begin fleshing out solutions to
 the requirements you documented.



 Under issues I added one point about rendering non-Roman character sets.



 *From:* unleashk...@googlegroups.com [mailto:unleashk...@googlegroups.com]
 *On Behalf Of *Anish Mangal
 *Sent:* Saturday, June 13, 2015 12:15 PM
 *To:* Community Support Volunteers -- who help respond to help AT
 laptop.org
 *Cc:* Unleash Kids!; server-devel; xsce-devel; iaep; Internet In a Box
 Working Group; Jaakko Helleranta
 *Subject:* [UKids] Re: [support-gang] Taking OpenStreetMap Offline -
 DESIGN Call - Thur June 11, 10AM EDT / 2PM UTC



 Okay, so I tried to encapsulate whatever we discussed into a design
 document, which can hopefully serve as a base for reaching out to the OSM
 community and to better organize our own thoughts.


 https://docs.google.com/document/d/1LWsN-cPH3lvMuXS-f0Tk8IWVh-3X808WoIt0OJ-QNt8/edit#
 https://docs.google.com/document/d/1LWsN-cPH3lvMuXS-f0Tk8IWVh-3X808WoIt0OJ-QNt8/edit

 Please feel free to edit the information there as I may have missed some
 points, or interpreted them differently than as intended

Re: [Server-devel] [XSCE] RE: [UKids] Re: [support-gang] Taking OpenStreetMap Offline - DESIGN Call - Thur June 11, 10AM EDT / 2PM UTC

2015-06-14 Thread Tim Moody
couple of observations:

 

As expected, the new tiles have a lot more detail.

 

There are more levels of zoom in the new ones.

 

Some names have changed - the old map had Lalitpur and the new one has Patan 
(both are used)

 

I don't see any boxes for unprintable characters, but there is a lot less 
Devanagari. (Google maps has more)

 

Is it possible to merge individually generated regional tiles?  for example if 
you rendered India and Nepal separately would you get both?

 

What happens if you render the world at level 10 and then specific countries at 
16?

 

From: xsce-de...@googlegroups.com [mailto:xsce-de...@googlegroups.com] On 
Behalf Of Anish Mangal
Sent: Saturday, June 13, 2015 10:06 PM
To: Jérôme Gagnon-Voyer
Cc: xsce-devel; Community Support Volunteers -- who help respond to help AT 
laptop.org; Unleash Kids!; server-devel; iaep; Internet In a Box Working Group; 
Jaakko Helleranta
Subject: Re: [XSCE] RE: [UKids] Re: [support-gang] Taking OpenStreetMap Offline 
- DESIGN Call - Thur June 11, 10AM EDT / 2PM UTC

 

Hi,

Following from the skype call this week, I uploaded Nepal's OSM data in 
postgres and render tiles to see performance, and as expected, everything is 
blazing fast. 

The pbf file went into the postgress in less than 5 minutes, and tiles are 
being rendered pretty fast as well.

You can check it yourself by going to 
http://home.braddock.com:28112/osm/slippymap.html

* Select Mapnik

* Zoom out and center over Nepal

* Select Local tiles

* Zoom in

I don't know what this proves as the bottleneck still is doing this for the 
entire planet, which we need to figure out a way for anyway.

Best,

Anish

 

 

On Sun, Jun 14, 2015 at 6:02 AM, Anish Mangal anis...@umich.edu 
mailto:anis...@umich.edu  wrote:

Hi Jérôme,

I incorporated one of your comments; as for the other I think Timm, Nick would 
be better suited for the discussion (python backend v/s frontend js). :-)

Best,

Anish

 

On Sun, Jun 14, 2015 at 3:22 AM, Jérôme Gagnon-Voyer gagno...@gmail.com 
mailto:gagno...@gmail.com  wrote:

Hi Anish

 

Great document. I've added 2 comments to the document, feel free to incorporate 
into the document if that makes sense.

 

Also added a TODO for myself to do more research about the various search 
solutions. 

I've used Nominatim in the past (on the client side, not the server 
infrastructure) and it was overall very good, but I'll want to know more about 
the other ones.

 

On Sat, Jun 13, 2015 at 12:51 PM, Tim Moody t...@timmoody.com 
mailto:t...@timmoody.com  wrote:

Thanks, Anish for an excellent start at getting this down on paper (so to 
speak).  I think this covers things pretty well and gives us the necessary 
hooks on which to hang the details as we begin fleshing out solutions to the 
requirements you documented.

 

Under issues I added one point about rendering non-Roman character sets.

 

From: unleashk...@googlegroups.com mailto:unleashk...@googlegroups.com  
[mailto:unleashk...@googlegroups.com mailto:unleashk...@googlegroups.com ] On 
Behalf Of Anish Mangal
Sent: Saturday, June 13, 2015 12:15 PM
To: Community Support Volunteers -- who help respond to help AT laptop.org 
http://laptop.org 
Cc: Unleash Kids!; server-devel; xsce-devel; iaep; Internet In a Box Working 
Group; Jaakko Helleranta
Subject: [UKids] Re: [support-gang] Taking OpenStreetMap Offline - DESIGN Call 
- Thur June 11, 10AM EDT / 2PM UTC

 

Okay, so I tried to encapsulate whatever we discussed into a design document, 
which can hopefully serve as a base for reaching out to the OSM community and 
to better organize our own thoughts. 

https://docs.google.com/document/d/1LWsN-cPH3lvMuXS-f0Tk8IWVh-3X808WoIt0OJ-QNt8/edit#
 
https://docs.google.com/document/d/1LWsN-cPH3lvMuXS-f0Tk8IWVh-3X808WoIt0OJ-QNt8/edit
 

Please feel free to edit the information there as I may have missed some 
points, or interpreted them differently than as intended. 

Best,

Anish

 

On Fri, Jun 5, 2015 at 12:00 AM, Adam Holt h...@laptop.org 
mailto:h...@laptop.org  wrote:

Who's attending http://stateofthemap.us at the UN in NYC this weekend?

Who's most serious about bringing OpenStreetMap's opportunities and rapid 
progress into the hands of the world's offline poor -- kids and all, American 
and Swahili?  Wanna Take This Map Outside, offline and off the grid, where we 
all belong/began?

http://Internet-in-a-Box.org and similar efforts have made a gigantic 1st step: 
in Ghana and Rwanda I could never have imagined better reviews to our 2015 
deployments begun there in recent months.  Many are now changing the game 
increasingly for the Bottom BillionS, among many who've literally never seen a 
globe before, nevermind a map of their own towns.  Both in OLPC (school) 
contexts, in libraries, on Nepali hillsides where folks don't have proper 
homes, and far beyond --- perspectives (literally) are about to change.

But modern phones today contain more than enough gigabytes to display ALL 
OpenStreetMap map detail

Re: [Server-devel] [UKids] Re: [support-gang] Taking OpenStreetMap Offline - DESIGN Call - Thur June 11, 10AM EDT / 2PM UTC

2015-06-13 Thread Tim Moody
Thanks, Anish for an excellent start at getting this down on paper (so to 
speak).  I think this covers things pretty well and gives us the necessary 
hooks on which to hang the details as we begin fleshing out solutions to the 
requirements you documented.

 

Under issues I added one point about rendering non-Roman character sets.

 

From: unleashk...@googlegroups.com [mailto:unleashk...@googlegroups.com] On 
Behalf Of Anish Mangal
Sent: Saturday, June 13, 2015 12:15 PM
To: Community Support Volunteers -- who help respond to help AT laptop.org
Cc: Unleash Kids!; server-devel; xsce-devel; iaep; Internet In a Box Working 
Group; Jaakko Helleranta
Subject: [UKids] Re: [support-gang] Taking OpenStreetMap Offline - DESIGN Call 
- Thur June 11, 10AM EDT / 2PM UTC

 

Okay, so I tried to encapsulate whatever we discussed into a design document, 
which can hopefully serve as a base for reaching out to the OSM community and 
to better organize our own thoughts. 

https://docs.google.com/document/d/1LWsN-cPH3lvMuXS-f0Tk8IWVh-3X808WoIt0OJ-QNt8/edit#
 
https://docs.google.com/document/d/1LWsN-cPH3lvMuXS-f0Tk8IWVh-3X808WoIt0OJ-QNt8/edit
 

Please feel free to edit the information there as I may have missed some 
points, or interpreted them differently than as intended. 

Best,

Anish

 

On Fri, Jun 5, 2015 at 12:00 AM, Adam Holt h...@laptop.org 
mailto:h...@laptop.org  wrote:

Who's attending http://stateofthemap.us at the UN in NYC this weekend?

Who's most serious about bringing OpenStreetMap's opportunities and rapid 
progress into the hands of the world's offline poor -- kids and all, American 
and Swahili?  Wanna Take This Map Outside, offline and off the grid, where we 
all belong/began?

http://Internet-in-a-Box.org and similar efforts have made a gigantic 1st step: 
in Ghana and Rwanda I could never have imagined better reviews to our 2015 
deployments begun there in recent months.  Many are now changing the game 
increasingly for the Bottom BillionS, among many who've literally never seen a 
globe before, nevermind a map of their own towns.  Both in OLPC (school) 
contexts, in libraries, on Nepali hillsides where folks don't have proper 
homes, and far beyond --- perspectives (literally) are about to change.

But modern phones today contain more than enough gigabytes to display ALL 
OpenStreetMap map detail within most countries, and yet they do not yet, WHY?  
Where are the Khan Academies and KA Lites of OSM (OpenStreetMap) bringing new 
classroom/journalistic rubrics, freeing everyone's brain software to explore 
and document our own communities in our own languages?

Who Will Take The Next Steps?
What engineering middleware, distribution vectors, community/economic models, 
and final field packagings will get us all there  beyond?

Will offline edit-contributions prove impossible, much like with Wikipedia in 
Peru, when offline kids edit overly stale OpenStreetMap/Wikipedia images a year 
before/later?


 

As such the wider OLPC community is hosting a DESIGN Call to bring forward 
ideas across the OpenStreetMap landscape, fertilizing our immediate work with 
school server projects like http://schoolserver.org, http://xsce.org, 
https://en.opensuse.org/openSUSE:Education-Li-f-e ETC.  Ministries of Education 
in India elsewhere are watching closely, expressly eager to help if we can 
point the way.  All giving our 2020 Vision questions very practical and 
immediate customers well before 2020, much like Garmin GPS units fed a 
wonderful ecosystem of geo-specific gmapsupp.img offline map files over the 
past decade: http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/Download

That decade's now done: what IS our framework for the coming decade?  Please 
join us if you have strategic/partnership ideas towards making Offline OSM 
Designs happen, Thank You !!

 

10AM New York Time / 2PM UTC

Thursday, June 11th

RSVP with your Skype username, if we are more than 15-20 we'll use an 
industrial conference call system instead!


CONCLUSION: Could OpenStreetMap be the very ultimate in Constructionist 
Learning Projects, replacing OLPC in coming years, on a quickly 
shrinking/endangered but still green-in-parts planet?  Regardless, how to build 
the OLPC Movement's offline/civic learning successes, consciously learning from 
its community infrastructural mistakes?  Nick Doiron (http://mapmeld.com) and 
Anish Mangal (https://in.linkedin.com/in/anishmangal) who've spent years 
thinking about this topic will lead the discussion, agenda is entirely yours!  
OPTIONAL: submit agenda items in advance right here:

https://docs.google.com/document/d/1o6QtzLb6e58YKWqMf_junux2XyBRLFm31un8YLcYslg

 

 forward invitation to Twitter/wherever as appropriate 



--

Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !


___
support-gang mailing list
support-g...@lists.laptop.org mailto:support-g...@lists.laptop.org 
http://lists.laptop.org/listinfo/support-gang





-- 

Re: [Server-devel] Trying to access a school server from the outside world

2015-06-13 Thread Tim Moody
xsce listens on ssh, so if you expose that port externally you can access the 
server.  probably you don't do this as we usually put the server behind a 
firewall.

George Hunt set up an OpenVPN hub which some installs can use.  Servers connect 
to the vpn hub and connected users can then pass through the hub to the server. 
 Both users and servers need keys stored on the vpn hub.

You would need to check with Adam and George.
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] White list on xsce

2015-06-13 Thread Tim Moody
The whitelist can be edited in the Admin Console at http://schoolserver/admin.  
You need the xsce-admin user's password to login.  Go to the Configure menu 
option and it should be straightforward.

You can also turn Squid whitelist filtering on and off.

Not sure what version you have, so these features might not be there.

Message: 3
Date: Fri, 12 Jun 2015 22:35:58 -0300
From: Gonzalo Odiard godi...@sugarlabs.org
To: XS Devel server-devel@lists.laptop.org
Subject: [Server-devel] White list on xsce
Message-ID:
CAJ+iPVRf9TogvRPkQazb5dNTn8XdGQnz7w8VkW3=xgv-axf...@mail.gmail.com
Content-Type: text/plain; charset=utf-8

There are a white list configured in the xsce server?
If yes, how can be changed?
Thanks,

-- 
Gonzalo Odiard

SugarLabs - Software for children learning
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Trying to access a school server from the outside world

2015-06-13 Thread Tim Moody
I should also have mentioned that we have started using TeamViewer on some of 
the servers which allows a session on the server without using the vpn hub.

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] help - centos 7.1 disk space on xsce

2015-05-30 Thread Tim Moody
Tried a yum install which failed because the cache had no space.  df showed
the rootfs was full.  I removed a number of zip files and df showed 120G
free.  Rebooted, did some work including maybe 40M of downloads, and an hour
or so later tried the yum install again and the rootfs was full again.

 

is there any way that the os could have reclaimed the space or should I be
looking elsewhere?

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Steps involved in generating OSM maps for IIAB

2015-05-14 Thread Tim Moody
Braddock said that we could reduce the number of levels in a given deployment and then find the parameter in IIAB/OSM that controls maximum zoom. How many levels do you plan to generate? I think there are 12 or 13 currently out of a max of 15, but I don't have my notes here.Sent from my BlackBerry® PlayBook™www.blackberry.comFrom: "Anish Mangal" anis...@umich.eduTo: "xsce-devel" xsce-de...@googlegroups.comCC: "Server-Devel@Lists. Laptop. Org" server-devel@lists.laptop.org, "bradd...@gmail.com" bradd...@gmail.comSent: 14 May, 2015 1:47 AMSubject: Re: [XSCE] Steps involved in generating OSM maps for IIABFrom my limited experience, all these things are possible but since the process is not automated, it takes some effort to make these customizations. I think our cause would be better served by..1. Generating tiles for the planet at two zoom levels. 2. Engaging the OSM community in a more formal manner post that. In my limited interaction with the OSM community they were quite supportive and active with their help :-)--AnishOn Thu, May 14, 2015 at 11:11 AM, Tim Moody t...@timmoody.com wrote:


I assume that with new geo data the index will also need to be regenerated. Whoosh 2.6 is the last version compatible with the current index. Hopefully the new index will support later versions of Whoosh.My other request is that we make sure we can accommodate different levels of zoom for platforms with different amounts of storage when tiles are generated (vertical partitioning). I also wonder if different levels of zoom for different geographical areas is possible. A school's home country might have more zoom than other places I study in geography class but don't visit. (horizontal partitioning). I know that OSM provides subsets of data for different regions.Date: Wed, 13 May 2015 22:26:05 +0530Subject: Re: [XSCE] Steps involved in generating OSM maps for IIABFrom: anis...@umich.eduTo: xsce-de...@googlegroups.comCC: server-devel@lists.laptop.orgHi Adam,So I have gotten past step one of the map generation process which is importing planet data in a postgres db (which took a few tries due to a lack of understanding of the system setup). Next, I need to generate the tiles. The process will probably take a couple of weeks and it may be a few more days when I can get around to doing this (but should be doable without problems)Many thanks to Braddock for helping out with this and making it possible. :-)Cheers,AnishOn Wed, May 13, 2015 at 4:16 PM, Adam Holt h...@laptop.org wrote:On Fri, Apr 24, 2015 at 12:19 PM, Anish Mangal anis...@umich.edu wrote:Hi Braddock,Am willing to give this a shot. The map data on IIAB could do with an update. Let me know how/where I should access the machine.Anish,How can others assist you here?PS Tim Moody miraculously fixed OpenStreetMap city/town search on a Rwanda-bound IIAB/XSCE server on CentOS "7.1", by downgrading Whoosh from 2.7 to 2.6 overnight, just last night!Will share my public ssh key with you separately.Best,AnishOn Fri, Apr 24, 2015 at 9:12 PM, Braddock Gaskill bradd...@gmail.com wrote:Hi Tim,The first step of the OSM processing is to import it into a huge PostGreSQL database, and is what is used in tile rendering. That database has to reside on an SSD or the later rendering of tiles is too slow. So no, you can't really reduce the SSD storage requirement.I have a machine available that I built for this task if anyone wants to use it remotely.-braddockOn Thu, Apr 23, 2015 at 11:13 PM, Tim Moody t...@timmoody.com wrote:Any way to do the calcs in smaller chunks to cut down on the storage requirements, or even get to ramdisk?Sent from my BlackBerry® PlayBook™www.blackberry.comFrom: "Braddock Gaskill" bradd...@gmail.comTo: "xsce-de...@googlegroups.com" xsce-de...@googlegroups.com, "Braddock Gaskill" bradd...@braddock.comSent: 24 April, 2015 1:45 AMSubject: Re: [XSCE] Steps involved in generating OSM maps for IIABIIAB Open Street Map generation...Note:-generating the OSM tiles requires a machine with at least a 500GB SSD (conventional HD is too slow) and 16 GB RAM, preferably with 4 or 8 cores.-It will take about a week of processing.-It was last done in 2012 on an Ubuntu 12.04 machine, and the OSM tools have probably changed a lot-I have a machine that should do the job if you want to do it remotely-Documentation on the procedure is available in the IIAB "Maintainers Guide"https://github.com/braddockcg/internet-in-a-box/blob/master/doc/Maintainers_Guide.txt-Further raw notes on what I did are in:https://github.com/braddockcg/internet-in-a-box/blob/master/doc/NOTES.txtSee both sections:"OpenStreetMap - 8/23/12"
and further downOSM Planet Import-If you are lucky, the OSM project documentation and tools have improved since 2012. There was a LOT of trial and error back then.-braddockOn Thu, Apr 23, 2015 at 10:24 PM, Anish Mangal anis...@umich.edu wrote:Yes. A listing of steps involved

Re: [Server-devel] [XSCE] Steps involved in generating OSM maps for IIAB

2015-05-13 Thread Tim Moody
I assume that with new geo data the index will also need to be regenerated.  
Whoosh 2.6 is the last version compatible with the current index.  Hopefully 
the new index will support later versions of Whoosh.
My other request is that we make sure we can accommodate different levels of 
zoom for platforms with different amounts of storage when tiles are generated 
(vertical partitioning).  I also wonder if different levels of zoom for 
different geographical areas is possible.  A school's home country might have 
more zoom than other places I study in geography class but don't visit.  
(horizontal partitioning).  I know that OSM provides subsets of data for 
different regions.

Date: Wed, 13 May 2015 22:26:05 +0530
Subject: Re: [XSCE] Steps involved in generating OSM maps for IIAB
From: anis...@umich.edu
To: xsce-de...@googlegroups.com
CC: server-devel@lists.laptop.org

Hi Adam,

So I have gotten past step one of the map generation process which is importing 
planet data in a postgres db (which took a few tries due to a lack of 
understanding of the system setup). Next, I need to generate the tiles. The 
process will probably take a couple of weeks and it may be a few more days when 
I can get around to doing this (but should be doable without problems)

Many thanks to Braddock for helping out with this and making it possible. :-)

Cheers,
Anish


On Wed, May 13, 2015 at 4:16 PM, Adam Holt h...@laptop.org wrote:
On Fri, Apr 24, 2015 at 12:19 PM, Anish Mangal anis...@umich.edu wrote:
Hi Braddock,

Am willing to give this a shot. The map data on IIAB could do with an update. 
Let me know how/where I should access the machine.

Anish,

How can others assist you here?

PS Tim Moody miraculously fixed OpenStreetMap city/town search on a 
Rwanda-bound IIAB/XSCE server on CentOS 7.1, by downgrading Whoosh from 2.7 
to 2.6 overnight, just last night!
 

Will share my public ssh key with you separately.

Best,
Anish


On Fri, Apr 24, 2015 at 9:12 PM, Braddock Gaskill bradd...@gmail.com wrote:
Hi Tim,The first step of the OSM processing is to import it into a huge 
PostGreSQL database, and is what is used in tile rendering.  That database has 
to reside on an SSD or the later rendering of tiles is too slow.  So no, you 
can't really reduce the SSD storage requirement.
I have a machine available that I built for this task if anyone wants to use it 
remotely.
-braddock
On Thu, Apr 23, 2015 at 11:13 PM, Tim Moody t...@timmoody.com wrote:
Any way to do the calcs in smaller chunks to cut down on the storage 
requirements, or even get to ramdisk?

Sent from my BlackBerry® PlayBook™
www.blackberry.com
From: Braddock Gaskill bradd...@gmail.com
To: xsce-de...@googlegroups.com xsce-de...@googlegroups.com, Braddock 
Gaskill bradd...@braddock.com
Sent: 24 April, 2015 1:45 AM
Subject: Re: [XSCE] Steps involved in generating OSM maps for IIAB

IIAB Open Street Map generation...
Note:-generating the OSM tiles requires a machine with at least a 500GB SSD 
(conventional HD is too slow) and 16 GB RAM, preferably with 4 or 8 cores. 
-It will take about a week of processing.
-It was last done in 2012 on an Ubuntu 12.04 machine, and the OSM tools have 
probably changed a lot
-I have a machine that should do the job if you want to do it remotely
-Documentation on the procedure is available in the IIAB Maintainers 
Guidehttps://github.com/braddockcg/internet-in-a-box/blob/master/doc/Maintainers_Guide.txt


-Further raw notes on what I did are 
in:https://github.com/braddockcg/internet-in-a-box/blob/master/doc/NOTES.txtSee 
both sections:OpenStreetMap - 8/23/12
and further down
OSM Planet Import
-If you are lucky, the OSM project documentation and tools have improved since 
2012.  There was a LOT of trial and error back then.

-braddock



On Thu, Apr 23, 2015 at 10:24 PM, Anish Mangal anis...@umich.edu wrote:
Yes. A listing of steps involved would be useful.

On Fri, Apr 24, 2015 at 10:53 AM, Tony Anderson tony_ander...@usa.net wrote:
Hi,



My recollection is that was done by Braddock. It involved rendering the tiles 
downloaded from OSM.



Tony



On 04/24/2015 06:23 AM, Anish Mangal wrote:


Hi,



Are the steps to generate OSM data for use with IIAB documented somewhere. Am 
willing to give it a try to download the map-data and generate the required 
images/files.



Best,

Anish


















--
-- 
Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !




-- 



  ___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] NUC with internal WiFi AP?

2015-04-24 Thread Tim Moody
I'm not very positive towards using a router as a school server due memory 
constraints, but rpi2 with a small wifi dongle or other such seems doable to 
me.  Between George, Jerry, and Anish this is pretty well there in the current  
xsce master.

Date: Sat, 25 Apr 2015 00:53:33 -0400
Subject: [XSCE] NUC with internal WiFi AP?
From: h...@laptop.org
To: xsce-de...@googlegroups.com; server-devel@lists.laptop.org

Will NUC-like handheld-size servers with internal WiFi AP's ever be possible? 
 (towards shrinking the spaghetti-peripherals-hassles that so many educators 
are reacting to, eager for XSCE/IIAB/ETC but persistently interested in a 
smaller all-around enclosure)
Following bit suggests the answer might be no, but then again others 
understand this far better than i !?
http://amazon.com/ask/questions/Tx23UQW2FF0X8UZ
Q: Using Linux / hostapd, will this work as an access point?
A: Yeah... ish. I have it in my router right now and it works great in the 
2.4ghz band. Im working on getting the 5ghz band up and running but I seem to 
be running into country code problems or it might be possible that this card 
doesn't support AP mode in 5Ghz mode but Im hoping for the former :) kernel 
3.13.

EDIT. Talked to a intel kernel dev. 5ghz is disabled for regulatory reasons.
zanegrey  |  1 year ago  ___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] httrack web based interactive site crawler

2015-04-23 Thread Tim Moody
My plan has been to add this capability to the admin console. I was thinking just recursive wget, but if there is something higher level that would be great.So far you can download and install zims and launch Kalite to get videos. I want to add the collections Rachel, IIAB, and Bernie (if Tony is interested ) and then move on to html-based sites.Sent from my BlackBerry® PlayBook™www.blackberry.comFrom: "Anish Mangal" anis...@umich.eduTo: "xsce-devel" xsce-de...@googlegroups.com, "server-devel" server-devel@lists.laptop.orgSent: 23 April, 2015 7:07 AMSubject: [XSCE] httrack web based interactive site crawlerHi,I found this amazing software that can be configured and interactively crawls and keeps offline copies of websites. http://www.httrack.com/page/1/en/index.htmlIs useful for including custom content. An educator could bundle a website of their choice using this tool, which, though not perfect for cases where there are youtube videos, is useful for other media - pdf, documents etc. Perhaps there is a case for including this in xsce?Best,Anish

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] NUC installation troubles

2015-04-18 Thread Tim Moody
one question which Jerry would have to answer is whether you should have 
installed hostapd before xsce as I think xsce now does the install.

 

From: xsce-de...@googlegroups.com [mailto:xsce-de...@googlegroups.com] On 
Behalf Of Anish Mangal
Sent: Saturday, April 18, 2015 2:20 PM
To: Jerry Vonau
Cc: xsce-devel; server-devel
Subject: Re: [XSCE] NUC installation troubles

 

Pretty sure this is a hack but putting dhcpd.service in hostapd.service's 
'After' section works. 

 

On Sat, Apr 18, 2015 at 11:32 PM, Anish Mangal anis...@umich.edu 
mailto:anis...@umich.edu  wrote:

Okay so things looking slightly better. The server is up with dhcp running, 
however hostapd does not start automatically. (Manually I have to start it 
twice)

Here are the messages from the journal

Apr 18 23:28:22 schoolserver.lan hostapd[2118]: Configuration file: 
/etc/hostapd/hostapd.conf
Apr 18 23:28:22 schoolserver.lan hostapd[2118]: Could not set channel for 
kernel driver
Apr 18 23:28:22 schoolserver.lan hostapd[2118]: Interface initialization failed
Apr 18 23:28:22 schoolserver.lan hostapd[2118]: wlp2s0: interface state 
UNINITIALIZED-DISABLED
Apr 18 23:28:22 schoolserver.lan hostapd[2118]: wlp2s0: AP-DISABLED
Apr 18 23:28:22 schoolserver.lan hostapd[2118]: wlp2s0: Unable to setup 
interface.
Apr 18 23:28:22 schoolserver.lan hostapd[2118]: hostapd_free_hapd_data: 
Interface wlp2s0 wasn't started
Apr 18 23:28:22 schoolserver.lan systemd[1]: hostapd.service: main process 
exited, code=exited, status=1/FAILURE
Apr 18 23:28:22 schoolserver.lan systemd[1]: Unit hostapd.service entered 
failed state.
Apr 18 23:28:22 schoolserver.lan systemd[1]: hostapd.service failed.
Apr 18 23:28:35 schoolserver.lan hostapd[2124]: wlp2s0: STA 48:d2:24:66:1f:d7 
IEEE 802.11: authenticated
Apr 18 23:28:35 schoolserver.lan hostapd[2124]: wlp2s0: STA 48:d2:24:66:1f:d7 
IEEE 802.11: associated (aid 1)
Apr 18 23:28:35 schoolserver.lan hostapd[2124]: wlp2s0: STA 48:d2:24:66:1f:d7 
RADIUS: starting accounting session 55329B44-

 

On Sat, Apr 18, 2015 at 11:01 PM, Anish Mangal anis...@umich.edu 
mailto:anis...@umich.edu  wrote:

Pressed 'send' too soon. Also wanted to know whether the hostapd needs to be 
set to some value in the vars file for it to work?

 

On Sat, Apr 18, 2015 at 10:59 PM, Anish Mangal anis...@umich.edu 
mailto:anis...@umich.edu  wrote:

Hi Jerry,

Thanks for the response. So you're saying that I *should* be using the latest 
master and it *should* work with those tweaks that you mention? :-) 

I don't require any authentication for the wifi network, and xsce out of the 
box as the ssid is okay with me. Will check upon the hostapd conf to see if the 
interface is br0.

Also, did you face issues with dhcpd not coming up complaining about no subnet 
declaration in your testing? Seems to be happening here, although I'll let the 
current runansible run finish and then report back. 

Oh, and slightly offtopic .. moodle probably needs postgres which is disabled 
by default :)

Cheers,

Anish

 

On Sat, Apr 18, 2015 at 10:53 PM, Jerry Vonau m...@jvonau.ca 
mailto:m...@jvonau.ca  wrote:

Hi Anish,

Thanks for the testing.

 On April 18, 2015 at 10:10 AM Anish Mangal anis...@umich.edu 
 mailto:anis...@umich.edu  wrote:


 Hi,

 Have been struggling all day trying to figure out how to install current
 master on a NUC.

 I set one up two weeks ago in the following fashion:
 f21-server install on a NUC
 xsce install in appliance mode
 install hostapd and configure wifi chip to be used
 rerun xsce playbooks

 This seemed to work well on the first try and is being used at the school
 in the mountains I went to.


Yea, we made some great progress in the WiFi realm.

 Now I have two more NUCs and am trying to setup current master

 I installed hostapd before running any playbooks, and running xsce seems
 to
 enable a bridge network br0 and use it as LAN. I also see a hostapd
 config
 option in the vars file.


Yes we added basic WiFi AP mode support, sets up an open AP with no
authentication using bridging. The only thing configurable in local_vars at
this point is the ssid, we didn't extend the all the variables from
hostapd.conf to local_vars yet. A pull request to do so would be welcome.

 Would like to know the 'proper' way to go about it. i feel like I am
 trying
 various permutations and not setting things up as they should be. Any
 pointers would be useful.


If you're running authentication, I'd let ansible finish then overwrite the
hostapd.conf file with your version but be sure to add bridge=br0 to the
file then restart the hostapd service.

Jerry





-- 

 

 





-- 

 





-- 

 

 




-- 

 

 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Re: iptables issue on fedora 21

2015-03-30 Thread Tim Moody
looks like a cross dependency between the systemd unit files:

 

iptables depends on network and network depends on iptables.

 

Waiting for Jerry to weigh in.

 

From: xsce-de...@googlegroups.com [mailto:xsce-de...@googlegroups.com] On 
Behalf Of Anish Mangal
Sent: Monday, March 30, 2015 1:34 PM
To: xsce-devel; server-devel
Subject: [XSCE] Re: iptables issue on fedora 21

 

Some more messages from the journal from around that time suggest some kind of 
loop

*  Mar 30 22:55:17 schoolserver.lan systemd[1]: Found ordering cycle on 
network.service/start

*  Mar 30 22:55:17 schoolserver.lan systemd[1]: Found dependency on 
iptables.service/start

*  Mar 30 22:55:17 schoolserver.lan systemd[1]: Found dependency on 
network.target/start

*  Mar 30 22:55:17 schoolserver.lan systemd[1]: Found dependency on 
network.service/start

*  Mar 30 22:55:17 schoolserver.lan systemd[1]: Breaking ordering cycle by 
deleting job iptables.service/start

*  Mar 30 22:55:17 schoolserver.lan systemd[1]: Job iptables.service/start 
deleted to break ordering cycle starting with network.service/start

 

 

On Mon, Mar 30, 2015 at 10:42 PM, Anish Mangal anis...@umich.edu 
mailto:anis...@umich.edu  wrote:

Hi,

So I have an XSCE setup on a NUC originally in appliance mode, and now I am 
using hostapd for the wifi network to function as lan. After I setup hostapd 
(config file and enabling the service) I ran ./runansible again, and everything 
seems to work except iptables, which goes dead. Relevant messages below

[root@schoolserver anish]# journalctl -xb|grep iptables
Mar 30 22:34:22 schoolserver.lan systemd[1]: Found dependency on 
iptables.service/start
Mar 30 22:34:22 schoolserver.lan systemd[1]: Breaking ordering cycle by 
deleting job iptables.service/start
Mar 30 22:34:22 schoolserver.lan systemd[1]: Job iptables.service/start deleted 
to break ordering cycle starting with network.service/start
Mar 30 22:34:21 schoolserver.lan systemd[1]: Configuration file 
/etc/systemd/system/iptables.service is marked executable. Please remove 
executable permission bits. Proceeding anyway.

[root@schoolserver anish]# systemctl status iptables.service
● iptables.service - IPv4 firewall with iptables
   Loaded: loaded (/etc/systemd/system/iptables.service; enabled)
   Active: inactive (dead)


/etc/xsce/xsce.ini -- http://fpaste.org/204840/

If I start iptables manually, it works, but not automatically.

Any pointers would be helpful. 

Best,

Anish





___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Re: iptables issue on fedora 21

2015-03-30 Thread Tim Moody
sounds right to me.  Here's mine (some commits before the current master)

 

[root@xsce-devel ~]# cat  /usr/lib/systemd/system/iptables.service

[Unit]

Description=IPv4 firewall with iptables

After=syslog.target

ConditionPathExists=/etc/sysconfig/iptables

 

[Service]

Type=oneshot

RemainAfterExit=yes

ExecStart=/usr/libexec/iptables/iptables.init start

ExecStop=/usr/libexec/iptables/iptables.init stop

Environment=BOOTUP=serial

Environment=CONSOLETYPE=serial

StandardOutput=syslog

StandardError=syslog

 

[Install]

WantedBy=basic.target 

 

From: xsce-de...@googlegroups.com [mailto:xsce-de...@googlegroups.com] On 
Behalf Of Anish Mangal
Sent: Monday, March 30, 2015 2:03 PM
To: xsce-devel
Cc: server-devel
Subject: Re: [XSCE] Re: iptables issue on fedora 21

 

Okay, I just had a chat about this first on #fedora-server and then on #systemd 

They think in iptables.service it should be Before=network.targer instead of 
After.. changing that works for me (although would need wiser minds to comment 
on its correctness).

anyway .. IRC log attached below..

m_anish Hi, I am facing an issue with systemd/iptables on a fedora 21 
setup... asked on #fedora without much luck, so asking here... 
m_anish so, iptables is enabled but doesnt start .. relevant journal log -- 
http://fpaste.org/204855/42773649/
m_anish the network is setup such that eth is the WAN and hostapd is running 
on the wifi functioning as the LAN
m_anish firewall is disabled 
va who the heck came up with that? iptables does not depend on network.
m_anish http://fpaste.org/204842/35817142/
m_anish is the actual iptables^^
m_anish va, ah! so removing that should fix it then!?
m_anish (i didn't edit it myself, but this is a f21 setup, on which ansible 
does some tweaks etc.)
grawity is that iptables.init script a regular Fedora thing?
va if anything, iptables ought to have a 
Before=network{.service,target,whateveR}
m_anish grawity, one moment, i can check that (i have a 'regular' f21 machine 
with me as well)
m_anish hmm i don't have iptables installed on my regular machine (wtf) 
m_anish va, ok
m_anish grawity, i'll install iptables in a clean vm to see what is happening
m_anish okay, so hostapd is After=network.target .. i'd wan't iptables to 
come into play after that I guess
m_anish va, this is the iptables.service file -- 
http://fpaste.org/204870/73779914/ you reckon i should s/After/Before there?
m_anish (also see the last comment abt hostapd)
va LIke I said. Before=network
va you want to have the rules loaded BEFORE all evil can get through your 
network doors
m_anish va, will give it a try .. fwiw, this is probably not standard f21 .. 
but someone's error 
https://github.com/XSCE/xsce/blob/8f5f875db10cb181f09a62670601c7da9f6fe37a/roles/network/templates/gateway/iptables.service
va it's always _someone's_ error
m_anish :)
m_anish va, okay, it worked I think! (will test more thoroughly for other 
stuff)
m_anish thx!



 

On Mon, Mar 30, 2015 at 11:28 PM, Tim Moody t...@timmoody.com 
mailto:t...@timmoody.com  wrote:

looks like a cross dependency between the systemd unit files:

 

iptables depends on network and network depends on iptables.

 

Waiting for Jerry to weigh in.

 

From: xsce-de...@googlegroups.com mailto:xsce-de...@googlegroups.com  
[mailto:xsce-de...@googlegroups.com mailto:xsce-de...@googlegroups.com ] On 
Behalf Of Anish Mangal
Sent: Monday, March 30, 2015 1:34 PM
To: xsce-devel; server-devel
Subject: [XSCE] Re: iptables issue on fedora 21

 

Some more messages from the journal from around that time suggest some kind of 
loop

*  Mar 30 22:55:17 schoolserver.lan systemd[1]: Found ordering cycle on 
network.service/start

*  Mar 30 22:55:17 schoolserver.lan systemd[1]: Found dependency on 
iptables.service/start

*  Mar 30 22:55:17 schoolserver.lan systemd[1]: Found dependency on 
network.target/start

*  Mar 30 22:55:17 schoolserver.lan systemd[1]: Found dependency on 
network.service/start

*  Mar 30 22:55:17 schoolserver.lan systemd[1]: Breaking ordering cycle by 
deleting job iptables.service/start

*  Mar 30 22:55:17 schoolserver.lan systemd[1]: Job iptables.service/start 
deleted to break ordering cycle starting with network.service/start

 

 

On Mon, Mar 30, 2015 at 10:42 PM, Anish Mangal anis...@umich.edu 
mailto:anis...@umich.edu  wrote:

Hi,

So I have an XSCE setup on a NUC originally in appliance mode, and now I am 
using hostapd for the wifi network to function as lan. After I setup hostapd 
(config file and enabling the service) I ran ./runansible again, and everything 
seems to work except iptables, which goes dead. Relevant messages below

[root@schoolserver anish]# journalctl -xb|grep iptables
Mar 30 22:34:22 schoolserver.lan systemd[1]: Found dependency on 
iptables.service/start
Mar 30 22:34:22 schoolserver.lan systemd[1]: Breaking ordering cycle by 
deleting job iptables.service/start
Mar 30 22:34:22 schoolserver.lan systemd[1]: Job iptables.service/start deleted 
to break ordering cycle

Re: [Server-devel] [XSCE] Re: iptables issue on fedora 21

2015-03-30 Thread Tim Moody
I think so, but I'd rather have Jerry's opinion.

 

From: xsce-de...@googlegroups.com [mailto:xsce-de...@googlegroups.com] On 
Behalf Of Anish Mangal
Sent: Monday, March 30, 2015 2:20 PM
To: xsce-devel
Cc: server-devel
Subject: Re: [XSCE] Re: iptables issue on fedora 21

 

So it should be fixed then, right?

 

On Mon, Mar 30, 2015 at 11:39 PM, Tim Moody t...@timmoody.com 
mailto:t...@timmoody.com  wrote:

sounds right to me.  Here's mine (some commits before the current master)

 

[root@xsce-devel ~]# cat  /usr/lib/systemd/system/iptables.service

[Unit]

Description=IPv4 firewall with iptables

After=syslog.target

ConditionPathExists=/etc/sysconfig/iptables

 

[Service]

Type=oneshot

RemainAfterExit=yes

ExecStart=/usr/libexec/iptables/iptables.init start

ExecStop=/usr/libexec/iptables/iptables.init stop

Environment=BOOTUP=serial

Environment=CONSOLETYPE=serial

StandardOutput=syslog

StandardError=syslog

 

[Install]

WantedBy=basic.target 

 

From: xsce-de...@googlegroups.com mailto:xsce-de...@googlegroups.com  
[mailto:xsce-de...@googlegroups.com mailto:xsce-de...@googlegroups.com ] On 
Behalf Of Anish Mangal
Sent: Monday, March 30, 2015 2:03 PM
To: xsce-devel
Cc: server-devel
Subject: Re: [XSCE] Re: iptables issue on fedora 21

 

Okay, I just had a chat about this first on #fedora-server and then on #systemd 

They think in iptables.service it should be Before=network.targer instead of 
After.. changing that works for me (although would need wiser minds to comment 
on its correctness).

anyway .. IRC log attached below..

m_anish Hi, I am facing an issue with systemd/iptables on a fedora 21 
setup... asked on #fedora without much luck, so asking here... 
m_anish so, iptables is enabled but doesnt start .. relevant journal log -- 
http://fpaste.org/204855/42773649/
m_anish the network is setup such that eth is the WAN and hostapd is running 
on the wifi functioning as the LAN
m_anish firewall is disabled 
va who the heck came up with that? iptables does not depend on network.
m_anish http://fpaste.org/204842/35817142/
m_anish is the actual iptables^^
m_anish va, ah! so removing that should fix it then!?
m_anish (i didn't edit it myself, but this is a f21 setup, on which ansible 
does some tweaks etc.)
grawity is that iptables.init script a regular Fedora thing?
va if anything, iptables ought to have a 
Before=network{.service,target,whateveR}
m_anish grawity, one moment, i can check that (i have a 'regular' f21 machine 
with me as well)
m_anish hmm i don't have iptables installed on my regular machine (wtf) 
m_anish va, ok
m_anish grawity, i'll install iptables in a clean vm to see what is happening
m_anish okay, so hostapd is After=network.target .. i'd wan't iptables to 
come into play after that I guess
m_anish va, this is the iptables.service file -- 
http://fpaste.org/204870/73779914/ you reckon i should s/After/Before there?
m_anish (also see the last comment abt hostapd)
va LIke I said. Before=network
va you want to have the rules loaded BEFORE all evil can get through your 
network doors
m_anish va, will give it a try .. fwiw, this is probably not standard f21 .. 
but someone's error 
https://github.com/XSCE/xsce/blob/8f5f875db10cb181f09a62670601c7da9f6fe37a/roles/network/templates/gateway/iptables.service
va it's always _someone's_ error
m_anish :)
m_anish va, okay, it worked I think! (will test more thoroughly for other 
stuff)
m_anish thx!

 

On Mon, Mar 30, 2015 at 11:28 PM, Tim Moody t...@timmoody.com 
mailto:t...@timmoody.com  wrote:

looks like a cross dependency between the systemd unit files:

 

iptables depends on network and network depends on iptables.

 

Waiting for Jerry to weigh in.

 

From: xsce-de...@googlegroups.com mailto:xsce-de...@googlegroups.com  
[mailto:xsce-de...@googlegroups.com mailto:xsce-de...@googlegroups.com ] On 
Behalf Of Anish Mangal
Sent: Monday, March 30, 2015 1:34 PM
To: xsce-devel; server-devel
Subject: [XSCE] Re: iptables issue on fedora 21

 

Some more messages from the journal from around that time suggest some kind of 
loop

*  Mar 30 22:55:17 schoolserver.lan systemd[1]: Found ordering cycle on 
network.service/start

*  Mar 30 22:55:17 schoolserver.lan systemd[1]: Found dependency on 
iptables.service/start

*  Mar 30 22:55:17 schoolserver.lan systemd[1]: Found dependency on 
network.target/start

*  Mar 30 22:55:17 schoolserver.lan systemd[1]: Found dependency on 
network.service/start

*  Mar 30 22:55:17 schoolserver.lan systemd[1]: Breaking ordering cycle by 
deleting job iptables.service/start

*  Mar 30 22:55:17 schoolserver.lan systemd[1]: Job iptables.service/start 
deleted to break ordering cycle starting with network.service/start

 

 

On Mon, Mar 30, 2015 at 10:42 PM, Anish Mangal anis...@umich.edu 
mailto:anis...@umich.edu  wrote:

Hi,

So I have an XSCE setup on a NUC originally in appliance mode, and now I am 
using hostapd for the wifi network to function as lan. After I setup hostapd 
(config file and enabling

Re: [Server-devel] [UKids] Enthusiasm for a Centos School Server is wonderful

2015-03-28 Thread Tim Moody
At this time, and subject to testing, xsce can be installed on Fedora 18 (for 
XOs), 20, and 21 and on Centos.  Any and all of these needs testing.

 

Keep in mind that xsce is not necessarily bundled with one of these OS in that 
you can install the os and then runansible or one of the other setup scripts.

 

However, to make life easier, George has images and an installer that you just 
stuff onto a machine and have a working xsce.  Similarly Jerry has an iso that 
already has all the needed rpms and other installables and will give a livecd 
style ready to go xsce.

 

However, you also need to keep in mind that if you install from an image or an 
iso you are getting a particular os and a snapshot of xsce.

 

If you want to roll your own, you can first install an OS.

 

I use what's on XO-4 for F18, minimal for F20, and as Danishka mentions Server 
Edition for 21.  I haven't tried Centos.

 

Finally, please also keep in mind that all of these things have happened since 
the last release (5.1) of xsce so are a work in progress, which is exactly why 
a lot of testing is needed.

 

 

 




I would like to help on both CentOS and Fedora side.

Please remember that Fedora also introduced Server Edition since Fedora 21. [1]



 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [UKids] Enthusiasm for a Centos School Server is wonderful

2015-03-28 Thread Tim Moody
and, of course, each application needs testing for functionality apart from did 
it install and does it run.

 

From: Danishka Navin [mailto:danis...@gmail.com] 
Sent: Saturday, March 28, 2015 1:24 PM
To: Tim Moody
Cc: Adam Holt; unleashk...@googlegroups.com; xsce-devel; server-devel
Subject: Re: [UKids] Enthusiasm for a Centos School Server is wonderful

 

 

 

On Sun, Mar 29, 2015 at 1:11 AM, Tim Moody t...@timmoody.com 
mailto:t...@timmoody.com  wrote:

At this time, and subject to testing, xsce can be installed on Fedora 18 (for 
XOs), 20, and 21 and on Centos.  Any and all of these needs testing.

 

Keep in mind that xsce is not necessarily bundled with one of these OS in that 
you can install the os and then runansible or one of the other setup scripts.

 

However, to make life easier, George has images and an installer that you just 
stuff onto a machine and have a working xsce.  Similarly Jerry has an iso that 
already has all the needed rpms and other installables and will give a livecd 
style ready to go xsce.

 

However, you also need to keep in mind that if you install from an image or an 
iso you are getting a particular os and a snapshot of xsce.

 

If you want to roll your own, you can first install an OS.

 

I use what's on XO-4 for F18, minimal for F20, and as Danishka mentions Server 
Edition for 21.  I haven't tried Centos.

 

Finally, please also keep in mind that all of these things have happened since 
the last release (5.1) of xsce so are a work in progress, which is exactly why 
a lot of testing is needed.

 

 

 

Tim,

Do we have list items to be test? test case?

 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Re: XS(CE) integration with other environments?

2015-03-10 Thread Tim Moody
XSCE tries to play in three distinct roles:

1) Gateway - the traditional XS configuration with an upstream connection, 
usually dhcp, and a downstream connection with dhcpd and dns on a fixed address 
with the name schoolserver.
2) Appliance – only an upstream connection, usually using dhcp, but in the 
future with a fixed ip address.
3) Lan Controller – only a downstream connection, provides the same services 
and ip address as a Gateway but with no routing.

XSCE uses a combination of flags indicating the installer’s intent and 
discovery of the adapters and gateway present to select one of the three roles 
above.

The other convenience for more complex topologies is that subdomain names are 
possible, so that each downstream can still look like ‘schoolserver’ to its 
clients, but look distinct to those upstream.



From: Samuel Greenfeld 
Sent: Tuesday, March 10, 2015 3:02 PM
To: Adam Holt 
Cc: server-devel ; xsce-devel 
Subject: [XSCE] Re: XS(CE) integration with other environments?

You are taking my remarks a bit out of context, although it is hard for me to 
tiptoe around explaining things while trying not to insult anyone.


From the schoolserver perspective, schoolservers as originally implemented 
were meant to be an all-in-one system.  They provide DHCP for the laptops, act 
as the Internet gateway, provide anti-theft  backup services, etc.


Sugar  XOs have hardcoded logic expecting the schoolserver to be called 
schoolserver.  Schoolservers are also expected to have certain hardcoded IP 
addresses in case an XO runs into anti-theft problems, etc.


But in larger networks/school districts, I have seen schoolservers installed 
into networks where they are not allowed to control DHCP.  They often were not 
the Internet gateway, and local policies might not allow them to be called 
schoolserver.  Occasionally the schoolserver isn't even in the same building 
as the XOs, and may be on a completely different subnet.


This is a whole concept I once called Sugar for the Enterprise {school 
district} but I don't know if that is worth pursuing at this time.



XSCE is interesting in that it supports things like Internet-in-a-box which 
are not XO specific.  And from what I've seen, the XSCE community may in some 
ways be more active than the Sugar community.


But it is unclear to me what features the XSCE community is implementing to 
support deployments other than those they are directly involved with, or what 
the feedback loop is there.



On Tue, Mar 10, 2015 at 2:16 PM, Adam Holt h...@laptop.org wrote:

Can someone further explain Sam Greenfeld's suggestion below from 
http://lists.sugarlabs.org/archive/iaep/2015-March/017279.html ?  No 
obligation, but if there are common requests missing from XSCE  similar, 
let's understand them:


The XO/Sugar/Schoolserver combination was originally promoted as a complete 
solution which could be used independently without anything else.

But in practice, there is a need to integrate with other solutions.  Sugar may 
be a great educational environment but there is a need to tie it into existing 
schools and curriculums.  OLPC had educators on staff looking into this 
problem, but I don't think we have that luxury.

As an example, the same kludge hacks kept being made over and over to 
integrate Sugar  XOs into environments where the schoolserver might not 
control the network, proxy authentication/802.1x networks were used, etc.  For 
some reason this functionality never made it upstream.


-- 
Sig inserted by AutoHotkey ver. 1.1.11.01 (signature - first line)
WLMail QuoteFix - http://www.dusko-lolic.from.hr/ (signature - second line)___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Rpi2 now available, and loads current XSCE master

2015-03-10 Thread Tim Moody
as another data point, the 64G pny microsd from amazon has been working well so 
far.

http://www.amazon.com/gp/product/B00N2ROG9O/ref=oh_aui_detailpage_o00_s01?ie=UTF8psc=1

For those who prefer one-stop shop on the rpi2 and are willing to pay a little 
more

http://www.canakit.com/raspberry-pi-starter-kit.html is what I bought.  Has a 
compatible wifi adapter and a 2.5A power supply plus case, etc.

From: Adam Holt 
Sent: Tuesday, March 10, 2015 5:28 PM
To: xsce-devel ; XS Devel 
Subject: Re: [Server-devel] [XSCE] Rpi2 now available, and loads current XSCE 
master

On Thu, Feb 26, 2015 at 2:10 PM, Tim Moody t...@timmoody.com wrote:

  
http://www.ebay.com/itm/SanDisk-128GB-Ultra-Micro-SDXC-UHS-1-Class-10-MicroSD-Memory-Card-w-SD-2015-/221700292717

  I wonder what the top usable speed for an sd card is for this device.

For such 128GB microSD's, we're now down from $29-shipped-from-China to 
$17-shipped-from-USA.  However new condition with Brand New retail 
packaging raises question as to whether this might possibly have been used a 
priori?  eBay seller is rated 98.7% so worth the risk?  Limit of 2 per 
customer, but how many earring do we need ;)
http://www.ebay.com/itm/128GB-Micro-SD-HC-Card-with-FREE-Adapter-10-Class-Universal-TF-Flash-Memory-Card-/161471284810



   From: George Hunt 
  Sent: Thursday, February 26, 2015 1:00 PM
  To: xsce-devel ; XS Devel 
  Subject: [XSCE] Rpi2 now available, and loads current XSCE master

  Just got my second rpi, and discovered that they both failed until I used a 
more robust USB to micro USB power cable.  

  It's pretty fast, for just 3watts, including the USB wifi dongle. 

  To get the full install on fc21, I needed to comment out ajenti at 
/opt/schoolserver/xsce/roles/8-tools/meta/main.yml


  The base software, with rpi loader and kernel, is available at 
http://www.digitaldreamtime.co.uk/images/Fidora/21/ (based on a minumal 173MB 
download)

  There's a rtc that mounts on the accessory connectors of the rpi at 
http://www.amazon.com/gp/product/B00MCNMR8G

  I'm still fiddling to get a USB wifi driver, and there's still lots of 
testing. But completing the install process is significant in itself. Once I 
get it all tested, I'll post an image. I'll be about 2GB in size.

  ___
  Server-devel mailing list
  Server-devel@lists.laptop.org
  http://lists.laptop.org/listinfo/server-devel

  -- 

  Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] rpi storage devices

2015-03-08 Thread Tim Moody
In the  console I am trying to identify  unmounted and unformatted devices  
along with mounted ones.

 Date: Sun, 8 Mar 2015 18:16:43 -0500
 From: m...@jvonau.ca
 To: xsce-de...@googlegroups.com; server-devel@lists.laptop.org; 
 t...@timmoody.com
 Subject: Re: [XSCE] rpi storage devices
 
 
 
  On March 8, 2015 at 5:39 PM Tim Moody t...@timmoody.com wrote:
 
 
  on the xo-4 and intel I use the following to get storage devices
  ls -lav /dev |grep brw| grep disk| gawk 'NR==1' |gawk 
  --field-separator=' ' '{ print $10 }'
  but on rpi2 this yields
 
 
  is there a reliable algorithm to identify sd cards, usb thumb drives or
  hdd drives?
  
 Would ansible_devices and maybe ansible_mounts meet your needs?
  ___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] rpi storage devices

2015-03-08 Thread Tim Moody
on the xo-4 and intel I use the following to get storage devices
ls -lav /dev |grep brw| grep disk| gawk 'NR==1' |gawk  --field-separator=' ' '{ 
print $10 }'
but on rpi2 this yields
brw-rw   1 root disk7,   0 Mar  8 18:30 loop0brw-rw   1 root disk   
 7,   1 Dec 31  1969 loop1brw-rw   1 root disk7,   2 Dec 31  1969 
loop2brw-rw   1 root disk7,   3 Dec 31  1969 loop3brw-rw   1 root 
disk7,   4 Dec 31  1969 loop4brw-rw   1 root disk7,   5 Dec 31  
1969 loop5brw-rw   1 root disk7,   6 Dec 31  1969 loop6brw-rw   1 
root disk7,   7 Dec 31  1969 loop7brw-rw   1 root disk  179,   0 Dec 31 
 1969 mmcblk0brw-rw   1 root disk  179,   1 Dec 31  1969 
mmcblk0p1brw-rw   1 root disk  179,   2 Dec 31  1969 mmcblk0p2brw-rw   
1 root disk  179,   3 Dec 31  1969 mmcblk0p3brw-rw   1 root disk1,   0 
Dec 31  1969 ram0brw-rw   1 root disk1,   1 Dec 31  1969 ram1brw-rw 
  1 root disk1,   2 Dec 31  1969 ram2brw-rw   1 root disk1,   3 Dec 
31  1969 ram3brw-rw   1 root disk1,   4 Dec 31  1969 ram4brw-rw   1 
root disk1,   5 Dec 31  1969 ram5brw-rw   1 root disk1,   6 Dec 31  
1969 ram6brw-rw   1 root disk1,   7 Dec 31  1969 ram7brw-rw   1 
root disk1,   8 Dec 31  1969 ram8brw-rw   1 root disk1,   9 Dec 31  
1969 ram9brw-rw   1 root disk1,  10 Dec 31  1969 ram10brw-rw   1 
root disk1,  11 Dec 31  1969 ram11brw-rw   1 root disk1,  12 Dec 31 
 1969 ram12brw-rw   1 root disk1,  13 Dec 31  1969 ram13brw-rw   1 
root disk1,  14 Dec 31  1969 ram14brw-rw   1 root disk1,  15 Dec 31 
 1969 ram15brw-rw   1 root disk8,   0 Dec 31  1969 sdabrw-rw   1 
root disk8,   1 Dec 31  1969 sda1
is there a reliable algorithm to identify sd cards, usb thumb drives or hdd 
drives?   ___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] external batteries

2015-02-27 Thread Tim Moody
I didn’t find the batteries I saw before, but this looks pretty good.

http://www.amazon.com/AmazonBasics-Portable-External-Battery-Charger/dp/B00LRK8JDC/ref=sr_1_22?s=wirelesssrs=10112675011ie=UTF8qid=1425048233sr=1-22
weighs 8 oz.  check my math, but at 10K mAh that should power a 3W 5V device 
for 16.67 hours in a perfect world. this one has two usb outs, so for devices 
with portable hdd there is a supply for the device and another for the hdd.
some of these take awhile to charge, so two smaller ones might be better, 
though more complicated.  not sure if you can charge and use at the same time, 
but input is separate from output.___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] external batteries

2015-02-27 Thread Tim Moody
excellent, better than the one I found


From: George Hunt 
Sent: Friday, February 27, 2015 9:56 AM
To: Tim Moody 
Subject: lithium battery

I'm excited about our discussion yesterday. Based on your research, what do you 
think of: 

http://www.amazon.com/gp/product/B00F4U49M6/


From the comments, I suspect that there is really a 3.7v battery inside, so 
that there is enough headroom to actually charge the thing.  Then they must do 
a dc-dc conversion back up to 5v output

I think our application will be gentle on the electronics, compared to mainline 
usage.

I like the idea of lcd capacity indication.  The comments suggest that output 
reading is not reliable, but hopefully it will be repeatable.___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Rpi2 now available, and loads current XSCE master

2015-02-26 Thread Tim Moody
http://www.ebay.com/itm/SanDisk-128GB-Ultra-Micro-SDXC-UHS-1-Class-10-MicroSD-Memory-Card-w-SD-2015-/221700292717

I wonder what the top usable speed for an sd card is for this device.

From: George Hunt 
Sent: Thursday, February 26, 2015 1:00 PM
To: xsce-devel ; XS Devel 
Subject: [XSCE] Rpi2 now available, and loads current XSCE master

Just got my second rpi, and discovered that they both failed until I used a 
more robust USB to micro USB power cable.  

It's pretty fast, for just 3watts, including the USB wifi dongle. 

To get the full install on fc21, I needed to comment out ajenti at 
/opt/schoolserver/xsce/roles/8-tools/meta/main.yml


The base software, with rpi loader and kernel, is available at 
http://www.digitaldreamtime.co.uk/images/Fidora/21/ (based on a minumal 173MB 
download)

There's a rtc that mounts on the accessory connectors of the rpi at 
http://www.amazon.com/gp/product/B00MCNMR8G

I'm still fiddling to get a USB wifi driver, and there's still lots of testing. 
But completing the install process is significant in itself. Once I get it all 
tested, I'll post an image. I'll be about 2GB in size.___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Rpi2 now available, and loads current XSCE master

2015-02-26 Thread Tim Moody
Thanks.

From: George Hunt 
Sent: Thursday, February 26, 2015 1:00 PM
To: xsce-devel ; XS Devel 
Subject: [XSCE] Rpi2 now available, and loads current XSCE master

Just got my second rpi, and discovered that they both failed until I used a 
more robust USB to micro USB power cable.  

It's pretty fast, for just 3watts, including the USB wifi dongle. 

To get the full install on fc21, I needed to comment out ajenti at 
/opt/schoolserver/xsce/roles/8-tools/meta/main.yml


The base software, with rpi loader and kernel, is available at 
http://www.digitaldreamtime.co.uk/images/Fidora/21/ (based on a minumal 173MB 
download)

There's a rtc that mounts on the accessory connectors of the rpi at 
http://www.amazon.com/gp/product/B00MCNMR8G

I'm still fiddling to get a USB wifi driver, and there's still lots of testing. 
But completing the install process is significant in itself. Once I get it all 
tested, I'll post an image. I'll be about 2GB in size.___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [support-gang] [XSCE] Re: school server weekly mtg minutes

2015-02-19 Thread Tim Moody
The part I don't fully understand is that android (using chrome in my case) 
can find http://schoolserver.lan, just not http://schoolserver.  Looks to me 
like the phone reaches the xsce dns server, but the server only resolves 
schoolserver.lan.


-Original Message- 
From: Jerry Vonau

Sent: Thursday, February 19, 2015 5:07 PM
To: Community Support Volunteers -- who help respond to help AT laptop.org 
; James Cameron ; xsce-de...@googlegroups.com

Cc: server-devel ; Unleash Kids!
Subject: Re: [support-gang] [XSCE] Re: school server weekly mtg minutes




On February 19, 2015 at 3:22 PM James Cameron qu...@laptop.org wrote:


For Tim's problem of resolving the schoolserver host name on Android,
see my note added to your minutes.  In short, intercept the DNS
queries for 8.8.8.8, or configure WiFi to use DNS from DHCP.



I've mentioned in the past that intercepting dns queries from the LAN to
WAN might be useful for enforcement when using opendns. Treat the outbound
connection that same way as is done for squid's transparent proxy mode. I
take it that android may use its own nameserver order. Would the below
iptable rules be enough:

$IPTABLES  -t nat  -A PREROUTING -i $lan -p tcp --dport 53 ! -d $fw_lan_ip
-j DNAT --to $fw_lan_ip:53

$IPTABLES  -t nat  -A PREROUTING -i $lan -p udp --dport 53 ! -d $fw_lan_ip
-j DNAT --to $fw_lan_ip:53

assuming you have named running at $fw_lan_ip?

Jerry
___
support-gang mailing list
support-g...@lists.laptop.org
http://lists.laptop.org/listinfo/support-gang 


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Banana-pi solar powered digital content library

2015-02-18 Thread Tim Moody
I forgot that the banana pi has a sata connector, or maybe it's the new 
model.  too bad the raspi 2 doesn't.  this project should give it a boost. I 
think raspi has more mind share.


-Original Message- 
From: Anish Mangal

Sent: Wednesday, February 18, 2015 1:58 PM
To: xsce-devel ; server-devel
Subject: [XSCE] Banana-pi solar powered digital content library

Just came across this..

https://ict4dviewsfromthefield.wordpress.com/2015/02/01/lemaker-provides-banana-pis-and-generous-support-for-solar-digital-library-all-in-one-kit-project-and-for-maker-spaces/ 


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Re: Search engines and local git repos

2015-02-17 Thread Tim Moody
OK. That looks promising.  May want to leave out the zims.  iiab can take 
several days to index a single zim.




-Original Message- 
From: Anish Mangal

Sent: Tuesday, February 17, 2015 2:04 PM
To: xsce-de...@googlegroups.com ; server-devel
Subject: Re: [XSCE] Re: Search engines and local git repos

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

So in the settings sections I see a number of options

Web (which I guess would be html)
Database (SQL, Mongo)
Files
REST - not quite sure what this would do

Also there is this
https://github.com/opensearchserver/oss-text-extractor
(didn't check if it came bundled with the rpm - there's a separate rpm
from a different source as well). From the documentation

- 

An open source RESTFul Web Service for text extraction and analysis.
oss-text-extractor supports various binary formats.

   Word processor (doc, docx, odt, rtf)
   Spreadsheet (xls, xlsx, ods)
   Presentation (ppt, pptx, odp)
   Publishing (pdf, pub)
   Web (rss, html/xhtml)
   Medias (audio, images)
   Others (vsd, text, markdown)

- 

Seems quite useful.

Also, I think the usefulness of a search engine would go up when there
is more student/teacher generated content.

Cheers,
Anish



On Wednesday 18 February 2015 12:27 AM, Tim Moody wrote:

The problem with indexing is that it's a lot easier with text
files (like html) than binary files like pdf, doc, zim, etc.  iiab
and kiwix can both index zims, which is how we search wikis, but a
lot of our content is in binary files.  A quick look at
opensearchserver makes me think they mainly do html.


-Original Message- From: Anish Mangal Sent: Tuesday,
February 17, 2015 1:37 PM To: server-devel ; xsce-devel Subject:
[XSCE] Re: Search engines and local git repos

FWIW, I haven't checked for the existence of ARM packages. For
OpenSearchServer, the major dependency seemed to be java, so it
might not be quite so difficult there. (I hope)

Not sure of gitlab.

On Tuesday 17 February 2015 11:41 PM, Anish Mangal wrote:

Hi,



So I've been playing around with various things which might be
added to the XSCE and the two that I came across which seem
quite straightforward to setup are (basically installing an rpm
package and 1-2 small config steps)



1. OpenSearchServer - An offline search engine for content on
the XSCE



http://www.opensearchserver.com/



Use case: There may be tons of content stored under many
different web services on the xsce. Instead of going through each
service and manually searching/browsing, one may simply want to
.. 'google' :)



Caveat(s): * Crawling seems a cpu intensive process, but with
proper scheduling, it could be handled * Havent tested with IIAB
files yet. If anyone has an IIAB dataset online, please let me
know



My experiments:



* I basically installed the rpm a f21 VM and it works out of the
box! Has a detailed admin interface which basically controls
behavior to search and index webpages, databases, mailboxes etc.
and present to the user as a simple search box



Next step:



* Playbook





2. gitlab - github for the xsce



https://about.gitlab.com/



Does what it says on the cover .. limited use only if some kids
want to develop code



Possible integration with other projects like gitenberg (Seth
Woodworth) in the future... needs lots of exploration



My experiments:



* Install and test the provided rpm packages. Instructions
worked out of the box



Next step:



* Playbook




Thoughts, Anish



-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJU45DRAAoJEBoxUdDHDZVpD7oIAIBXi+oe9IGUOnKvoIE4hITe
k2nlgnVWoR3KlprH2KtFNhV6O/7+k8lvNkZJ4a/FwrGQcXmY060vqj2JFldpUHVw
wqsJS63PqL1rLxz+uQXT5juXyS6IZ+gwBXLPwV0+65M7cIucQBHRu2u+sLU2R+Pt
KM3CyUnaArUDxMUkJao9PchC7LtSmhcjaO0cljUIq/x3wKeMenmLOtZj/eYsn/7a
TX/PuQb2M9J8swydYu6ex3U9Nb6koJNSXInIxIOOmzCQvfaBSRxIGoU0ZhlaUIu0
pBSVNoQMuj15u4DAS1s/+HtVnNdoA0+nnNVrmqNOdFSECklZlgppaIK1G4DcD38=
=YOFB
-END PGP SIGNATURE- 


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Re: Search engines and local git repos

2015-02-17 Thread Tim Moody
The problem with indexing is that it's a lot easier with text files (like 
html) than binary files like pdf, doc, zim, etc.  iiab and kiwix can both 
index zims, which is how we search wikis, but a lot of our content is in 
binary files.  A quick look at opensearchserver makes me think they mainly 
do html.



-Original Message- 
From: Anish Mangal

Sent: Tuesday, February 17, 2015 1:37 PM
To: server-devel ; xsce-devel
Subject: [XSCE] Re: Search engines and local git repos

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

FWIW, I haven't checked for the existence of ARM packages. For
OpenSearchServer, the major dependency seemed to be java, so it might
not be quite so difficult there. (I hope)

Not sure of gitlab.

On Tuesday 17 February 2015 11:41 PM, Anish Mangal wrote:

Hi,

So I've been playing around with various things which might be
added to the XSCE and the two that I came across which seem quite
straightforward to setup are (basically installing an rpm package
and 1-2 small config steps)

1. OpenSearchServer - An offline search engine for content on the
XSCE

http://www.opensearchserver.com/

Use case: There may be tons of content stored under many different
web services on the xsce. Instead of going through each service
and manually searching/browsing, one may simply want to .. 'google'
:)

Caveat(s): * Crawling seems a cpu intensive process, but with
proper scheduling, it could be handled * Havent tested with IIAB
files yet. If anyone has an IIAB dataset online, please let me
know

My experiments:

* I basically installed the rpm a f21 VM and it works out of the
box! Has a detailed admin interface which basically controls
behavior to search and index webpages, databases, mailboxes etc.
and present to the user as a simple search box

Next step:

* Playbook



2. gitlab - github for the xsce

https://about.gitlab.com/

Does what it says on the cover .. limited use only if some kids
want to develop code

Possible integration with other projects like gitenberg (Seth
Woodworth) in the future... needs lots of exploration

My experiments:

* Install and test the provided rpm packages. Instructions worked
out of the box

Next step:

* Playbook


Thoughts, Anish


-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJU44pUAAoJEBoxUdDHDZVpdvgH/RQP2WRhSlhgG3btfp9Vy3f3
zn/68jCGHG1sGm6SzfNZ2e6FzLUDjXF9aKcScMXYF+6IN8V/D0zOs0eFGTPUUkRH
B+xCusBqAIBbnJrYxz6R0TOYT51BA+bZzknPzDa4EneiXQwxUcM23O0Op+hcGPT0
eUoIPYV6otvnjacNOMzDIdYcbL6hK2D7xjKwgTPvcShZ6qlZZTzh6S235tWYS1ES
AFAPBXs6rGTJUIQrj4qhlnt/0z2xzsdN4ym3/mexhssbH7F3m7IMO35J+TdjXa2m
Vd+G2YMJQBLLTql5EkW1UiJAZr4M2HtRp+3eK5Cf+hH/E5WUmhiLvO+r69WgBAo=
=DQwN
-END PGP SIGNATURE- 


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] copyright and licensing

2014-11-01 Thread Tim Moody
My original question had nothing to do with forking IIAB or using its code, but 
rather sought it as a model for including licensing in the code I write so as 
to make it usable by others.  In addition to choosing different licenses, the 
IIAB strategy is to include a license only at the top level of the tree, 
whereas OLPC had a license at the top of each module.

Having said all that, I think IIAB has modules that could be of interest to 
developers outside of IIAB as a whole.

Tim

From: Braddock Gaskill 
Sent: Saturday, November 01, 2014 7:20 PM
To: xsce-de...@googlegroups.com 
Cc: server-devel 
Subject: Re: [XSCE] copyright and licensing

You don't need our (IIAB) permission to relicense our software under GPL or 
AGPL because the BSD 2 clause license we are using is compatible with GPL 
forks.  BSD is gives more rights than GPL. 

That said, I'd strongly prefer no one forks our code base in that way and 
instead contribute back to the core IIAB project software (under a BSD license).

There is no reason BSD components and GPL components cannot co-exist, as they 
do everywhere else, assuming basic linking hygiene is used.  If you don't 
understand this post please don't make licensing decisions.

-braddock

On Fri, Oct 31, 2014 at 8:26 AM, Anish Mangal anishmangal2...@gmail.com wrote:

  GPL or AGPL? Can/Should we ask the IIAB maintainers and contributors for 
permission to license under GPL if it's not too complicated?

  On Oct 31, 2014 8:52 PM, Tim Moody t...@timmoody.com wrote:

I am starting to write larger chunks of code and wondering what copyright 
and licensing I should include.  Any suggestions welcome.  (In Canada copyright 
rests with the author unless it is relinquished.)

Most XS code has something like:

#  Copyright 2007, One Laptop per Child
#  Author: John Watlington
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.

IIAB has:

This software is licensed with the BSD 2-clause license
(See http://opensource.org/licenses/BSD-2-Clause)

Copyright (c) 2013, Humane Informatics LLC
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, 
this
list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright 
notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS 
AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 
USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Tim
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] copyright and licensing

2014-10-31 Thread Tim Moody
I am starting to write larger chunks of code and wondering what copyright and 
licensing I should include.  Any suggestions welcome.  (In Canada copyright 
rests with the author unless it is relinquished.)

Most XS code has something like:

#  Copyright 2007, One Laptop per Child
#  Author: John Watlington
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.

IIAB has:

This software is licensed with the BSD 2-clause license
(See http://opensource.org/licenses/BSD-2-Clause)

Copyright (c) 2013, Humane Informatics LLC
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Tim___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] raspi project

2014-10-16 Thread Tim Moody
I personally have not had much luck with Indiegogo as far as actually getting 
stuff is concerned, but an interesting project if rather expensive.

https://www.indiegogo.com/projects/pi-top-a-raspberry-pi-laptop-you-build-yourself

Tim___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] RFC - command server

2014-09-29 Thread Tim Moody
Because I want to get to a place where running ansible and loading content can 
be managed through an admin gui, I have started thinking about a command 
server, a sort of callable job queue.

I want to give certain admin users the ability to launch commands which run as 
root and may be long-running.  Such commands should survive a restart and it 
should be possible to monitor progress.

I am leaning towards the following approach:

1. A command server based on ZeroMQ implemented as a systemd service which is 
always running as root.
2. Input to the command server is through a unix domain socket which is owned 
by root and rw only for anyone in a group whose members are apache and probably 
xsce-admin.
3. The command server uses sqlite for persistent storage owned by root and rw 
by owner.  Probably the schema distinguishes between command requests and jobs.
4. A php or python script invoked by an ajax call from the admin gui invokes a 
command on the command server. The gui would be user/password protected.
5. The command server parses the request and checks if it has already been 
requested.
If the command is new:
6. The command server logs the command into persistent storage and immediately 
returns a response with probably OK or Error depending.
7. It translates it into a shell command based on internal logic.  It NEVER 
simply executes a command it gets from the gui.
8. The command server forks a child which runs the appropriate command in 
background, returns its pid, and terminates.  The pid is put in persistent 
storage.
If the command is a duplicate:
9. The command server verifies that the command is running and to the extent 
possible its percent of completion and returns status to the caller.
10. There would also be status commands to return a list of current jobs or 
status of an active job and perhaps jobs marked active that are not running.
11. If the command server crashes or the system is restarted, the command 
server attempts to restart active jobs.

Possible commands are:

rsync-iiab-content – copy various iiab files to their destination in /library.  
The source is a parameter, but not the destination to keep from copying malware 
into /usr/bin, etc.  Some attempt would also be made to verify the source to 
prevent malicious content.
rsync-rachel-content – similar
rsynce-kiwix-content – the list could grow
runtag
runansible
reboot

Tim___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [IIAB] iiab on xo-4

2014-07-26 Thread Tim Moody
Thanks.  This got me past the /tmp space problem, but now I have a new problem.

If for some reason,  such as mirrors unavailable, /bin/pip install -U -b 
/piptmp --use-mirrors Internet-in-a-Box fails and I rerun I get

Found existing installation: MarkupSafe 0.18
  Uninstalling MarkupSafe:
Successfully uninstalled MarkupSafe
Running setup.py install for markupsafe
  Traceback (most recent call last):
File string, line 1, in module
  ImportError: No module named setuptools

In /usr/lib/python2.7/site-packages/ I have
-rw-r--r--  2 root root144 Nov  2  2007 setuptools-0.6c11-py2.7.egg-info
-rw-r--r--  2 root root 34 Nov  2  2007 setuptools.pth

I can also get a variant of the problem 

ImportError: No module named pkg_resources, which I believe is part of 
setuptools.

I tried yum erase python-pip python-devel  gcc xz-devel  mod_wsgimod_xsendfile 
and then reinstalled, assuming that setuptools must be part of one of these 
packages, but that did not solve the problem.

I tried yum install python-setuptools, but that did not solve the problem 
either.

Any help is welcome.

Tim

From: Braddock Gaskill 
Sent: Friday, July 25, 2014 5:25 PM
To: Internet In a Box Working Group 
Cc: XSCE/xsce ; server-devel 
Subject: Re: [IIAB] iiab on xo-4

Hi Tim, 
pip builds its packages in /tmp by default.  You can specify a different 
directory where you have enough disk space.

See http://stackoverflow.com/questions/10617198/pip-creates-build-directories

pip install -b customized_build_directory to specify another directory asbuild 
base directory, for example /tmp








On Fri, Jul 25, 2014 at 2:20 PM, Tim Moody t...@timmoody.com wrote:

  We switched xsce to using pip instead of rpms to install iiab in order to get 
the latest version.  However, during the install process on an xo-4 I get 
IOError: [Errno 28] No space left on device.  I notice that /tmp has 0 bytes 
available.  It’s contents are

  drwxr-xr-x 17 root root 340 Jul 25 21:03 pip-build-root
  drwx--  2 root root  60 Jul 25 21:02 pip-nd2tVc-unpack
  drwx--  3 root root  60 Jul 25 20:56 systemd-private-Dn2ozM
  drwx--  3 root root  60 Jul 25 20:56 systemd-private-m5Or2z

  Any suggestions?  We didn’t get this error when using rpms.  Is there an easy 
way to build the rpms?

  I tried cloning https://github.com/braddockcg/internet-in-a-box.git

  and running internet-in-a-box/scripts/build_rpms.sh

  but I got

  iiab_id_rsa private key must be in current directory

  Tim
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [IIAB] iiab on xo-4

2014-07-26 Thread Tim Moody
I found pkg_resources.py and setuptools in /piptmp, which seems wrong, but I 
don’t know why it is there and how to cause it to install where I assume it 
should be in /usr/lib/python2.7/site-packages/.

Tim

From: Tim Moody 
Sent: Saturday, July 26, 2014 10:44 AM
To: Internet In a Box Working Group 
Cc: server-devel@lists.laptop.org ; xsce-devel 
Subject: Re: [IIAB] iiab on xo-4

Thanks.  This got me past the /tmp space problem, but now I have a new problem.

If for some reason,  such as mirrors unavailable, /bin/pip install -U -b 
/piptmp --use-mirrors Internet-in-a-Box fails and I rerun I get

Found existing installation: MarkupSafe 0.18
  Uninstalling MarkupSafe:
Successfully uninstalled MarkupSafe
Running setup.py install for markupsafe
  Traceback (most recent call last):
File string, line 1, in module
  ImportError: No module named setuptools

In /usr/lib/python2.7/site-packages/ I have
-rw-r--r--  2 root root144 Nov  2  2007 setuptools-0.6c11-py2.7.egg-info
-rw-r--r--  2 root root 34 Nov  2  2007 setuptools.pth

I can also get a variant of the problem 

ImportError: No module named pkg_resources, which I believe is part of 
setuptools.

I tried yum erase python-pip python-devel  gcc xz-devel  mod_wsgimod_xsendfile 
and then reinstalled, assuming that setuptools must be part of one of these 
packages, but that did not solve the problem.

I tried yum install python-setuptools, but that did not solve the problem 
either.

Any help is welcome.

Tim

From: Braddock Gaskill 
Sent: Friday, July 25, 2014 5:25 PM
To: Internet In a Box Working Group 
Cc: XSCE/xsce ; server-devel 
Subject: Re: [IIAB] iiab on xo-4

Hi Tim, 
pip builds its packages in /tmp by default.  You can specify a different 
directory where you have enough disk space.

See http://stackoverflow.com/questions/10617198/pip-creates-build-directories

pip install -b customized_build_directory to specify another directory asbuild 
base directory, for example /tmp








On Fri, Jul 25, 2014 at 2:20 PM, Tim Moody t...@timmoody.com wrote:

  We switched xsce to using pip instead of rpms to install iiab in order to get 
the latest version.  However, during the install process on an xo-4 I get 
IOError: [Errno 28] No space left on device.  I notice that /tmp has 0 bytes 
available.  It’s contents are

  drwxr-xr-x 17 root root 340 Jul 25 21:03 pip-build-root
  drwx--  2 root root  60 Jul 25 21:02 pip-nd2tVc-unpack
  drwx--  3 root root  60 Jul 25 20:56 systemd-private-Dn2ozM
  drwx--  3 root root  60 Jul 25 20:56 systemd-private-m5Or2z

  Any suggestions?  We didn’t get this error when using rpms.  Is there an easy 
way to build the rpms?

  I tried cloning https://github.com/braddockcg/internet-in-a-box.git

  and running internet-in-a-box/scripts/build_rpms.sh

  but I got

  iiab_id_rsa private key must be in current directory

  Tim
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] iiab on xo-4

2014-07-25 Thread Tim Moody
We switched xsce to using pip instead of rpms to install iiab in order to get 
the latest version.  However, during the install process on an xo-4 I get 
IOError: [Errno 28] No space left on device.  I notice that /tmp has 0 bytes 
available.  It’s contents are

drwxr-xr-x 17 root root 340 Jul 25 21:03 pip-build-root
drwx--  2 root root  60 Jul 25 21:02 pip-nd2tVc-unpack
drwx--  3 root root  60 Jul 25 20:56 systemd-private-Dn2ozM
drwx--  3 root root  60 Jul 25 20:56 systemd-private-m5Or2z

Any suggestions?  We didn’t get this error when using rpms.  Is there an easy 
way to build the rpms?

I tried cloning https://github.com/braddockcg/internet-in-a-box.git

and running internet-in-a-box/scripts/build_rpms.sh

but I got

iiab_id_rsa private key must be in current directory

Tim___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [IIAB] iiab on xo-4

2014-07-25 Thread Tim Moody
this looks promising

Tim

From: Braddock Gaskill 
Sent: Friday, July 25, 2014 5:25 PM
To: Internet In a Box Working Group 
Cc: XSCE/xsce ; server-devel 
Subject: Re: [IIAB] iiab on xo-4

Hi Tim, 
pip builds its packages in /tmp by default.  You can specify a different 
directory where you have enough disk space.

See http://stackoverflow.com/questions/10617198/pip-creates-build-directories

pip install -b customized_build_directory to specify another directory asbuild 
base directory, for example /tmp








On Fri, Jul 25, 2014 at 2:20 PM, Tim Moody t...@timmoody.com wrote:

  We switched xsce to using pip instead of rpms to install iiab in order to get 
the latest version.  However, during the install process on an xo-4 I get 
IOError: [Errno 28] No space left on device.  I notice that /tmp has 0 bytes 
available.  It’s contents are

  drwxr-xr-x 17 root root 340 Jul 25 21:03 pip-build-root
  drwx--  2 root root  60 Jul 25 21:02 pip-nd2tVc-unpack
  drwx--  3 root root  60 Jul 25 20:56 systemd-private-Dn2ozM
  drwx--  3 root root  60 Jul 25 20:56 systemd-private-m5Or2z

  Any suggestions?  We didn’t get this error when using rpms.  Is there an easy 
way to build the rpms?

  I tried cloning https://github.com/braddockcg/internet-in-a-box.git

  and running internet-in-a-box/scripts/build_rpms.sh

  but I got

  iiab_id_rsa private key must be in current directory

  Tim
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] xsce-tests

2014-07-22 Thread Tim Moody
I have created an xsce-tests git repo with scripts to assist in testing the 
schoolserver.

Please look at https://github.com/XSCE/xsce-tests/blob/master/README.md for 
details.

The scripts are installed on a test XO by copying the contents of the Run-on-XO 
directory to the root of a usb stick and booting the XO with it.

This will install scripts into both /root and /home/olpc.

It has only been tested with an XO-1 running 12.1.0.

There are also utility scripts to connect to an AP and start sshd.

Tim___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] pathagar

2014-07-01 Thread Tim Moody
I am commenting it out for now.  In 5.0 it is in roles/xsce-addons/meta/main.yml

dependencies:
   - { role: iiab, tags: ['iiab','addons'] }
#   - { role: pathagar, tags: ['pathagar','addons'] }   

subsequently it is in

roles/7-edu-apps/meta/main.yml

Tim

From: German Ruiz - FundacionZT 
Sent: Tuesday, July 01, 2014 3:36 PM
To: Tim Moody 
Cc: xsce-devel ; server-devel@lists.laptop.org 
Subject: Re: [Server-devel] pathagar

​2014-06-28 15:19 GMT-06:00 Tim Moody t...@timmoody.com:
  I now see a failure as below every time I runansible, even on a fast machine 
and fast network.

  TASK: [pathagar | Install pathagar requirements in a virtualenv] 
**
  changed: [127.0.0.1] = (item=Django==1.4.5)
  changed: [127.0.0.1] = (item=django-tagging==0.3.1)
  failed: [127.0.0.1] = (item=django-sendfile==0.3.0) = {cmd: 
/usr/local/pathagar/venv/bin/pip install --use-mirrors 
django-sendfile==0.3.0, failed: true, item: django-sendfile==0.3.0}
  msg: stdout: Downloading/unpacking django-sendfile==0.3.0
  You are installing a potentially insecure and unverifiable file. Future 
versions of pip will default to disallowing insecure files.
  Error urlopen error [Errno 1] _ssl.c:504: error:14077410:SSL 
routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure while getting 
https://github.com/downloads/johnsensible/django-sendfile/django-sendfile-0.3.0.tar.gz
 (from https://github.com/johnsensible/django-sendfile/downloads)

  Tim

  ___
  Server-devel mailing list
  Server-devel@lists.laptop.org
  http://lists.laptop.org/listinfo/server-devel


Hello

​I have the same problem, when i run ./runansible, always get stuck on this 
part, with same error.

Also when i run ansible-playbook -i ansible_hosts xsce.yml --connection=local 
--tags=pathagar​

Is there any way to avoid the pathagar part?



I try to set up a xsce for initial testing on Nexcom NISE 104[0] device.


[0] 
http://www.nexcom.com/Products/industrial-computing-solutions/industrial-fanless-computer/atom-compact/fanless-computer-nise-104


--  
​German Ruíz​
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] pathagar

2014-07-01 Thread Tim Moody
That's the problem.  How do I fix it?  I have seen posting about patching 
python.


Tim
-Original Message- 
From: Sameer Verma

Sent: Tuesday, July 01, 2014 5:03 PM
To: xsce-devel
Cc: XS Devel
Subject: Re: [XSCE] pathagar

On Sat, Jun 28, 2014 at 2:19 PM, Tim Moody t...@timmoody.com wrote:
I now see a failure as below every time I runansible, even on a fast 
machine

and fast network.

TASK: [pathagar | Install pathagar requirements in a virtualenv]
**
changed: [127.0.0.1] = (item=Django==1.4.5)
changed: [127.0.0.1] = (item=django-tagging==0.3.1)
failed: [127.0.0.1] = (item=django-sendfile==0.3.0) = {cmd:
/usr/local/pathagar/venv/bin/pip install --use-mirrors
django-sendfile==0.3.0, failed: true, item: django-sendfile==0.3.0}
msg: stdout: Downloading/unpacking django-sendfile==0.3.0
 You are installing a potentially insecure and unverifiable file. Future
versions of pip will default to disallowing insecure files.
 Error urlopen error [Errno 1] _ssl.c:504: error:14077410:SSL
routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure while 
getting

https://github.com/downloads/johnsensible/django-sendfile/django-sendfile-0.3.0.tar.gz
(from https://github.com/johnsensible/django-sendfile/downloads)

Tim





SSL handshake error?

Sameer 


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] pathagar

2014-07-01 Thread Tim Moody
That's the problem.  How do I fix it?  I have seen posting about patching 
python.


Tim
-Original Message- 
From: Sameer Verma

Sent: Tuesday, July 01, 2014 5:03 PM
To: xsce-devel
Cc: XS Devel
Subject: Re: [XSCE] pathagar

On Sat, Jun 28, 2014 at 2:19 PM, Tim Moody t...@timmoody.com wrote:
I now see a failure as below every time I runansible, even on a fast 
machine

and fast network.

TASK: [pathagar | Install pathagar requirements in a virtualenv]
**
changed: [127.0.0.1] = (item=Django==1.4.5)
changed: [127.0.0.1] = (item=django-tagging==0.3.1)
failed: [127.0.0.1] = (item=django-sendfile==0.3.0) = {cmd:
/usr/local/pathagar/venv/bin/pip install --use-mirrors
django-sendfile==0.3.0, failed: true, item: django-sendfile==0.3.0}
msg: stdout: Downloading/unpacking django-sendfile==0.3.0
 You are installing a potentially insecure and unverifiable file. Future
versions of pip will default to disallowing insecure files.
 Error urlopen error [Errno 1] _ssl.c:504: error:14077410:SSL
routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure while 
getting

https://github.com/downloads/johnsensible/django-sendfile/django-sendfile-0.3.0.tar.gz
(from https://github.com/johnsensible/django-sendfile/downloads)

Tim





SSL handshake error?

Sameer 


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] pathagar

2014-07-01 Thread Tim Moody
That's the problem.  How do I fix it?  I have seen posting about patching 
python.


Tim
-Original Message- 
From: Sameer Verma

Sent: Tuesday, July 01, 2014 5:03 PM
To: xsce-devel
Cc: XS Devel
Subject: Re: [XSCE] pathagar

On Sat, Jun 28, 2014 at 2:19 PM, Tim Moody t...@timmoody.com wrote:
I now see a failure as below every time I runansible, even on a fast 
machine

and fast network.

TASK: [pathagar | Install pathagar requirements in a virtualenv]
**
changed: [127.0.0.1] = (item=Django==1.4.5)
changed: [127.0.0.1] = (item=django-tagging==0.3.1)
failed: [127.0.0.1] = (item=django-sendfile==0.3.0) = {cmd:
/usr/local/pathagar/venv/bin/pip install --use-mirrors
django-sendfile==0.3.0, failed: true, item: django-sendfile==0.3.0}
msg: stdout: Downloading/unpacking django-sendfile==0.3.0
 You are installing a potentially insecure and unverifiable file. Future
versions of pip will default to disallowing insecure files.
 Error urlopen error [Errno 1] _ssl.c:504: error:14077410:SSL
routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure while 
getting

https://github.com/downloads/johnsensible/django-sendfile/django-sendfile-0.3.0.tar.gz
(from https://github.com/johnsensible/django-sendfile/downloads)

Tim





SSL handshake error?

Sameer 


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] pathagar

2014-07-01 Thread Tim Moody
That's the problem.  How do I fix it?  I have seen posting about patching 
python.


Tim
-Original Message- 
From: Sameer Verma

Sent: Tuesday, July 01, 2014 5:03 PM
To: xsce-devel
Cc: XS Devel
Subject: Re: [XSCE] pathagar

On Sat, Jun 28, 2014 at 2:19 PM, Tim Moody t...@timmoody.com wrote:
I now see a failure as below every time I runansible, even on a fast 
machine

and fast network.

TASK: [pathagar | Install pathagar requirements in a virtualenv]
**
changed: [127.0.0.1] = (item=Django==1.4.5)
changed: [127.0.0.1] = (item=django-tagging==0.3.1)
failed: [127.0.0.1] = (item=django-sendfile==0.3.0) = {cmd:
/usr/local/pathagar/venv/bin/pip install --use-mirrors
django-sendfile==0.3.0, failed: true, item: django-sendfile==0.3.0}
msg: stdout: Downloading/unpacking django-sendfile==0.3.0
 You are installing a potentially insecure and unverifiable file. Future
versions of pip will default to disallowing insecure files.
 Error urlopen error [Errno 1] _ssl.c:504: error:14077410:SSL
routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure while 
getting

https://github.com/downloads/johnsensible/django-sendfile/django-sendfile-0.3.0.tar.gz
(from https://github.com/johnsensible/django-sendfile/downloads)

Tim





SSL handshake error?

Sameer 


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] xo registration on xsce

2014-06-30 Thread Tim Moody
An xo 1.5 flashed with stock 32013o1.zd is unable to register with xsce, 
even if I explicitly enter schoolserver(.lan) in network settings.  When 
flashed with stock 21021o1.zd it registers even without manual changes to 
network settings.


Tim

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] xsce-local

2014-06-29 Thread Tim Moody
I created https://github.com/XSCE/xsce-local to hold local changes to 
ansible-installed files.  The idea is that there would be a branch for 
different installs, such as the current round in Haiti, but not for each 
schoolserver.

Tim___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


  1   2   3   >