Re: [Server-devel] [XSCE] 1TB microSD

2019-03-02 Thread Anish Mangal
wouldn't wanna lose one :)

but seriously, this would be interesting from the pov of shipping around
large IIAB content collections

On Mon, Feb 25, 2019 at 10:32 PM Sameer Verma  wrote:

> Looks like 1 terrabyte microSD cards are coming.
>
>
> https://www.theverge.com/circuitbreaker/2019/2/25/18239433/1tb-microsd-card-sandisk-micron-price-release
>
> Sameer
>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Install Internet Archive server on IIAB

2019-02-24 Thread Anish Mangal
Hi Mitra,

Depending on the mode of IIAB install (Gateway, Appliance, Lancontroller)
and a setting in a vars file, some iptables rules are setup that may hinder
access and maybe causing you this issue.

I would request that you open an issue at https://github.com/iiab/iiab

Could you post the output of iptables-save
Could you also post the contents of these two files
* /etc/iiab/iiab.env
* /etc/iiab/iiab.ini

~Anish

On Mon, Feb 25, 2019 at 6:58 AM Mitra Ardron  wrote:

> I've made a lot of progress on dweb-mirror and can now run a small version
> of the Internet Archive (IA) server on a Rachel3+ or on a RPi (installed on
> a raw RPi running NOOBS,
>
> I'm now trying to put it on top of IIAB  on Raspbian :-), getting IIAB to
> work was non-trivial and I'm surprised non-geeks succeed, if you like I can
> write up the notes I took with some suggestions. Anyway it appears to be
> working fine now.
>
> I've installed dweb-mirror on it, *BUT* its not responding as it does on
> other platforms. I'm wondering, are you running some sort of firefall on
> the box?  I'm trying to go to either
>
> http://box.lan:4244 or http://192.168.0.7:4244 either of which should be
> working, but the server is not seeing any attempts to connect.
>
> I'm suspecting a firewall because "ssh 192.168.0.9" works but neither
> "ping 192.168.0.9" nor curl "http://192.168.0.9:4244;
>  work.
>
> - Mitra
>
>
>
> --
> Mitra Ardron - mi...@mitra.biz
> Technical Lead, Decentralized web project at Internet Archive
> Australia +61-491-082515; US Signal Telegram Whatsapp +15104231767.
> In Australia till 28 Feb 2019
>
> ___
> 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


[Server-devel] Include jupyter in schoolserver

2017-05-02 Thread Anish Mangal
Hi,

Jupyter seems like a very nice tool to help start teching kids' programming
in python. You can see a demo here:

https://try.jupyter.org/

Thoughts on including this in schoolserver?

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


Re: [Server-devel] [XSCE] auditing our "IIAB/XSCE 6.2 Networking" overview

2017-02-23 Thread Anish Mangal
Apparently.. both :)

https://www.voip-info.org/wiki/view/Asterisk+firewall+rules

On Thu, Feb 23, 2017 at 9:59 PM, Sameer Verma <sve...@sfsu.edu> wrote:

> Anish,
>
> 5060 for SIP is UDP and TCP, or UDP only?
>
> Sameer
>
> On Thu, Feb 23, 2017 at 10:55 AM, Anish Mangal <anis...@umich.edu> wrote:
>
>> fwiw. I am using asterisk on my installs (port 5060) and ports in the
>> range 1:2
>>
>> On Thu, Feb 23, 2017 at 12:08 AM, Adam Holt <h...@laptop.org> wrote:
>>
>>> Are all the reserved ports here still in actual/ongoing use?
>>>
>>> Protocol Port Service
>>> TCP 22 sshd
>>> TCP 80 httpd-xs
>>> TCP 631 cups
>>> TCP 873 xs-rsync (xinetd)
>>> TCP 3000 kiwix-serve
>>> TCP 3128 squid / dansguardian
>>> TCP 3130 squid
>>> TCP 5000 xs-authserver
>>> TCP 4369,47893,5280,5222,5223 ejabberd-xs
>>> TCP 8000 sugar-stats-server
>>> TCP 8008 kalite-serve
>>> TCP 8080 idmgr
>>> TCP 8089 sugarizer
>>> TCP 27018 mongodb
>>>
>>> Any suggestions for ports we should remove from this list, as
>>> infrequently used in 2017 and onwards?  Just checking with all *(no
>>> matter how far afield, your experiences matter, including security
>>> recommendations)* as I continue to clean up our Networking overview doc
>>> just prior to Internet-in-a-Box 6.2's release:
>>>
>>>https://github.com/XSCE/xsce/wiki/IIAB-Networking
>>>
>>> With this new reference alongside, thanks to George:
>>>
>>>https://github.com/XSCE/xsce/wiki/IIAB-Architecture (might later be
>>> renamed!?)
>>>
>>
>>
>>
>> --
>> Anish
>>
>>
>>
>
>
> --
> Sameer Verma, Ph.D.
> Professor, Information Systems
> San Francisco State University
> http://verma.sfsu.edu/
>



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


Re: [Server-devel] [XSCE] auditing our "IIAB/XSCE 6.2 Networking" overview

2017-02-23 Thread Anish Mangal
fwiw. I am using asterisk on my installs (port 5060) and ports in the range
1:2

On Thu, Feb 23, 2017 at 12:08 AM, Adam Holt  wrote:

> Are all the reserved ports here still in actual/ongoing use?
>
> Protocol Port Service
> TCP 22 sshd
> TCP 80 httpd-xs
> TCP 631 cups
> TCP 873 xs-rsync (xinetd)
> TCP 3000 kiwix-serve
> TCP 3128 squid / dansguardian
> TCP 3130 squid
> TCP 5000 xs-authserver
> TCP 4369,47893,5280,5222,5223 ejabberd-xs
> TCP 8000 sugar-stats-server
> TCP 8008 kalite-serve
> TCP 8080 idmgr
> TCP 8089 sugarizer
> TCP 27018 mongodb
>
> Any suggestions for ports we should remove from this list, as infrequently
> used in 2017 and onwards?  Just checking with all *(no matter how far
> afield, your experiences matter, including security recommendations)* as
> I continue to clean up our Networking overview doc just prior to
> Internet-in-a-Box 6.2's release:
>
>https://github.com/XSCE/xsce/wiki/IIAB-Networking
>
> With this new reference alongside, thanks to George:
>
>https://github.com/XSCE/xsce/wiki/IIAB-Architecture (might later be
> renamed!?)
>



-- 
Anish
___
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-17 Thread Anish Mangal
Another update. Thanks to awesome work by Terry Gillett, I have the same
thing working now just on a tiny AR150 wireless router. This means, among
other things:
1. You can have a WiFi+GSM telephone network just with mesh nodes - no
schoolserver needed.
2. If you have a schoolserver, you can benefit from the additional features
like voice mailbox. However, you need not have the dongle plugged into the
schoolserver anymore. the dongle can be plugged into a mesh node which can
be far away from the schoolserver, and there will be an asterisk trunk
(over WiFi) between that mesh node and the schoolserver. This is useful
since in a village community that doesnt have mobile connectivity, you
would typically place the schoolserver centrally in the village, while the
mesh nodes which are physically, and power-footprint wise tiny, and much
more durable (in terms of temperatures they can handle) can be far away (in
an area where there is GSM connectivity).

We are still doing multiple tests around this to figure out quality of
service, etc., but the PoC works.


On Sat, Feb 11, 2017 at 9:33 PM, Tim Moody <t...@timmoody.com> wrote:

> Very impressive.  Are the details somewhere?
>
> On Fri, Feb 10, 2017 at 11:34 PM, Anish Mangal <anis...@umich.edu> 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
>>
>>
>>
>


-- 
Anish
___
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 Anish Mangal
I guess I could look at upstream asterisk on the iiab if that'd be of any
use. Its going to be a bit of work, since I had to compile it on my end,
and I had done it on centos7 from which we are moving away from.

On Sat, Feb 11, 2017 at 10:00 PM, Anish Mangal <anis...@umich.edu> wrote:

> I can put together a small howto if that would help?
>
> On Sat, Feb 11, 2017 at 9:33 PM, Tim Moody <t...@timmoody.com> wrote:
>
>> Very impressive.  Are the details somewhere?
>>
>> On Fri, Feb 10, 2017 at 11:34 PM, Anish Mangal <anis...@umich.edu> 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
>>>
>>>
>>>
>>
>
>
> --
> Anish
>
>
>


-- 
Anish
___
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 Anish Mangal
I can put together a small howto if that would help?

On Sat, Feb 11, 2017 at 9:33 PM, Tim Moody <t...@timmoody.com> wrote:

> Very impressive.  Are the details somewhere?
>
> On Fri, Feb 10, 2017 at 11:34 PM, Anish Mangal <anis...@umich.edu> 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
>>
>>
>>
>


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


Re: [Server-devel] [UKids] Re: [XSCE] overhauling our FAQ for Internet-in-a-Box/XSCE 6.2 !

2017-02-10 Thread Anish Mangal
Yes, I stand corrected! :)

Will def test as soon as I get hold of an intel NUC :)

On Thu, Feb 9, 2017 at 9:38 PM, Adam Holt <h...@laptop.org> wrote:

> On Tue, Feb 7, 2017 at 11:10 PM, Anish Mangal <anis...@umich.edu> wrote:
>
>> Can someone also confirm whether this release will have the
>> auto-networking-setup magic sauce? Based on what George said, it wont be
>> there.
>>
>
> This code ("self-configuring networking") should still be there but
> untested, please try it!  (There was no intention to remove any
> functionality!)
>
> Caveat: Corner Cases have always existed, but may possibly work worse on
> Debian/Raspbian, than some of the hairier network plumbing topologies of
> the past ;)
>
>
>> So, for me, this is (a major regression and) mostly a testing release.
>> Hopefully it gets re-implemented in future releases.
>>
>> Also, is intel NUC/x86_64 supported "officially" in this release? Is i686
>> also officially supported (older intel/amd computers)?
>>
>
> Do try a 32-bit install too if you can Anish?
>
> (e.g. soft-coding of OS-dependent paths dating from Fedora 18 on XO
> laptops might not all work on Ubuntu 32-bit etc?)
>
> On Tue, Feb 7, 2017 at 12:56 AM, Adam Holt <h...@laptop.org> wrote:
>>
>>> In anticipation of IIAB/XSCE 6.2 RC2 (Release Candidate 2) that George &
>>> Tim are releasing as we speak, after busting their asses for months with
>>> amazing improvements(*) I've rewritten these items within
>>> http://schoolserver.org/FAQ :
>>>
>>>- 4 Can teachers display their own content?
>>>
>>> <http://wiki.laptop.org/go/XS_Community_Edition/FAQ#Can_teachers_display_their_own_content.3F>
>>>- 13 How do I customize my school server's start page?
>>>
>>> <http://wiki.laptop.org/go/XS_Community_Edition/FAQ#How_do_I_customize_my_school_server.27s_start_page.3F>
>>>- 16 How do I know what version of XSCE I'm running?
>>>
>>> <http://wiki.laptop.org/go/XS_Community_Edition/FAQ#How_do_I_know_what_version_of_XSCE_I.27m_running.3F>
>>>
>>> Tim & All, can you please help me improve #13 especially!
>>>
>>> (*) the many fixes & improvements of IIAB/XSCE 6.2 still need to be
>>> written up, it's true!  For some early hints, see:
>>>
>>> https://github.com/xsce/xsce/commits/release-6.2
>>>
>>> *And oh yeah, IIAB/XSCE 6.2 RC1 and increasingly RC2 images are
>>> available here :-)*
>>>
>>>http://www.xsce.org/downloads/xsce-release-6.2/rpi/
>>>
>>> Of course click on README.html and I recommend these two images
>>> especially:
>>>
>>>-170202_pixel_jan11_.img.zip   (4.3GB Feb 2, if you want X
>>>Windows & Pixel desktop apps, by George Hunt)
>>>-raspbian-lite-content-ready-2017-2-4.img.zip   (3.1GB Feb 4, if
>>>you don't want X Windows & Pixel desktop apps, by Tim Moody)
>>>
>>> Do feel free to try both if you have time, and enough MicroSD cards?  As
>>> they've been created by two different people, with different implementation
>>> styles.  Or if you're hardcore, don't hesitate to “install from scratch”
>>> onto Debian 8.7.1 following these instructions:
>>>
>>>https://github.com/XSCE/xsce/wiki/XSCE-Installation#do-every
>>> thing-from-scratch
>>>
>>>
>>> *Regardless, let us know how it goes!!  Do join us Thur 10:30AM NYC Time
>>> if you can (http://tinyurl.com/xsceminutes
>>> <http://tinyurl.com/xsceminutes>) to talk this over live!*
>>>
>>
>>
>>
>> --
>> Anish
>>
>>
>> --
>> 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.
>> 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.
> For more options, visit https://groups.google.com/d/optout.
>



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


Re: [Server-devel] [XSCE] overhauling our FAQ for Internet-in-a-Box/XSCE 6.2 !

2017-02-07 Thread Anish Mangal
Can someone also confirm whether this release will have the
auto-networking-setup magic sauce? Based on what George said, it wont be
there.

So, for me, this is (a major regression and) mostly a testing release.
Hopefully it gets re-implemented in future releases.

Also, is intel NUC/x86_64 supported "officially" in this release? Is i686
also officially supported (older intel/amd computers)?


On Tue, Feb 7, 2017 at 12:56 AM, Adam Holt  wrote:

> In anticipation of IIAB/XSCE 6.2 RC2 (Release Candidate 2) that George &
> Tim are releasing as we speak, after busting their asses for months with
> amazing improvements(*) I've rewritten these items within
> http://schoolserver.org/FAQ :
>
>- 4 Can teachers display their own content?
>
> 
>- 13 How do I customize my school server's start page?
>
> 
>- 16 How do I know what version of XSCE I'm running?
>
> 
>
> Tim & All, can you please help me improve #13 especially!
>
> (*) the many fixes & improvements of IIAB/XSCE 6.2 still need to be
> written up, it's true!  For some early hints, see:
>
> https://github.com/xsce/xsce/commits/release-6.2
>
> *And oh yeah, IIAB/XSCE 6.2 RC1 and increasingly RC2 images are available
> here :-)*
>
>http://www.xsce.org/downloads/xsce-release-6.2/rpi/
>
> Of course click on README.html and I recommend these two images especially:
>
>-170202_pixel_jan11_.img.zip   (4.3GB Feb 2, if you want X Windows
>& Pixel desktop apps, by George Hunt)
>-raspbian-lite-content-ready-2017-2-4.img.zip   (3.1GB Feb 4, if
>you don't want X Windows & Pixel desktop apps, by Tim Moody)
>
> Do feel free to try both if you have time, and enough MicroSD cards?  As
> they've been created by two different people, with different implementation
> styles.  Or if you're hardcore, don't hesitate to “install from scratch”
> onto Debian 8.7.1 following these instructions:
>
>https://github.com/XSCE/xsce/wiki/XSCE-Installation#do-every
> thing-from-scratch
>
>
> *Regardless, let us know how it goes!!  Do join us Thur 10:30AM NYC Time
> if you can (http://tinyurl.com/xsceminutes
> ) to talk this over live!*
>



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


Re: [Server-devel] [XSCE] Intel NUC v/s Gigabyte BRIX

2017-01-21 Thread Anish Mangal
Adam, Tony,

Thanks. The reason for asking this question was pure economics. The BRIX is
$20 cheaper than the NUC from where we can buy it. So if there are no
problems short or long term with the BRIX, would like to purchase that.

The NUC is a nice device, but if we can get similar performance at lower
price, I am all for that.

In terms of battery, if anyone is interested in experimenting dead laptop
battery packs to make battery packs for NUC, please ping me. I have been
experimenting with the same :)

On Sun, Jan 22, 2017 at 10:37 AM, Tony Anderson <tony_ander...@usa.net>
wrote:

> Hi, Anish
>
> I have deployed both (several versions of each). I also deploy Zotac. The
> internal hardware is identical so it really doesn't matter. There are
> variations in hdmi connector, number of usb 3.0 ports, whether or not there
> is vga and so on. Most recent configurations include a built-in wifi which
> is helpful. The important parameters are the size of the hard drive
> (minimum 1TB) and memory (4GB minimum and as much as possible).
>
> Currently XSCE is configured to use the built in wifi as an access point.
> In deployments which have access to the internet, it would be convenient to
> have this set up to accept dhcp and to select a hotspot. Using the RJ45
> port to access the internet makes it awkward to use to set up the LAN. We
> generally assume the RJ45 port provides the best support for the LAN and
> that the internet should be accessed via a usb-ethernet adapter or access
> by a wifi hotspot.
>
> Current laptops are equipped with a 1TB drive which makes them an
> interesting alternative. They need to be configured to continue operation
> with the lid closed. However, the laptop provides a convenient built in UPS
> and enables installation using the builtin monitor and keyboard.
>
> Tony
>
>
> On 01/20/2017 12:24 PM, Anish Mangal wrote:
>
>> Dear folks,
>>
>> If anyone here has experience of having used both these devices in the
>> field, which one would you recommend .. if the performance specs
>> (processor, RAM, etc.) were the same.
>>
>> Best,
>> Anish
>>
>>
>>
>


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


[Server-devel] Intel NUC v/s Gigabyte BRIX

2017-01-20 Thread Anish Mangal
Dear folks,

If anyone here has experience of having used both these devices in the
field, which one would you recommend .. if the performance specs
(processor, RAM, etc.) were the same.

Best,
Anish
___
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 Anish Mangal
Thx. got past that, now hitting the error in the previous email I sent.

On Sun, Jan 15, 2017 at 8:15 PM, Tim Moody <t...@timmoody.com> wrote:

>
>
>
> --
> *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
>
>


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


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

2017-01-15 Thread Anish Mangal
Okay, used pip to upgrade ansible to 2.2

Now failing at:
TASK [network : Add location section to config file]
***
fatal: [127.0.0.1]: FAILED! => {"failed": true, "msg": "'xsce_network_mode'
is undefined"}


On Sun, Jan 15, 2017 at 6:30 PM, Anish Mangal <anis...@umich.edu> wrote:

> some more log, after looking at http://etherpad.mit.edu/p/XSCE_on_RPi3
>
> # git remote add upstream https://github.com/XSCE/xsce
> # git pull upstream raspbian-6.1
> # git checkout --track remotes/upstream/raspbian-6.1
> # ./runansible
>
>
>
>
>
> *./install-init: line 11: [: 0: unary operator expectedERROR: become is
> not a legal parameter at this level in an Ansible PlaybookRunning local
> playbooks! ERROR: become is not a legal parameter at this level in an
> Ansible Playbook*
>  I guess it is still the ansible version playing tricks.
>
> * Which branch of xsce should I be on?
> * What is the correct ansible version? How do I install it?
>
> On Sun, Jan 15, 2017 at 6:22 PM, Anish Mangal <anis...@umich.edu> wrote:
>
>> 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]
>> # apt-get install vim git ansible [success]
>> # 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?
>>
>>
>
>
> --
> Anish
>
>
>


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


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

2017-01-15 Thread Anish Mangal
some more log, after looking at http://etherpad.mit.edu/p/XSCE_on_RPi3

# git remote add upstream https://github.com/XSCE/xsce
# git pull upstream raspbian-6.1
# git checkout --track remotes/upstream/raspbian-6.1
# ./runansible





*./install-init: line 11: [: 0: unary operator expectedERROR: become is not
a legal parameter at this level in an Ansible PlaybookRunning local
playbooks! ERROR: become is not a legal parameter at this level in an
Ansible Playbook*
 I guess it is still the ansible version playing tricks.

* Which branch of xsce should I be on?
* What is the correct ansible version? How do I install it?

On Sun, Jan 15, 2017 at 6:22 PM, Anish Mangal <anis...@umich.edu> wrote:

> 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]
> # apt-get install vim git ansible [success]
> # 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?
>
>


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


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

2017-01-15 Thread Anish Mangal
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]
# apt-get install vim git ansible [success]
# 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?
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] ethercalc

2017-01-09 Thread Anish Mangal
Just a small heads up. It looks like ethercalc has improved by leaps, and
might be an interesting future addition to xsce

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


Re: [Server-devel] [XSCE] xsce on centos/rpi3

2016-12-13 Thread Anish Mangal
Are we supporting two OSes or switching to debian as base?

Supporting two OSes sounds too (two) cumbersome. The latter would make more
sense if indeed it is happening.

For what release is this scheduled?

On Tue, Dec 13, 2016 at 2:50 PM, Adam Holt <h...@laptop.org> wrote:

> On Tue, Dec 13, 2016 at 3:07 AM, Adam Holt <h...@laptop.org> wrote:
>
>> On Mon, Dec 12, 2016 at 9:04 PM, Anish Mangal <anis...@umich.edu> wrote:
>>
>>> Hi,
>>>
>>> Wondering if anyone has tried installing XSCE on centos on rpi3, and
>>> faced issues. Planning to try this out now that I have rpi3's
>>>
>>
>> Not yet.  Most of us are using Raspbian (see Nov 30's
>> https://www.raspberrypi.org/blog/a-security-update-for-raspbian-pixel/)
>>
>
> Just FYI a new development is that a growing number of kickass deployments
> are asking me for the full Raspian ("Pixel" takes up 3GB more disk "Lite"
> version, likewise its zip/download is 1.1GB larger) as it provides an
> increasingly well-rounded learning suite for remote teachers/techs/kids to
> learn Linux & much more:
>
>http://downloads.raspberrypi.org/raspbian/release_notes.txt
>
> Aside: currently lacking Sugar regrettably, and not quite as well packaged
> for educators as those other Brits @ https://twitter.com/teamkano.
> Naturally there are other deployments that do not want these 3GB of
> learning/IT tools, as things boot faster without, and traditionalists do
> not want visual tools (X Windows).
>
> In essence it took half a decade, but the $35 computer is now unleashing a
> lot of field innovation across these 2 categories primarily:
> 1) "one RPi3 per child" deployments who require modern visual tools on
> each RPi3 (and can afford a cheap LCD per child/seat)
> 2) "one RPi3 server per classroom" deployments (who may or may not be able
> to afford an LCD or projector for the teacher)
>
> Of course there are many of both types of learning communities above and
> others, who do not always see eye to eye (imagine that, another culture
> war, what a surprise ;)  So our Mission is to encourage maximum
> cross-fertilization across these most practical scenarios--wherever we can,
> despite not-invented-here bubbles of innovation--embracing creative
> cross-collaboration / proven best practices as a larger force than
> infantile infighting, across an entire planet of fantastically passionate
> grassroots implementers~
>
> In many cases Sugarizer-on-XSCE/IIAB can provide a partial answer.  But
> Tony Anderson is correct to remind us Sugarizer does not yet provide nearly
> as rich an experience as full Sugar.  Meantime all educators cry out for
> platform stability that constructionism ironically relies on, so
> http://wiki.laptop.org/go/Release_notes/13.2.8 on XO laptops is a big
> step forward with Sugar 0.110, thanks to James Cameron!
>
> or FedBerry (http://fedberry.org) as HW/networking support (Bluetooth,
>> WiFi, etc) is far better.
>>
>> In future CentOS may catch up; these 3 people are certainly trying:
>> https://lists.centos.org/pipermail/centos/2016-December/162276.html
>>
>>
>>> Best,
>>> Anish
>>>
>>
>> --
>> Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
>>
>
>
>
> --
> Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
>



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


[Server-devel] xsce on centos/rpi3

2016-12-12 Thread Anish Mangal
Hi,

Wondering if anyone has tried installing XSCE on centos on rpi3, and faced
issues. Planning to try this out now that I have rpi3's

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


Re: [Server-devel] (probably) the world's highest solar powered schoolserver and mesh setup

2016-12-11 Thread Anish Mangal
Mikko wrote some more about the Leh installation. Here is part two.

[Things I Learned Building the Skynet PART 2 — How to Eat Dust]
https://medium.com/@skynet.admin/things-i-learned-building-the-skynet-part-2-how-to-eat-dust-1a0c78a48fc7#.oc1bzbwcs

I also just returned from a month long trip to spiti valley (adjoining to
Ladakh, 14000ft, -10C) teaching locals to setup mesh networks and
schoolservers. It looks like they are setting those up in a couple of
villages in the valley.

Back in Dharamsala now improving the resilience of these devices and the
QoS of mesh networks.


On Fri, Sep 9, 2016 at 9:57 AM, Anish Mangal <anis...@umich.edu> wrote:

> Yes, we plan to put a temp & humidity logger in the box next time we
> deploy this (or maybe put one in these boxes). Frankly we didnt do much
> testing other than waterproofing testing before deploying this so would be
> very interesting to see how it holds up in the cold winters.
>
> Right now, we just used the buck converter with panel and without battery
> so the node switches off every evening.
>
> Thanks for sharing the paper, will go through it.
>
> On Thu, Sep 8, 2016 at 3:17 AM, James Cameron <qu...@laptop.org> wrote:
>
>> Good reading, thanks.  Looking forward to more.
>>
>> The clear bottle packaging of the routers in the photographs is
>> interesting.  Looking at the climate data for Leh;
>>
>> https://en.wikipedia.org/wiki/Leh#Climate
>>
>> my guess is that the bottle will make a good thermal environment;
>> spending the most time within the temperature range of the router.
>> Router radios become less sensitive as temperature increases.
>>
>> Charting inside and outside temperature would be interesting.
>>
>> At high altitudes my caution would suggest a watchdog circuit for the
>> DC to DC converter, to switch it off and then on again if the router
>> isn't responding.  Especially where batteries are used.  Where no
>> battery is used, a node will restart next morning, and that may be
>> enough to handle the more frequent single event upsets.
>>
>> http://www.dfrsolutions.com/pdfs/2004_HighAltitude_Hillman-Blattau.pdf
>>
>> --
>> James Cameron
>> http://quozl.netrek.org/
>> ___
>> Server-devel mailing list
>> Server-devel@lists.laptop.org
>> http://lists.laptop.org/listinfo/server-devel
>>
>
>
>
> --
> Anish
>
>
>


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


[Server-devel] ntp-server

2016-12-06 Thread Anish Mangal
Hi,

Quick question. Does the XSCE have a playbook to be setup as an NTP server?

In mesh networks, it might be nice to have the mesh nodes get their time
from XSCE (if it has an RTC).

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


Re: [Server-devel] [XSCE] Re: Test image with asterisk/freepbx (SIP) and coova/radius captive portal

2016-10-24 Thread Anish Mangal
I would love some help with that (upstreaming), but so far there has been
little interest in the PR
https://github.com/XSCE/xsce/pull/804

There needs to be discussion about approach -- how it would affect the xsce
networking. It needs input from people who designed most of the xsce
networking over the past 3 yrs :)

On Mon, Oct 24, 2016 at 6:18 PM, Adam Holt <h...@laptop.org> wrote:

> Anish,
>
> How far away do you think we are from implementing a radio button in
> XSCE's Admin Console, enabling Captive Portal for all (less literate
> communities especially) who need it?
>
> Presumably customizable to http://box or whatever that
> location/organization wants?
>
> Adam
>
> On Oct 24, 2016 8:26 AM, "Anish Mangal" <anis...@umich.edu> wrote:
>
>> Also, this is setup in LanController mode and will NOT work as an
>> internet gateway, as I messed on purpose with bind configuration :-) . If
>> you would like to undo the (damage), just rerun the network setup. However,
>> captive portal will not work in offline mode if you do so.
>>
>> On Mon, Oct 24, 2016 at 5:54 PM, Anish Mangal <anis...@umich.edu> wrote:
>>
>>> If anyone wants to test out what a radius/coova based captive portal and
>>> asterisk might look like on an xsce, feel free to try this image out
>>>
>>> This is a filezilla savedisk image, so you will need that to restore it.
>>> This is meant for a 1TB HDD, and I have it working on a NUC5CPYH.
>>>
>>> 125.23.112.6/2016-10-21-02-img-nosquid-asterisk-freepbx-capt
>>> ive-working.tar
>>>
>>> --
>>> Anish
>>>
>>>
>>>
>>
>>
>> --
>> Anish
>>
>>
>>


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


Re: [Server-devel] Test image with asterisk/freepbx (SIP) and coova/radius captive portal

2016-10-24 Thread Anish Mangal
Also, this is setup in LanController mode and will NOT work as an internet
gateway, as I messed on purpose with bind configuration :-) . If you would
like to undo the (damage), just rerun the network setup. However, captive
portal will not work in offline mode if you do so.

On Mon, Oct 24, 2016 at 5:54 PM, Anish Mangal <anis...@umich.edu> wrote:

> If anyone wants to test out what a radius/coova based captive portal and
> asterisk might look like on an xsce, feel free to try this image out
>
> This is a filezilla savedisk image, so you will need that to restore it.
> This is meant for a 1TB HDD, and I have it working on a NUC5CPYH.
>
> 125.23.112.6/2016-10-21-02-img-nosquid-asterisk-freepbx-
> captive-working.tar
>
> --
> Anish
>
>
>


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


[Server-devel] Test image with asterisk/freepbx (SIP) and coova/radius captive portal

2016-10-24 Thread Anish Mangal
If anyone wants to test out what a radius/coova based captive portal and
asterisk might look like on an xsce, feel free to try this image out

This is a filezilla savedisk image, so you will need that to restore it.
This is meant for a 1TB HDD, and I have it working on a NUC5CPYH.

125.23.112.6/2016-10-21-02-img-nosquid-asterisk-freepbx-captive-working.tar

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


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

2016-10-20 Thread Anish Mangal
22/noon is possible, and 24/11am is too.. 23/1pm might be a bit too late
for me

On Thu, Oct 20, 2016 at 8:02 PM, Adam Holt <h...@laptop.org> wrote:

> 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" <anis...@umich.edu> wrote:
>
> bump?
>
> On Thu, Oct 13, 2016 at 7:00 AM, Anish Mangal <anis...@umich.edu> 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
>
>
>
>


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


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

2016-10-20 Thread Anish Mangal
bump?

On Thu, Oct 13, 2016 at 7:00 AM, Anish Mangal <anis...@umich.edu> 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


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

2016-10-18 Thread Anish Mangal
For what it's worth, I also got asterisk and freepbx to work (atleast on
centos). It is definitely has more features than kamailio.. and allows for
stuff like voicemail, which can be especially useful in environments with
flakey connectivity. :-)

It might take a bit of time to package as I will be travelling soon, but it
is promising that it is working. :)

On Sun, Oct 16, 2016 at 10:47 AM, Alex Kleider <aklei...@sonic.net> wrote:

> On 2016-10-15 13:02, Sameer Verma wrote:
>
>> On Fri, Oct 14, 2016 at 5:12 PM, Anish Mangal <anis...@umich.edu> wrote:
>>
>>> Following from:
>>> http://www.en.voipforo.com/IAX/IAXvsSIP.php
>>>
>>> If SIP is using a server signaling messages always pass through the
>>> server
>>> but audio messages (RTP flow) can travel end to end without passing
>>> through
>>> the server. In IAX, signaling and data must pass always through IAX
>>> server.
>>> This increases the bandwidth need by the IAX servers when there are many
>>> simultaneous calls.
>>>
>>>
>>> This is a big drawback of IAX it seems, especially in a mesh setup,
>>> where in
>>> many cases, the available bandwidth between clients may be higher via
>>> direct
>>> node routes compared with the bandwidth via the server route. It seems
>>> SIP
>>> will utilize the network more efficiently in a mesh topology.
>>>
>>> Yesterday we were testing this on the server, and two nodes with three
>>> client. The data was being sent directly client -- node -- node --
>>> client,
>>> and virtually no bandwidth was being used on the server. :)
>>>
>>
>> Not always the case. One of my students worked on her thesis where she
>> set up a bunch of XO-1 laptops over a 802.11s (draft) mesh and tested
>> simultaneous calls to look for saturation, etc.
>> https://www.dropbox.com/sh/0gszp4447j1g2qn/AAAxdUv_tNbstjzmD
>> 6BI1-jla/tilila-moujahid-thesis.pdf?dl=0
>>
>> I'll see if I can find the actual thesis.
>>
>> Sameer
>>
>
>
>
> Tilila El Moujahid presented her set up at one of the annual olpc-SF
> summits held a few years ago.
> The next summit is coming up soon.
>



-- 
Anish
___
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 Anish Mangal
This looks interesting, but I would prefer to stick with SIP

Reason:
1. It is extremely scalable from running on tiny openWRT routers to big
servers
2. It is supported by a large number of free/open clients on ALL platforms.
There is also a webRTC socket for it.

The only current drawback of Kamailio right now, is there dont seem to be
ootb rpms available for arm. If there is a SIP server out there with ARM
packages, would love to test it, or otherwise - compile kamailio for ARM


On Sat, Oct 15, 2016 at 6:08 AM, Joel Steres <joel.ste...@ymobility.com>
wrote:

> Does webrtc fit your use case? http://peerjs.com is one.
>
> On Oct 14, 2016 5:12 PM, "Anish Mangal" <anis...@umich.edu> wrote:
>
>> Following from:
>> http://www.en.voipforo.com/IAX/IAXvsSIP.php
>>
>> *If SIP is using a server* signaling messages always pass through the
>> server but *audio messages (RTP flow) can travel end to end without
>> passing through the server. In IAX, signaling and data must pass always
>> through IAX server. *This increases the bandwidth need by the IAX
>> servers when there are many simultaneous calls.
>>
>>
>> This is a big drawback of IAX it seems, especially in a mesh setup, where
>> in many cases, the available bandwidth between clients may be higher via
>> direct node routes compared with the bandwidth via the server route. It
>> seems SIP will utilize the network more efficiently in a mesh topology.
>>
>> Yesterday we were testing this on the server, and two nodes with three
>> client. The data was being sent directly client -- node -- node -- client,
>> and virtually no bandwidth was being used on the server. :)
>>
>> On Sat, Oct 15, 2016 at 5:07 AM, Anish Mangal <anis...@umich.edu> wrote:
>>
>>> Will look into IAX2. Is it supported by apps on different clients? For
>>> SIP, there are usually many client options available on various platforms.
>>>
>>> On Fri, Oct 14, 2016 at 9:22 PM, Sameer Verma <sve...@sfsu.edu> wrote:
>>>
>>>> What server/service are you using? Look at IAX2 as well. Usually IAX2
>>>> does better on networks because unlike SIP, session initiation and voice
>>>> call happen on the same port.
>>>>
>>>> Sameer
>>>>
>>>> On Oct 14, 2016 4:48 AM, "Anish Mangal" <anis...@umich.edu> wrote:
>>>>
>>>>> 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
>>>>>
>>>>>
>>>>>
>>>
>>>
>>> --
>>> Anish
>>>
>>>
>>>
>>
>>
>> --
>> Anish
>>
>>
>>


-- 
Anish
___
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 Anish Mangal
Following from:
http://www.en.voipforo.com/IAX/IAXvsSIP.php

*If SIP is using a server* signaling messages always pass through the
server but *audio messages (RTP flow) can travel end to end without passing
through the server. In IAX, signaling and data must pass always through IAX
server. *This increases the bandwidth need by the IAX servers when there
are many simultaneous calls.


This is a big drawback of IAX it seems, especially in a mesh setup, where
in many cases, the available bandwidth between clients may be higher via
direct node routes compared with the bandwidth via the server route. It
seems SIP will utilize the network more efficiently in a mesh topology.

Yesterday we were testing this on the server, and two nodes with three
client. The data was being sent directly client -- node -- node -- client,
and virtually no bandwidth was being used on the server. :)

On Sat, Oct 15, 2016 at 5:07 AM, Anish Mangal <anis...@umich.edu> wrote:

> Will look into IAX2. Is it supported by apps on different clients? For
> SIP, there are usually many client options available on various platforms.
>
> On Fri, Oct 14, 2016 at 9:22 PM, Sameer Verma <sve...@sfsu.edu> wrote:
>
>> What server/service are you using? Look at IAX2 as well. Usually IAX2
>> does better on networks because unlike SIP, session initiation and voice
>> call happen on the same port.
>>
>> Sameer
>>
>> On Oct 14, 2016 4:48 AM, "Anish Mangal" <anis...@umich.edu> wrote:
>>
>>> 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
>>>
>>>
>>>
>
>
> --
> Anish
>
>
>


-- 
Anish
___
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 Anish Mangal
Will look into IAX2. Is it supported by apps on different clients? For SIP,
there are usually many client options available on various platforms.

On Fri, Oct 14, 2016 at 9:22 PM, Sameer Verma <sve...@sfsu.edu> wrote:

> What server/service are you using? Look at IAX2 as well. Usually IAX2 does
> better on networks because unlike SIP, session initiation and voice call
> happen on the same port.
>
> Sameer
>
> On Oct 14, 2016 4:48 AM, "Anish Mangal" <anis...@umich.edu> wrote:
>
>> 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
>>
>>
>>


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


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

2016-10-14 Thread Anish Mangal
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


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

2016-10-12 Thread Anish Mangal
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
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Proposal: Edit openVPN config through the admin console

2016-10-12 Thread Anish Mangal
Related: Displaying the openVPN client IP in the admin console would also
be great :-)

On Thu, Oct 13, 2016 at 6:55 AM, Anish Mangal <anis...@umich.edu> wrote:

> Hi,
>
> Currently, we have openVPN on the XSCE pointing to the openVPN server on
> unleashkids.org by default. Different deployments might want to setup
> their own servers to manage various schoolserver installs, so it would make
> sense to allow some kind of editing of the openVPN config via the admin
> console.
>
> Ideally, being able to edit the openVPN conf, and add keys would be good
> starting points?
>
> I would also be happy to share an ubuntu vagrant box configured as an
> openVPN server, if anyone would find it useful.
>
> Thoughts?
>
> --
> Anish
>
>
>


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


[Server-devel] Proposal: Edit openVPN config through the admin console

2016-10-12 Thread Anish Mangal
Hi,

Currently, we have openVPN on the XSCE pointing to the openVPN server on
unleashkids.org by default. Different deployments might want to setup their
own servers to manage various schoolserver installs, so it would make sense
to allow some kind of editing of the openVPN config via the admin console.

Ideally, being able to edit the openVPN conf, and add keys would be good
starting points?

I would also be happy to share an ubuntu vagrant box configured as an
openVPN server, if anyone would find it useful.

Thoughts?

-- 
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-07 Thread Anish Mangal
It might be possible to create selections , as the apps are categorized.

On Fri, Oct 7, 2016 at 7:45 PM, Anish Mangal <anis...@umich.edu> wrote:

> Based on a quick chat on #irc.. the repo has over 2000 apps with 3 apks on
> avg per app, and sizes in the range 1-20MB. Total size in the 100GB
> ballpark. MIrroring doesnt sound too complicated
>
> On Fri, Oct 7, 2016 at 4:25 AM, Tim Moody <t...@timmoody.com> wrote:
>
>> 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> 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>
>>> Date: 10/4/16 11:06 AM (GMT-08:00)
>>> To: server-devel <server-devel@lists.laptop.org>, xsce-devel <
>>> 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
>>
>>
>>
>
>
> --
> Anish
>
>
>


-- 
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 Anish Mangal
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> 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>
> Date: 10/4/16 11:06 AM (GMT-08:00)
> To: server-devel <server-devel@lists.laptop.org>, xsce-devel <
> 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


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

2016-10-04 Thread Anish Mangal
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
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] elgg setup fails: no settings.example.php

2016-10-04 Thread Anish Mangal
https://github.com/XSCE/xsce/issues/805

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


Re: [Server-devel] Captive portal implementation based on radius, coovachilli

2016-10-03 Thread Anish Mangal
I updated the PR so that it takes care of all setup/enabling/disabling when
the playbooks are run.

The playbook will exit if squid and dansguardian are enabled, and have no
effect on the system.

On Sun, Oct 2, 2016 at 1:29 PM, Anish Mangal <anis...@umich.edu> wrote:

> Here is the PR for **testing only**. Please follow the instructions in the
> PR to test.
>
> https://github.com/XSCE/xsce/pull/804
>
> Currently, I dont have resources to build packages for ARM. I tried on
> koji, but it only seems to do aarch64 and not armv7l
>
> Ideas/thoughts welcome!
>
> --
> Anish
>
>
>


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


[Server-devel] Captive portal implementation based on radius, coovachilli

2016-10-02 Thread Anish Mangal
Here is the PR for **testing only**. Please follow the instructions in the
PR to test.

https://github.com/XSCE/xsce/pull/804

Currently, I dont have resources to build packages for ARM. I tried on
koji, but it only seems to do aarch64 and not armv7l

Ideas/thoughts welcome!

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


[Server-devel] Permission to add packages to xsce repo

2016-10-01 Thread Anish Mangal
As part of the effort of building a captive portal, I have created a couple
of rpm packages instead of compling them from source during installation. I
would like to:

1. Request the packages to be added to the repo.
2. The packages are currently complied for i386, x86_64 for f22-24, and
x86_64 for el7. The packages NEED to be compiled for ARM. So, if somebody
has a buildsystem in place, I can just share the .spec file, otherwise I
will setup a ARM packager.

The two packages in question are:
coova-chilli --- the captive portal (~700kb)
haserl --- a dependency of the above (~20kb)

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


Re: [Server-devel] [XSCE] Fwd: Release 6.1 of XSCE

2016-09-24 Thread Anish Mangal
Congratulations on a solid release! Onwards towards 6.2 and beyond :)

On Thu, Sep 22, 2016 at 9:55 PM, George Hunt  wrote:

>
> It's been 6 months since release 6.0, and the XSCE team has been busy.
>
> What's New?
>
>- Calibre -- A tool for managing a library of eBooks, modifying their
>file formats, adding search terms, and making them available online.
>- Wordpress -- A content management system which gives students
>experience with editing wiki pages, blogs, menuing systems, and which is
>widely used.
>- Dokuwiki -- An alternate wiki system, similar to wordpress, but less
>popular, which makes transferring wiki materials easy from one school
>server to another.
>- Sugarizer -- Makes some of the sugar activities available to browser
>clients on laptops, and smart phones/tablets.
>- CUPS -- Common Unix Printing System provides the ability to connect
>to and share network or USB connected printers.
>
> What's Upgraded?
>
>- Moodle is now upgraded to version 3.1, the most recent (long term
>support) version that will be supported until May 2019.
>- Elgg -- A social networking application is upgraded to 2.1.
>- Owncloud -- Permits sharing of all kinds of content between clients
>of a local server that is not internet connected (version 9).
>
> *Install Instructions: *
>
>
>- https://github.com/XSCE/xsce/blob/master/ReleaseNotes6.1.md
>- https://github.com/XSCE/xsce/wiki/XSCE-Installation
>
> *Downloads:*
>
>
>- Rpi3 -- http://www.xsce.org/downloads/xsce-release-6.1/rpi/
>- Fedora x86_64 iso:http://www.xsce.org/downloads/xsce-release-6.1/nuc-
>liveiso/
>
>
>


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


Re: [Server-devel] Captive portal updates

2016-09-19 Thread Anish Mangal
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> wrote:

>
>
> On Mon, Sep 19, 2016 at 8:54 PM, Anish Mangal <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-wireles
>> s-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 straightforward on centos, so either the same can be
>> done for ARM, but long term i think packages would be wonderful :-)
>>
>> All in all, this definitely looks like an approach worth pursuing :)
>>
>> Cheers,
>> Anish
>>
>>
>
>
> --
> Anish
>
>
>


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


Re: [Server-devel] Captive portal updates

2016-09-19 Thread Anish Mangal
On Mon, Sep 19, 2016 at 8:54 PM, Anish Mangal <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 straightforward on centos, so either the same can be
> done for ARM, but long term i think packages would be wonderful :-)
>
> All in all, this definitely looks like an approach worth pursuing :)
>
> Cheers,
> Anish
>
>


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


Re: [Server-devel] Running the 0-once xsce set of playbooks

2016-09-14 Thread Anish Mangal
Okay, it seems as if removing/renaming /etc/xsce/xsce.env did the trick :)

On Wed, Sep 14, 2016 at 9:17 PM, Anish Mangal <anis...@umich.edu> wrote:

> Hi,
>
> I was trying to test PR#771
> https://github.com/XSCE/xsce/pull/771/files
>
> But it looks as if running ./install-console after pulling in the files
> results in this:
> TASK: [1-prep | set_fact ] 
> 
>
> fatal: [127.0.0.1] => One or more undefined variables: 'dict object' has
> no attribute 'squid_dir'
>
> FATAL: all hosts have already failed -- aborting
>
>
> Looking at the code, it seems as if 0-once were to run again, this problem
> would be fixed. Any idea how I can do that?  Is there a better fix?
>
> Best,
> Anish
>
>
>
>


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


[Server-devel] Running the 0-once xsce set of playbooks

2016-09-14 Thread Anish Mangal
Hi,

I was trying to test PR#771
https://github.com/XSCE/xsce/pull/771/files

But it looks as if running ./install-console after pulling in the files
results in this:
TASK: [1-prep | set_fact ]

fatal: [127.0.0.1] => One or more undefined variables: 'dict object' has no
attribute 'squid_dir'

FATAL: all hosts have already failed -- aborting


Looking at the code, it seems as if 0-once were to run again, this problem
would be fixed. Any idea how I can do that?  Is there a better fix?

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


Re: [Server-devel] (probably) the world's highest solar powered schoolserver and mesh setup

2016-09-08 Thread Anish Mangal
Yes, we plan to put a temp & humidity logger in the box next time we deploy
this (or maybe put one in these boxes). Frankly we didnt do much testing
other than waterproofing testing before deploying this so would be very
interesting to see how it holds up in the cold winters.

Right now, we just used the buck converter with panel and without battery
so the node switches off every evening.

Thanks for sharing the paper, will go through it.

On Thu, Sep 8, 2016 at 3:17 AM, James Cameron  wrote:

> Good reading, thanks.  Looking forward to more.
>
> The clear bottle packaging of the routers in the photographs is
> interesting.  Looking at the climate data for Leh;
>
> https://en.wikipedia.org/wiki/Leh#Climate
>
> my guess is that the bottle will make a good thermal environment;
> spending the most time within the temperature range of the router.
> Router radios become less sensitive as temperature increases.
>
> Charting inside and outside temperature would be interesting.
>
> At high altitudes my caution would suggest a watchdog circuit for the
> DC to DC converter, to switch it off and then on again if the router
> isn't responding.  Especially where batteries are used.  Where no
> battery is used, a node will restart next morning, and that may be
> enough to handle the more frequent single event upsets.
>
> http://www.dfrsolutions.com/pdfs/2004_HighAltitude_Hillman-Blattau.pdf
>
> --
> James Cameron
> http://quozl.netrek.org/
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>



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


[Server-devel] Making new tilesets work with iiab

2016-09-03 Thread Anish Mangal
In this weeks call, the topic of rendering the new metatile sets came up.
To make the new metatile sets work, the following needs to be changed in

*/usr/lib/python2.7/site-packages/iiab/map_views.py*

the change is:

tileset = TileSet(path, 'default', METATILE=*64*, flatter=*True*)

to

tileset = TileSet(path, 'default', METATILE=*8*, flatter=*False*)

also make sure that the tileset folder are owned by apache

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


Re: [Server-devel] are NUC5i3RYH & NUC6i3SYH really limited to 12 WiFi clients??

2016-08-26 Thread Anish Mangal
FWIW, on an older 2nd gen NUC I also see max 10-12 connections on the WiFi.
I dont know if I have tried the latest kernel on that, so your finding is
atleast consistent with older gen NUCs.

Beyond that number of users, one should anyway consider a router.

Off the shelf routers like 701nd support around 15 users, but with openwrt
they have been reported to support upwards of 30.

On Sat, Aug 27, 2016 at 4:56 AM, James Cameron  wrote:

> Doesn't sound right.
>
> What happened to stop the test?
>
> Isn't the CentOS 7.2 kernel used in your test way older than the RPi3
> kernel?
>
> It would appear that CentOS 7.2 released with kernel 3.10 dated 30
> June 2013, with minimal changes patched into it since.  Perhaps it
> needs another fix.
>
> RPi3 kernel with Rasbian is 4.4 dated 1 November 2015.
>
> Bisect the problem broadly.  Try the latest kernel.
>
> There have been many wireless driver and wireless networking changes
> between the two kernels.  There's a possibility it may be one of them
> you have hit.
>
> --
> James Cameron
> http://quozl.netrek.org/
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>



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


Re: [Server-devel] Is XSCE a Sugar Labs project?

2016-08-23 Thread Anish Mangal
I cannot say about SL membership but the XSCE does certainly cater to
non-sugar audiences. Most of the XSCE deployments in India I know of are
non sugar based. That said, a lot of XSCE deployments also use sugar and
olpc laptops. Recent builds of XSCE also contain sugarizer, and the
software certainly has components which support sugar/olpc laptops like
jabber, moodle integration, journal backup, sugar stats (xovis)

Hope this helps.

On Mon, Aug 8, 2016 at 5:13 PM, Dave Crossland <d...@lab6.com> wrote:

>
> Hi
>
> In http://www.mail-archive.com/iaep@lists.sugarlabs.org/msg17326.html
> Caryl Bigenho <ca...@laptop.org> asked me to ask you all if you consider
> XSCE a Sugar Labs project.
>
> I'm assuming the answer is "no" but I was asked to confirm :)
>
> As a follow up question, is anyone contributing to XSCE _not_ a members of
> Sugar Labs?
>
> I see Adam Holt, George Hunt, Tim Moody, and Anish Mangal are already
> members; Jerry is not.
>
> Jerry, would you like to be a SL member?
>
> Would anyone else?
>
> --
> Cheers
> Dave
>
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>
>


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


Re: [Server-devel] [XSCE] 2 blog posts about Internet-in-a-Box this week!

2016-08-01 Thread Anish Mangal
Wonderful!

Possible to add these links to the map here?

https://umap.openstreetmap.fr/en/map/xsce-deployment-map_53609#2/19.0/-14.4

On Wed, Jul 27, 2016 at 6:52 PM, Adam Holt  wrote:

> Haiti / "Internet out of the Box" by Sora Edwards-Thro:
> https://kidswrite.org/2016/07/21/internet-out-of-the-box/
>
> Ghana / "Internet-in-a-Box Instruction guide" by Katie Henderson:
>
> http://technologyforghana.weebly.com/blog/internet-in-a-box-instruction-guide
>
> (with the obvious caveat that installation is evolving a year later, with
> the imminent XSCE 6.1 release etc!)
>



-- 
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 Anish Mangal
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 <m...@jvonau.ca> wrote:

>
>
> > On May 5, 2016 at 11:20 PM Anish Mangal <anis...@umich.edu> 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] Has anyone else seen squid swap.state bloat?

2016-05-05 Thread Anish Mangal
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?

Attached is the munin screenshot showing the increasing disk usage over
time. I deleted the file and things are back to normal - for now.

The xsce git hash is 9a072ead3da91b84e6db896554c50bfa37e7b4e6

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


Re: [Server-devel] [XSCE] rpi3 data points

2016-04-28 Thread Anish Mangal
Do you mean 32 simultaneous connections? That would be fantastic!

On Wed, Apr 27, 2016 at 11:54 PM, Tim Moody  wrote:

> 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.
>



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


Re: [Server-devel] [XSCE] Intel NUC Celeron 5th Generation

2016-04-08 Thread Anish Mangal
Yes I have been following some of the chatter around it, and thanks for the
heads up.

The model I am asking a second opinion for is a *5th* gen. Should be okay,
but still thought I'd ask. :-)

On Sat, Apr 9, 2016 at 1:23 AM, Adam Holt <h...@laptop.org> wrote:

> On Fri, Apr 8, 2016 at 3:57 AM, Tony Anderson <tony_ander...@usa.net>
> wrote:
>
>> Hi, Anish
>>
>> I didn't although it was one of the available options and less expensive.
>> The newer 'sixth generation' should be both faster and lower in power
>> consumption being based on a a new reduction in line-width. I have a 2820
>> which is deployed. The biggest problem there was overcoming the uefi
>> scam. George finally came up with the right solution - ignore it.
>
>
> Just a warning about Intel's 6th gen, still afflicted by WHEA errors even
> with the latest 0039 BIOS -- Intel is at last becoming more forthright
> about the problem now under public pressure -- posting a real update today,
> and promising a follow-up by April 15:
> http://nucblog.net/2016/04/skylake-i3-and-i5-nuc-whea-errors/
>
> And for the sky-is-falling tabloids & Cassandras, here's the money
> headline:
>
> "It seems that if your NUC exhibits these problems (frequent crashes with
> WHEA errors) it has already reached the point of no return. In that case
> you need to return the NUC to Intel for repair."
>
>
> Tony
>>
>>
>> On 04/08/2016 03:22 PM, Anish Mangal wrote:
>>
>>> Was wondering if anyone has tried this model of NUC
>>>
>>> http://ark.intel.com/products/85254/Intel-NUC-Kit-NUC5CPYH
>>>
>>> Its a 5th gen celeron processor, with a newer wifi chipset. The older
>>> model which works perfectly is this one
>>>
>>> http://ark.intel.com/products/78953/Intel-NUC-Kit-DN2820FYKH
>>>
>>> Curiously, they are priced exactly the same in the local market :)
>>>
>>> --
>>> Anish
>>>
>>> --
>>> Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
>>>
>>


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


[Server-devel] XSCE on NUC | 3g mini pcie/m2 dongles

2016-04-08 Thread Anish Mangal
Hi,

Was wondering if anyone has any experiences mounting mini pcie based 3g/4g
dongles inside a NUC and could recommend certain models for the price
sensitive deployer.

I was looking at
http://www.gl-inet.com/product/quectel-uc20-3g-mini-pcie-gps/

or something like that. the NUC apparently has mini pcie (half/full sized)
or M2 depending on the model

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


[Server-devel] Intel NUC Celeron 5th Generation

2016-04-08 Thread Anish Mangal
Was wondering if anyone has tried this model of NUC

http://ark.intel.com/products/85254/Intel-NUC-Kit-NUC5CPYH

Its a 5th gen celeron processor, with a newer wifi chipset. The older model
which works perfectly is this one

http://ark.intel.com/products/78953/Intel-NUC-Kit-DN2820FYKH

Curiously, they are priced exactly the same in the local market :)

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


Re: [Server-devel] [XSCE] Anish, r u aware of http://OpenBTS.org ? (Open Base Transceiver Station)

2016-04-07 Thread Anish Mangal
Yes, am aware, but GSM requires a license, and other associated issues.
WiFi on the other hand is more or less unlicensed (upto certain power
levels and usages)

On Thu, Apr 7, 2016 at 9:14 PM, Adam Holt  wrote:

> This seems to have slipped thru the conversation of our weekly call just
> now ended (minutes @ http://tinyurl.com/xsceminutes).
>
> Or perhaps https://en.wikipedia.org/wiki/OpenBTS may be more than you are
> shooting for in your village meshes?
>
> FWIW Indonesian kids/guys I met had Swedish cellphone numbers "for
> essentially nothing" as a result of the above.
>



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


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

2015-08-16 Thread Anish Mangal
Just to chime in, as has been already noted the max file size on a FAT32
system is 4GB. Some of the files we deal with are much larger than that.
Ex. the Zim files for TED talks etc. are 8GB+ in size. Now we could always
break them into smaller chunks, but that is another step.

--
Anish


On Mon, Aug 17, 2015 at 9:44 AM, James Cameron qu...@laptop.org wrote:

 On Sun, Aug 16, 2015 at 11:24:23PM -0400, Adam Holt wrote:
  On balance, SD Card industry standard exFAT seems (to me) more
  future-proof for a hassle-free grassroots content partition over
  coming years,
  [...]

 If you're able to control the desktops and laptops that will be used
 to add or remove content, sure, but exFAT is quite recent as far as
 remote villages are concerned; what will you do when you get teachers
 who can't even open it?  Any systems with unpatched XP or Vista will
 be affected.  Any Mac earlier than 10.6.5 too.

 --
 James Cameron
 http://quozl.linux.org.au/

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] [XSCE] Email smarthost and an online server

2015-02-08 Thread Anish Mangal
Nice thread. Not quoting others as the thread was followed only on
xsce-devel and not server-devel (which is the public list)

Given the interest I'll work towards an email server/smarthost setup since
this does seem to be a requirement. Of course having clients which can
store emails on xos or other machines are useful but beyond the scope of
what needs to run on the server. Will bundle it with a basic web client so
it is at least usable.

Cheers,
Anish
On Feb 8, 2015 10:12 AM, Anish Mangal anis...@umich.edu wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi,

 I was wondering if anyone's tried to run an email smarthost on the
 schoolserver which communicates with an always-online server as a way
 of giving users the capability to send/receive emails. Combine that
 with a basic webclient like squirrelmail, and we have email capability
 on the xsce.

 Thoughts?

 Cheers,
 Anish

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1

 iQEcBAEBAgAGBQJU1ukfAAoJEBoxUdDHDZVpxZQH/0CwvaJFqcBuE3D7uSJeBjWO
 +/NkylYsN9uF1F0MZAQzrs5NjvPKGLaXiZ3iqT4LbV2pLsBFaWIX530Vgz9db4Jy
 rMe7QWtW89kEG+sjGl1aoBm9qf8IhKj5VvBh9BCK4RfekiiYSkX2iAC6UCshiPa3
 smVbeIsNZjYOLbcoGDsC2MJivV8/luXi3C/zliMpku2iiXTUQdttgaCFPciDF5Mh
 yM4qNryJ9vVkvgsbehdIMRsec/ed6iPaZBbRn+vu5ZBbGaMMTHqm0rY+i99XXM+D
 UpSwQd1q9P0bAHdUCdzqZMOTP4X7oCpf45tqnawORLn13MsXFYgNgIL/t9z9NEg=
 =021n
 -END PGP SIGNATURE-

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


Re: Announcing the development of OLPC OS 13.2.1

2014-06-12 Thread Anish Mangal
Great! Will test over the weekend. :)
On Jun 12, 2014 10:56 AM, James Cameron qu...@laptop.org wrote:

 Announcing our next release cycle:

 http://wiki.laptop.org/go/13.2.1

 Goal is to add hardware support for the new SIV121C camera sensor, and
 include wireless performance fixes published since 13.2.0.

 Scope is restricted to Open Firmware, and kernel.

 --
 James Cameron
 http://quozl.linux.org.au/
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] pathagar admin pass

2014-06-07 Thread Anish Mangal
Thanks Miguel, Sameer.
On Jun 7, 2014 11:31 PM, Sameer Verma sve...@sfsu.edu wrote:

 That works. Will let Anish know.

 Sameer
 On Jun 7, 2014 10:49 AM, Miguel González Álvarez migonzal...@gmail.com
 wrote:

 Did you try `revreskoob` (bookserver reversed)?

 https://github.com/XSCE/xsce/blob/master/docs/CONFIG.rst#pathagar

 On Sat, Jun 7, 2014 at 7:41 PM, Sameer Verma sve...@sfsu.edu wrote:
  I'm helping Anish with a XSCE 0.5 server install. His bandwidth is
  extremely limited.
 
  Anyone know what the method for login/reset pass is for the admin side
  of pathagar as installed by ansible? The main.yml file
  (https://github.com/XSCE/xsce/blob/master/roles/pathagar/vars/main.yml)
  has a long string, but I suspect that isn't the password.
 
  cheers,
  Sameer
  --
  Sameer Verma, Ph.D.
  Professor, Information Systems
  San Francisco State University
  http://verma.sfsu.edu/
  http://commons.sfsu.edu/
  http://olpcsf.org/
  http://olpcjamaica.org.jm/



 --
 Miguel González
 migonzal...@gmail.com
 PGP ID: 0C63761BEEBD05D3



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


Re: [Server-devel] XO Visualization Feature

2014-06-04 Thread Anish Mangal
Hi Martin,

I should point out that while I got it to install eventually, the first
fail on the add admin user is a common problem I noticed across multiple
installs..

The goes like this.
./runansible
... fails at add admin user
./runansible (again)
goes past the step just fine, and install works as expected.

I have limited bandwidth this week to debug why this is happening, so it
would be great if you could also maybe look into it.

Thanks,
Anish


On Mon, Jun 2, 2014 at 8:34 AM, Anish Mangal an...@activitycentral.com
wrote:

 Martin,

 Thanks for fixing the permissions. The install went along just fine.

 Best,
 Anish


 On Sun, Jun 1, 2014 at 10:39 AM, Anish Mangal an...@activitycentral.com
 wrote:

 Hi Martin,

 Thanks for submitting the feature. I was experimenting with trying to
 install the xovis system through the ansible task. The first time, it got
 stuck here...

 TASK: [xovis | Install Couchdb and other necessary packages]
 **
 changed: [127.0.0.1] = (item=couchdb,curl)

 TASK: [xovis | Allow access to Couchdb from other hosts]
 **
 changed: [127.0.0.1]

 TASK: [xovis | Enable Couchdb service]
 
 changed: [127.0.0.1]

 TASK: [xovis | Add admin user]
 
 failed: [127.0.0.1] = {changed: true, cmd: [curl, -X, PUT, 
 127.0.0.1:5984/_config/admins/admin, -d, \admin\], delta:
 0:00:00.556050, end: 2014-06-01 06:00:26.021649, item: , rc: 7,
 start: 2014-06-01 06:00:25.465599}
 stderr:   % Total% Received % Xferd  Average Speed   TimeTime
 Time  Current
  Dload  Upload   Total   SpentLeft
  Speed
   0 00 00 0  0  0 --:--:-- --:--:-- --:--:--
 0curl: (7) couldn't connect to host

 FATAL: all hosts have already failed -- aborting

 I ran it again, and the playbook went beyond this step fine, but now is
 stuck while trying to fetch the database dump getting a 403 ... log below...

 TASK: [xovis | Add admin user]
 
 changed: [127.0.0.1]

 TASK: [xovis | Remove Couch database if it already exists]
 
 changed: [127.0.0.1]

 TASK: [xovis | Create Couchdb database]
 ***
 changed: [127.0.0.1]

 TASK: [xovis | Install the latest XOstats script]
 *
 changed: [127.0.0.1]

 TASK: [xovis | Install xovis and xostats python dependencies]
 *
 changed: [127.0.0.1]

 TASK: [xovis | Fetch database dump to the server]
 *
 failed: [127.0.0.1] = {changed: true, cmd: [wget, -O,
 /opt/xovis/xovis.json, https://s3.amazonaws.com/xovis/xovis.json;],
 delta: 0:00:06.945208, end: 2014-06-01 06:06:41.045964, item: ,
 rc: 8, start: 2014-06-01 06:06:34.100756}
 stderr: --2014-06-01 06:06:34--
 https://s3.amazonaws.com/xovis/xovis.json
 Resolving s3.amazonaws.com (s3.amazonaws.com)... 207.171.185.200
 Connecting to s3.amazonaws.com (s3.amazonaws.com)|207.171.185.200|:443...
 connected.
 HTTP request sent, awaiting response... 403 Forbidden
 2014-06-01 06:06:41 ERROR 403: Forbidden.

 FATAL: all hosts have already failed -- aborting


 Any pointers would help.

 Best,
 Anish



 On Mon, Apr 21, 2014 at 8:45 PM, Martin Dluhos mar...@gnu.org wrote:

 Hi everyone,

 I would like to give you an update about XOvis, XO data visualization
 application that I would like to integrate with XSCE. What is XOvis? It's
 so-called couchapp- an HTML/Js application that stored and served from a
 Couch
 database. The app uses HighCharts Javascript library to create charts
 from data
 gathered from XO Journal backups on XS.

 Recently, I have published a blog post on OLE's blog about deploying the
 app on
 schoolservers in Nepali schools:

 http://blog.olenepal.org/index.php/archives/842

 There are two main parts of the application. First, there is a python
 script
 process_journal_stats.py, which access raw Journal backup data from
 /library/users and loads them into a couch database. This script lives in

 http://github.com/martasd/xo-stats

 Then there is the HTML/JS app itself, which visualizes the data stored
 in the
 browser. This is the couch app which is also stored in the database
 itself. To
 install the app, one simply needs to install CouchDB and then get the
 database
 either through so-called replication or loaded from a db dump.

 Thus far, I've been using Cloudant to host the database with the
 application,
 but have run into errors when trying to replicate it from there. I am
 currently
 in the process of setting up the publicly accessible instance on
 sunjammer,
 where much of Sugarlabs infrastructure is hosted, but before that's
 available
 the best option for installing the database is to load it from a db dump
 (which
 I fetch from my GitHub repo).

 To install the application, I've written deploy_xovis.sh, which I have
 now
 translated into ansible's

Re: [Server-devel] XO Visualization Feature

2014-06-01 Thread Anish Mangal
Martin,

Thanks for fixing the permissions. The install went along just fine.

Best,
Anish


On Sun, Jun 1, 2014 at 10:39 AM, Anish Mangal an...@activitycentral.com
wrote:

 Hi Martin,

 Thanks for submitting the feature. I was experimenting with trying to
 install the xovis system through the ansible task. The first time, it got
 stuck here...

 TASK: [xovis | Install Couchdb and other necessary packages]
 **
 changed: [127.0.0.1] = (item=couchdb,curl)

 TASK: [xovis | Allow access to Couchdb from other hosts]
 **
 changed: [127.0.0.1]

 TASK: [xovis | Enable Couchdb service]
 
 changed: [127.0.0.1]

 TASK: [xovis | Add admin user]
 
 failed: [127.0.0.1] = {changed: true, cmd: [curl, -X, PUT, 
 127.0.0.1:5984/_config/admins/admin, -d, \admin\], delta:
 0:00:00.556050, end: 2014-06-01 06:00:26.021649, item: , rc: 7,
 start: 2014-06-01 06:00:25.465599}
 stderr:   % Total% Received % Xferd  Average Speed   TimeTime
 Time  Current
  Dload  Upload   Total   SpentLeft
  Speed
   0 00 00 0  0  0 --:--:-- --:--:-- --:--:--
   0curl: (7) couldn't connect to host

 FATAL: all hosts have already failed -- aborting

 I ran it again, and the playbook went beyond this step fine, but now is
 stuck while trying to fetch the database dump getting a 403 ... log below...

 TASK: [xovis | Add admin user]
 
 changed: [127.0.0.1]

 TASK: [xovis | Remove Couch database if it already exists]
 
 changed: [127.0.0.1]

 TASK: [xovis | Create Couchdb database]
 ***
 changed: [127.0.0.1]

 TASK: [xovis | Install the latest XOstats script]
 *
 changed: [127.0.0.1]

 TASK: [xovis | Install xovis and xostats python dependencies]
 *
 changed: [127.0.0.1]

 TASK: [xovis | Fetch database dump to the server]
 *
 failed: [127.0.0.1] = {changed: true, cmd: [wget, -O,
 /opt/xovis/xovis.json, https://s3.amazonaws.com/xovis/xovis.json;],
 delta: 0:00:06.945208, end: 2014-06-01 06:06:41.045964, item: ,
 rc: 8, start: 2014-06-01 06:06:34.100756}
 stderr: --2014-06-01 06:06:34--  https://s3.amazonaws.com/xovis/xovis.json
 Resolving s3.amazonaws.com (s3.amazonaws.com)... 207.171.185.200
 Connecting to s3.amazonaws.com (s3.amazonaws.com)|207.171.185.200|:443...
 connected.
 HTTP request sent, awaiting response... 403 Forbidden
 2014-06-01 06:06:41 ERROR 403: Forbidden.

 FATAL: all hosts have already failed -- aborting


 Any pointers would help.

 Best,
 Anish



 On Mon, Apr 21, 2014 at 8:45 PM, Martin Dluhos mar...@gnu.org wrote:

 Hi everyone,

 I would like to give you an update about XOvis, XO data visualization
 application that I would like to integrate with XSCE. What is XOvis? It's
 so-called couchapp- an HTML/Js application that stored and served from a
 Couch
 database. The app uses HighCharts Javascript library to create charts
 from data
 gathered from XO Journal backups on XS.

 Recently, I have published a blog post on OLE's blog about deploying the
 app on
 schoolservers in Nepali schools:

 http://blog.olenepal.org/index.php/archives/842

 There are two main parts of the application. First, there is a python
 script
 process_journal_stats.py, which access raw Journal backup data from
 /library/users and loads them into a couch database. This script lives in

 http://github.com/martasd/xo-stats

 Then there is the HTML/JS app itself, which visualizes the data stored in
 the
 browser. This is the couch app which is also stored in the database
 itself. To
 install the app, one simply needs to install CouchDB and then get the
 database
 either through so-called replication or loaded from a db dump.

 Thus far, I've been using Cloudant to host the database with the
 application,
 but have run into errors when trying to replicate it from there. I am
 currently
 in the process of setting up the publicly accessible instance on
 sunjammer,
 where much of Sugarlabs infrastructure is hosted, but before that's
 available
 the best option for installing the database is to load it from a db dump
 (which
 I fetch from my GitHub repo).

 To install the application, I've written deploy_xovis.sh, which I have now
 translated into ansible's language, so that it can be integrated with
 XSCE. I
 have tested it on 64 bit Fedora 18 and made sure it can be run
 idempotently
 there. Currently, I don't have access to other machines to test the
 feature on.

 I've added XOvis as a feature to

 http://wiki.laptop.org/go/XS_Community_Edition/Features#Features_Planned

 and just created a pull request on GitHub which includes the ansible role
 'xovis' as well as its corresponding tag. I am looking forward to working
 to
 integrate this change with you!

 Cheers,
 Martin

Re: [Server-devel] XO Visualization Feature

2014-05-31 Thread Anish Mangal
Hi Martin,

Thanks for submitting the feature. I was experimenting with trying to
install the xovis system through the ansible task. The first time, it got
stuck here...

TASK: [xovis | Install Couchdb and other necessary packages]
**
changed: [127.0.0.1] = (item=couchdb,curl)

TASK: [xovis | Allow access to Couchdb from other hosts]
**
changed: [127.0.0.1]

TASK: [xovis | Enable Couchdb service]

changed: [127.0.0.1]

TASK: [xovis | Add admin user]

failed: [127.0.0.1] = {changed: true, cmd: [curl, -X, PUT, 
127.0.0.1:5984/_config/admins/admin, -d, \admin\], delta:
0:00:00.556050, end: 2014-06-01 06:00:26.021649, item: , rc: 7,
start: 2014-06-01 06:00:25.465599}
stderr:   % Total% Received % Xferd  Average Speed   TimeTime
Time  Current
 Dload  Upload   Total   SpentLeft
 Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:--
  0curl: (7) couldn't connect to host

FATAL: all hosts have already failed -- aborting

I ran it again, and the playbook went beyond this step fine, but now is
stuck while trying to fetch the database dump getting a 403 ... log below...

TASK: [xovis | Add admin user]

changed: [127.0.0.1]

TASK: [xovis | Remove Couch database if it already exists]

changed: [127.0.0.1]

TASK: [xovis | Create Couchdb database]
***
changed: [127.0.0.1]

TASK: [xovis | Install the latest XOstats script]
*
changed: [127.0.0.1]

TASK: [xovis | Install xovis and xostats python dependencies]
*
changed: [127.0.0.1]

TASK: [xovis | Fetch database dump to the server]
*
failed: [127.0.0.1] = {changed: true, cmd: [wget, -O,
/opt/xovis/xovis.json, https://s3.amazonaws.com/xovis/xovis.json;],
delta: 0:00:06.945208, end: 2014-06-01 06:06:41.045964, item: ,
rc: 8, start: 2014-06-01 06:06:34.100756}
stderr: --2014-06-01 06:06:34--  https://s3.amazonaws.com/xovis/xovis.json
Resolving s3.amazonaws.com (s3.amazonaws.com)... 207.171.185.200
Connecting to s3.amazonaws.com (s3.amazonaws.com)|207.171.185.200|:443...
connected.
HTTP request sent, awaiting response... 403 Forbidden
2014-06-01 06:06:41 ERROR 403: Forbidden.

FATAL: all hosts have already failed -- aborting


Any pointers would help.

Best,
Anish



On Mon, Apr 21, 2014 at 8:45 PM, Martin Dluhos mar...@gnu.org wrote:

 Hi everyone,

 I would like to give you an update about XOvis, XO data visualization
 application that I would like to integrate with XSCE. What is XOvis? It's
 so-called couchapp- an HTML/Js application that stored and served from a
 Couch
 database. The app uses HighCharts Javascript library to create charts from
 data
 gathered from XO Journal backups on XS.

 Recently, I have published a blog post on OLE's blog about deploying the
 app on
 schoolservers in Nepali schools:

 http://blog.olenepal.org/index.php/archives/842

 There are two main parts of the application. First, there is a python
 script
 process_journal_stats.py, which access raw Journal backup data from
 /library/users and loads them into a couch database. This script lives in

 http://github.com/martasd/xo-stats

 Then there is the HTML/JS app itself, which visualizes the data stored in
 the
 browser. This is the couch app which is also stored in the database
 itself. To
 install the app, one simply needs to install CouchDB and then get the
 database
 either through so-called replication or loaded from a db dump.

 Thus far, I've been using Cloudant to host the database with the
 application,
 but have run into errors when trying to replicate it from there. I am
 currently
 in the process of setting up the publicly accessible instance on sunjammer,
 where much of Sugarlabs infrastructure is hosted, but before that's
 available
 the best option for installing the database is to load it from a db dump
 (which
 I fetch from my GitHub repo).

 To install the application, I've written deploy_xovis.sh, which I have now
 translated into ansible's language, so that it can be integrated with
 XSCE. I
 have tested it on 64 bit Fedora 18 and made sure it can be run idempotently
 there. Currently, I don't have access to other machines to test the
 feature on.

 I've added XOvis as a feature to

 http://wiki.laptop.org/go/XS_Community_Edition/Features#Features_Planned

 and just created a pull request on GitHub which includes the ansible role
 'xovis' as well as its corresponding tag. I am looking forward to working
 to
 integrate this change with you!

 Cheers,
 Martin
 ___
 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

[Server-devel] XSCE IRC meeting

2014-03-25 Thread Anish Mangal
Hi,

Just wanted to check if we have the weekly XSCE IRC meetings these days,
and the time for the same. Wanting to be a part of the same.

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


Re: [Server-devel] XSCE IRC meeting

2014-03-25 Thread Anish Mangal
Hi James,

Thanks for the link. I'll catchup on whats been happening in XSCE-land :-)

Best,
Anish


On Tue, Mar 25, 2014 at 1:37 PM, James Cameron qu...@laptop.org wrote:

 G'day Anish,

 I haven't seen one for a while.  Adam has been using Google Docs to
 plan meetings and you can see the recent history and plans there:


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

 --
 James Cameron
 http://quozl.linux.org.au/

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


Re: [Sugar-devel] The quest for data

2014-01-09 Thread Anish Mangal
Sorry for being late to the party. Clearly the quest for data is a
commonly shared one, with many different approaches, questions, and
reporting/results.

One of the already mentioned solutions is the sugar-stats package,
originally developed by Aleksey, which have now been part of dextrose-sugar
builds for over a year, and the server side (xsce).

http://wiki.sugarlabs.org/go/Platform_Team/Usage_Statistics

The approach we followed was to collect as much data as possible without
interfering with sugar-apis or code. The project has made slow progress on
the visualization front, but the data collection front has already been
field tested.


I for one think there are a few technical trade-offs, which lead to larger
strategy decisions:
* Context v/s Universality ... Ideally we'd like to collect (activity)
context specific data, but that requires tinkering with the sugar api
itself and each activity. The other side is we might be ignoring the other
types of data a server might be collecting ... internet usage and the
various other logfiles in /var/log

* Static v/s Dynamic ... Analyzing journal backups is great, but they are
ultimately limited in time resolution due to the datastore's design itself.
So the key question being what's valuable? ... a) Frequency counts of
activities? b) Data such as upto the minute resolution of what activities
are running, which activity is active (visible  when), collaborators over
time ... etc ...

In my humble opinion, the next steps could be:
1 Get better on the visualization front.
2 Search for more context. Maybe arm the sugar-datastore to collect higher
resolution data.



On Tue, Jan 7, 2014 at 12:24 PM, Christophe Guéret 
christophe.gue...@dans.knaw.nl wrote:

 Dear Sameer, all,

 That's a very interesting blog post and discussion. I agree that
 collecting data is important but knowing that are the questions aimed to be
 answered with that data is even more so. If you need help with that last
 bit, I could propose to use the journal data as a use-case for the project
 KnowEscape ( http://knowescape.org/ ). This project is about getting
 insights out of large knowledge spaces via visualisation. There is wide
 (European) community of experts behind it coming from different research
 fields (humanities, physic, computer science, ...). Something useful could
 maybe come out...

 I would also like to refer you to the project ERS we have now almost
 finished. This project is an extension of the ideas behind SemanticXO some
 of you may remember. We developed a decentralised entity registry system
 with the XO as a primary platform for coding and testing. There is a
 description of the implementation and links to code on
 http://ers-devs.github.io/ers/ . We also had a poster at OLPC SF (thanks
 for that !).

 In a nutshell, ERS creates global and shared knowledge spaces through
 series of statements. For instance, Amsterdam is in the Netherlands is a
 statement made about the entity Amsterdam relating it to the entity the
 Netherlands. Every user of ERS may want to either de-reference an entity
 (*e.g.*, asking for all pieces of information about Amsterdam) or
 contribute to the content of the shared space by adding new statements.
 This is made possible via Contributors nodes, one of the three types of
 node defined in our system. Contributors can interact freely with the
 knowledge base. They themselves take care of publishing their own
 statements but cannot edit third-party statements. Every set of statements
 about a given entity contributed by one single author is wrapped into a
 document in couchDB to avoid conflicts and enable provenance tracking.
 Every single XO is a Contributor. Two Contributors in a closed P2P network
 can freely create and share Linked Open Data. In order for them to share
 data with another closed group of Contributors, we haves Bridges. A
 Bridge is a relay between two closed networks using the internet or any
 other form of direct connection to share data. Two closed communities, for
 example two schools, willing to share data can each setup one Bridge and
 connect these two nodes to each other. The Bridges will then collect and
 exchange data coming from the Contributors. These bridges are not
 Contributors themselves, they are just used to ship data (named graphs)
 around and can be shut-down or replaced without any data-loss. Lastly, the
 third component we define in our architecture is the Aggregator. This is
 a special node every Bridge may push content to and get updated content
 from. As its name suggests, an Aggregator is used to aggregate entity
 descriptions that are otherwise scattered among all the Contributors. When
 deployed, an aggregator can be used to access and expose the global content
 of the knowledge space or a subset thereof.

 One could use ERS to store (part of) the content of the Journal on an XO
 (Contributor), cluster information as the school level (Bridge put on the
 XS) and provide higher level analysis 

Re: [Server-devel] [Sugar-devel] The quest for data

2014-01-09 Thread Anish Mangal
Sorry for being late to the party. Clearly the quest for data is a
commonly shared one, with many different approaches, questions, and
reporting/results.

One of the already mentioned solutions is the sugar-stats package,
originally developed by Aleksey, which have now been part of dextrose-sugar
builds for over a year, and the server side (xsce).

http://wiki.sugarlabs.org/go/Platform_Team/Usage_Statistics

The approach we followed was to collect as much data as possible without
interfering with sugar-apis or code. The project has made slow progress on
the visualization front, but the data collection front has already been
field tested.


I for one think there are a few technical trade-offs, which lead to larger
strategy decisions:
* Context v/s Universality ... Ideally we'd like to collect (activity)
context specific data, but that requires tinkering with the sugar api
itself and each activity. The other side is we might be ignoring the other
types of data a server might be collecting ... internet usage and the
various other logfiles in /var/log

* Static v/s Dynamic ... Analyzing journal backups is great, but they are
ultimately limited in time resolution due to the datastore's design itself.
So the key question being what's valuable? ... a) Frequency counts of
activities? b) Data such as upto the minute resolution of what activities
are running, which activity is active (visible  when), collaborators over
time ... etc ...

In my humble opinion, the next steps could be:
1 Get better on the visualization front.
2 Search for more context. Maybe arm the sugar-datastore to collect higher
resolution data.



On Tue, Jan 7, 2014 at 12:24 PM, Christophe Guéret 
christophe.gue...@dans.knaw.nl wrote:

 Dear Sameer, all,

 That's a very interesting blog post and discussion. I agree that
 collecting data is important but knowing that are the questions aimed to be
 answered with that data is even more so. If you need help with that last
 bit, I could propose to use the journal data as a use-case for the project
 KnowEscape ( http://knowescape.org/ ). This project is about getting
 insights out of large knowledge spaces via visualisation. There is wide
 (European) community of experts behind it coming from different research
 fields (humanities, physic, computer science, ...). Something useful could
 maybe come out...

 I would also like to refer you to the project ERS we have now almost
 finished. This project is an extension of the ideas behind SemanticXO some
 of you may remember. We developed a decentralised entity registry system
 with the XO as a primary platform for coding and testing. There is a
 description of the implementation and links to code on
 http://ers-devs.github.io/ers/ . We also had a poster at OLPC SF (thanks
 for that !).

 In a nutshell, ERS creates global and shared knowledge spaces through
 series of statements. For instance, Amsterdam is in the Netherlands is a
 statement made about the entity Amsterdam relating it to the entity the
 Netherlands. Every user of ERS may want to either de-reference an entity
 (*e.g.*, asking for all pieces of information about Amsterdam) or
 contribute to the content of the shared space by adding new statements.
 This is made possible via Contributors nodes, one of the three types of
 node defined in our system. Contributors can interact freely with the
 knowledge base. They themselves take care of publishing their own
 statements but cannot edit third-party statements. Every set of statements
 about a given entity contributed by one single author is wrapped into a
 document in couchDB to avoid conflicts and enable provenance tracking.
 Every single XO is a Contributor. Two Contributors in a closed P2P network
 can freely create and share Linked Open Data. In order for them to share
 data with another closed group of Contributors, we haves Bridges. A
 Bridge is a relay between two closed networks using the internet or any
 other form of direct connection to share data. Two closed communities, for
 example two schools, willing to share data can each setup one Bridge and
 connect these two nodes to each other. The Bridges will then collect and
 exchange data coming from the Contributors. These bridges are not
 Contributors themselves, they are just used to ship data (named graphs)
 around and can be shut-down or replaced without any data-loss. Lastly, the
 third component we define in our architecture is the Aggregator. This is
 a special node every Bridge may push content to and get updated content
 from. As its name suggests, an Aggregator is used to aggregate entity
 descriptions that are otherwise scattered among all the Contributors. When
 deployed, an aggregator can be used to access and expose the global content
 of the knowledge space or a subset thereof.

 One could use ERS to store (part of) the content of the Journal on an XO
 (Contributor), cluster information as the school level (Bridge put on the
 XS) and provide higher level analysis 

Re: [Server-devel] Does XSCE need a new Home?

2013-12-02 Thread Anish Mangal
On Mon, Dec 2, 2013 at 8:10 PM, George Hunt georgejh...@gmail.com wrote:

 Adam, and I, talked for hours, primarily about the Malaysia summit, and
 also a little about the hosting issue nicely explored in this thread.
  Thanks everyone.

 What sticks in my mind is the idea that wiki.laptop.org is really
 strategic for Miami, as long as they are in the business of selling XO's.
 There's just so much hardware/software wisdom therein, and doubly so since
 many of the people who had that information in their brains have gone on.
 (And James Cameron has been doing a lot of tidying up -- I appreciate that).

 I am struct by one of James Cameron's comments in this thread which I'd
 like to pursue by branching off into another discussion.  His comment was

 (I don't yet see how XSCE can benefit a tablet deployment, nobody
 appears to have enumerated that.)


+1 Waiting for you to branch it off. :-) I'd like to discuss it too.

TBH, when DXS was being developed in a separate branch, we kept the
philosophy of supporting generic clients (PC's, laptops, anything with a
standard browser), and made some design decisions accordingly (like the
authserver). However, as of now, I'd say the XSCE supports XO's slightly
better than it does generic clients, but we shouldn't be locking the XSCE
to the XO.

As for tablet support specifically, I don't know what the specifics of
those would look like (maybe better touch/mobile websites).

Happy to see this discussion take place... (Another one might be XSCE-Sugar
synergy).

George



 On Sun, Dec 1, 2013 at 5:41 PM, James Cameron qu...@laptop.org wrote:

 On Sat, Nov 30, 2013 at 12:44:46PM -0500, Tim Moody wrote:
  I'm in favor of staying where we are.  To me the biggest risk is
  that the site one day just disappears.  We should have a backup of
  the content and deal with it if and when it happens.  I'm not sure
  what the easiest way to do a backup is.

 Attached is a script that I use to update a local git repository with
 the wiki syntax form of the Forth related Wiki pages.  It might be
 extended to other pages.  Note the strange handling for multiple
 levels.  It might only handle one level, and might need further coding
 to fit your use case.

 --
 James Cameron
 http://quozl.linux.org.au/

 ___
 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


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


[Server-devel] Reminder: XSCE IRC scrum tomorrow (5th November), 1700 UTC / 1200 EST on #schoolserver/irc.freenode.net

2013-12-02 Thread Anish Mangal
Hi fellow server-hackers!

We will be having our weekly IRC scrum meeting tomorrow 5th November on
1700 UTC / 1200 EST at the #schoolserver channel (irc.freenode.net). The
meeting will be logged by a supybot instance.

Please start filling in your points to discuss in the rolling agenda
document
https://docs.google.com/document/d/1o6QtzLb6e58YKWqMf_junux2XyBRLFm31un8YLcYslg/edit

Logs for the last meeting held on 26th November are here:
https://sugardextrose.org/issues/4869

**Important**

We are nearing XSCE-0.5 and tomorrow could very well be the day final
decisions are taken concerning the release, so please attend!!

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


Re: [Server-devel] Can XSCE benefit a tablet deployment?

2013-12-02 Thread Anish Mangal
Since a lot is being read and written about I'd also like to throw this
in...

https://sugardextrose.org/projects/xsce/wiki/primary_considerations

On Tue, Dec 3, 2013 at 10:46 AM, James Cameron qu...@laptop.org wrote:

 On Mon, Dec 02, 2013 at 09:42:46AM -0500, George Hunt wrote:
  This is a branch off of the thread Does XSCE need a new home?, and
  stimulated by James Cameron's comments quoted where  in part:
 
   I also disagree with the implication that the tablet is any more
   proprietary than the laptop.  The mix of intellectual property is
   certainly different, but the opportunity for use is also
   different.  Therefore the products shouldn't be compared at an
   intellectual property licensing level.
  
   What is very different is that the laptop was ground-breaking
   original technology, and the tablet is buy-in technology.  This
   cascades into completely different community involvement models.
  
   (I don't yet see how XSCE can benefit a tablet deployment, nobody
   appears to have enumerated that.)

 I note this has become the subject of this thread ... but then you
 went on to say:

  At the SF summit, last month, Rodrigo demonstrated sugar running on
  a google Nexus tablet. This was achieved by running the python/sugar
  mega-package on top of the Ubuntu touch distribution.
 
  Is the Nexus the right hardware platform long term? Well, it's
  bootloader is unlocked! And here, in my opinion, is where the
  licensing becomes an issue.

 You lost me at this point, although I did go back and read the rest
 later.  The digression did not address the question.

  [...]
 
  I believe a tablet should be thought of as part of a learning
  technology system, which also includes a laptop, and a school
  server. The tablet is more appropriate for younger grades, and I
  believe will always a more cost effective solution. Touch
  keyboarding, an essential skill for upward mobility, can come with
  the addition of a bluetooth keyboard, or in upper grades, a
  laptop.

 True, but not really relevant to the subject of the thread; how can
 XSCE benefit a tablet deployment?

  The school server is essential for both of these client interfaces
  to manage media storage, limit pornography, collect usage
  statistics, etc.

 Well, I don't see it as essential.  I see it as helpful, and
 potentially useful.  XSCE is a niche product; the niche being schools
 with no support from a large scalable ICT team provided by central
 governance.

 (Schools with such support will find it difficult to adopt XSCE,
 because centralised ICT tends to resist shadow ICT).

 So I tried to answer the question myself.

 For the research, I used the summary feature list here:
 http://wiki.laptop.org/go/XS_Community_Edition#Our_Product

 And the planned feature list for XSCE 0.5 here:
 http://wiki.laptop.org/go/XS_Community_Edition/0.5/Project_Specifications

 And the planned feature list for XSCE 0.6 here:
 http://wiki.laptop.org/go/XS_Community_Edition/Features

 How can XSCE benefit a tablet deployment?

 1.  it can be an advanced home router; probably you mean the core
 services, like DHCP, BIND, and Jabber.

 2.  it can be an internet gateway; probably you mean the core service
 iptables, the extended services proxy server, web cache, and content
 filtering,

 3.  it can hold content, (a cache); probably you mean extended
 services such as web server, course manaement system, backup, book
 server, offline content,

 4.  it can hold software updates, (a cache); probably you mean
 activity update, olpc-update, and customisation stick.

 Now, a tablet learner can benefit from these things to varying
 degrees;

 - DHCP, helpful, if the wireless routers don't do it,

 - BIND, helpful for finding local resources, but not essential,

 - Jabber, not useful,

 - iptables, helpful, if only because the server is to be positioned in
   the exit path to the internet,

 - proxy server and web cache, potentially helpful, if a tablet can be
   properly configured to use it,

 - content filtering, as above,

 - content caching, useful,

 - software updates, not useful, unless tablet specific updates are
   made available.

 Where is the documentation for how to use an XO laptop with XSCE?  A
 teacher must have this.  Such documentation may be a basis for writing
 documentation on how to use a tablet with XSCE.


I don't think any of the above points answer how is it useful to a
*tablet* deployment. Were you trying to answer how is it useful to a
generic computing machine deployment?

What, in your mind, are the characteristics of a *tablet* deployment? A
list of assumptions you make might be useful. Perhaps even a real world
example or two to take this further.


 p.s. note how the future features in 0.5 included MediaWiki and a
 Restore service, which are not listed in 0.6.  Why is that?


P.S.  FWIW, looking at something's usefulness from purely technical
viewpoints like the ones above might not be the best way to answer how can
it 

Re: [Server-devel] [crazy idea] Supporting basic mobile phones

2013-11-29 Thread Anish Mangal
After a quick glance, this doesn't look like an infrastructure device, but
a client one. i.e. you could use it to connect your XSCE to internet
through GSM.

This can already be accomplished by widely available GSM modems that come
with standard serial interfaces. I guess the reason this particular one is
on the arduino website is because of its compatibility (physical
dimensions, existing libraries ... just a guess).




On Fri, Nov 29, 2013 at 9:09 PM, Tim Moody t...@timmoody.com wrote:

 This was in the morning mail.

 http://arduino.cc/en/Main/ArduinoGSMShield.  I guess there are a few
 others as well.

 Tim


 ___
 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


[Server-devel] Feedback: Problems with XSCE

2013-11-28 Thread Anish Mangal
Hi,

I would like to share this blog post from John Ellis with the XSCE
community: John is a high school student who is trying to setup XSCE in his
class/school under the supervision of his teacher Jeff Elkner.

http://johnmichaelffs.blogspot.in/2013/11/problems-with-xsce.html

Some of the stuff he points out certainly makes a lot of sense to me, I
think the core underling message is to make XSCE more approachable to the
end user and the advanced end-user/deployer. He has gone to some lengths to
point out specific aspects which could be improved.

As we think about the possibilities for XSCE-0.6, I would like to further
the discussion along these topics here and/or on IRC. I think the project
could do well listening to end users' needs for the 0.6 cycle, especially
that we now seem to have our house in order codewise thanks to the terrific
work by all the software hackers here :-)

Thoughts?

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


[Server-devel] [crazy idea] Supporting basic mobile phones | Searching for possible standards

2013-11-24 Thread Anish Mangal
Hi,

Disclaimer: Please do not construe this as a direction that XSCE should be
taking, but more of a crazy idea I am exploring on the side.

In developing nations, the most common communication device is the mobile
phone. It is atleast a magnitude more common any other electronic
communication device. If one were to look at building technology solutions
for education in less developed nations of this world, a cellphone would
seem like the perfect thing to piggyback upon.

On the other hand, this would seem like saying lets shut down sugar and
move to android, because it's everywhere, something I'm not sure is the
best thing to do. (So I am conflicted about it).

Cutting to the chase:
1. Is there any overlap between the xsce vision *as you see it* and
supporting mobile phones.
2a. If the answer to that is a yes, are there standards or software that
might help make XSCE content and services available on basic mobile phones.
We will probably forego 80% of the value XSCE provides, but that 20% might
be valuable.
2b. What kind of service standards would be most suitable to build upon?
WAP, SMS, Voice (navigation)? Most basic mobile phones today have a WAP
browser.

The more I think, the more it feels that this may not be the right thing
for the XSCE project, but still would like to have an understanding of the
challenges involved.

Thoughts?

--
Anish

P.S. this email is a result of talking to a few people over the past few
weeks and hearing from them again and again the sheer availability of
mobile phones. At the same time, I'm sure many people would have already
tried to figure out this space (maybe I'm trying to do just that).
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] The three step XSCE demo!

2013-11-20 Thread Anish Mangal
Hi Sebastian,

You should be able to download the image from here (Thanks to Thomas
Gillard for uploading the file):
http://people.sugarlabs.org/Tgillard/XSCE.ova

Please verify the md5sum once you have downloaded the file.
56a4f141b564b0d2bd65c543a5e585c6

About your question on dev environment I am ccing Santi and Miguel who can
answer it best. It may depend on what part of the server you want to
contribute to, but I think you should mostly be able to get away with just
a VM image. I don't believe anyone has tried a chroot env (though I could
be wrong) but it _might_ be possible.

Also, for testing with real clients (like xo laptops) you are probably
going to need something for the LAN side (an access point). There are a few
permutations here, but I will step back and let more the technical experts
converse :-)

Cheers,
Anish



On Wed, Nov 20, 2013 at 10:54 AM, Sebastian Silva sebast...@fuentelibre.org
 wrote:

  Thanks that will be simpler. Actually I'm more interested in what a good
 dev environment would be in order to contribute.
 Do I need to make a fedora chroot?

 Regards,
 Sebastian

 El 19/11/13 09:51, Anish Mangal escribió:

 I tried uploading it to xsce.activitycentral.com, but I ran out of space
 in my user dir. Normally the appliance is 1.3G, but this also has 400mb of
 IIAB test dataset.

  I'll give it another shot in another area where there is some free
 space, and get back.


 On Tue, Nov 19, 2013 at 7:24 PM, Sebastian Silva 
 sebast...@fuentelibre.org wrote:

 Hi
 I tried this but google drive problematic to download from as it requires
 to download from a browser. Not adequate for 1.6gb. Let me know if I can
 pick it up from a regular download place. Why is it so big?

 Regards,
 Sebastian

 El 17/11/13 20:48, Anish Mangal escribió:

  Download the XSCE Virtualbox appliance from here
 https://docs.google.com/file/d/0B3eW2YPe6koIVXRVbDhSR0xXQ1U (approx 1.6
 GB)





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


Re: [Server-devel] The three step XSCE demo!

2013-11-20 Thread Anish Mangal
On Wed, Nov 20, 2013 at 2:31 PM, David Farning dfarn...@activitycentral.com
 wrote:

 Can everybody sit back and have a tasty beverage of their choice to
 celebrate?

 On the surface, this email might seem simple. Below the surface this
 is a turning point in the project.

 Actually I'm more interested in what a good dev environment would be
 in order to contribute.

 This is exactly what we have been targeting for that last year. A busy
 deployment support person who doesn't really can about the School
 Server or its technology. He just cares about how to build on XSCE to
 meet his specific deployment needs.

 If, and this is a very big if, we have done a good job designing the
 XSCE project and the XSCE product, Sebastian will find that it is more
 effective to do his work as an plug-in-service on XSCE rather than
 head off in his own.

 The open source theory behind this the notion of creating a modular
 and collaborative base which others use to solve their own specific
 problems.

 The business theory is that of Lead Users. (
 http://en.wikipedia.org/wiki/Lead_user ) As an upstream, we don't have
 a complete understanding of users needs and priorities. Working with
 lead users, enables us to understand and meet their individual needs
 while gather information to create abstract solutions which apply to
 other users as well.

 It looks like 0.5 is coming along nicely. There is a lot of green in
 the task matrix at
 http://wiki.laptop.org/go/XS_Community_Edition/0.5/Ansible_Progress .

 While there are several interesting features at
 http://wiki.laptop.org/go/XS_Community_Edition/Features for 0.6, there
 is no cohesive theme to 'unite' us together as a project. I would like
 to suggest that the theme for 0.6 is making XSCE as easy and desirable
 as possible for lead users like Sebastian.

 Much like the initial statement, Actually I'm more interested in what
 a good dev environment would be in order to contribute. which seems
 simple, but is actually a tipping point for the project. Engaging lead
 users seems simple, yet is rather subtle. On first glace there is:


Welcome to the we should make it simple and have awesome documentation
pack :-)

While the hackers here crank out 0.5 (they have been writing crazy amounts
of code lately), lets try to figure out ways to do just what you mentioned,
by breaking into small actionable tasks and/or features. This process
actually started a few weeks ago (with the switch to github), but there's
tons more to do.


 1. Documentation about the the project and it's technologies.


+1. I guess a wiki is the best place to do it, but we could think of more
interactive ways (like video tutorials etc. Miguel's github tutorial video
has already been viewed 27+ times http://www.youtube.com/watch?v=CEE85F3Zjcs
).


 2. Simple ways to install,test, and develop XSCE.


1. There is some work being done here. Santi was working on a test script
that would run a battery of tests once the XSCE installs. I think that work
could resume post 0.5. Think of it as an automated commit-build-test env.
(I don't think there's a feature page for this yet).

2. Providing simple install images (VM appliances, XO images etc.) Again
could be worked upon post 0.5 (Again, don't think there is a feature page
yet).

3. Develop: It should already be easy to develop, thanks to ansible, save
for the documentation and the on-ramp part.

4. Your idea here :-)


 3. Simple ways to interact with the community and transfer knowledge
 and technology.


1. End user documentation (I want to approach this more as a process that
results in end user documentation, than a concentrated effort, since this
is going to be an ongoing thing). It is going to take a kickstart though.

2. Refer you to the crazy-ideas section here
http://lists.laptop.org/pipermail/server-devel/2013-October/006823.html :-)

3. more crazy ideas welcome :-P


 More subtly, there are decisions about encapsulation. What does a new
 developer need to know to get started? What complexity should be
 hidden and what should be exposed to new developers via best
 practices, APIs, and community processes.

 The challenge is to create an on-ramp to engage a broader audience at
 a pace which enables them to use XSCE to meet their needs while
 avoiding the tendency to create a wall between 'us' them 'them.'



 On Tue, Nov 19, 2013 at 11:24 PM, Sebastian Silva
 sebast...@fuentelibre.org wrote:
  Thanks that will be simpler. Actually I'm more interested in what a good
 dev
  environment would be in order to contribute.
  Do I need to make a fedora chroot?
 
  Regards,
  Sebastian
 
  El 19/11/13 09:51, Anish Mangal escribió:
 
  I tried uploading it to xsce.activitycentral.com, but I ran out of
 space in
  my user dir. Normally the appliance is 1.3G, but this also has 400mb of
 IIAB
  test dataset.
 
  I'll give it another shot in another area where there is some free space,
  and get back.
 
 
  On Tue, Nov 19, 2013 at 7:24 PM, Sebastian Silva

Re: [Server-devel] The three step XSCE demo!

2013-11-19 Thread Anish Mangal
I tried uploading it to xsce.activitycentral.com, but I ran out of space in
my user dir. Normally the appliance is 1.3G, but this also has 400mb of
IIAB test dataset.

I'll give it another shot in another area where there is some free space,
and get back.


On Tue, Nov 19, 2013 at 7:24 PM, Sebastian Silva
sebast...@fuentelibre.orgwrote:

 Hi
 I tried this but google drive problematic to download from as it requires
 to download from a browser. Not adequate for 1.6gb. Let me know if I can
 pick it up from a regular download place. Why is it so big?

 Regards,
 Sebastian

 El 17/11/13 20:48, Anish Mangal escribió:

  Download the XSCE Virtualbox appliance from here
 https://docs.google.com/file/d/0B3eW2YPe6koIVXRVbDhSR0xXQ1U (approx 1.6
 GB)



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


[Server-devel] The three step XSCE demo!

2013-11-17 Thread Anish Mangal
Hi,

Had some time on my hand this week to try out XSCE in a virtual
environment. It actually worked out pretty well, and now there's a working
appliance. Here's the three step XSCE demo!

*Step #1 - Download and install Virtualbox*

   - Head to https://www.virtualbox.org/wiki/Downloads to download the
   Virtualbox package for your OS.
   - Install instructions may vary for different platforms but should be
   pretty straightforward.

*Step #2 - Download and install the XSCE appliance*

   - Download the XSCE Virtualbox appliance from here
   https://docs.google.com/file/d/0B3eW2YPe6koIVXRVbDhSR0xXQ1U (approx 1.6
   GB)
   - *[optional]* Verify the md5sum to see if the image is not corrupt
   - 56a4f141b564b0d2bd65c543a5e585c6
   - Open Virtualbox. Go to File - Import Appliance.
   - A dialog will appear asking you to Open Appliance
   - Select the file you just downloaded b_1364170741.ova
   - Click Next and then click Import
   - A new virtual machine will get created

*Step #3 - Play!*

   - Start the virtual machine just created. It will open a window, and an
   OS will appear to boot.
   - Wait till it boots. Once it has booted, a login prompt will appear in
   a text console. Your XSCE is now up and ready!
   - To test/demo, on the host OS (i.e., the one where you are running the
   virtualbox software in) open a browser
  - XSCE homepage: http://localhost:3380/
 - From the homepage you should be able to navigate to Internet In
 A Box. This image contains a test dataset.
 - The link to the moodle homepage will NOT work. To access moodle,
 go to http://localhost:3380/moodle/login/index.php. I am not able
 to login, and there seems some issue with the homepage loading.
  - Administrative GUI: http://localhost:9990 (username=root,
  password=admin)
  - Server monitoring tool - Munin:
http://localhost:3380/munin(username=admin, password=munindxs)
  - To check the authserver, go to http://localhost:5000/ (It will
  probably say No Sugar platform detected, please register your laptop)

*Notes:*

   - This is only meant to be a quick demo to see what an XSCE is on your
   laptop/PC.
   - I didn't setup root login (or atleast don't know the password to it).
   So you won't be able to login to the XSCE once it's running. Should not be
   a huge issue just for end-user demo purposes.
   - This is just a weekend hack, I did based on a Vagrantfile supplied by
   Santi. At this moment, this is not officially supported or anything (but as
   far as I know in my testing, it works!)
   - If this is a useful thing to maintain (based on feedback to this
   thread :-) ) I (or somebody else) can propose this as a feature for 0.5/6.
   So there are officially supported demo appliances.
   - A wiki page is in the works.

Please try it out and let me know what you think of it!

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


Re: [Server-devel] [XSCE] End User Documentation / Basic Setup Guide / How to upload PDFs etc

2013-11-17 Thread Anish Mangal
I thought read also opened pdf's from the journal too. (Not sure if it
saves what page you were on).


On Mon, Nov 18, 2013 at 9:46 AM, Anna ascho...@gmail.com wrote:

 If possible, deploy epubs rather than pdfs.

 You can always convert an epub to a pdf.  You can't easily do it the other
 way round.  Go ahead and search, the pdf format is a bane for people who
 use ereaders.

 Also, epubs open from the Journal in the Read Activity, where kids can use
 bookmarks.  PDFs open in Browse and there's no bookmarking mechanism.  So
 you're halfway through a PDF, shut down your XO for the day, then the next
 morning open the PDF back up and have to scroll to where you left off.  Not
 cool.


 On Sun, Nov 17, 2013 at 8:38 PM, Curt Thompson curtathomp...@gmail.comwrote:

 In the short term, I just followed Anna's suggestion and put the PDFs in
 a directory I made /var/www/html/science.  I tested it out with the
 Browse activity in the XO-1 James is lending me as a client and it seems
 to work relatively well - opens in-browser, which is nice.

 Not super fast but the images/text load up within a few seconds and it's
 scrollable with the buttons near the monitor (once you click inside the
 PDF).  I'm considering whether it's worth it to extract each page as an
 image and convert all these PDFs into essentially an HTML-based e-book
 to make it more responsive.

 In the long term, I'd like to be able to train teachers in how to add
 content.  If we can send them a USB stick with PDFs, for example, it'd
 be nice for them to be able to simply copy it into place and enjoy the
 updated content.  Would this be the case once I got Pathagar set up and
 working?

 I'll also work on documentation when I can.  I started to write setup
 documentation but the online install info on the wiki is pretty good.
 What's missing (in my humble opinion) is what to do with XSCE once it's
 up and running.  I'll try to make some time to document the things I
 learn as I go.

 Thanks for the help


 On 11/17/2013 12:05 PM, Sameer Verma wrote:
  On Sat, Nov 16, 2013 at 8:15 PM, Anna ascho...@gmail.com wrote:
  Pathagar is still a work in progress.  I'm not sure if it can handle
 pdfs,
  though.  Last I saw, it was just epubs.
 
  By design, Pathagar will serve *any* kind of file. The file serving is
  done via HTTP (Can be apache, nginx, or lighttpd, etc). Here is an
  example of PDF: http://108.171.173.65/book/10/view and here's an
  example of epub: http://108.171.173.65/book/8/view Pathagar itself
  doesn't care about the file format, as long as the http server has a
  way (MIME) to handle it. As far as the Pathagar software itself is
  concerned, there are no showstopping bugs that I know of.
 
  A couple of notes on the *installation* of Pathagar, where we do have
  a bunch of problems:
 
  1) The *current* version of Pathagar is borked. I haven't gone back to
  see where it fails or how, but there should be a prior version that
  works. There is also a version (patch) that apparently fixes the book
  edit and upload problem. I have not tested it. I hope someone else can
  take a look?
 
  https://github.com/PathagarBooks/pathagar/issues
 
  2) There seem to be multiple deployment approaches. We have PIP, RPM,
  fabric, and the good old way of installing and configuring by hand
  (which is what I follow, because I haven't had the time to test the
  other methods). At the OLPC SF Summit, Jerry told me that they have
  the RPM part addressed, but the current bug (cannot add/edit books)
  gets in the way.
 
  Hopefully the latest patch can address these things.
 
  For your immediate purposes, I'd suggest `mkdir /var/www/html/science`
 and
  put the pdfs there.  Then clients can go to
 http://schoolserver/science to
  download them.
 
  Anna
 
 
  On Sat, Nov 16, 2013 at 10:05 PM, Curt Thompson 
 curtathomp...@gmail.com
  wrote:
  So I've been tinkering around XSCE School Server for a while now - I
  have it set up with Internet-in-a-box via USB drive and I spent a
 while
  trying to get my laptop to work as AP/server.
 
  I've also been poking around looking for basic setup info.  In
  particular, I'm trying to upload these ~36 Science Textbook PDFs and
 I'm
  not sure where to put them, if I should just be copying them to some
  directory (etc/Moodle or etc/pathagar or /library/pathagar/media?) or
  uploading them via one of these systems.  Any advice on which method
 is
  best?
 
  I've looked around the Wiki but I can't find anything like a basic
 setup
  guide (such as a reference that could be used by teachers, students,
  and/or volunteers in the field.)  Is there such a guide?
 
 
 



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


[Server-devel] Listing subpages on the feature page

2013-11-11 Thread Anish Mangal
Hi,

Think there's a minor issue with the page here:

http://wiki.laptop.org/go/XS_Community_Edition/feature

Although the table looks very nice, it has to be manually edited. Before
there was a subpage listing, which listed all subpages automatically. Think
that should still exist, but the table can be the main source of reference.

Or

we should have a clearly defined process saying anyone proposing a feature
add themselves to the table :-)

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


Re: [Server-devel] aliases for hacking on our XSCE school server

2013-11-06 Thread Anish Mangal
Umm.

https://github.com/XSCE/xsce/commit/810482e0b874d25a001c5d5410bbae09ea1ae081

Can we please review this in light of the above discussion?


On Sun, Oct 27, 2013 at 6:13 PM, Martin Dluhos mar...@gnu.org wrote:

 On 10/27/2013 02:20 PM, Samuel Greenfeld wrote:
  These are more of a user preference than anything necessary for XSCE to
  function.

 Exactly. Creating shell aliases should be each developer's business.

 Martin
 ___
 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] Reminder: XSCE IRC scrum tomorrow (5th November), 1600 UTC / 1200 EDT on #schoolserver/irc.freenode.net

2013-11-05 Thread Anish Mangal
I screwed up, because 1600 UTC is not the same as 1200 EDT anymore
(daylight savings confusion). So lets meet at 1200 EDT only, which is 1 hr
and 40 mins from now. (1700 UTC).

-
Anish


On Mon, Nov 4, 2013 at 3:27 PM, Anish Mangal an...@activitycentral.comwrote:

 Hi fellow server-hackers!

 We will be having our eighth IRC scrum meeting tomorrow 5th November on
 1600 UTC / 1200 EDT at the #schoolserver channel (irc.freenode.net). The
 meeting will be logged by a supybot instance.

 Please start filling in your points to discuss in the rolling agenda
 document

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

 Logs for the last meeting held on 29th October are here:
 https://sugardextrose.org/issues/4826

 Cheers,
 Anish

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


Re: [Server-devel] Reminder: XSCE IRC scrum tomorrow (5th November), 1600 UTC / 1200 EDT on #schoolserver/irc.freenode.net

2013-11-05 Thread Anish Mangal
Thanks for clarifying.

/me is a simple man from the tropics, no daylight saving there, so got
confused with acronyms and conversions. :)


On Tue, Nov 5, 2013 at 7:28 AM, Anna ascho...@gmail.com wrote:

 Since Daylight Savings is over, we meet at Noon EST, 11 am CST.  For folks
 on the West coast, that's 9 am PST.

 Basically, if it's noon in NYC, that's when we meet on Tuesdays on IRC.

 Anna


 On Tue, Nov 5, 2013 at 9:22 AM, Anish Mangal an...@activitycentral.comwrote:

 I screwed up, because 1600 UTC is not the same as 1200 EDT anymore
 (daylight savings confusion). So lets meet at 1200 EDT only, which is 1 hr
 and 40 mins from now. (1700 UTC).

 -
 Anish


 On Mon, Nov 4, 2013 at 3:27 PM, Anish Mangal 
 an...@activitycentral.comwrote:

 Hi fellow server-hackers!

 We will be having our eighth IRC scrum meeting tomorrow 5th November on
 1600 UTC / 1200 EDT at the #schoolserver channel (irc.freenode.net).
 The meeting will be logged by a supybot instance.

 Please start filling in your points to discuss in the rolling agenda
 document

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

 Logs for the last meeting held on 29th October are here:
 https://sugardextrose.org/issues/4826

 Cheers,
 Anish



 ___
 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


[Server-devel] Reminder: XSCE IRC scrum tomorrow (5th November), 1600 UTC / 1200 EDT on #schoolserver/irc.freenode.net

2013-11-04 Thread Anish Mangal
Hi fellow server-hackers!

We will be having our eighth IRC scrum meeting tomorrow 5th November on
1600 UTC / 1200 EDT at the #schoolserver channel (irc.freenode.net). The
meeting will be logged by a supybot instance.

Please start filling in your points to discuss in the rolling agenda
document
https://docs.google.com/document/d/1o6QtzLb6e58YKWqMf_junux2XyBRLFm31un8YLcYslg/edit

Logs for the last meeting held on 29th October are here:
https://sugardextrose.org/issues/4826

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


[Server-devel] Reminder: XSCE IRC scrum tomorrow (28th October), 1600 UTC / 1200 EDT on #schoolserver/irc.freenode.net

2013-10-28 Thread Anish Mangal
Hi fellow server-hackers!

We will be having our seventh IRC scrum meeting tomorrow 28th October on
1600 UTC / 1200 EDT at the #schoolserver channel (irc.freenode.net). The
meeting will be logged by a supybot instance.

Please start filling in your points to discuss in the rolling agenda
document
https://docs.google.com/document/d/1o6QtzLb6e58YKWqMf_junux2XyBRLFm31un8YLcYslg/edit

Logs for the last meeting held on 15th October are here:
https://sugardextrose.org/issues/4786

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


Re: [Server-devel] aliases for hacking on our XSCE school server

2013-10-27 Thread Anish Mangal
On Sun, Oct 27, 2013 at 11:20 AM, Samuel Greenfeld sam...@greenfeld.orgwrote:

 I know that XSCE currently does some customizations, but personally I
 would prefer to see the normal installation process not modify shell
 aliases or prompts unless explicitly told to.


+1


 These are more of a user preference than anything necessary for XSCE to
 function. XSCE eventually should not act or install as if it is the sole
 role for a computer even if that is the most common use case.

 ---
 SJG
 On Oct 27, 2013 10:59 AM, George Hunt georgejh...@gmail.com wrote:

 I recently pushed an xs profile to github that will start fine tuning the
 working environment on the XSCE Now I'm thinking that I should add and
 collect some functions and aliases which make working with ansible
 playbooks and github, easier, and require fewer keystrokes.

 So far I've thought of:
 runal = runansible $1 -- runansible-playbook with verbose diagnostic
 ouput to $1 logfile.
 gc $1 $2= git clone github.com/$1/xsce.git --depth=10 $2 -- for quickly
 getting our own testing branch down to a unit under test
 pullum = git checkout master;git pull upstream master ( might need to
 test whether the first command succeeds before executing the second)
 pushob = git push origin $1(branch)

 The following aliases are currently available - though not collected into
 one place in the profile
 sr = systemctl restart $1
 st = systemctl status $1
 vlm = less /var/log/messages
 du1 = du --max-depth=1 .
 psg = ps -e|grep $1

 I'm willing to collect everyone's ideas, test them, and update the system
 profile.

 Send me your suggestions.

 ___
 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


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


Re: [Server-devel] [XSCE] ifcfg-eth# files in /etc/sysconfig/network-scripts generated by runansible

2013-10-26 Thread Anish Mangal
I think George had mentioned during the hacksprint, that he was interested
in this, and Santi had done some experiments. Maybe discuss with them?


On Sat, Oct 26, 2013 at 8:10 AM, Tim Moody t...@timmoody.com wrote:

   we need to have get facts do this, so people don’t have to edit, as we
 discussed on a previous call.  is anyone working on this or should I?

 Tim

  *From:* Anna ascho...@gmail.com
 *Sent:* Friday, October 25, 2013 8:11 PM
 *To:* xsce-devel xsce-de...@googlegroups.com ; Server 
 Develserver-devel@lists.laptop.org
 *Subject:* [XSCE] ifcfg-eth# files in /etc/sysconfig/network-scripts
 generated by runansible

  This morning, I was trying out a 2 dongle install from
 https://github.com/XSCE/xsce.git.  The default in vars/default_vars.yml
 is eth0 as WAN and eth1 as LAN.  Well, I forgot to edit that for my
 interfaces (eth1 as WAN and eth2 as LAN).  So after ./runansible finished,
 I edited vars/default_vars.yml accordingly and reran ./runansible.

 After a reboot, I couldn't ssh back in.  Walked over to the XO 1.75 and
 ifconfig indicated that eth1 and eth2 were both on 172.18.96.1.  On DXS,
 whenever I've forgotten to edit default_vars.yml for my interfaces, I can
 edit that file, rerun ./runansible, and everything gets sorted out.

 What I discovered is that now runansible apparently generates an ifcfg
 file for the LAN interface in /etc/sysconfig/network-scripts.  After
 attempt #1 with the default interfaces (eth0 for WAN and eth1 for LAN) and
 attempt #2 with my edits (eth1 for WAN and eth2 for LAN), now I had
 ifcfg-eth1 and ifcfg-eth2 in there:

 DEVICE=eth1
 BOOTPROTO=static
 DHCPCLASS=
 HWADDR=00:1C:49:01:04:27
 IPADDR=172.18.96.1
 NETMASK=255.255.224.0
 ONBOOT=yes

 DEVICE=eth2
 BOOTPROTO=static
 DHCPCLASS=
 HWADDR=00:E0:4C:53:44:58
 IPADDR=172.18.96.1
 NETMASK=255.255.224.0
 ONBOOT=yes

 Before I figured out what was going on, I rebooted a couple of times and
 was perplexed that both eth1 and eth2 kept coming up on 172.18.96.1.

 So, I deleted ifcfg-eth1, reran ./runansible, rebooted, and now networking
 is fine.  WAN is eth1 on 192.168.1.11 and LAN is eth2 on 172.18.96.1, like
 it's supposed to be.

 What we should probably do is discard any ifcfg-eth# files first thing so
 there aren't any old ones lingering about to muck up networking.

 Anna


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


[Server-devel] The DXS merging confusion

2013-10-24 Thread Anish Mangal
I hope to clarify the consensus that was reached yesterday w.r.t merging
DXS changes.

History:
Step #1: We copied all the files from DXS over to the XSCE repo without
preserving the history

Now,
What we need is to be in essentially in the same place, but *with* the
history. The suggested way to do that is.

* Revert Step#1.
* Create a branch dxs on xsce:master.
* Pull in all DXS commits into that branch.
* Merge that branch into xsce:master.

That way, we will be in the same state as we are now, but with all the
commits of DXS preserved.

Hope this helps.

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


Re: [Server-devel] The DXS merging confusion

2013-10-24 Thread Anish Mangal
I had created a pull request for the same,

https://github.com/XSCE/xsce/pull/9

But it wasn't merged, as Santi suggested that it be done directly on the
main XSCE repo rather than on a fork.



On Thu, Oct 24, 2013 at 10:52 AM, Anish Mangal an...@activitycentral.comwrote:

 I hope to clarify the consensus that was reached yesterday w.r.t merging
 DXS changes.

 History:
 Step #1: We copied all the files from DXS over to the XSCE repo without
 preserving the history

 Now,
 What we need is to be in essentially in the same place, but *with* the
 history. The suggested way to do that is.

 * Revert Step#1.
 * Create a branch dxs on xsce:master.
 * Pull in all DXS commits into that branch.
 * Merge that branch into xsce:master.

 That way, we will be in the same state as we are now, but with all the
 commits of DXS preserved.

 Hope this helps.

 Best,
 Anish


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


Re: [Server-devel] [XSCE] github merge of DXS and XSCE (including history of both) DONE

2013-10-24 Thread Anish Mangal
Not really. The xsce:dxs branch still needs to be merged *into* xsce:master
afaict, so people can resume work on master (PR's and all).




On Thu, Oct 24, 2013 at 12:15 PM, George Hunt georgejh...@gmail.com wrote:

 Hi folks,

 After a small amount of head scratching (3hrs):

 https://github.com/XSCE

 is  set up, with history from both projects, as a base for all to
 contribute to.

 Thank you Jerry



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


Re: [Server-devel] [XSCE] XSCE/xsce and activitycetral/dxs repository integration in a branch preserving history

2013-10-23 Thread Anish Mangal
I think this approach makes sense. As I understand it:

* We want to be good historians and follow the proper workflow, which also
implies that master should ideally never be broken.
* While we are switching to ansible, we do the switch *in a branch* called
dxs and *not master*
* All fixes and porting efforts happen on the dxs branch. This implies that
ALL pull requests must be created against xsce:dxs rather than xsce:master.
* Once the port is done, it is merged into master. All development happens
on master.

The risk we run is that the dxs branch will become the active branch being
worked upon. Which is non-ideal (All development must ideally happen
against master). So we have a couple of options:

a. Merge the dxs branch with the current set of dxs commits into master.
Follow all development there.
b. Set a hard deadline for merging dxs into master.

I think I like option a. better.
Option b. has the advantage of ensuring a working master.

Thoughts?

Regardless of which path we choose, it's a good idea to keep the dxs
history, and the dxs branch should be created (Steps 1. and 2. from
Miguel's email)

Anish



On Wed, Oct 23, 2013 at 9:28 AM, Miguel González 
migonzal...@activitycentral.com wrote:

 My suggestion to  integrate activitycetral/dxs into XSCE/xsce
 preserving history and using a branch for easier comparison is:

 1. revert xsce/master to fa2d59,
 2. create a 'dxs' branch
 3. merge activitycentral/dxs commits to this new branch preserving history

 This new branch (XSCE/xsce@dxs) will be the canonical repository for the
 migration and everybody will pull request against this branch.


 Detailed procedure on a fresh repository
 

 1. revert

 Clean repo:
 ```
 git clone g...@github.com:XSCE/xsce.git
 cd xsce
 ```

 The actual revert:
 ```
 git revert -m 1 b1638cd --no-edit
 ```

 Submit changes:
 ```
 git push origin
 ```

 2. create branch

 ```
 git branch dxs
 git checkout dxs
 git push origin dxs
 ```

 3. merge

 Fetch dxs repository:
 ```
 git remote add dxs g...@github.com:activitycentral/dxs
 git fetch dxs
 ```

 And now the critical part, the actual merge:
 ```
 git merge --no-ff -s recursive -X ours --no-edit dxs/master
 ```

 Push!
 ```
 git push origin dxs
 

 So, anyone with write permission on xsce can do this.

 You can check how would be the resulting repo in my personal clone copy in
 https://github.com/migonzalvar/xsce.



 --
 Miguel González
 Activity Central: http://www.activitycentral.com

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


Re: [Server-devel] [XSCE] XSCE/xsce and activitycetral/dxs repository integration in a branch preserving history

2013-10-23 Thread Anish Mangal
On Wed, Oct 23, 2013 at 12:23 PM, Tim Moody t...@timmoody.com wrote:

   which commit was fa2d59?



Merge pull request #3 from jvonau/masterjv

I think he means revert *till* ^^

The commit after that was:

Copy all files from DXS upto commit Merge pull request #52 from
scollazo/featu...



  This is the same discussion we had yesterday about when we move from dxs
 to xsce.  What would be the criteria for deciding to merge the dxs branch
 into master?


I think that is the thing which is up in the air at this point. I think
yesterday we had decided to just copy everything from dxs to xsce:master.

If we stick to that decision, Miguel's steps 1-3 will result in us having
the dxs branch with the full history, and we should do the step 4 of
merging xsce:dxs into xsce:master.



 And it still doesn’t address the question of where ongoing differences
 between dxs and xsce will live.

 I’m OK with 1-3, but I’m skeptical about working on the dxs branch.  I
 guess I’m OK with doing a git merge instead of copy to get dxs into xsce as
 long as people don’t lose work, but now rather than later.



Exactly! I also think it is a risk to have development being done in
xsce:dxs. I would be in favor of just creating a xsce:dxs with all the dxs
commits, so we don't lose the history, and then we just merge that to the
xsce:master branch and just continue working there.

WhatSay?


  Tim

  *From:* Anish Mangal an...@activitycentral.com
 *Sent:* Wednesday, October 23, 2013 2:51 PM
 *To:* xsce-devel xsce-de...@googlegroups.com
 *Cc:* XS Devel server-devel@lists.laptop.org
 *Subject:* Re: [XSCE] XSCE/xsce and activitycetral/dxs repository
 integration in a branch preserving history

  I think this approach makes sense. As I understand it:

 * We want to be good historians and follow the proper workflow, which also
 implies that master should ideally never be broken.
 * While we are switching to ansible, we do the switch *in a branch* called
 dxs and *not master*
 * All fixes and porting efforts happen on the dxs branch. This implies
 that ALL pull requests must be created against xsce:dxs rather than
 xsce:master.
 * Once the port is done, it is merged into master. All development happens
 on master.

 The risk we run is that the dxs branch will become the active branch being
 worked upon. Which is non-ideal (All development must ideally happen
 against master). So we have a couple of options:

 a. Merge the dxs branch with the current set of dxs commits into master.
 Follow all development there.
 b. Set a hard deadline for merging dxs into master.

 I think I like option a. better.
 Option b. has the advantage of ensuring a working master.

 Thoughts?

 Regardless of which path we choose, it's a good idea to keep the dxs
 history, and the dxs branch should be created (Steps 1. and 2. from
 Miguel's email)

 Anish

  On Wed, Oct 23, 2013 at 9:28 AM, Miguel González 
 migonzal...@activitycentral.com wrote:

  My suggestion to  integrate activitycetral/dxs into XSCE/xsce
 preserving history and using a branch for easier comparison is:

 1. revert xsce/master to fa2d59,
 2. create a 'dxs' branch
 3. merge activitycentral/dxs commits to this new branch preserving history

 This new branch (XSCE/xsce@dxs) will be the canonical repository for the
 migration and everybody will pull request against this branch.


 Detailed procedure on a fresh repository
 

 1. revert

 Clean repo:
 ```
 git clone g...@github.com:XSCE/xsce.git
 cd xsce
 ```

 The actual revert:
 ```
 git revert -m 1 b1638cd --no-edit
 ```

 Submit changes:
 ```
 git push origin
 ```

 2. create branch

 ```
 git branch dxs
 git checkout dxs
 git push origin dxs
 ```

 3. merge

 Fetch dxs repository:
 ```
 git remote add dxs g...@github.com:activitycentral/dxs
 git fetch dxs
 ```

 And now the critical part, the actual merge:
 ```
 git merge --no-ff -s recursive -X ours --no-edit dxs/master
 ```

 Push!
 ```
 git push origin dxs
 

 So, anyone with write permission on xsce can do this.

 You can check how would be the resulting repo in my personal clone copy
 in https://github.com/migonzalvar/xsce.



 --
 Miguel González
 Activity Central: http://www.activitycentral.com



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


Re: [Server-devel] [XSCE] XSCE/xsce and activitycetral/dxs repository integration in a branch preserving history

2013-10-23 Thread Anish Mangal
There should be none. There might be a 100 commits (the dxs history)
instead of the current 1 commit, but the end result of those 100 will be
the same.


On Wed, Oct 23, 2013 at 1:11 PM, Tim Moody t...@timmoody.com wrote:

   Exactly! I also think it is a risk to have development being done in
 xsce:dxs. I would be in favor of just creating a xsce:dxs with all the dxs
 commits, so we don't lose the history, and then we just merge that to the
 xsce:master branch and just continue working there.
 
 WhatSay?

 OK, but what happens to the development I or anyone else has been doing in
 a branch off the fork of the current xsce when we do a PR?  I think there
 will be conflicts.


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


Re: [Server-devel] [XSCE] XSCE/xsce and activitycetral/dxs repository integration in a branch preserving history

2013-10-23 Thread Anish Mangal
Maybe git rebase --interactive commit will fix it without much headache
for you


On Wed, Oct 23, 2013 at 1:29 PM, Tim Moody t...@timmoody.com wrote:

   my branch will be one commit behind, the commit of the merge of dxs
 into master

 Tim

  *From:* Anish Mangal an...@activitycentral.com
 *Sent:* Wednesday, October 23, 2013 4:17 PM
 *To:* xsce-devel xsce-de...@googlegroups.com
 *Cc:* server-devel server-devel@lists.laptop.org
 *Subject:* Re: [XSCE] XSCE/xsce and activitycetral/dxs repository
 integration in a branch preserving history

  There should be none. There might be a 100 commits (the dxs history)
 instead of the current 1 commit, but the end result of those 100 will be
 the same.


 On Wed, Oct 23, 2013 at 1:11 PM, Tim Moody t...@timmoody.com wrote:

   Exactly! I also think it is a risk to have development being done
 in xsce:dxs. I would be in favor of just creating a xsce:dxs with all the
 dxs commits, so we don't lose the history, and then we just merge that to
 the xsce:master branch and just continue working there.
 
 WhatSay?

 OK, but what happens to the development I or anyone else has been doing
 in a branch off the fork of the current xsce when we do a PR?  I think
 there will be conflicts.




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


Re: [Server-devel] github workflow

2013-10-23 Thread Anish Mangal
Here's a video that Miguel created that explains it quite well too:

http://www.youtube.com/watch?v=CEE85F3Zjcs


On Wed, Oct 23, 2013 at 2:38 PM, George Hunt georgejh...@gmail.com wrote:

 After some discussion at the sprint, I looked for documentation of the
 workflow as I understand it:

 https://www.atlassian.com/git/workflows#!workflow-forking

 I found it helpful

 ___
 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] Supported Hardware Architectures

2013-10-23 Thread Anish Mangal
Does the $100 model have an enclosure for the hard drive? (even if the hard
drive itself is not present)


On Wed, Oct 23, 2013 at 9:47 PM, Alex Kleider aklei...@sonic.net wrote:

 On 2013-10-23 13:04, Martin Dluhos wrote:

 For the upcoming 0.5 release, we will be targeting the following hardware
 architectures:

 * Trim-Slice
 * XO-1.5, XO-1.75, X0-4
 * i386
 * x86_64

 Feel free to provide XSCE support for other architectures, but these are
 the
 ones we believe are most useful to the user community.

 Martin
 __**_
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/**listinfo/server-develhttp://lists.laptop.org/listinfo/server-devel


 FYI and FWIW:
 The price of the Trim-Slice is now down to US$100 (plus shipping.)
 (Without a hard drive which most would probably want to replace with a
 larger one anyway.)


 __**_
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/**listinfo/server-develhttp://lists.laptop.org/listinfo/server-devel

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


[Server-devel] Today, we ansible! ... hopefully.

2013-10-22 Thread Anish Mangal
Hi,

Day#1 of the XSCE hacksprint involved running through the list of features
that has been proposed. We created feature page templates and drafts for
most of them here:

http://wiki.laptop.org/go/XS_Community_Edition/feature

Please go through the list, and if something attracts your attention, go
for it. If the feature already has an author listed, then you may team up
with him and get cracking.

One of the things we hope to get started on is porting the code to ansible.
Miguel suggested some approaches following from Tim's email yesterday. We
could just follow that and go thru quick port-deploy-test cycles and start
making progress.

WhatSay?

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


[Server-devel] [ANNOUNCE] XSCE is now on Github - Fork us!

2013-10-15 Thread Anish Mangal
Hi,

Following a discussion about moving to github [1], the XSCE project has
finally been moved during the XSCE IRC meeting today [2]. AFAIK (pls
correct me if I'm wrong), the owners of the Github XSCE organization are
Jerry, Tim and George, and the folks who had commit access to the original
redmine repo, have the commit access.

Also,
* We sorted Jerry's access issue the xsce VM. So now, Jerry and Tim both
have access to it.
* The buildbot will point to the correct place soon.

So, all that is really needed is for the rest of us to fork the repo and
start contributing (by way of Pull Requests)!
Here's the link: https://github.com/XSCE/xsce

The workflow with Github is quite simple - Here's a demonstrative video
(from the DXS project) http://www.youtube.com/watch?v=CEE85F3Zjcs

[1] http://lists.laptop.org/pipermail/server-devel/2013-October/006827.html
[2] https://sugardextrose.org/issues/4786

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


[Server-devel] Reminder: XSCE IRC scrum tomorrow (15th October), 1600 UTC / 1200 EDT on #schoolserver/irc.freenode.net

2013-10-14 Thread Anish Mangal
Hi fellow server-hackers!

We will be having our sixth IRC scrum meeting tomorrow 15th October on 1600
UTC / 1200 EDT at the #schoolserver channel (irc.freenode.net). The meeting
will be logged by a supybot instance.

Please start filling in your points to discuss in the rolling agenda
document
https://docs.google.com/document/d/1o6QtzLb6e58YKWqMf_junux2XyBRLFm31un8YLcYslg/edit

Logs for the last meeting held on 8th October are here:
https://sugardextrose.org/issues/4764

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


  1   2   >