Computer power; was Re (3): Logjam vulnerability and epiphany.

2020-09-01 Thread peter
My biggest Internet usage is still email. 

For the majority of my Web interests, Dillo is preferable to Epiphany.
Opens almost any Wikipedia page in a few ms (blink).  

JavaScript is the biggest block to Dillo doing electronic banking. Is 
execution of code from a remote server on your machine, with access to 
your accounts, really a good idea? 

From:   Samuel Greenfeld 
Date:   Mon, 31 Aug 2020 20:14:18 -0400
> We would need Linux kernel development support to get systemd as 
> well the XO-specific drivers (camera, DCON, etc.) working with a 
> modern environment. 

The camera is dispensible.  Decent UVC cameras are available from salvage 
shops for 10 dollars or less.  

Minimal, at least, operation of DCON and power management are necessary.
Elaboration is helpful; not essential.

> And even then, the laptops might not have enough RAM to handle many 
> workloads.

Even the XO-1 has ample go power for ETH Oberon and A2.  Hypothetically 
of course but not far from reality.

From:   James Cameron 
Date:   Mon, 31 Aug 2020 07:21:33 +1000
> ... not a problem on NL3 or ED20 models with OLPC OS 20.04.

Endless hardware upgrading keeps Google, Microsoft, etc. and etc. in 
business.  Necessity to human needs is arguable.  Too many people I 
know would have trouble explaining what the Web is and have forgotten 
that email worked as well on a 486 in 1995 as it does now on an 
expensive contemporary machine.  I doubt that shiney new computers 
will help these people understand more.

The world already has far more than enough e-waste. 
https://interactive.aljazeera.com/aje/2015/ewaste/index.html 
Must the frenzied production continue?

In case you've read this far, thanks & apologies for the disturbance,

... P.

-- 
https://en.wikibooks.org/wiki/Medical_Machines
https://en.wikibooks.org/wiki/Oberon
Tel: +1 604 670 0140Bcc: peter at easthope. ca

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


Re (2): Logjam vulnerability and epiphany.

2020-08-31 Thread peter
From:   Samuel Greenfeld 
Date:   Mon, 31 Aug 2020 17:48:12 -0400
> While it is possible to partially fix the LogJam vulnerability, ...

I would have expected a fix to come from upstream; GNOME or Fedora.
https://en.wikipedia.org/wiki/Epiphany_browser

> A few years ago, we talked about ending support in 2020 when other 
> Linux distributions would stop distributing x86 processor builds.

13.2.11 is the last release for 1.5?

Thanks,... P.

-- 
https://en.wikibooks.org/wiki/Medical_Machines
https://en.wikibooks.org/wiki/Oberon
Tel: +1 604 670 0140Bcc: peter at easthope. ca

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


Re: Logjam vulnerability and epiphany.

2020-08-31 Thread James Cameron
Thanks for the question.

We have no plans to declare end-of-life or end-of-support for the older XO's.

As far as I can tell, in making such a declaration there would be no
net benefit, and some additional cost.

There are very few of the older XO's in use.

On Mon, Aug 31, 2020 at 05:48:12PM -0400, Samuel Greenfeld wrote:
> While it is possible to partially fix the LogJam vulnerability, are there 
> plans
> to declare end-of-life or end-of-support for the older XO's?
> 
> A few years ago, we talked about ending support in 2020 when other Linux
> distributions would stop distributing x86 processor builds.
> 
> And OLPC is not like the OpenWRT project, where developers have kept things
> up-to-date even for legacy hardware.
> 
> ---
> SJG
> 
> On Sun, Aug 30, 2020 at 5:21 PM James Cameron <[1]qu...@laptop.org> wrote:
> 
> Yes, wikimedia servers will be unreachable.  That is their decision.
> 
> Many other servers already do not permit connection, and this varies by
> geography of IP address, based on local laws or a server owner's 
> assessment
> of market value.
> 
> We have no plans to upgrade for XO-1.5.
> 
> Is not a problem on NL3 or ED20 models with OLPC OS 20.04.
> 
> On Sun, Aug 30, 2020 at 06:57:09AM -0700, [2]pe...@easthope.ca wrote:
> > Hi,
> >
> > System 13.2.8 on a XO 1.5 here.
> >
> > Open epiphany and open
> > [3]https://clienttest.ssllabs.com:8443/ssltest/viewMyClient.html .
> >
> > Logjam vulnerability is reported. 
> > [4]https://en.wikipedia.org/wiki/Logjam_(computer_security)
> >
> > A specific consequence is that a wikimedia server will not permit a
> > connection from this epiphany after September 25, 2020. Ie. Wikipedia
> > & etc. will become inaccessible with this browser.  =8~(
> >
> > I guess you fellas are aware of all that.  Is there any plan to
> > introduce an appropriate upgrade?
> >
> > Thanks,                              ... Peter E.
> >
> > --
> > [5]https://en.wikibooks.org/wiki/Medical_Machines
> > [6]https://en.wikibooks.org/wiki/Oberon
> > Tel: +1 604 670 0140            Bcc: peter at easthope. ca
> >
> > ___
> > Devel mailing list
> > [7]Devel@lists.laptop.org
> > [8]http://lists.laptop.org/listinfo/devel
> 
> --
> James Cameron
> [9]http://quozl.netrek.org/
> ___
> Devel mailing list
> [10]Devel@lists.laptop.org
> [11]http://lists.laptop.org/listinfo/devel
> 
> References:
> 
> [1] mailto:qu...@laptop.org
> [2] mailto:pe...@easthope.ca
> [3] https://clienttest.ssllabs.com:8443/ssltest/viewMyClient.html
> [4] https://en.wikipedia.org/wiki/Logjam_(computer_security)
> [5] https://en.wikibooks.org/wiki/Medical_Machines
> [6] https://en.wikibooks.org/wiki/Oberon
> [7] mailto:Devel@lists.laptop.org
> [8] http://lists.laptop.org/listinfo/devel
> [9] http://quozl.netrek.org/
> [10] mailto:Devel@lists.laptop.org
> [11] http://lists.laptop.org/listinfo/devel

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


Re: Logjam vulnerability and epiphany.

2020-08-31 Thread Samuel Greenfeld
While it is possible to partially fix the LogJam vulnerability, are there
plans to declare end-of-life or end-of-support for the older XO's?

A few years ago, we talked about ending support in 2020 when other Linux
distributions would stop distributing x86 processor builds.

And OLPC is not like the OpenWRT project, where developers have kept things
up-to-date even for legacy hardware.

---
SJG


On Sun, Aug 30, 2020 at 5:21 PM James Cameron  wrote:

> Yes, wikimedia servers will be unreachable.  That is their decision.
>
> Many other servers already do not permit connection, and this varies by
> geography of IP address, based on local laws or a server owner's assessment
> of market value.
>
> We have no plans to upgrade for XO-1.5.
>
> Is not a problem on NL3 or ED20 models with OLPC OS 20.04.
>
> On Sun, Aug 30, 2020 at 06:57:09AM -0700, pe...@easthope.ca wrote:
> > Hi,
> >
> > System 13.2.8 on a XO 1.5 here.
> >
> > Open epiphany and open
> > https://clienttest.ssllabs.com:8443/ssltest/viewMyClient.html .
> >
> > Logjam vulnerability is reported.
> > https://en.wikipedia.org/wiki/Logjam_(computer_security)
> >
> > A specific consequence is that a wikimedia server will not permit a
> > connection from this epiphany after September 25, 2020. Ie. Wikipedia
> > & etc. will become inaccessible with this browser.  =8~(
> >
> > I guess you fellas are aware of all that.  Is there any plan to
> > introduce an appropriate upgrade?
> >
> > Thanks,  ... Peter E.
> >
> > --
> > https://en.wikibooks.org/wiki/Medical_Machines
> > https://en.wikibooks.org/wiki/Oberon
> > Tel: +1 604 670 0140Bcc: peter at easthope. ca
> >
> > ___
> > Devel mailing list
> > Devel@lists.laptop.org
> > http://lists.laptop.org/listinfo/devel
>
> --
> James Cameron
> http://quozl.netrek.org/
> ___
> 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


Dillo; was Re: Logjam vulnerability and epiphany.

2020-08-31 Thread peter
From:   pe...@easthope.ca
Date:   Sun, 30 Aug 2020 06:57:09 -0700
> Wikipedia & etc. will become inaccessible with this [epiphany] 
> browser.

Incidentally, Dillo can retrieve and render pages from Wikimedia 
projects.  https://en.wikipedia.org/wiki/Dillo

Dillo doesn't support JavaScript.  Nevertheless Dillo presents text 
and images much more quickly than any other browser I've tried.  

Glitzy multimedia doesn't work automatically.  Nevertheless a 
multimedia file is easily retrieved; then played by software such as 
the Movie Player (formerly known as Totem). 

This is a nice example of less is more.

sudo yum install dillo

Regards, ... P.

-- 
https://en.wikibooks.org/wiki/Medical_Machines
https://en.wikibooks.org/wiki/Oberon
Tel: +1 604 670 0140Bcc: peter at easthope. ca

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


Re: Logjam vulnerability and epiphany.

2020-08-30 Thread James Cameron
Yes, wikimedia servers will be unreachable.  That is their decision.

Many other servers already do not permit connection, and this varies by 
geography of IP address, based on local laws or a server owner's assessment of 
market value.

We have no plans to upgrade for XO-1.5.

Is not a problem on NL3 or ED20 models with OLPC OS 20.04.

On Sun, Aug 30, 2020 at 06:57:09AM -0700, pe...@easthope.ca wrote:
> Hi,
> 
> System 13.2.8 on a XO 1.5 here.
> 
> Open epiphany and open 
> https://clienttest.ssllabs.com:8443/ssltest/viewMyClient.html .
> 
> Logjam vulnerability is reported.  
> https://en.wikipedia.org/wiki/Logjam_(computer_security)
> 
> A specific consequence is that a wikimedia server will not permit a 
> connection from this epiphany after September 25, 2020. Ie. Wikipedia 
> & etc. will become inaccessible with this browser.  =8~(
> 
> I guess you fellas are aware of all that.  Is there any plan to 
> introduce an appropriate upgrade?
> 
> Thanks,  ... Peter E.
> 
> -- 
> https://en.wikibooks.org/wiki/Medical_Machines
> https://en.wikibooks.org/wiki/Oberon
> Tel: +1 604 670 0140Bcc: peter at easthope. ca
> 
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel

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


Re: Hardware test in 1.5 reports temperature rise of 9 or 10 C.

2020-08-10 Thread peter
From:   James Cameron 
Date:   Tue, 11 Aug 2020 07:21:17 +1000
> January 2011, about 9.5 years ago.  I would have expected it to fail
> much sooner.  It has lasted well.

Years ago, changed the internal SDHC to 8 GB.  About a year ago, 
replaced the battery pack with a new one sent from Australia by Terry 
Gillett; thx Terry.  Otherwise all original.  Good reliable little machine; 
on a par with the VW Beetle.

> The test should be done at an ambient temperature of 21°C to avoid
> false positives.

The test was done in the evening, temperature 20-25 C.  Will try 
again and check the thermometer.

> - missing or loose screws holding down the heat spreader,
> 
> - dents in heat spreader due to impact,

Unlikely in this machine.

> - age hardening of the silicone plastic thermal pad between the heat
>   spreader and the CPU.

The most likely factor here.

> I suggest ignoring the problem for now, as servicing may cause damage
> beyond economic repair.  In particular for the CPU interposer board
> solder balls, which are under significant stress.

Will do.  I'm contemplating to find a 1.75 on eBay.  

Possibly a new infinity.  Not clear whether the proposed modularity of the 
Infinity was implemented in production.  Also not clear whether the case 
is elastic polymer or hard polymer.

Thx,... P.

-- 
https://en.wikibooks.org/wiki/Medical_Machines
https://en.wikibooks.org/wiki/Oberon
Tel: +1 604 670 0140Bcc: peter at easthope. ca

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


Re: Hardware test in 1.5 reports temperature rise of 9 or 10 C.

2020-08-10 Thread James Cameron
Thanks, that's interesting.  This serial number was produced in late
January 2011, about 9.5 years ago.  I would have expected it to fail
much sooner.  It has lasted well.

The temperature rise test was only characterised for manufacturing and
some accelerated aging tests.  The test has no statistical meaning now.
The test should be done at an ambient temperature of 21°C to avoid
false positives.

In my experience the most likely causes of the test failure are;

- high ambient temperature due to season,

- high internal temperature due to repeated testing,

- missing or loose screws holding down the heat spreader,

- dents in heat spreader due to impact,

- age hardening of the silicone plastic thermal pad between the heat
  spreader and the CPU.

I suggest ignoring the problem for now, as servicing may cause damage
beyond economic repair.  In particular for the CPU interposer board
solder balls, which are under significant stress.

On Mon, Aug 10, 2020 at 06:07:02AM -0700, pe...@easthope.ca wrote:
> Hi,
> 
> P.s. This is SKU 133, D5.  
> Present in http://wiki.laptop.org/go/Manufacturing_data .
> 
> The 1.5 D5 here is S/N SHC10400772  OpenFirmware Q3C17  EC Firmware 
> Ver:2.2.10.
> 
> In the hardware test, a temperature rise of 9-10 C is reported.
> 
> I found a thread in the mailing list at 2011-2012.  Appears hardware 
> revision might have continued then.  I haven't found a description of 
> a repair.
> 
> I have no trouble dismantling the machine and performing a small 
> modification or repair.  Before diving in, I am interested in advice 
> and lore.
> 
> Aside from this thermal problem, the machine appears to run as well as 
> when it left the factory.
> 
> Thanks!  ... Peter E.
> 
> -- 
> https://en.wikibooks.org/wiki/Medical_Machines
> https://en.wikibooks.org/wiki/Oberon
> Tel: +1 604 670 0140Bcc: peter at easthope. ca
> 
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel

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


Re: XO1.75

2020-06-08 Thread James Cameron
Based on memory, 00 means fault in RAM.  Replace RAM.  Could also be 
electrostatic damage to CPU or RAM.  Could also be age degradation of silicon 
chips.

To find the real meaning of 00 takes reading the C code of the CForth startup 
payload, which is loaded from SPI Flash.

There is no involvement of eMMC or SD card slots.

On Sat, Jun 06, 2020 at 11:41:33AM +, Yioryos Asprobounitis wrote:
> Hi list
> I dug out my XOs to check their condition and my XO-1.75 (SKU203) refuses to 
> boot as if it was wiped out clean or has no microSD card at all.
> The screen comes up and nothing further.
> Firmware check just show a double zero [00] 
> Trying to install a fresh OS from USB fails (with the same double zero)
> A fast wiki search did not come up with anything relevant.
> If someone can point me to the right direction I would appreciate it.
> Thanks
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel

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


Re: XO1.75 - Devel Digest, Vol 155, Issue 1

2020-06-07 Thread Yioryos Asprobounitis


Message: 1
Date: Sat, 6 Jun 2020 11:41:33 + (UTC)
From: Yioryos Asprobounitis 
To: "devel@lists.laptop.org" 
Subject: XO1.75
Message-ID: <2133017554.128519.1591443693...@mail.yahoo.com>
Content-Type: text/plain; charset=UTF-8

Hi list
I dug out my XOs to check their condition and my XO-1.75 (SKU203) refuses to 
boot as if it was wiped out clean or has no microSD card at all.
The screen comes up and nothing further.
Firmware check just show a double zero [00] 
Trying to install a fresh OS from USB fails (with the same double zero)
A fast wiki search did not come up with anything relevant.
If someone can point me to the right direction I would appreciate it.
Thanks


--

Message: 2
Date: Sat, 06 Jun 2020 05:37:38 -0700
From: pe...@easthope.ca
To: devel@lists.laptop.org
Subject: Re: XO1.75
Message-ID: 

From:    Yioryos Asprobounitis 
Date:    Sat, 6 Jun 2020 11:41:33 + (UTC)
> The screen comes up and nothing further.

ESC doesn't give the prompt of the Forth PROM?

> Firmware check just show a double zero [00]

Hardware diagnostics?  Rocker left cheat code.
http://wiki.laptop.org/go/Cheat_codes

Regards,                            ... Peter E.

-- 
https://en.wikibooks.org/wiki/Medical_Machines
https://en.wikibooks.org/wiki/Oberon
Tel: +1 604 670 0140            Bcc: peter at easthope. ca



Thank you Peter,
But there is no way to get to the Forth PROM or get hardware diagnostics or 
anything on the screen other that the 2 big zeros mentioned above.
Looks like there is no firmware in this machine! 
As if the eMMC is wiped clean or missing.

This XO has a serial port connection attached
Any diagnostics through this?

Thanks

PS: Sorry for the miss formatted response. My mailer is not list-friendly


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


Re (2): XO1.75 - Devel Digest, Vol 155, Issue 1

2020-06-06 Thread peter
From:   Yioryos Asprobounitis 
Date:   Sun, 7 Jun 2020 04:19:22 + (UTC)
> Looks like there is no firmware in this machine!

I don't know the 00 display but this and the following sections should help.
http://wiki.laptop.org/go/Fix_Clock#If_the_screen_does_not_turn_on

> Looks like there is no firmware in this machine!
> As if the eMMC is wiped clean or missing.

Instructions for debricking are here.  
http://wiki.laptop.org/go/Fix_Clock#Automated_repair_script
http://wiki.laptop.org/go/Debricking_XO_1.5_with_Artec_Dongle
http://wiki.laptop.org/go/SPI_FLASH_Recovery_for_XO-1.5

WIth google, use a site specific search.  Google "site:laptop.org debricking".

If the serial connector works, that's one step done already.

Regards, ... P.



-- 
https://en.wikibooks.org/wiki/Medical_Machines
https://en.wikibooks.org/wiki/Oberon
Tel: +1 604 670 0140Bcc: peter at easthope. ca

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


Re: XO1.75

2020-06-06 Thread peter
From:   Yioryos Asprobounitis 
Date:   Sat, 6 Jun 2020 11:41:33 + (UTC)
> The screen comes up and nothing further.

ESC doesn't give the prompt of the Forth PROM?

> Firmware check just show a double zero [00]

Hardware diagnostics?  Rocker left cheat code.
http://wiki.laptop.org/go/Cheat_codes

Regards,... Peter E.

-- 
https://en.wikibooks.org/wiki/Medical_Machines
https://en.wikibooks.org/wiki/Oberon
Tel: +1 604 670 0140Bcc: peter at easthope. ca

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


Re: [Server-devel] [support-gang] [UKids] Volunteers are tracking COVID-19 more informatively than the US Govt CDC (for now)

2020-03-18 Thread Sameer Verma
There's a Google Docs doc at https://coronavirustechhandbook.com/ and a
Facebook site with lots of info...fast-moving, with an ok signal-to-noise
ratio, but useful. https://www.facebook.com/groups/221979475862484/

There's also https://nextstrain.org/ncov that's mapping the genomic
epidemiology of the novel coronavirus, as the mutations pop up around the
world.

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


Re: Announcing OLPC OS 13.2.11

2020-01-31 Thread Carrol Riddle

The release of 13.2.11 is particularly apropos at this time, as 
Internet-in-a-Box (IIAB) content has just become accessible to XO laptops here. 
 Thanks James.

The OER2GO (RACHEL) content packages on IIAB become available to the XO laptop 
by slightly modifying a "copy" of the index.html(f) of each package.  XO 
Browse, web browser, can call this copy with 
http://box.lan/modules/en-ck12/index_xo.html   (e.g., ck12 package), which is 
compatible with Browse.

This is a long path for routine use, but it is needed only the first time since 
the XO creates an entry in its Journal.  Clicking on the entry (renamed to 
package name) would start Browse with the path. The "box" feature of the 
Journal allows grouping of these entries into menus of applications, each of 
which can be started with a click. An example menu might consist of: 
kindergarten, elementary, high school.  A list of index_xo.html(f)'s for 
various packages is being collected.

This does not work for ZIM files, but there may be a path forward for this.  A 
similarly modified index (extracted from zim file) would be used.

The package xy utilites for zim files has functions similar to tar archiving 
(wikipedia), which allows extracting a single file.   IF an xy tool allowed 
extraction of file within a "href line" in an index.html file, then the indexed 
contents of the index file might be display for the XO, as with the OER2GO 
example.

Can anyone provide an example of such ? 

Carrol Riddle

> On January 29, 2020 at 3:43 AM James Cameron  wrote:
> 
> 
> G'day,
> 
> We're pleased to announce the release of OLPC OS 13.2.11 for XO-1,
> XO-1.5, XO-1.75 and XO-4.
> 
> It is Sugar 0.112 on Fedora 18, with updated activities Browse-157.5,
> Calculate-45.1, Chat-85.1, Clock-21, Distance-36, ImageViewer-64.1,
> Implode-19.1, Log-40.1, Maze-28.2, Measure-53.1, Memorize-55.1,
> Moon-18.1, MusicKeyboard-8.10, Paint-69, Pippy-72.3, Read-118.2,
> Record-104, Speak-52.1, StopWatch-20.2, Terminal-46.2, and Write-100.
> 
> Details of fixes, known issues, and how to download, install or
> upgrade are in the release notes:
> 
> http://wiki.laptop.org/go/Release_notes/13.2.11
> 
> Our thanks to all contributors, testers, upstreams, and those who
> have provided feedback of any kind.
> 
> Build file names: 32023o0 32023o1 32023o2 32023o4
> 
> -- 
> James Cameron
> http://quozl.netrek.org/
> ___
> 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: XO as wireless remote terminal for Internet-in-a-box on Raspberry Pi Zero W

2019-12-12 Thread Carrol Riddle
Final choices: chromium-browser or surf. For c-b:
Wirelessly connect to Internet-in-a-Box AP, then

ssh -X pi@box.local chromium-browser http://box.local/admin

Thanks to Devel for nurturing this effort.  Now, on to end-user forum.

Carrol Riddle

> On December 10, 2019 at 5:41 PM Carrol Riddle  wrote:
> 
> 
> sudo apt install dillo   works. (did first removed files from download of 
> tarball method)
> Website http://wiki.laptop.org rendering is usable. 
> Internet-in-a-Box home page is largely not usable.  Presumably, this is due 
> to use of Javascript pages.
> Will try other lite browsers which claim to handle javascript.
> 
> > On December 10, 2019 at 2:28 PM James Cameron  wrote:
> > 
> > 
> > Have you tried "sudo apt install dillo"?
> > 
> > On Tue, Dec 10, 2019 at 02:19:12PM -0500, Carrol Riddle wrote:
> > > James,
> > > Thanks for intro to field of "lite" browsers -- different from tried 
> > > links2.
> > > Not successful with Dillo yet. Make for fltk, a prerequisite, fails with 
> > > errors (configure errors ?).
> > > Will also look at others.
> > > Carrol Riddle
> > > 
> > > > On December 9, 2019 at 1:07 AM James Cameron  wrote:
> > > > 
> > > > 
> > > > Most web content demands large browser like Chromium or Firefox.
> > > > 
> > > > But where the web content is your own, or under your control, then a
> > > > simplified web browser like Dillo may be helpful.
> > > > 
> > > > On Mon, Dec 09, 2019 at 12:13:36AM -0500, Carrol Riddle wrote:
> > > > > XO as wireless remote terminal for Internet-in-a-box on Raspberry Pi 
> > > > > Zero W using X11 forwarding.
> > > > > 
> > > > > XO usb port can be used to power Pi Zero W.  XO can be used to 
> > > > > prepare >64 GB SD by installing Exfat (per earlier post).
> > > > > 
> > > > > Headless Pi Zero can be set up wirelessly with standard method of 
> > > > > connecting to a wireless router.
> > > > > A prepared Raspbian SD is edited to place empty SSH file in /boot to 
> > > > > enable SSH and place a model wpa_supplicant file in /boot.  The 
> > > > > wpa_supplicant is edit to provide ssid or ip address of router and 
> > > > > its password. The Pi Zero W is functioning as an AP client.
> > > > > 
> > > > > Connection to the Pi Zero W is made using its host name (raspberrypi, 
> > > > > password raspberry) or ip address (192.168.128.4) with a computer 
> > > > > (XO) also connected to the wireless router.  
> > > > > 
> > > > > The wireless router is connected to an internet AP (in my case 
> > > > > broadband AP/wireless router).  Raspbian Desktop is loaded and then 
> > > > > Internet-in-a-Box (IIAB) is loaded.  iiab-hotspot-on command is run 
> > > > > to enable IIAB's AP.  This also disables the connection to the 
> > > > > wireless router and the only access to the IIAB becomes its AP and 
> > > > > there is no internet connection (in spite of enabling internet on 
> > > > > gateway).
> > > > > 
> > > > > If one needs to connect to the internet to obtain more content, then 
> > > > > iiab-hotspot-off . The Pi Zero W can then be access with an XO (same 
> > > > > XO as for power) over its usb port, which provides internet access.  
> > > > > XO setup  and accessing Chromium in the Raspbian Desktop has been 
> > > > > described in an earlier post. IIAB is run in Chromium to access the 
> > > > > Admin Console to manage the content.
> > > > > 
> > > > > Return to normal use of IIAB by running iiab-hotspot-on .   The Pi 
> > > > > Zero W can be moved to any source of usb power.
> > > > > 
> > > > > Connect XO wirelessly to IIAB AP.   SSH / desktop with ssh -X 
> > > > > pi@box.local /etc/X11/xinit/xintrc
> > > > > Run Chrommium with URL of http://box.local.   This can be simplified 
> > > > > by setting startup page in Chromium to http://box.local/home  .
> > > > > 
> > > > > Chromium is very, very slow, but IIAB is at XO speed.
> > > > > 
> > > > > If one wants to otherwise use Chromium, enable Home key in task bar 
> > > > > and assign it to Chrome://
> > > > > 
> > > > > Direct Chromium access with  works 
> > > > > when accessed over the usb, but does not work with IIAB AP (something 
> > > > > about Xlib).
> > > > > 
> > > > > A simple Sugar Activity can run a script to handle all this startup 
> > > > > of ssh / chromium / iiab .
> > > > > 
> > > > > My question for Devel list:   is there a simpler (faster) application 
> > > > > than desktop Chromium for displaying web pages from Terminal ??
> > > > > 
> > > > > links2 is one such application, but I have not been successful in 
> > > > > setting up options for x display.
> > > > > 
> > > > > 
> > > > > Carrol Riddle
> > > > > ___
> > > > > Devel mailing list
> > > > > Devel@lists.laptop.org
> > > > > http://lists.laptop.org/listinfo/devel
> > > > 
> > > > -- 
> > > > James Cameron
> > > > http://quozl.netrek.org/
> > > > ___
> > > > Devel mailing list
> > > > Devel@lists.laptop.org
> > > > 

Re: XO as wireless remote terminal for Internet-in-a-box on Raspberry Pi Zero W

2019-12-10 Thread James Cameron
Best ask Internet-in-a-Box project about minimum browser requirements;
as far as I know they don't participate here on devel@ or maintain
IIAB for use with XOs.

On Tue, Dec 10, 2019 at 05:41:57PM -0500, Carrol Riddle wrote:
> sudo apt install dillo   works. (did first removed files from download of 
> tarball method)
> Website http://wiki.laptop.org rendering is usable. 
> Internet-in-a-Box home page is largely not usable.  Presumably, this is due 
> to use of Javascript pages.
> Will try other lite browsers which claim to handle javascript.
> 
> > On December 10, 2019 at 2:28 PM James Cameron  wrote:
> > 
> > 
> > Have you tried "sudo apt install dillo"?
> > 
> > On Tue, Dec 10, 2019 at 02:19:12PM -0500, Carrol Riddle wrote:
> > > James,
> > > Thanks for intro to field of "lite" browsers -- different from tried 
> > > links2.
> > > Not successful with Dillo yet. Make for fltk, a prerequisite, fails with 
> > > errors (configure errors ?).
> > > Will also look at others.
> > > Carrol Riddle
> > > 
> > > > On December 9, 2019 at 1:07 AM James Cameron  wrote:
> > > > 
> > > > 
> > > > Most web content demands large browser like Chromium or Firefox.
> > > > 
> > > > But where the web content is your own, or under your control, then a
> > > > simplified web browser like Dillo may be helpful.
> > > > 
> > > > On Mon, Dec 09, 2019 at 12:13:36AM -0500, Carrol Riddle wrote:
> > > > > XO as wireless remote terminal for Internet-in-a-box on Raspberry Pi 
> > > > > Zero W using X11 forwarding.
> > > > > 
> > > > > XO usb port can be used to power Pi Zero W.  XO can be used to 
> > > > > prepare >64 GB SD by installing Exfat (per earlier post).
> > > > > 
> > > > > Headless Pi Zero can be set up wirelessly with standard method of 
> > > > > connecting to a wireless router.
> > > > > A prepared Raspbian SD is edited to place empty SSH file in /boot to 
> > > > > enable SSH and place a model wpa_supplicant file in /boot.  The 
> > > > > wpa_supplicant is edit to provide ssid or ip address of router and 
> > > > > its password. The Pi Zero W is functioning as an AP client.
> > > > > 
> > > > > Connection to the Pi Zero W is made using its host name (raspberrypi, 
> > > > > password raspberry) or ip address (192.168.128.4) with a computer 
> > > > > (XO) also connected to the wireless router.  
> > > > > 
> > > > > The wireless router is connected to an internet AP (in my case 
> > > > > broadband AP/wireless router).  Raspbian Desktop is loaded and then 
> > > > > Internet-in-a-Box (IIAB) is loaded.  iiab-hotspot-on command is run 
> > > > > to enable IIAB's AP.  This also disables the connection to the 
> > > > > wireless router and the only access to the IIAB becomes its AP and 
> > > > > there is no internet connection (in spite of enabling internet on 
> > > > > gateway).
> > > > > 
> > > > > If one needs to connect to the internet to obtain more content, then 
> > > > > iiab-hotspot-off . The Pi Zero W can then be access with an XO (same 
> > > > > XO as for power) over its usb port, which provides internet access.  
> > > > > XO setup  and accessing Chromium in the Raspbian Desktop has been 
> > > > > described in an earlier post. IIAB is run in Chromium to access the 
> > > > > Admin Console to manage the content.
> > > > > 
> > > > > Return to normal use of IIAB by running iiab-hotspot-on .   The Pi 
> > > > > Zero W can be moved to any source of usb power.
> > > > > 
> > > > > Connect XO wirelessly to IIAB AP.   SSH / desktop with ssh -X 
> > > > > pi@box.local /etc/X11/xinit/xintrc
> > > > > Run Chrommium with URL of http://box.local.   This can be simplified 
> > > > > by setting startup page in Chromium to http://box.local/home  .
> > > > > 
> > > > > Chromium is very, very slow, but IIAB is at XO speed.
> > > > > 
> > > > > If one wants to otherwise use Chromium, enable Home key in task bar 
> > > > > and assign it to Chrome://
> > > > > 
> > > > > Direct Chromium access with  works 
> > > > > when accessed over the usb, but does not work with IIAB AP (something 
> > > > > about Xlib).
> > > > > 
> > > > > A simple Sugar Activity can run a script to handle all this startup 
> > > > > of ssh / chromium / iiab .
> > > > > 
> > > > > My question for Devel list:   is there a simpler (faster) application 
> > > > > than desktop Chromium for displaying web pages from Terminal ??
> > > > > 
> > > > > links2 is one such application, but I have not been successful in 
> > > > > setting up options for x display.
> > > > > 
> > > > > 
> > > > > Carrol Riddle
> > > > > ___
> > > > > Devel mailing list
> > > > > Devel@lists.laptop.org
> > > > > http://lists.laptop.org/listinfo/devel
> > > > 
> > > > -- 
> > > > James Cameron
> > > > http://quozl.netrek.org/
> > > > ___
> > > > Devel mailing list
> > > > Devel@lists.laptop.org
> > > > http://lists.laptop.org/listinfo/devel
> > > ___
> > > 

Re: XO as wireless remote terminal for Internet-in-a-box on Raspberry Pi Zero W

2019-12-10 Thread Carrol Riddle
sudo apt install dillo   works. (did first removed files from download of 
tarball method)
Website http://wiki.laptop.org rendering is usable. 
Internet-in-a-Box home page is largely not usable.  Presumably, this is due to 
use of Javascript pages.
Will try other lite browsers which claim to handle javascript.

> On December 10, 2019 at 2:28 PM James Cameron  wrote:
> 
> 
> Have you tried "sudo apt install dillo"?
> 
> On Tue, Dec 10, 2019 at 02:19:12PM -0500, Carrol Riddle wrote:
> > James,
> > Thanks for intro to field of "lite" browsers -- different from tried links2.
> > Not successful with Dillo yet. Make for fltk, a prerequisite, fails with 
> > errors (configure errors ?).
> > Will also look at others.
> > Carrol Riddle
> > 
> > > On December 9, 2019 at 1:07 AM James Cameron  wrote:
> > > 
> > > 
> > > Most web content demands large browser like Chromium or Firefox.
> > > 
> > > But where the web content is your own, or under your control, then a
> > > simplified web browser like Dillo may be helpful.
> > > 
> > > On Mon, Dec 09, 2019 at 12:13:36AM -0500, Carrol Riddle wrote:
> > > > XO as wireless remote terminal for Internet-in-a-box on Raspberry Pi 
> > > > Zero W using X11 forwarding.
> > > > 
> > > > XO usb port can be used to power Pi Zero W.  XO can be used to prepare 
> > > > >64 GB SD by installing Exfat (per earlier post).
> > > > 
> > > > Headless Pi Zero can be set up wirelessly with standard method of 
> > > > connecting to a wireless router.
> > > > A prepared Raspbian SD is edited to place empty SSH file in /boot to 
> > > > enable SSH and place a model wpa_supplicant file in /boot.  The 
> > > > wpa_supplicant is edit to provide ssid or ip address of router and its 
> > > > password. The Pi Zero W is functioning as an AP client.
> > > > 
> > > > Connection to the Pi Zero W is made using its host name (raspberrypi, 
> > > > password raspberry) or ip address (192.168.128.4) with a computer (XO) 
> > > > also connected to the wireless router.  
> > > > 
> > > > The wireless router is connected to an internet AP (in my case 
> > > > broadband AP/wireless router).  Raspbian Desktop is loaded and then 
> > > > Internet-in-a-Box (IIAB) is loaded.  iiab-hotspot-on command is run to 
> > > > enable IIAB's AP.  This also disables the connection to the wireless 
> > > > router and the only access to the IIAB becomes its AP and there is no 
> > > > internet connection (in spite of enabling internet on gateway).
> > > > 
> > > > If one needs to connect to the internet to obtain more content, then 
> > > > iiab-hotspot-off . The Pi Zero W can then be access with an XO (same XO 
> > > > as for power) over its usb port, which provides internet access.  XO 
> > > > setup  and accessing Chromium in the Raspbian Desktop has been 
> > > > described in an earlier post. IIAB is run in Chromium to access the 
> > > > Admin Console to manage the content.
> > > > 
> > > > Return to normal use of IIAB by running iiab-hotspot-on .   The Pi Zero 
> > > > W can be moved to any source of usb power.
> > > > 
> > > > Connect XO wirelessly to IIAB AP.   SSH / desktop with ssh -X 
> > > > pi@box.local /etc/X11/xinit/xintrc
> > > > Run Chrommium with URL of http://box.local.   This can be simplified by 
> > > > setting startup page in Chromium to http://box.local/home  .
> > > > 
> > > > Chromium is very, very slow, but IIAB is at XO speed.
> > > > 
> > > > If one wants to otherwise use Chromium, enable Home key in task bar and 
> > > > assign it to Chrome://
> > > > 
> > > > Direct Chromium access with  works 
> > > > when accessed over the usb, but does not work with IIAB AP (something 
> > > > about Xlib).
> > > > 
> > > > A simple Sugar Activity can run a script to handle all this startup of 
> > > > ssh / chromium / iiab .
> > > > 
> > > > My question for Devel list:   is there a simpler (faster) application 
> > > > than desktop Chromium for displaying web pages from Terminal ??
> > > > 
> > > > links2 is one such application, but I have not been successful in 
> > > > setting up options for x display.
> > > > 
> > > > 
> > > > Carrol Riddle
> > > > ___
> > > > Devel mailing list
> > > > Devel@lists.laptop.org
> > > > http://lists.laptop.org/listinfo/devel
> > > 
> > > -- 
> > > James Cameron
> > > http://quozl.netrek.org/
> > > ___
> > > 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
> 
> -- 
> James Cameron
> http://quozl.netrek.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XO as wireless remote terminal for Internet-in-a-box on Raspberry Pi Zero W

2019-12-10 Thread James Cameron
Have you tried "sudo apt install dillo"?

On Tue, Dec 10, 2019 at 02:19:12PM -0500, Carrol Riddle wrote:
> James,
> Thanks for intro to field of "lite" browsers -- different from tried links2.
> Not successful with Dillo yet. Make for fltk, a prerequisite, fails with 
> errors (configure errors ?).
> Will also look at others.
> Carrol Riddle
> 
> > On December 9, 2019 at 1:07 AM James Cameron  wrote:
> > 
> > 
> > Most web content demands large browser like Chromium or Firefox.
> > 
> > But where the web content is your own, or under your control, then a
> > simplified web browser like Dillo may be helpful.
> > 
> > On Mon, Dec 09, 2019 at 12:13:36AM -0500, Carrol Riddle wrote:
> > > XO as wireless remote terminal for Internet-in-a-box on Raspberry Pi Zero 
> > > W using X11 forwarding.
> > > 
> > > XO usb port can be used to power Pi Zero W.  XO can be used to prepare 
> > > >64 GB SD by installing Exfat (per earlier post).
> > > 
> > > Headless Pi Zero can be set up wirelessly with standard method of 
> > > connecting to a wireless router.
> > > A prepared Raspbian SD is edited to place empty SSH file in /boot to 
> > > enable SSH and place a model wpa_supplicant file in /boot.  The 
> > > wpa_supplicant is edit to provide ssid or ip address of router and its 
> > > password. The Pi Zero W is functioning as an AP client.
> > > 
> > > Connection to the Pi Zero W is made using its host name (raspberrypi, 
> > > password raspberry) or ip address (192.168.128.4) with a computer (XO) 
> > > also connected to the wireless router.  
> > > 
> > > The wireless router is connected to an internet AP (in my case broadband 
> > > AP/wireless router).  Raspbian Desktop is loaded and then 
> > > Internet-in-a-Box (IIAB) is loaded.  iiab-hotspot-on command is run to 
> > > enable IIAB's AP.  This also disables the connection to the wireless 
> > > router and the only access to the IIAB becomes its AP and there is no 
> > > internet connection (in spite of enabling internet on gateway).
> > > 
> > > If one needs to connect to the internet to obtain more content, then 
> > > iiab-hotspot-off . The Pi Zero W can then be access with an XO (same XO 
> > > as for power) over its usb port, which provides internet access.  XO 
> > > setup  and accessing Chromium in the Raspbian Desktop has been described 
> > > in an earlier post. IIAB is run in Chromium to access the Admin Console 
> > > to manage the content.
> > > 
> > > Return to normal use of IIAB by running iiab-hotspot-on .   The Pi Zero W 
> > > can be moved to any source of usb power.
> > > 
> > > Connect XO wirelessly to IIAB AP.   SSH / desktop with ssh -X 
> > > pi@box.local /etc/X11/xinit/xintrc
> > > Run Chrommium with URL of http://box.local.   This can be simplified by 
> > > setting startup page in Chromium to http://box.local/home  .
> > > 
> > > Chromium is very, very slow, but IIAB is at XO speed.
> > > 
> > > If one wants to otherwise use Chromium, enable Home key in task bar and 
> > > assign it to Chrome://
> > > 
> > > Direct Chromium access with  works 
> > > when accessed over the usb, but does not work with IIAB AP (something 
> > > about Xlib).
> > > 
> > > A simple Sugar Activity can run a script to handle all this startup of 
> > > ssh / chromium / iiab .
> > > 
> > > My question for Devel list:   is there a simpler (faster) application 
> > > than desktop Chromium for displaying web pages from Terminal ??
> > > 
> > > links2 is one such application, but I have not been successful in setting 
> > > up options for x display.
> > > 
> > > 
> > > Carrol Riddle
> > > ___
> > > Devel mailing list
> > > Devel@lists.laptop.org
> > > http://lists.laptop.org/listinfo/devel
> > 
> > -- 
> > James Cameron
> > http://quozl.netrek.org/
> > ___
> > 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

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


Re: XO as wireless remote terminal for Internet-in-a-box on Raspberry Pi Zero W

2019-12-10 Thread Carrol Riddle
James,
Thanks for intro to field of "lite" browsers -- different from tried links2.
Not successful with Dillo yet. Make for fltk, a prerequisite, fails with errors 
(configure errors ?).
Will also look at others.
Carrol Riddle

> On December 9, 2019 at 1:07 AM James Cameron  wrote:
> 
> 
> Most web content demands large browser like Chromium or Firefox.
> 
> But where the web content is your own, or under your control, then a
> simplified web browser like Dillo may be helpful.
> 
> On Mon, Dec 09, 2019 at 12:13:36AM -0500, Carrol Riddle wrote:
> > XO as wireless remote terminal for Internet-in-a-box on Raspberry Pi Zero W 
> > using X11 forwarding.
> > 
> > XO usb port can be used to power Pi Zero W.  XO can be used to prepare >64 
> > GB SD by installing Exfat (per earlier post).
> > 
> > Headless Pi Zero can be set up wirelessly with standard method of 
> > connecting to a wireless router.
> > A prepared Raspbian SD is edited to place empty SSH file in /boot to enable 
> > SSH and place a model wpa_supplicant file in /boot.  The wpa_supplicant is 
> > edit to provide ssid or ip address of router and its password. The Pi Zero 
> > W is functioning as an AP client.
> > 
> > Connection to the Pi Zero W is made using its host name (raspberrypi, 
> > password raspberry) or ip address (192.168.128.4) with a computer (XO) also 
> > connected to the wireless router.  
> > 
> > The wireless router is connected to an internet AP (in my case broadband 
> > AP/wireless router).  Raspbian Desktop is loaded and then Internet-in-a-Box 
> > (IIAB) is loaded.  iiab-hotspot-on command is run to enable IIAB's AP.  
> > This also disables the connection to the wireless router and the only 
> > access to the IIAB becomes its AP and there is no internet connection (in 
> > spite of enabling internet on gateway).
> > 
> > If one needs to connect to the internet to obtain more content, then 
> > iiab-hotspot-off . The Pi Zero W can then be access with an XO (same XO as 
> > for power) over its usb port, which provides internet access.  XO setup  
> > and accessing Chromium in the Raspbian Desktop has been described in an 
> > earlier post. IIAB is run in Chromium to access the Admin Console to manage 
> > the content.
> > 
> > Return to normal use of IIAB by running iiab-hotspot-on .   The Pi Zero W 
> > can be moved to any source of usb power.
> > 
> > Connect XO wirelessly to IIAB AP.   SSH / desktop with ssh -X pi@box.local 
> > /etc/X11/xinit/xintrc
> > Run Chrommium with URL of http://box.local.   This can be simplified by 
> > setting startup page in Chromium to http://box.local/home  .
> > 
> > Chromium is very, very slow, but IIAB is at XO speed.
> > 
> > If one wants to otherwise use Chromium, enable Home key in task bar and 
> > assign it to Chrome://
> > 
> > Direct Chromium access with  works when 
> > accessed over the usb, but does not work with IIAB AP (something about 
> > Xlib).
> > 
> > A simple Sugar Activity can run a script to handle all this startup of ssh 
> > / chromium / iiab .
> > 
> > My question for Devel list:   is there a simpler (faster) application than 
> > desktop Chromium for displaying web pages from Terminal ??
> > 
> > links2 is one such application, but I have not been successful in setting 
> > up options for x display.
> > 
> > 
> > Carrol Riddle
> > ___
> > Devel mailing list
> > Devel@lists.laptop.org
> > http://lists.laptop.org/listinfo/devel
> 
> -- 
> James Cameron
> http://quozl.netrek.org/
> ___
> 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: XO as wireless remote terminal for Internet-in-a-box on Raspberry Pi Zero W

2019-12-08 Thread James Cameron
Most web content demands large browser like Chromium or Firefox.

But where the web content is your own, or under your control, then a
simplified web browser like Dillo may be helpful.

On Mon, Dec 09, 2019 at 12:13:36AM -0500, Carrol Riddle wrote:
> XO as wireless remote terminal for Internet-in-a-box on Raspberry Pi Zero W 
> using X11 forwarding.
> 
> XO usb port can be used to power Pi Zero W.  XO can be used to prepare >64 GB 
> SD by installing Exfat (per earlier post).
> 
> Headless Pi Zero can be set up wirelessly with standard method of connecting 
> to a wireless router.
> A prepared Raspbian SD is edited to place empty SSH file in /boot to enable 
> SSH and place a model wpa_supplicant file in /boot.  The wpa_supplicant is 
> edit to provide ssid or ip address of router and its password. The Pi Zero W 
> is functioning as an AP client.
> 
> Connection to the Pi Zero W is made using its host name (raspberrypi, 
> password raspberry) or ip address (192.168.128.4) with a computer (XO) also 
> connected to the wireless router.  
> 
> The wireless router is connected to an internet AP (in my case broadband 
> AP/wireless router).  Raspbian Desktop is loaded and then Internet-in-a-Box 
> (IIAB) is loaded.  iiab-hotspot-on command is run to enable IIAB's AP.  This 
> also disables the connection to the wireless router and the only access to 
> the IIAB becomes its AP and there is no internet connection (in spite of 
> enabling internet on gateway).
> 
> If one needs to connect to the internet to obtain more content, then 
> iiab-hotspot-off . The Pi Zero W can then be access with an XO (same XO as 
> for power) over its usb port, which provides internet access.  XO setup  and 
> accessing Chromium in the Raspbian Desktop has been described in an earlier 
> post. IIAB is run in Chromium to access the Admin Console to manage the 
> content.
> 
> Return to normal use of IIAB by running iiab-hotspot-on .   The Pi Zero W can 
> be moved to any source of usb power.
> 
> Connect XO wirelessly to IIAB AP.   SSH / desktop with ssh -X pi@box.local 
> /etc/X11/xinit/xintrc
> Run Chrommium with URL of http://box.local.   This can be simplified by 
> setting startup page in Chromium to http://box.local/home  .
> 
> Chromium is very, very slow, but IIAB is at XO speed.
> 
> If one wants to otherwise use Chromium, enable Home key in task bar and 
> assign it to Chrome://
> 
> Direct Chromium access with  works when 
> accessed over the usb, but does not work with IIAB AP (something about Xlib).
> 
> A simple Sugar Activity can run a script to handle all this startup of ssh / 
> chromium / iiab .
> 
> My question for Devel list:   is there a simpler (faster) application than 
> desktop Chromium for displaying web pages from Terminal ??
> 
> links2 is one such application, but I have not been successful in setting up 
> options for x display.
> 
> 
> Carrol Riddle
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel

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


Re: XO's cannot use mirror repo's in YUM update or install

2019-11-10 Thread Carrol Riddle
Correction: baseurl must begin with "download" instead of "dl" for this case.
Rpmfusion must be installed before exfat.

> On November 10, 2019 at 3:15 PM Carrol Riddle  wrote:
> 
> 
> Have been able to Yum install exfat files on my XO-1, but everywhere had to 
> block mirrorline and use baseurl. 
> 
> Still do not know why mirrors do not work.
> 
> The baseurl for fedora.repo is 
> http://dl.fedoraproject.org/pub/archive/fedora/linux/$releasever/Everything/$basearch/os/
> 
> The baseurl for rpmfusion is 
> http://archive.rpmfusion.org/free-archive/fedora/releases/$releasever/Everything/$basearch/os/
> 
> dl, download and archive all seem to work as first term in fedora path.
> 
> Modified the *-update.repo files similarly (but not same).
> 
> I had been using http://wiki.laptop.org/go/Gstreamer  method of installing 
> rpmfusion,
> but simpler and newer is:
> wget -c 
> download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm
> and rpm  -i rpmfusion-free-release-18.noarch.rpm
> 
> Removed extraneous rpmfusion  repos from /etc/yum.repos.d/
> 
> This effort was to allow installing Internet-in-a-Box on a larger SD for 
> Raspberry Pi Zero W using only XO and the Zero.
> Two external ports are needed and had previously used Pi 4 to prepare SD.
> The single USB port on Zero is used for the connection to an XO using 
> X11Forwarding for display, keyboard and shared WiFi (secondary to Zero W 
> on-board WiFi or as primary for simple Zero).
> 
> Still looking for cause of YUM Mirrors failure.
> 
> Carrol Riddle
> 
> 
> > On November 10, 2019 at 9:57 AM Peter Robinson  wrote:
> > 
> > 
> > On Sun, Nov 10, 2019 at 5:29 AM Carrol Riddle  wrote:
> > >
> > > XO's attempting to run YUM update or install are unable to use fedora 
> > > mirror sites (https://) but able to use primary fedora site (http://).
> > >
> > > Is this a matter of https vs http / ca-certificates or changes in mirror 
> > > structures ?  Ca-certificates update have not been done, but could be 
> > > done.
> > >
> > >  Running OLPC 13.2.10 with current date / time and hwclock -w to sync.
> > >
> > > Primaries used by editing /etc/yum.repos.d/fedora.repo and commenting out 
> > > mirrorlist line and uncommenting baseurl line (and adding "archive" to 
> > > url path after /pub/).
> > >
> > > There are no entries in yum.log and error message is:
> > > "Cannot retrieve metalink for repository: fedora/18/i386.  Please verify 
> > > its path and try again."
> > >
> > > My specific case is trying to install rpmfusion in preparing to install 
> > > exfat-utils and fuse-exfat ,  but occurs with other installs that have 
> > > been done in the past.
> > 
> > I'm guessing you might need to update for content that has been
> > archived, I thought the mirror manager dealt with redirects
> > automatically there but I don't know exactly.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XO's cannot use mirror repo's in YUM update or install

2019-11-10 Thread James Cameron
Thanks for the problem report and workaround.

The cause is an SSLv3 Handshake Failure, apparently a result of
tightened security configuration at fedoraproject.org which is no
longer compatible with Fedora 18.

Unfortunately yum does not report the actual problem.

Here's how to catch proof;

1.  use tcpdump to capture network packets and then wireshark to
analyse,

2.  look for the "Alert (Level: Fatal, Description: Handshake
Failure)",

3.  look for the immediately preceeding SSLv3 Client Hello message,

4.  note the Cipher Suites list contains some that are no longer
acceptable.

Your workaround is fine.  It is similar to the one I used for XO-1.75
and XO-4 in 13.2.8;
https://github.com/quozl/olpc-os-builder/commit/f2cb3908aff0cc7bc3ba7937a93b0337140dd81e

Another workaround is to change from https to http in the mirrorlist
entries.

sudo sed -i 's/mirrorlist=https/mirrorlist=http/g' /etc/yum.repos.d/*.repo

However, while this is faster, it also lowers the overall security
because it makes a man in the middle attack easier.

Best way to image a set of laptops with rpmfusion packages is to build
an image using olpc-os-builder.  I've got notes on how to do that.

On Sun, Nov 10, 2019 at 03:15:55PM -0500, Carrol Riddle wrote:
> Have been able to Yum install exfat files on my XO-1, but everywhere had to 
> block mirrorline and use baseurl. 
> 
> Still do not know why mirrors do not work.
> 
> The baseurl for fedora.repo is 
> http://dl.fedoraproject.org/pub/archive/fedora/linux/$releasever/Everything/$basearch/os/
> 
> The baseurl for rpmfusion is 
> http://archive.rpmfusion.org/free-archive/fedora/releases/$releasever/Everything/$basearch/os/
> 
> dl, download and archive all seem to work as first term in fedora path.
> 
> Modified the *-update.repo files similarly (but not same).
> 
> I had been using http://wiki.laptop.org/go/Gstreamer  method of installing 
> rpmfusion,
> but simpler and newer is:
> wget -c 
> download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm
> and rpm  -i rpmfusion-free-release-18.noarch.rpm
> 
> Removed extraneous rpmfusion  repos from /etc/yum.repos.d/
> 
> This effort was to allow installing Internet-in-a-Box on a larger SD for 
> Raspberry Pi Zero W using only XO and the Zero.
> Two external ports are needed and had previously used Pi 4 to prepare SD.
> The single USB port on Zero is used for the connection to an XO using 
> X11Forwarding for display, keyboard and shared WiFi (secondary to Zero W 
> on-board WiFi or as primary for simple Zero).
> 
> Still looking for cause of YUM Mirrors failure.
> 
> Carrol Riddle
> 
> 
> > On November 10, 2019 at 9:57 AM Peter Robinson  wrote:
> > 
> > 
> > On Sun, Nov 10, 2019 at 5:29 AM Carrol Riddle  wrote:
> > >
> > > XO's attempting to run YUM update or install are unable to use fedora 
> > > mirror sites (https://) but able to use primary fedora site (http://).
> > >
> > > Is this a matter of https vs http / ca-certificates or changes in mirror 
> > > structures ?  Ca-certificates update have not been done, but could be 
> > > done.
> > >
> > >  Running OLPC 13.2.10 with current date / time and hwclock -w to sync.
> > >
> > > Primaries used by editing /etc/yum.repos.d/fedora.repo and commenting out 
> > > mirrorlist line and uncommenting baseurl line (and adding "archive" to 
> > > url path after /pub/).
> > >
> > > There are no entries in yum.log and error message is:
> > > "Cannot retrieve metalink for repository: fedora/18/i386.  Please verify 
> > > its path and try again."
> > >
> > > My specific case is trying to install rpmfusion in preparing to install 
> > > exfat-utils and fuse-exfat ,  but occurs with other installs that have 
> > > been done in the past.
> > 
> > I'm guessing you might need to update for content that has been
> > archived, I thought the mirror manager dealt with redirects
> > automatically there but I don't know exactly.
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel

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


Re: XO's cannot use mirror repo's in YUM update or install

2019-11-10 Thread Carrol Riddle
Have been able to Yum install exfat files on my XO-1, but everywhere had to 
block mirrorline and use baseurl. 

Still do not know why mirrors do not work.

The baseurl for fedora.repo is 
http://dl.fedoraproject.org/pub/archive/fedora/linux/$releasever/Everything/$basearch/os/

The baseurl for rpmfusion is 
http://archive.rpmfusion.org/free-archive/fedora/releases/$releasever/Everything/$basearch/os/

dl, download and archive all seem to work as first term in fedora path.

Modified the *-update.repo files similarly (but not same).

I had been using http://wiki.laptop.org/go/Gstreamer  method of installing 
rpmfusion,
but simpler and newer is:
wget -c download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm
and rpm  -i rpmfusion-free-release-18.noarch.rpm

Removed extraneous rpmfusion  repos from /etc/yum.repos.d/

This effort was to allow installing Internet-in-a-Box on a larger SD for 
Raspberry Pi Zero W using only XO and the Zero.
Two external ports are needed and had previously used Pi 4 to prepare SD.
The single USB port on Zero is used for the connection to an XO using 
X11Forwarding for display, keyboard and shared WiFi (secondary to Zero W 
on-board WiFi or as primary for simple Zero).

Still looking for cause of YUM Mirrors failure.

Carrol Riddle


> On November 10, 2019 at 9:57 AM Peter Robinson  wrote:
> 
> 
> On Sun, Nov 10, 2019 at 5:29 AM Carrol Riddle  wrote:
> >
> > XO's attempting to run YUM update or install are unable to use fedora 
> > mirror sites (https://) but able to use primary fedora site (http://).
> >
> > Is this a matter of https vs http / ca-certificates or changes in mirror 
> > structures ?  Ca-certificates update have not been done, but could be done.
> >
> >  Running OLPC 13.2.10 with current date / time and hwclock -w to sync.
> >
> > Primaries used by editing /etc/yum.repos.d/fedora.repo and commenting out 
> > mirrorlist line and uncommenting baseurl line (and adding "archive" to url 
> > path after /pub/).
> >
> > There are no entries in yum.log and error message is:
> > "Cannot retrieve metalink for repository: fedora/18/i386.  Please verify 
> > its path and try again."
> >
> > My specific case is trying to install rpmfusion in preparing to install 
> > exfat-utils and fuse-exfat ,  but occurs with other installs that have been 
> > done in the past.
> 
> I'm guessing you might need to update for content that has been
> archived, I thought the mirror manager dealt with redirects
> automatically there but I don't know exactly.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XO's cannot use mirror repo's in YUM update or install

2019-11-10 Thread Chris Marshall
I had the same problem last week.  I did determine that the Fedora packages
had been archived but I could not figure out how to get yum to work.  Maybe
it is a different type of repository?  At any rate, I was unable to get yum
to work.

--Chris

On Sun, Nov 10, 2019 at 9:57 AM Peter Robinson  wrote:

> On Sun, Nov 10, 2019 at 5:29 AM Carrol Riddle 
> wrote:
> >
> > XO's attempting to run YUM update or install are unable to use fedora
> mirror sites (https://) but able to use primary fedora site (http://).
> >
> > Is this a matter of https vs http / ca-certificates or changes in mirror
> structures ?  Ca-certificates update have not been done, but could be done.
> >
> >  Running OLPC 13.2.10 with current date / time and hwclock -w to sync.
> >
> > Primaries used by editing /etc/yum.repos.d/fedora.repo and commenting
> out mirrorlist line and uncommenting baseurl line (and adding "archive" to
> url path after /pub/).
> >
> > There are no entries in yum.log and error message is:
> > "Cannot retrieve metalink for repository: fedora/18/i386.  Please verify
> its path and try again."
> >
> > My specific case is trying to install rpmfusion in preparing to install
> exfat-utils and fuse-exfat ,  but occurs with other installs that have been
> done in the past.
>
> I'm guessing you might need to update for content that has been
> archived, I thought the mirror manager dealt with redirects
> automatically there but I don't know exactly.
> ___
> 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: XO's cannot use mirror repo's in YUM update or install

2019-11-10 Thread Peter Robinson
On Sun, Nov 10, 2019 at 5:29 AM Carrol Riddle  wrote:
>
> XO's attempting to run YUM update or install are unable to use fedora mirror 
> sites (https://) but able to use primary fedora site (http://).
>
> Is this a matter of https vs http / ca-certificates or changes in mirror 
> structures ?  Ca-certificates update have not been done, but could be done.
>
>  Running OLPC 13.2.10 with current date / time and hwclock -w to sync.
>
> Primaries used by editing /etc/yum.repos.d/fedora.repo and commenting out 
> mirrorlist line and uncommenting baseurl line (and adding "archive" to url 
> path after /pub/).
>
> There are no entries in yum.log and error message is:
> "Cannot retrieve metalink for repository: fedora/18/i386.  Please verify its 
> path and try again."
>
> My specific case is trying to install rpmfusion in preparing to install 
> exfat-utils and fuse-exfat ,  but occurs with other installs that have been 
> done in the past.

I'm guessing you might need to update for content that has been
archived, I thought the mirror manager dealt with redirects
automatically there but I don't know exactly.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] [UKids] Internet-in-a-Box 7.0 Preview 2, for Raspberry Pi 4...AND Debian 10!

2019-08-04 Thread Adam Holt
On Sat, Aug 3, 2019, 4:07 PM Samuel Klein  wrote:

> Congrats!!  Wonderful to see this speedy progress.  I tested out an
> earlier release @ DWeb Camp on an RPi4 a couple weeks ago; can't wait to
> try this preview.   SJ
>

Thanks to people like Jerry Vonau & George Hunt who've made an intensive QA
effort happen in recent weeks, so that IIAB 7.0's Release Candidate will be
available very shortly in coming days!

A self-hosted, all-in-one radio station platform called AzuraCast[*] is
even now available as part of Internet-in-a-Box — to schedule podcasts,
music, and even do live streaming of audio content:

https://github.com/iiab/iiab/wiki/IIAB-7.0-Release-Notes


[*] fyi AzuraCast requires Ubuntu 18.04 or Debian 10 for now.  It might run
on Raspberry Pi later this year!



On Mon, Jul 8, 2019 at 10:35 PM Adam Holt  wrote:
>
>> I don't even know where to begin to thank people for all the *amazing*
>> improvements over the last 3 weeks since IIAB 7.0 Preview 1.  Little did we
>> know that 2 entirely new platforms would be released (Raspberry Pi 4 and
>> Debian 10 Buster) in the over these past 2 weeks !
>>
>> As such this is an *extremely powerful release* having successfully
>> navigated to transition to both -- that is incredibly promising new
>> hardware (the Raspberry Pi 4 stands to transform schools around the planet)
>> and arguably the granddaddy of all Linux distributions (Debian 10 Buster is
>> the basis for many other OS's).
>>
>> IIAB 7.0 is officially now approaching the final home stretch:
>>
>> https://github.com/iiab/iiab/wiki/IIAB-7.0-Release-Notes
>>
>> As such please everybody who can report any remaining glitches or
>> showstopper issues affecting your country's
>> schools/clinics/libraries/orphanages!  (And any subtle/critical needs we
>> might have overlooked, as you go about building your own DIY
>> Internet-in-a-Box digital library?)
>>
>> Thank you *again* to everyone who can submit (any & all) feedback that
>> you deem appropriate, either in a private email, or right here in our
>> tracker:
>>
>> https://github.com/iiab/iiab/milestone/5
>>
>> Background, just in case you're new to Internet-in-a-Box, our
>> 1-line-installer to get you going is all you need, and it's here:
>>
>> http://download.iiab.io
>>
>> *And almost 50 common questions and answers are right here, just in case
>> :) http://FAQ.IIAB.IO *
>>
>> --
>> 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.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/unleashkids/CAHaBuGeKADRsTj_y%2BeGRWZ16s%3DndwMXSJ4DNUjzC%2Bs29fM3tYw%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> Samuel Klein  @metasj   w:user:sj  +1 617 529 4266
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/unleashkids/CAAtU9WLkRON%3D8ZQCf5rnkjgjrd-FJ1jS7-4pGi0R64PnfEJffQ%40mail.gmail.com
> 
> .
>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [UKids] Internet-in-a-Box 7.0 Preview 2, for Raspberry Pi 4...AND Debian 10!

2019-08-03 Thread Samuel Klein
Congrats!!  Wonderful to see this speedy progress.  I tested out an earlier
release @ DWeb Camp on an RPi4 a couple weeks ago; can't wait to try this
preview.   SJ

On Mon, Jul 8, 2019 at 10:35 PM Adam Holt  wrote:

> I don't even know where to begin to thank people for all the *amazing*
> improvements over the last 3 weeks since IIAB 7.0 Preview 1.  Little did we
> know that 2 entirely new platforms would be released (Raspberry Pi 4 and
> Debian 10 Buster) in the over these past 2 weeks !
>
> As such this is an *extremely powerful release* having successfully
> navigated to transition to both -- that is incredibly promising new
> hardware (the Raspberry Pi 4 stands to transform schools around the planet)
> and arguably the granddaddy of all Linux distributions (Debian 10 Buster is
> the basis for many other OS's).
>
> IIAB 7.0 is officially now approaching the final home stretch:
>
> https://github.com/iiab/iiab/wiki/IIAB-7.0-Release-Notes
>
> As such please everybody who can report any remaining glitches or
> showstopper issues affecting your country's
> schools/clinics/libraries/orphanages!  (And any subtle/critical needs we
> might have overlooked, as you go about building your own DIY
> Internet-in-a-Box digital library?)
>
> Thank you *again* to everyone who can submit (any & all) feedback that you
> deem appropriate, either in a private email, or right here in our tracker:
>
> https://github.com/iiab/iiab/milestone/5
>
> Background, just in case you're new to Internet-in-a-Box, our
> 1-line-installer to get you going is all you need, and it's here:
>
> http://download.iiab.io
>
> *And almost 50 common questions and answers are right here, just in case
> :) http://FAQ.IIAB.IO *
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/unleashkids/CAHaBuGeKADRsTj_y%2BeGRWZ16s%3DndwMXSJ4DNUjzC%2Bs29fM3tYw%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Samuel Klein  @metasj   w:user:sj  +1 617 529 4266
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Fwd: Finding an "Internet in the Box" partner for a humanitarian aid project

2019-06-21 Thread Adam Holt
Hi Vera,

I can make several recommendations of IIAB implementers who've worked in
Nigeria and others who do excellent work outside Nigeria too.

Please write me privately and we'll arrange a call to explain these options
if they are useful in context with you specific needs,

Adam


On Fri, Jun 21, 2019, 3:02 PM Vera Wedekind <
v...@translatorswithoutborders.org> wrote:

> Dear all,
>
> I found your contact details on this website when researching for a
> partner to work with on an Internet in the Box project:
> http://wiki.laptop.org/go/IIAB
> 
>
> I am currently consulting for the Nigeria program of the NGO Translators
> without Borders'. The program just received funding from the European Union
> Humanitarian Aid fund for a pilot study for 21 Internet in the Box devices
> to disseminate informational and educational materials in camps for
> internally displaced people affected by the conflict and humanitarian
> crisis here. The organization did not identify a partner up-front to
> implement the activity with in case of receiving the funding so now I am
> doing this with urgency. The timeline is extremely tight (all devices must
> be in camps by November 30, the last day to spend the money) so I am
> looking for a partner who has experience with IIAB. We are basically
> looking for the most simple and easy to use features, just putting text,
> audio and video documents with informational materials on the server, and
> an ability for someone to swop/update content with a SSD card or other item
> that can be exchanged.
>
> Unfortunately we don't have an IT staff on our team. We have a small
> budget of several thousand US dollars for this project to purchase the
> devices, batteries/solar panels, shipping and also some development/set-up
> cost.
>
> I am writing you as I hope you might have a suggestion regarding whom we
> could partner with? I would be grateful for any answer and available to
> discuss more any time.
>
> Many thanks!
>
> Vera
> --
> Vera Wedekind
> Interim TWB Nigeria program manager (consultant)
> v...@translatorswithoutborders.org
> phone/whatsapp: +234 81 36 85 12 09
> skype: verawedekind
> ___
> 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: OpenFirmware and Linux v5.0 on XO-1.75

2019-04-23 Thread Lubomir Rintel
On Mon, 2019-04-22 at 06:10 +1000, James Cameron wrote:
> On Sun, Apr 21, 2019 at 12:02:56PM +0200, Lubomir Rintel wrote:
> > On Sat, 2019-04-20 at 18:08 +1000, James Cameron wrote:
> > > On Fri, Apr 19, 2019 at 08:58:15AM +0200, Lubomir Rintel wrote:
> > > > On Mon, 2019-02-25 at 20:00 +1100, James Cameron wrote:
> > > > > On Sat, Feb 23, 2019 at 06:06:56PM +0100, Lubomir Rintel wrote:
> > > > > > On Sat, 2019-02-23 at 10:52 +1100, James Cameron wrote:
> > > > > > > On Fri, Feb 22, 2019 at 12:14:00PM +0100, Lubomir Rintel wrote:
> > > > > > > > Also, which config? Mine is basically this:
> > > > > > > > https://raw.githubusercontent.com/hackerspace/olpc-xo175-linux/lr/olpc-xo175/arch/arm/configs/olpc_xo175_defconfig
> > > > > > > 
> > > > > > > The config used by Fedora.
> > > > > > > 
> > > > > > > Can we work toward some kind of reproducible build?
> > > > > > 
> > > > > > Not sure what you mean here.
> > > > > 
> > > > > Sorry.  Configuring and building kernels is for me a rare thing to do,
> > > > > and whenever I try I'm usually interrupted by something more urgent,
> > > > > as I've quite a few other things I've got to do.  I'm still a newbie
> > > > > at it because I can't dedicate the time.  [...]
> > > > 
> > > > So, over the last week or so, I spent some effort making this work with
> > > > the OLPC RPM build tooling. Here's what I came up with:
> > > > 
> > > > http://v3.sk/~lkundrak/olpc/green_ears.jpeg
> > > > [...]
> > > > Firmware:
> > > > 
> > > >   git pull https://github.com/lkundrak/openfirmware/ lr/olpc-xo175-3
> > > > 
> > > > A couple more small fixups here and there since lr/olpc-xo175-2. The
> > > > most notable fix is for a regression that caused the RTC to be cleared
> > > > on each boot.
> > > 
> > > Pushed as
> > > https://github.com/quozl/openfirmware/commits/lr/olpc-xo175-3
> > > 
> > > Released q4e00ja.rom from this as is;
> > > http://dev.laptop.org/~quozl/q4e00ja.rom
> > > 
> > > Removed the dtcompat.fth fload and released q4e01ja.rom;
> > > http://dev.laptop.org/~quozl/q4e01ja.rom
> > 
> > This second image removes the ablity to boot the legacy OLPC OS kernel,
> > doesn't it?
> 
> For secure boot, yes.  But you could still use root=.

Hmmm, but it also turns on the DT flattening which is mutually
exclusive with ATAGs (because r2 points to either of them). I think the
legacy kernel wouldn't even be able to get any kernel command line
arguments (including root=) or memory size. I though the machine ID is
also different for BSP-based kernel than for the FDT-based.

That said, I haven't actually tested whether that is the case. If it
somehow works, but I can't see how (kernel using built-in arguments and
ignoring machine id? no idea).

Lubo

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


Re: OpenFirmware and Linux v5.0 on XO-1.75

2019-04-21 Thread James Cameron
On Sun, Apr 21, 2019 at 12:02:56PM +0200, Lubomir Rintel wrote:
> On Sat, 2019-04-20 at 18:08 +1000, James Cameron wrote:
> > On Fri, Apr 19, 2019 at 08:58:15AM +0200, Lubomir Rintel wrote:
> > > On Mon, 2019-02-25 at 20:00 +1100, James Cameron wrote:
> > > > On Sat, Feb 23, 2019 at 06:06:56PM +0100, Lubomir Rintel wrote:
> > > > > On Sat, 2019-02-23 at 10:52 +1100, James Cameron wrote:
> > > > > > On Fri, Feb 22, 2019 at 12:14:00PM +0100, Lubomir Rintel wrote:
> > > > > > > Also, which config? Mine is basically this:
> > > > > > > https://raw.githubusercontent.com/hackerspace/olpc-xo175-linux/lr/olpc-xo175/arch/arm/configs/olpc_xo175_defconfig
> > > > > > 
> > > > > > The config used by Fedora.
> > > > > > 
> > > > > > Can we work toward some kind of reproducible build?
> > > > > 
> > > > > Not sure what you mean here.
> > > > 
> > > > Sorry.  Configuring and building kernels is for me a rare thing to do,
> > > > and whenever I try I'm usually interrupted by something more urgent,
> > > > as I've quite a few other things I've got to do.  I'm still a newbie
> > > > at it because I can't dedicate the time.  [...]
> > > 
> > > So, over the last week or so, I spent some effort making this work with
> > > the OLPC RPM build tooling. Here's what I came up with:
> > > 
> > > http://v3.sk/~lkundrak/olpc/green_ears.jpeg
> > > [...]
> > > Firmware:
> > > 
> > >   git pull https://github.com/lkundrak/openfirmware/ lr/olpc-xo175-3
> > > 
> > > A couple more small fixups here and there since lr/olpc-xo175-2. The
> > > most notable fix is for a regression that caused the RTC to be cleared
> > > on each boot.
> > 
> > Pushed as
> > https://github.com/quozl/openfirmware/commits/lr/olpc-xo175-3
> > 
> > Released q4e00ja.rom from this as is;
> > http://dev.laptop.org/~quozl/q4e00ja.rom
> > 
> > Removed the dtcompat.fth fload and released q4e01ja.rom;
> > http://dev.laptop.org/~quozl/q4e01ja.rom
> 
> This second image removes the ablity to boot the legacy OLPC OS kernel,
> doesn't it?

For secure boot, yes.  But you could still use root=.

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


Re: OpenFirmware and Linux v5.0 on XO-1.75

2019-04-21 Thread Lubomir Rintel
On Sat, 2019-04-20 at 18:08 +1000, James Cameron wrote:
> On Fri, Apr 19, 2019 at 08:58:15AM +0200, Lubomir Rintel wrote:
> > On Mon, 2019-02-25 at 20:00 +1100, James Cameron wrote:
> > > On Sat, Feb 23, 2019 at 06:06:56PM +0100, Lubomir Rintel wrote:
> > > > On Sat, 2019-02-23 at 10:52 +1100, James Cameron wrote:
> > > > > On Fri, Feb 22, 2019 at 12:14:00PM +0100, Lubomir Rintel wrote:
> > > > > > Also, which config? Mine is basically this:
> > > > > > https://raw.githubusercontent.com/hackerspace/olpc-xo175-linux/lr/olpc-xo175/arch/arm/configs/olpc_xo175_defconfig
> > > > > 
> > > > > The config used by Fedora.
> > > > > 
> > > > > Can we work toward some kind of reproducible build?
> > > > 
> > > > Not sure what you mean here.
> > > 
> > > Sorry.  Configuring and building kernels is for me a rare thing to do,
> > > and whenever I try I'm usually interrupted by something more urgent,
> > > as I've quite a few other things I've got to do.  I'm still a newbie
> > > at it because I can't dedicate the time.  [...]
> > 
> > So, over the last week or so, I spent some effort making this work with
> > the OLPC RPM build tooling. Here's what I came up with:
> > 
> > http://v3.sk/~lkundrak/olpc/green_ears.jpeg
> 
> Thanks, that's fantastic.  I've mostly reproduced your work, and have
> my build of your 5.0 kernel running on an XO-1.75 with an adjusted
> Fedora 18 user space and a fixed root= argument.

(regarding the root= argument, see also the stable mmc names patch
below)

> 
> > The kernel:
> > 
> >   git pull https://github.com/hackerspace/olpc-xo175-linux/ olpc-5.0
> > 
> > Based on vanilla v5.0.8, a few parts taken from olpc-4.8,
> > olpc-3.0-arm, along with my defconfig and a couple of changes to
> > support cross-build on Fedora 30. I've not tested native builds, I
> > didn't dare to run it on the XO.
> 
> Pushed as http://dev.laptop.org/git/olpc-kernel/log/?h=olpc-5.0
> 
> My dmesg;
> http://dev.laptop.org/~quozl/z/1hHiN5.txt
> 
> I used an Ubuntu 18.04 cross-build to make the kernel I'm using at the
> moment, as our production builder is Fedora 18.  I've started to
> iterate on a Fedora 30 builder, but I'm not sure I've got everything I
> need.  Here's the packages I'm adding;
> 
> gcc-arm-linux-gnu binutils-arm-linux-gnu
> rpm-build bison flex m4 make openssl-devel perl

Sounds about right. In general I think it's the *-arm-linux-gnu cross-
toolchain packages + the RPM's BuildRequires.

> > Firmware:
> > 
> >   git pull https://github.com/lkundrak/openfirmware/ lr/olpc-xo175-3
> > 
> > A couple more small fixups here and there since lr/olpc-xo175-2. The
> > most notable fix is for a regression that caused the RTC to be cleared
> > on each boot.
> 
> Pushed as
> https://github.com/quozl/openfirmware/commits/lr/olpc-xo175-3
> 
> Released q4e00ja.rom from this as is;
> http://dev.laptop.org/~quozl/q4e00ja.rom
> 
> Removed the dtcompat.fth fload and released q4e01ja.rom;
> http://dev.laptop.org/~quozl/q4e01ja.rom

This second image removes the ablity to boot the legacy OLPC OS kernel,
doesn't it?

> As the firmware will update on a standard system before the kernel
> will boot, this seems an okay way to do it.  What do you think?

Sounds all right.

> >   git pull https://github.com/lkundrak/dracut-modules-olpc/ master
> > 
> > There's a fix for assumptions about the mmc controller
> > numbering. Also, to boot a FDT-based kernel the initramfs needs to
> > avoid triggering the compat boot path (that lies about bootpath and
> > disables the DT flattening).

By the way there's this patch we could use if we needed stable device
names:

https://lore.kernel.org/lkml/20190416133930.1819-1-lkund...@v3.sk/

But as the OLPC OS' initrd already relies on incorrect numbering
(different from what OFW and presumably marvell uses) and the dtcompat
translates it to something yet more incorrect, this wouldn't really be
useful for compatibility. So if nobody picks up the patch, there's
probably not much point in pushing it forward.

> Thanks.  I'm yet to use this, but plan to.
> 
> >   git pull https://github.com/lkundrak/olpc-utils/ v5.0
> >   git pull https://github.com/lkundrak/olpc-utils/ master
> > 
> > Fixes the X11 video.
> 
> Thanks, yes, it does work, though I had to recreate the xorg.conf.d
> symlink, not sure why.
> 
> Pushed as http://dev.laptop.org/git/projects/olpc-utils/log/?h=v5.1
> 
> Packaged as
> http://dev.laptop.org/~quozl/olpc-utils-5.1.0-0.olpc.armv7hl.rpm
> http://dev.laptop.org/~quozl/olpc-utils-5.1.0-0.olpc.src.rpm
> 
> > The patched packages are here: http://v3.sk/~lkundrak/olpc/
> > The dracut-modules-olpc package needs to be installed prior to the
> > kernel.
> 
> Oops, I should have read all this way before acting.  I got caught up
> in code review.  Sorry.  I'll do another test using your binaries.
> 
> By the way, there's an interesting symptom on WiFi, a variable latency
> on inbound ssh, also shows up as a latency staircase effect in
> outbound "ping -n -i 0.200".

I have no idea why would 

Re: OpenFirmware and Linux v5.0 on XO-1.75

2019-04-20 Thread James Cameron
On Fri, Apr 19, 2019 at 08:58:15AM +0200, Lubomir Rintel wrote:
> On Mon, 2019-02-25 at 20:00 +1100, James Cameron wrote:
> > On Sat, Feb 23, 2019 at 06:06:56PM +0100, Lubomir Rintel wrote:
> > > On Sat, 2019-02-23 at 10:52 +1100, James Cameron wrote:
> > > > On Fri, Feb 22, 2019 at 12:14:00PM +0100, Lubomir Rintel wrote:
> > > > > Also, which config? Mine is basically this:
> > > > > https://raw.githubusercontent.com/hackerspace/olpc-xo175-linux/lr/olpc-xo175/arch/arm/configs/olpc_xo175_defconfig
> > > > 
> > > > The config used by Fedora.
> > > > 
> > > > Can we work toward some kind of reproducible build?
> > > 
> > > Not sure what you mean here.
> > 
> > Sorry.  Configuring and building kernels is for me a rare thing to do,
> > and whenever I try I'm usually interrupted by something more urgent,
> > as I've quite a few other things I've got to do.  I'm still a newbie
> > at it because I can't dedicate the time.  [...]
> 
> So, over the last week or so, I spent some effort making this work with
> the OLPC RPM build tooling. Here's what I came up with:
> 
> http://v3.sk/~lkundrak/olpc/green_ears.jpeg

Thanks, that's fantastic.  I've mostly reproduced your work, and have
my build of your 5.0 kernel running on an XO-1.75 with an adjusted
Fedora 18 user space and a fixed root= argument.

> The kernel:
> 
>   git pull https://github.com/hackerspace/olpc-xo175-linux/ olpc-5.0
> 
> Based on vanilla v5.0.8, a few parts taken from olpc-4.8,
> olpc-3.0-arm, along with my defconfig and a couple of changes to
> support cross-build on Fedora 30. I've not tested native builds, I
> didn't dare to run it on the XO.

Pushed as http://dev.laptop.org/git/olpc-kernel/log/?h=olpc-5.0

My dmesg;
http://dev.laptop.org/~quozl/z/1hHiN5.txt

I used an Ubuntu 18.04 cross-build to make the kernel I'm using at the
moment, as our production builder is Fedora 18.  I've started to
iterate on a Fedora 30 builder, but I'm not sure I've got everything I
need.  Here's the packages I'm adding;

gcc-arm-linux-gnu binutils-arm-linux-gnu
rpm-build bison flex m4 make openssl-devel perl

> Firmware:
> 
>   git pull https://github.com/lkundrak/openfirmware/ lr/olpc-xo175-3
> 
> A couple more small fixups here and there since lr/olpc-xo175-2. The
> most notable fix is for a regression that caused the RTC to be cleared
> on each boot.

Pushed as
https://github.com/quozl/openfirmware/commits/lr/olpc-xo175-3

Released q4e00ja.rom from this as is;
http://dev.laptop.org/~quozl/q4e00ja.rom

Removed the dtcompat.fth fload and released q4e01ja.rom;
http://dev.laptop.org/~quozl/q4e01ja.rom

As the firmware will update on a standard system before the kernel
will boot, this seems an okay way to do it.  What do you think?

>   git pull https://github.com/lkundrak/dracut-modules-olpc/ master
> 
> There's a fix for assumptions about the mmc controller
> numbering. Also, to boot a FDT-based kernel the initramfs needs to
> avoid triggering the compat boot path (that lies about bootpath and
> disables the DT flattening).

Thanks.  I'm yet to use this, but plan to.

>   git pull https://github.com/lkundrak/olpc-utils/ v5.0
>   git pull https://github.com/lkundrak/olpc-utils/ master
> 
> Fixes the X11 video.

Thanks, yes, it does work, though I had to recreate the xorg.conf.d
symlink, not sure why.

Pushed as http://dev.laptop.org/git/projects/olpc-utils/log/?h=v5.1

Packaged as
http://dev.laptop.org/~quozl/olpc-utils-5.1.0-0.olpc.armv7hl.rpm
http://dev.laptop.org/~quozl/olpc-utils-5.1.0-0.olpc.src.rpm

> The patched packages are here: http://v3.sk/~lkundrak/olpc/
> The dracut-modules-olpc package needs to be installed prior to the
> kernel.

Oops, I should have read all this way before acting.  I got caught up
in code review.  Sorry.  I'll do another test using your binaries.

By the way, there's an interesting symptom on WiFi, a variable latency
on inbound ssh, also shows up as a latency staircase effect in
outbound "ping -n -i 0.200".

Also, power is not turned off on system halt.  I remember fixing that
once, so no biggie.

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


Re: XO 1.75 mainlining status

2019-04-19 Thread James Cameron
On Fri, Apr 19, 2019 at 04:23:28PM +0200, Lubomir Rintel wrote:
> I'm wondering how the clocks are determined for the GC860.
> That should be the APMU + 0xcc register (0xd42828cc)

Got it.

> Sources [1] and [2] suggest that there is a multiplexer that chooses
> between PLL1, PLL2 and USB PLL along with a divisor and that there are
> separate bus and GPU core clocks. It is not clear to me which bits
> control which clock.

Bit 12 is a clock select,

bits 7:6 are clock source multiplexor,

when bit 12 is 0, bits 6:7 have meaning; 0x0 selects PLL1 divided by
two, 0x1 is PLL1 divided by three, 0x2 is PLL2, 0x3 is PLL2 divided by
three.

when bit 12 is 1, bits 6:7 have meaning; 0x0 selects PLL2 divided by
four, 0x1 USB PLL, remainder reserved.

> The Etnaviv driver also expects another "shader" clock for the core
> that executes the 3D command buffers. Apart from the meaning of the
> bits set in gc800_clk_enable(), I wonder what is the purpose of the
> udelay()s. I've noticed that if I just set the register as a whole
> the board sometimes hangs and I'm wondering why could that be.

Other bits in the register let me put a story to this;

1.  the module is powered up (3<<9), and the peripheral (1<<3) and AXI
bus clocks (1<<2) are turned on, then there is a udelay(150),

2.  isolation is disabled (1<<8), and then there is a udelay(1),

3.  reset is released on the AXI2MC interface (1<<15), reset is
released on the GC controller (1<<0), and then there is a udelay(100),

4   reset is released on the GPU AXI (1<<1), and then there is a
udelay(100).

Don't know why the delays are needed, sorry.

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


Re: OpenFirmware and Linux v5.0 on XO-1.75

2019-04-19 Thread Lubomir Rintel
On Mon, 2019-02-25 at 20:00 +1100, James Cameron wrote:
> On Sat, Feb 23, 2019 at 06:06:56PM +0100, Lubomir Rintel wrote:
> > On Sat, 2019-02-23 at 10:52 +1100, James Cameron wrote:
> > > On Fri, Feb 22, 2019 at 12:14:00PM +0100, Lubomir Rintel wrote:
> > > > Also, which config? Mine is basically this:
> > > > https://raw.githubusercontent.com/hackerspace/olpc-xo175-linux/lr/olpc-xo175/arch/arm/configs/olpc_xo175_defconfig
> > > 
> > > The config used by Fedora.
> > > 
> > > Can we work toward some kind of reproducible build?
> > 
> > Not sure what you mean here.
> 
> Sorry.  Configuring and building kernels is for me a rare thing to do,
> and whenever I try I'm usually interrupted by something more urgent,
> as I've quite a few other things I've got to do.  I'm still a newbie
> at it because I can't dedicate the time.
> 
> http://dev.laptop.org/git/olpc-kernel/commit/?h=olpc-4.8=4731695ff517ccb145e60d68acd2f7f15eb4ab6b
> is an example patch which, in addition to a few irrelevant changes,
> adds our OLPC RPM build process;
> 
> - our defconfig,
> 
> - a spec file for rpmbuild,
> 
> - a build script,
> 
> - an openfirmware boot script.
> 
> Some of this may have bit-rotted.

So, over the last week or so, I spent some effort making this work with
the OLPC RPM build tooling. Here's what I came up with:

http://v3.sk/~lkundrak/olpc/green_ears.jpeg

The kernel:

  git pull https://github.com/hackerspace/olpc-xo175-linux/ olpc-5.0

Based on vanilla v5.0.8, a few parts taken from olpc-4.8, olpc-3.0-arm, 
along with my defconfig and a couple of changes to support cross-build
on Fedora 30. I've not tested native builds, I didn't dare to run it on
the XO.

Firmware:

  git pull https://github.com/lkundrak/openfirmware/ lr/olpc-xo175-3

A couple more small fixups here and there since lr/olpc-xo175-2. The
most notable fix is for a regression that caused the RTC to be cleared
on each boot.

  git pull https://github.com/lkundrak/dracut-modules-olpc/ master

There's a fix for assumptions about the mmc controller numbering. Also,
to boot a FDT-based kernel the initramfs needs to avoid triggering the
compat boot path (that lies about bootpath and disables the DT
flattening).

  git pull https://github.com/lkundrak/olpc-utils/ v5.0
  git pull https://github.com/lkundrak/olpc-utils/ master

Fixes the X11 video.

The patched packages are here: http://v3.sk/~lkundrak/olpc/
The dracut-modules-olpc package needs to be installed prior to the
kernel.

Lubo

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


Re: [Server-devel] Booting from a big USB stick

2019-03-19 Thread Adam Holt
> My dream is an RPi3 based schoolserver with a 1TB (or 2TB) external
hard-drive at under $150 (about 1/3 of NUC-based server).

Or $35 RPi4 in 2020 which might even raise your hard-disk transfer rate
well above the current USB2 theoretical max of 60 MBytes/sec -- just don't
count on SATA or NMVe or M.2 (:

My point earlier was simply that well-meaning people who are unfamiliar
with the developing world (quite the opposite of Tony Anderson) should
avoid wasting their money buying $68 400GB
 and $130 512GB
 microSD cards for Raspberry Pi...the
reasons are not always obvious in the rich world:

   1. Tiny $~100 items (a microSD card is smaller than a penny) can
   "silently disappear" in classrooms/countries where that represents a
   month's salary.  Recriminations across the school become very serious in
   cases of theft, sometimes resulting in cancellation of their computer
   program.  Yep "thoughtless generosity" can frequently backfire.
   2. Even the temptation of theft can create dangerous social disruption
   in impoverished schools/countries especially -- whereas a wealthy volunteer
   typically won't give a thought to $100, not realizing this is equivalent to
   leaving $10,000 in cash completely unprotected in a classroom in a rich
   part of the world -- e.g. in places like NY City where teachers salaries of
   $100,000 to $120,000/year exist (and are no longer uncommon).
   3. A USB hard disk can be a much better use of funds than a microSD card
   among groups that want a "full library experience" (as you point out).
   Particularly if they have people who are experienced/intelligent enough
   (like yourself) to fill those TB disks with high-quality and
   locally-relevant local-language materials.  Conversely I've met many
   well-meaning NGO's and govts who do not have a clue how to fill even a
   fraction of their 1TB disks with pedagogically relevant/useful/legal OER's
   (open educational resources) *so our road remains long :)*

--
Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Booting from a big USB stick

2019-03-19 Thread Tony Anderson

Hi, Adam

As you know this is an area where we agree to disagree. Currently the 
schoolserver's valid, useful content exceeds 500GB. I really do not want 
to get into the game of deciding what is worthwhile and what is not. It 
is clear that the planned expansion of OSM will require increased 
capacity. If local content is seriously supported, the amount will 
increase even further. At one time OLPC estimated storage of the Journal 
would take 2GB per XO. A typical Rwanda school has 200 XOs potentially 
requiring 400GB of additional space.


My dream is an RPi3 based schoolserver with a 1TB (or 2TB) external 
hard-drive at under $150 (about 1/3 of NUC-based server).


Tony

On 3/20/19 9:26 AM, Adam Holt wrote:
On Tue, Mar 19, 2019 at 9:22 PM Adam Holt > wrote:


Thanks Tony.

Another option is to buy a $19.99 128MB 100 MByte/sec microSD @
https://amazon.com/dp/B06XWZWYVP

I meant $19.99 128*GB*

Or a $39.99 256GB 100 MByte/sec microSD @
https://amazon.com/dp/B072HRDM55

The 400GB, 512GB and 1GB cards are completely excessive &
irrelevant for impoverished nations especially  unless you
happen to be a rich photographer/videographer of course, and want
to donate your time to an important cause in which case do let us
know...we will happily put your skills (and dollars) to work for a
more purposeful cause.


I meant 1*/TB/*



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


Re: [Server-devel] Booting from a big USB stick

2019-03-19 Thread Adam Holt
On Tue, Mar 19, 2019 at 9:22 PM Adam Holt  wrote:

> Thanks Tony.
>
> Another option is to buy a $19.99 128MB 100 MByte/sec microSD @
> https://amazon.com/dp/B06XWZWYVP
>

I meant $19.99 128*GB*

Or a $39.99 256GB 100 MByte/sec microSD @ https://amazon.com/dp/B072HRDM55
>
> The 400GB, 512GB and 1GB cards are completely excessive & irrelevant for
> impoverished nations especially  unless you happen to be a rich
> photographer/videographer of course, and want to donate your time to an
> important cause in which case do let us know...we will happily put your
> skills (and dollars) to work for a more purposeful cause.
>

I meant 1*TB*


> On Tue, Mar 19, 2019 at 9:04 PM Tony Anderson 
> wrote:
>
>> Hi, Gerhard
>>
>> The trick is to separate the server software from the content. Install
>> the basic IIAB on a smaller SD card (e.g. 16GB). Then mount the 128GB
>> usb drive (mount /dev/sdb1 /media/usb0 for example). IIAB expects the
>> content to be in /library. This should be possible by a symbolic link
>> such as /media/usb0/XC /library. XC is a folder containing the content
>> whereas usb0 is a partition. The original installed content in /library
>> on the sd card needs to be copied to the XC folder on the USB stick
>> before the symbolic link is made. In principle, Ansible should recognize
>> the /library (XC folder) and operate as expected.
>>
>> Tim Moody has an img of the basic installation which should be perfect
>> to set up the SD card (simple dd). I am looking forward to trying that.
>> I am hoping that the img sets the 'box' (hotspot). This should mean
>> everything can be done headless via ssh.
>>
>> As always, it will be an adventure.
>>
>> Tony
>>
>> On 3/20/19 5:29 AM, server-devel-requ...@lists.laptop.org wrote:
>> > Send Server-devel mailing list submissions to
>> >   server-devel@lists.laptop.org
>> >
>> > To subscribe or unsubscribe via the World Wide Web, visit
>> >   http://lists.laptop.org/listinfo/server-devel
>> > or, via email, send a message with subject or body 'help' to
>> >   server-devel-requ...@lists.laptop.org
>> >
>> > You can reach the person managing the list at
>> >   server-devel-ow...@lists.laptop.org
>> >
>> > When replying, please edit your Subject line so it is more specific
>> > than "Re: Contents of Server-devel digest..."
>> >
>> >
>> > Today's Topics:
>> >
>> > 1. Raspberry Pi Model B3+ - booting from big USB Stick - failure
>> >(Internet Box)
>> > 2. Re: Raspberry Pi Model B3+ - booting from big USB Stick -
>> >failure (Adam Holt)
>> > 3. Re: Raspberry Pi Model B3+ - booting from big USB Stick -
>> >failure (Adam Holt)
>> > 4. Re: Raspberry Pi Model B3+ - booting from big USB Stick -
>> >failure (Adam Holt)
>> >
>> >
>> > --
>> >
>> > Message: 1
>> > Date: Tue, 19 Mar 2019 21:54:29 +0100
>> > From: Internet Box 
>> > To: server-devel@lists.laptop.org
>> > Subject: [Server-devel] Raspberry Pi Model B3+ - booting from big USB
>> >   Stick - failure
>> > Message-ID:
>> >   <
>> canophhbjmdrisoddwbjkfs8guukjsz71p_v15t-ymoeb9lo...@mail.gmail.com>
>> > Content-Type: text/plain; charset="utf-8"
>> >
>> > Hello all,
>> >
>> > i am gerhard from berlin and i am experimenting with iiab
>> >
>> > i succeded in booting my raspberry pi model b3+ from a 128 GB USB Stick
>> > (costs are only 18€)
>> > ok
>> > then i wanted to let work this magic sentence
>> >
>> > curl d.iiab.io/install.txt | sudo bash
>> >
>> > but i got an error message in the beginning:
>> >
>> > tune2fs: Datei oder Verzeichnis nicht gefunden beim Versuch,
>> /dev/mmcblk0p2
>> > zu öffnen
>> > Es kann kein gültiger Dateisystem-Superblock gefunden werden.
>> > root@raspberrypi:/home/pi#
>> >
>> > so i stick in this.
>> >
>> > any solution for this problem
>> >
>> >
>> > regards
>> >
>> > gerhard. MD
>> >
>> > Berlin
>> > -- next part --
>> > An HTML attachment was scrubbed...
>> > URL: <
>> http://lists.laptop.org/pipermail/server-devel/attachments/20190319/f56163fd/attachment-0001.html
>> >
>>

Re: [Server-devel] Booting from a big USB stick

2019-03-19 Thread Adam Holt
Thanks Tony.

Another option is to buy a $19.99 128MB 100 MByte/sec microSD @
https://amazon.com/dp/B06XWZWYVP

Or a $39.99 256GB 100 MByte/sec microSD @ https://amazon.com/dp/B072HRDM55

The 400GB, 512GB and 1GB cards are completely excessive & irrelevant for
impoverished nations especially  unless you happen to be a rich
photographer/videographer of course, and want to donate your time to an
important cause in which case do let us know...we will happily put your
skills (and dollars) to work for a more purposeful cause.


On Tue, Mar 19, 2019 at 9:04 PM Tony Anderson  wrote:

> Hi, Gerhard
>
> The trick is to separate the server software from the content. Install
> the basic IIAB on a smaller SD card (e.g. 16GB). Then mount the 128GB
> usb drive (mount /dev/sdb1 /media/usb0 for example). IIAB expects the
> content to be in /library. This should be possible by a symbolic link
> such as /media/usb0/XC /library. XC is a folder containing the content
> whereas usb0 is a partition. The original installed content in /library
> on the sd card needs to be copied to the XC folder on the USB stick
> before the symbolic link is made. In principle, Ansible should recognize
> the /library (XC folder) and operate as expected.
>
> Tim Moody has an img of the basic installation which should be perfect
> to set up the SD card (simple dd). I am looking forward to trying that.
> I am hoping that the img sets the 'box' (hotspot). This should mean
> everything can be done headless via ssh.
>
> As always, it will be an adventure.
>
> Tony
>
> On 3/20/19 5:29 AM, server-devel-requ...@lists.laptop.org wrote:
> > Send Server-devel mailing list submissions to
> >   server-devel@lists.laptop.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >   http://lists.laptop.org/listinfo/server-devel
> > or, via email, send a message with subject or body 'help' to
> >   server-devel-requ...@lists.laptop.org
> >
> > You can reach the person managing the list at
> >   server-devel-ow...@lists.laptop.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Server-devel digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Raspberry Pi Model B3+ - booting from big USB Stick - failure
> >(Internet Box)
> > 2. Re: Raspberry Pi Model B3+ - booting from big USB Stick -
> >failure (Adam Holt)
> > 3. Re: Raspberry Pi Model B3+ - booting from big USB Stick -
> >failure (Adam Holt)
> > 4. Re: Raspberry Pi Model B3+ - booting from big USB Stick -
> >failure (Adam Holt)
> >
> >
> > --
> >
> > Message: 1
> > Date: Tue, 19 Mar 2019 21:54:29 +0100
> > From: Internet Box 
> > To: server-devel@lists.laptop.org
> > Subject: [Server-devel] Raspberry Pi Model B3+ - booting from big USB
> >   Stick - failure
> > Message-ID:
> >   <
> canophhbjmdrisoddwbjkfs8guukjsz71p_v15t-ymoeb9lo...@mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Hello all,
> >
> > i am gerhard from berlin and i am experimenting with iiab
> >
> > i succeded in booting my raspberry pi model b3+ from a 128 GB USB Stick
> > (costs are only 18€)
> > ok
> > then i wanted to let work this magic sentence
> >
> > curl d.iiab.io/install.txt | sudo bash
> >
> > but i got an error message in the beginning:
> >
> > tune2fs: Datei oder Verzeichnis nicht gefunden beim Versuch,
> /dev/mmcblk0p2
> > zu öffnen
> > Es kann kein gültiger Dateisystem-Superblock gefunden werden.
> > root@raspberrypi:/home/pi#
> >
> > so i stick in this.
> >
> > any solution for this problem
> >
> >
> > regards
> >
> > gerhard. MD
> >
> > Berlin
> > -- next part --
> > An HTML attachment was scrubbed...
> > URL: <
> http://lists.laptop.org/pipermail/server-devel/attachments/20190319/f56163fd/attachment-0001.html
> >
> >
> > --
> >
> > Message: 2
> > Date: Tue, 19 Mar 2019 17:09:35 -0400
> > From: Adam Holt 
> > To: Internet Box 
> > Cc: server-devel 
> > Subject: Re: [Server-devel] Raspberry Pi Model B3+ - booting from big
> >   USB Stick - failure
> > Message-ID:
> >   <
> cahabugftqkvyeukchwd6edk7x2shrogvtbi7glrxn+++-ev...@mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > On Tue, Mar 19, 2019 at 

Re: [Server-devel] Booting from a big USB stick

2019-03-19 Thread Tony Anderson

Hi, Gerhard

The trick is to separate the server software from the content. Install 
the basic IIAB on a smaller SD card (e.g. 16GB). Then mount the 128GB 
usb drive (mount /dev/sdb1 /media/usb0 for example). IIAB expects the 
content to be in /library. This should be possible by a symbolic link 
such as /media/usb0/XC /library. XC is a folder containing the content 
whereas usb0 is a partition. The original installed content in /library 
on the sd card needs to be copied to the XC folder on the USB stick 
before the symbolic link is made. In principle, Ansible should recognize 
the /library (XC folder) and operate as expected.


Tim Moody has an img of the basic installation which should be perfect 
to set up the SD card (simple dd). I am looking forward to trying that. 
I am hoping that the img sets the 'box' (hotspot). This should mean 
everything can be done headless via ssh.


As always, it will be an adventure.

Tony

On 3/20/19 5:29 AM, server-devel-requ...@lists.laptop.org wrote:

Send Server-devel mailing list submissions to
server-devel@lists.laptop.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.laptop.org/listinfo/server-devel
or, via email, send a message with subject or body 'help' to
server-devel-requ...@lists.laptop.org

You can reach the person managing the list at
server-devel-ow...@lists.laptop.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Server-devel digest..."


Today's Topics:

1. Raspberry Pi Model B3+ - booting from big USB Stick - failure
   (Internet Box)
2. Re: Raspberry Pi Model B3+ - booting from big USB Stick -
   failure (Adam Holt)
3. Re: Raspberry Pi Model B3+ - booting from big USB Stick -
   failure (Adam Holt)
4. Re: Raspberry Pi Model B3+ - booting from big USB Stick -
   failure (Adam Holt)


--

Message: 1
Date: Tue, 19 Mar 2019 21:54:29 +0100
From: Internet Box 
To: server-devel@lists.laptop.org
Subject: [Server-devel] Raspberry Pi Model B3+ - booting from big USB
Stick - failure
Message-ID:

Content-Type: text/plain; charset="utf-8"

Hello all,

i am gerhard from berlin and i am experimenting with iiab

i succeded in booting my raspberry pi model b3+ from a 128 GB USB Stick
(costs are only 18€)
ok
then i wanted to let work this magic sentence

curl d.iiab.io/install.txt | sudo bash

but i got an error message in the beginning:

tune2fs: Datei oder Verzeichnis nicht gefunden beim Versuch, /dev/mmcblk0p2
zu öffnen
Es kann kein gültiger Dateisystem-Superblock gefunden werden.
root@raspberrypi:/home/pi#

so i stick in this.

any solution for this problem


regards

gerhard. MD

Berlin
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.laptop.org/pipermail/server-devel/attachments/20190319/f56163fd/attachment-0001.html>

--

Message: 2
Date: Tue, 19 Mar 2019 17:09:35 -0400
From: Adam Holt 
To: Internet Box 
Cc: server-devel 
Subject: Re: [Server-devel] Raspberry Pi Model B3+ - booting from big
USB Stick - failure
Message-ID:

Content-Type: text/plain; charset="utf-8"

On Tue, Mar 19, 2019 at 4:54 PM Internet Box 
wrote:


Hello all,

i am gerhard from berlin and i am experimenting with iiab

i succeded in booting my raspberry pi model b3+ from a 128 GB USB Stick
(costs are only 18€)
ok
then i wanted to let work this magic sentence

curl d.iiab.io/install.txt | sudo bash

but i got an error message in the beginning:

tune2fs: Datei oder Verzeichnis nicht gefunden beim Versuch,
/dev/mmcblk0p2 zu öffnen
Es kann kein gültiger Dateisystem-Superblock gefunden werden.


That seems to be German for:

File or directory not found when trying to open /dev/mmcblk0p2
Can not find a valid file system superblock.


What exact OS are you running?

Internet-in-a-Box strongly recommends Raspbian -- any one of the 3 from
this page:
https://www.raspberrypi.org/downloads/raspbian/


PS click "installation guide" near the very top of that page if you're not
used to burning/flashing images using Etcher, Win32 Disk Images or "dd".
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.laptop.org/pipermail/server-devel/attachments/20190319/ad0d99c4/attachment-0001.html>

--

Message: 3
Date: Tue, 19 Mar 2019 17:15:48 -0400
From: Adam Holt 
To: Internet Box 
Cc: server-devel 
Subject: Re: [Server-devel] Raspberry Pi Model B3+ - booting from big
USB Stick - failure
Message-ID:

Content-Type: text/plain; charset="utf-8"

HI Gerhard,

Can you please use a microSD card, instead of a USB stick?

Internet-in-a-Box is not normally installed onto a USB stick!

In fact I don't know if this has ever been attempted before, so you're
making yo

Re: [Server-devel] Raspberry Pi Model B3+ - booting from big USB Stick - failure

2019-03-19 Thread Internet Box
Thanks, I'll check it out.

Am Di., 19. März 2019 um 22:32 Uhr schrieb Adam Holt :

> On Tue, Mar 19, 2019 at 5:29 PM Adam Holt  wrote:
>
>> On Tue, Mar 19, 2019 at 5:24 PM Internet Box <
>> internet.in.a.b...@gmail.com> wrote:
>>
>>> yes, i do make my life difficult
>>>
>>> because
>>>
>>> - USB Sticks are cheap  18 € in Berlin 128 GByte
>>> - USB sticks are very large
>>> - USB sticks can be replaced easyly
>>> - USB sticks will last longer than uSDcards
>>>
>>
>> What's the evidence for that?
>>
>> so this is a world premiere  i assume
>>>
>>
>> Ok if you are wanting an adventure please document your travels for
>> others!
>>
>> Can you open a ticket at https://github.com/iiab/iiab when you hit
>> obstacles along this road, so that your trail is beneficial to others too
>> if it works out?
>>
>
> Sorry I meant https://github.com/iiab/iiab/milestone/5 which is the best
> place to open a support/tracking ticket at this time!
>


-- 
Gerhard, Berlin/Germany
internet.in.a.b...@gmail.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Raspberry Pi Model B3+ - booting from big USB Stick - failure

2019-03-19 Thread Adam Holt
On Tue, Mar 19, 2019 at 5:29 PM Adam Holt  wrote:

> On Tue, Mar 19, 2019 at 5:24 PM Internet Box 
> wrote:
>
>> yes, i do make my life difficult
>>
>> because
>>
>> - USB Sticks are cheap  18 € in Berlin 128 GByte
>> - USB sticks are very large
>> - USB sticks can be replaced easyly
>> - USB sticks will last longer than uSDcards
>>
>
> What's the evidence for that?
>
> so this is a world premiere  i assume
>>
>
> Ok if you are wanting an adventure please document your travels for others!
>
> Can you open a ticket at https://github.com/iiab/iiab when you hit
> obstacles along this road, so that your trail is beneficial to others too
> if it works out?
>

Sorry I meant https://github.com/iiab/iiab/milestone/5 which is the best
place to open a support/tracking ticket at this time!
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Raspberry Pi Model B3+ - booting from big USB Stick - failure

2019-03-19 Thread Adam Holt
On Tue, Mar 19, 2019 at 5:24 PM Internet Box 
wrote:

> yes, i do make my life difficult
>
> because
>
> - USB Sticks are cheap  18 € in Berlin 128 GByte
> - USB sticks are very large
> - USB sticks can be replaced easyly
> - USB sticks will last longer than uSDcards
>

What's the evidence for that?

so this is a world premiere  i assume
>

Ok if you are wanting an adventure please document your travels for others!

Can you open a ticket at https://github.com/iiab/iiab when you hit
obstacles along this road, so that your trail is beneficial to others too
if it works out?

Adam



> gerhard
>
> Am Di., 19. März 2019 um 22:16 Uhr schrieb Adam Holt :
>
>> HI Gerhard,
>>
>> Can you please use a microSD card, instead of a USB stick?
>>
>> Internet-in-a-Box is not normally installed onto a USB stick!
>>
>> In fact I don't know if this has ever been attempted before, so you're
>> making your life difficult :-)
>>
>> Then again if that is your choice, it is possible manual step-by-step
>> instructions below *might* work -- entirely at your own risk -- and you
>> will certainly need Linux expertise if so:
>>
>>
>> https://github.com/iiab/iiab/wiki/IIAB-Installation#do-everything-from-scratch
>>
>>
>> On Tue, Mar 19, 2019 at 5:09 PM Adam Holt  wrote:
>>
>>> On Tue, Mar 19, 2019 at 4:54 PM Internet Box <
>>> internet.in.a.b...@gmail.com> wrote:
>>>
 Hello all,

 i am gerhard from berlin and i am experimenting with iiab

 i succeded in booting my raspberry pi model b3+ from a 128 GB USB Stick
 (costs are only 18€)
 ok
 then i wanted to let work this magic sentence

 curl d.iiab.io/install.txt | sudo bash

 but i got an error message in the beginning:

 tune2fs: Datei oder Verzeichnis nicht gefunden beim Versuch,
 /dev/mmcblk0p2 zu öffnen
 Es kann kein gültiger Dateisystem-Superblock gefunden werden.

>>>
>>> That seems to be German for:
>>>
>>> File or directory not found when trying to open /dev/mmcblk0p2
>>> Can not find a valid file system superblock.
>>>
>>>
>>> What exact OS are you running?
>>>
>>> Internet-in-a-Box strongly recommends Raspbian -- any one of the 3 from
>>> this page:
>>> https://www.raspberrypi.org/downloads/raspbian/
>>>
>>>
>>> PS click "installation guide" near the very top of that page if you're
>>> not used to burning/flashing images using Etcher, Win32 Disk Images or "dd".
>>>
>>
>>
>> --
>> Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
>>
>
>
> --
> Gerhard, Berlin/Germany
> internet.in.a.b...@gmail.com
>
>

-- 
Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Raspberry Pi Model B3+ - booting from big USB Stick - failure

2019-03-19 Thread Adam Holt
HI Gerhard,

Can you please use a microSD card, instead of a USB stick?

Internet-in-a-Box is not normally installed onto a USB stick!

In fact I don't know if this has ever been attempted before, so you're
making your life difficult :-)

Then again if that is your choice, it is possible manual step-by-step
instructions below *might* work -- entirely at your own risk -- and you
will certainly need Linux expertise if so:

https://github.com/iiab/iiab/wiki/IIAB-Installation#do-everything-from-scratch


On Tue, Mar 19, 2019 at 5:09 PM Adam Holt  wrote:

> On Tue, Mar 19, 2019 at 4:54 PM Internet Box 
> wrote:
>
>> Hello all,
>>
>> i am gerhard from berlin and i am experimenting with iiab
>>
>> i succeded in booting my raspberry pi model b3+ from a 128 GB USB Stick
>> (costs are only 18€)
>> ok
>> then i wanted to let work this magic sentence
>>
>> curl d.iiab.io/install.txt | sudo bash
>>
>> but i got an error message in the beginning:
>>
>> tune2fs: Datei oder Verzeichnis nicht gefunden beim Versuch,
>> /dev/mmcblk0p2 zu öffnen
>> Es kann kein gültiger Dateisystem-Superblock gefunden werden.
>>
>
> That seems to be German for:
>
> File or directory not found when trying to open /dev/mmcblk0p2
> Can not find a valid file system superblock.
>
>
> What exact OS are you running?
>
> Internet-in-a-Box strongly recommends Raspbian -- any one of the 3 from
> this page:
> https://www.raspberrypi.org/downloads/raspbian/
>
>
> PS click "installation guide" near the very top of that page if you're not
> used to burning/flashing images using Etcher, Win32 Disk Images or "dd".
>


-- 
Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Raspberry Pi Model B3+ - booting from big USB Stick - failure

2019-03-19 Thread Adam Holt
On Tue, Mar 19, 2019 at 4:54 PM Internet Box 
wrote:

> Hello all,
>
> i am gerhard from berlin and i am experimenting with iiab
>
> i succeded in booting my raspberry pi model b3+ from a 128 GB USB Stick
> (costs are only 18€)
> ok
> then i wanted to let work this magic sentence
>
> curl d.iiab.io/install.txt | sudo bash
>
> but i got an error message in the beginning:
>
> tune2fs: Datei oder Verzeichnis nicht gefunden beim Versuch,
> /dev/mmcblk0p2 zu öffnen
> Es kann kein gültiger Dateisystem-Superblock gefunden werden.
>

That seems to be German for:

File or directory not found when trying to open /dev/mmcblk0p2
Can not find a valid file system superblock.


What exact OS are you running?

Internet-in-a-Box strongly recommends Raspbian -- any one of the 3 from
this page:
https://www.raspberrypi.org/downloads/raspbian/


PS click "installation guide" near the very top of that page if you're not
used to burning/flashing images using Etcher, Win32 Disk Images or "dd".
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [UKids] Where I download KA Lite zip file in Spanish

2019-03-11 Thread Adam Holt
On Mon, Mar 11, 2019, 9:31 PM Steve Thomas  wrote:

> Perfect.  Found it, thanks.
>
> Also realized Wifi wasn't working was that is was being used for the
> hotspot.  Can you point me to directions to turn the hotspot off/on so I
> can use the WiFi for download? Tried a couple things from admin console but
> no luck.  Was going to try George Hunt's xs-hotspot-off, but wasn't sure if
> it was for XO only.
>

The equivalent 2 commands (can be run as part of Internet-in-a-Box/IIAB 7.0
master branch pre-releases) are:

   /usr/bin/iiab-hotspot-off
   /usr/bin/iiab-hotspot-on

Sometimes a reboot is also necessary, after running either of the above.

They've been improved over the last month, so please do _not_ rely on these
as part of older IIAB 6.7 installations.

These are simple bash scripts, whose internals can be seen here:

https://github.com/iiab/iiab/blob/master/roles/network/templates/network/iiab-hotspot-off
https://github.com/iiab/iiab/blob/master/roles/network/templates/network/iiab-hotspot-on

Finally, here's a command that helps you monitor whether running these was
successful:

   brctl show


Thanks
> Stephen
>
> On Mon, Mar 11, 2019 at 19:28 Adam Holt  wrote:
>
>> Steve,
>>
>> There's extensive documentation on KA Lite tips & tricks for
>> Internet-in-a-Box at http://FAQ.IIAB.IO #32
>>
>> ("KA Lite Administration: What tips & tricks exist?")
>>
>> Read those 30-or-so lines from top to bottom, as so many others have
>> fallen in these kinds of KA Lite content installation & configuration traps
>> over the years, that you can save yourself a *Lot* of hassle by avoiding
>> their mistakes (:
>>
>>
>> On Mon, Mar 11, 2019 at 6:40 PM Steve Thomas 
>> wrote:
>>
>>> I’m in the DR, and while I downloaded Spanish versions of Wikipedia etc,
>>> I forget to download the Spanish version of KA Lite.
>>>
>>> I found the command to install, but I need the Zip file.
>>>
>>> I know if I had internet connection on the IIAB box I know I could
>>> install that way, but the Wifi isn't working on that laptop, and there is
>>> no connection with Ethernet cable.  So my plan is to download into another
>>> PC and transfer with USB.
>>>
>>> Thanks,
>>> Stephen
>>> --
>>>
>>> See a Problem
>>>
>>> (That impedes your efforts)
>>>
>>>
>>>
>>> Solve the Problem
>>>
>>> (in a disciplined way that helps gain new insights in how to do work)
>>>
>>>
>>>
>>> Share What you Learn
>>>
>>> (So the local discovery has systematic and broad impacts)
>>>
>>>
>>> - excerpted from Steven Spear 
>>>
>>>
>> --
>> Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
>>
> --
>
> See a Problem
>
> (That impedes your efforts)
>
>
>
> Solve the Problem
>
> (in a disciplined way that helps gain new insights in how to do work)
>
>
>
> Share What you Learn
>
> (So the local discovery has systematic and broad impacts)
>
>
> - excerpted from Steven Spear 
>
> ---
>
> --
> 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.
>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [UKids] Where I download KA Lite zip file in Spanish

2019-03-11 Thread Adam Holt
Steve,

There's extensive documentation on KA Lite tips & tricks for
Internet-in-a-Box at http://FAQ.IIAB.IO #32

("KA Lite Administration: What tips & tricks exist?")

Read those 30-or-so lines from top to bottom, as so many others have fallen
in these kinds of KA Lite content installation & configuration traps over
the years, that you can save yourself a *Lot* of hassle by avoiding their
mistakes (:


On Mon, Mar 11, 2019 at 6:40 PM Steve Thomas  wrote:

> I’m in the DR, and while I downloaded Spanish versions of Wikipedia etc, I
> forget to download the Spanish version of KA Lite.
>
> I found the command to install, but I need the Zip file.
>
> I know if I had internet connection on the IIAB box I know I could install
> that way, but the Wifi isn't working on that laptop, and there is no
> connection with Ethernet cable.  So my plan is to download into another PC
> and transfer with USB.
>
> Thanks,
> Stephen
> --
>
> See a Problem
>
> (That impedes your efforts)
>
>
>
> Solve the Problem
>
> (in a disciplined way that helps gain new insights in how to do work)
>
>
>
> Share What you Learn
>
> (So the local discovery has systematic and broad impacts)
>
>
> - excerpted from Steven Spear 
>
>
--
Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


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

2019-03-03 Thread Sameer Verma
Pricing will come down, like all other cards in the past. I agree that
shipping content will be a big plus.

Sameer

On Sat, Mar 2, 2019, 10:31 PM Anish Mangal  wrote:

> 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] [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: OpenFirmware and Linux v5.0 on XO-1.75

2019-02-25 Thread James Cameron
On Sat, Feb 23, 2019 at 06:06:56PM +0100, Lubomir Rintel wrote:
> On Sat, 2019-02-23 at 10:52 +1100, James Cameron wrote:
> > On Fri, Feb 22, 2019 at 12:14:00PM +0100, Lubomir Rintel wrote:
> > > Also, which config? Mine is basically this:
> > > https://raw.githubusercontent.com/hackerspace/olpc-xo175-linux/lr/olpc-xo175/arch/arm/configs/olpc_xo175_defconfig
> > 
> > The config used by Fedora.
> > 
> > Can we work toward some kind of reproducible build?
> 
> Not sure what you mean here.

Sorry.  Configuring and building kernels is for me a rare thing to do,
and whenever I try I'm usually interrupted by something more urgent,
as I've quite a few other things I've got to do.  I'm still a newbie
at it because I can't dedicate the time.

http://dev.laptop.org/git/olpc-kernel/commit/?h=olpc-4.8=4731695ff517ccb145e60d68acd2f7f15eb4ab6b
is an example patch which, in addition to a few irrelevant changes,
adds our OLPC RPM build process;

- our defconfig,

- a spec file for rpmbuild,

- a build script,

- an openfirmware boot script.

Some of this may have bit-rotted.

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


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

2019-02-24 Thread Mitra Ardron

Done https://github.com/iiab/iiab/issues/1519

- Mitra

On 25/2/19 1:04 PM, Anish Mangal wrote:

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


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


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


Re: OpenFirmware and Linux v5.0 on XO-1.75

2019-02-24 Thread Lubomir Rintel
On Sat, 2019-02-23 at 10:52 +1100, James Cameron wrote:
[snip]
> 
> > > - booted it a few times trying to fix the missing root filesystem;
> > >   more work needed, the device name may have changed and i've not
> > >   found a way to find what it is, or it isn't being detected; serial
> > >   console doesn't work even with console=ttyS2,115200
> > 
> > Yeah, the device names are not stable for some reason. I don't know how
> > are they determined, I'll need to take a look. Perhaps it's just a
> > matter of adding the right aliases to the device tree.
> > 
> > Somewhat wierdly, my stripped down monolithic kernel calls the UART2
> > ttyS2, while the Fedora kernel ends up with ttyS0.
> 
> Thanks, switching to ttyS0 worked.

Figured out what's wrong. There's actually three drivers competing for
mrvl,pxa-uart, one of them deprecated the two other broken. This should
eventually be somehow disambiguated, but for now I just sent in the
fixes:

https://lore.kernel.org/lkml/20190224115802.13436-1-lkund...@v3.sk/T/#u
https://lore.kernel.org/lkml/20190224115929.13548-1-lkund...@v3.sk/T/#u
https://lore.kernel.org/lkml/20190224120053.13682-1-lkund...@v3.sk/T/#u

Lubo

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


Re: OpenFirmware and Linux v5.0 on XO-1.75

2019-02-23 Thread Lubomir Rintel
On Sat, 2019-02-23 at 10:52 +1100, James Cameron wrote:
> On Fri, Feb 22, 2019 at 12:14:00PM +0100, Lubomir Rintel wrote:
> > On Fri, 2019-02-22 at 17:23 +1100, James Cameron wrote:
> > > Thanks, very good progress.  Here's what I've done;
> > > 
> > > - reviewed the aggregate change from master branch, and each commit,
> > 
> > Does it look, eh, reasonable? Got any comments/suggestions?
> 
> Yes, it looks reasonable.  Given that the firmware would not need to
> run in factory and would only be used with a new kernel, the rest of
> the firmware functions won't need to be considered.  I'm not worried
> if it breaks the self-test features, for example.

Makes sense. I think the self-test still works and none of the existing
funcitionality was broken deliberately.

[...]

I've given the thing some more testing and fixed up some of the
commits. I've also added an ext2fs fix that would be corrupting the
file systems with incompatible flags (the stock Fedora image), despite
being able to read it okay:

  git pull https://github.com/lkundrak/openfirmware lr/olpc-xo175-2

(diff it against lr/olpc-xo175-1 to see what changed)

> and the
> > >   keyboard is unresponsive in the dracut shell.
> > 
> > Which exact kernel are you using? Keyboard is not expected to work
> > before rc6.
> 
> [0.00] Linux version 5.0.0-0.rc7.git2.1.fc31.armv7hl 
> (mockbu...@buildvm-armv7-08.arm.fedoraproject.org) (gcc version 9.0.1 
> 20190209 (Red Hat 9.0.1-0.4) (GCC)) #1 SMP Wed Feb 20 21:06:49 UTC 2019
> 
> You pointed to it.

Ah, okay. It might then just be that you don't have the olpc_apsp
module in the initrd. That might be the case especially with an older
dracut version and when running a kernel that has the APSP driver
built-in.

Some other drivers might be missing too. Here's one that's known to
have the necessary modules (generated on my f29 running a Fedora
kernel):

https://fedorapeople.org/~lkundrak/initramfs-5.0.0-0.rc7.git2.1.fc31.armv7hl.img

If things still don't work afterwards, please share the dmesg.
> 
> > Also, which config? Mine is basically this:
> > https://raw.githubusercontent.com/hackerspace/olpc-xo175-linux/lr/olpc-xo175/arch/arm/configs/olpc_xo175_defconfig
> 
> The config used by Fedora.
> 
> Can we work toward some kind of reproducible build?

Not sure what you mean here.

Lubo

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


Re: OpenFirmware and Linux v5.0 on XO-1.75

2019-02-22 Thread James Cameron
On Fri, Feb 22, 2019 at 12:14:00PM +0100, Lubomir Rintel wrote:
> On Fri, 2019-02-22 at 17:23 +1100, James Cameron wrote:
> > Thanks, very good progress.  Here's what I've done;
> > 
> > - reviewed the aggregate change from master branch, and each commit,
> 
> Does it look, eh, reasonable? Got any comments/suggestions?

Yes, it looks reasonable.  Given that the firmware would not need to
run in factory and would only be used with a new kernel, the rest of
the firmware functions won't need to be considered.  I'm not worried
if it breaks the self-test features, for example.

> > - built the firmware on my xo-4 build server, flashed an xo-1.75 c2
> >   sku200x2; it boots fine the old kernel from arm-3.0-wip branch, with
> >   some unimportant problems like keymapping,
> 
> I intend to look into the key mapping at some point, because I've
> noticed the keyboard sometimes sends scancodes the kernel doesn't
> recognize.
> 
> By the way, my unit has has the "olpcm" non-membrane keyboard. I'm
> wondering if the scan codes it sends are the same as the membrane
> one?

I can't remember, sorry.

> Will the key mapping in hwdb need to distinguish between the two? (I
> also have a membrane keyboard, so I could actually just check that
> myself...)
> 
> > - on the fedora 18 root filesystem, installed the 5.0.0
> >   kernel{-core,-modules,} with --nodeps and --force,
> > 
> > - adjusted boot/ so that olpc.fth runs the 5.0.0 kernel,
> > 
> > - booted it a few times trying to fix the missing root filesystem;
> >   more work needed, the device name may have changed and i've not
> >   found a way to find what it is, or it isn't being detected; serial
> >   console doesn't work even with console=ttyS2,115200
> 
> Yeah, the device names are not stable for some reason. I don't know how
> are they determined, I'll need to take a look. Perhaps it's just a
> matter of adding the right aliases to the device tree.
> 
> Somewhat wierdly, my stripped down monolithic kernel calls the UART2
> ttyS2, while the Fedora kernel ends up with ttyS0.

Thanks, switching to ttyS0 worked.

> Similar issue with the MMC; the SD card ends up mmcblk1 with one
> kernel, mmcblk0 with another.

No MMC detects.

> The actual boot parameters I am testing with are in the lower half of
> my boot script (it's somewhat messy, copied it directly from my /boot
> without an attempt to tidy it up):
> https://people.freedesktop.org/~lkundrak/lr-olpc-boot/boot/menu.fth

Thanks.

> > and the
> >   keyboard is unresponsive in the dracut shell.
> 
> Which exact kernel are you using? Keyboard is not expected to work
> before rc6.

[0.00] Linux version 5.0.0-0.rc7.git2.1.fc31.armv7hl 
(mockbu...@buildvm-armv7-08.arm.fedoraproject.org) (gcc version 9.0.1 20190209 
(Red Hat 9.0.1-0.4) (GCC)) #1 SMP Wed Feb 20 21:06:49 UTC 2019

You pointed to it.

> Also, which config? Mine is basically this:
> https://raw.githubusercontent.com/hackerspace/olpc-xo175-linux/lr/olpc-xo175/arch/arm/configs/olpc_xo175_defconfig

The config used by Fedora.

Can we work toward some kind of reproducible build?

> > My mind has bitrotted.
> > 
> > On your interest in building on x86_64, suggestions;
> > 
> > - there are six 0.1" pitch pads on the back of the PCB which expose
> >   the SPI Flash chip pins, so you can hook a programmer to them, but
> >   check the voltage levels; some units used 1.8V chips, most used
> >   3.3V.
> 
> Ah, cool. Good to know there's a reasonable recovery option. Hope my
> chip is 3.3V, because I dropped the programmer that could do 1.8V on
> the floor and it seems it needs repairs :) 3.3V one could be programmed
> with a Rasbperry Pi, and I even have some spare 3.3V chips if I fuck up
> majorly.
> 
> But for now I just stay off overwriting cforth because I don't even
> feel like opening the machine again.
> 
> > - build a composite image by hand using the cforth you know already
> >   works, and the openfirmware built on x86_64,
> > 
> > - use binary comparison of the .rom file to make sure the cforth
> >   section hasn't changed much; if it hasn't, probably good to go, but
> >   if it has, no idea.
> > [...]

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


Re: OpenFirmware and Linux v5.0 on XO-1.75

2019-02-22 Thread Lubomir Rintel
On Fri, 2019-02-22 at 17:23 +1100, James Cameron wrote:
> Thanks, very good progress.  Here's what I've done;
> 
> - reviewed the aggregate change from master branch, and each commit,

Does it look, eh, reasonable? Got any comments/suggestions?

> - built the firmware on my xo-4 build server, flashed an xo-1.75 c2
>   sku200x2; it boots fine the old kernel from arm-3.0-wip branch, with
>   some unimportant problems like keymapping,

I intend to look into the key mapping at some point, because I've
noticed the keyboard sometimes sends scancodes the kernel doesn't
recognize.

By the way, my unit has has the "olpcm" non-membrane keyboard. I'm
wondering if the scan codes it sends are the same as the membrane one?
Will the key mapping in hwdb need to distinguish between the two? (I
also have a membrane keyboard, so I could actually just check that
myself...)

> - on the fedora 18 root filesystem, installed the 5.0.0
>   kernel{-core,-modules,} with --nodeps and --force,
> 
> - adjusted boot/ so that olpc.fth runs the 5.0.0 kernel,
> 
> - booted it a few times trying to fix the missing root filesystem;
>   more work needed, the device name may have changed and i've not
>   found a way to find what it is, or it isn't being detected; serial
>   console doesn't work even with console=ttyS2,115200

Yeah, the device names are not stable for some reason. I don't know how
are they determined, I'll need to take a look. Perhaps it's just a
matter of adding the right aliases to the device tree.

Somewhat wierdly, my stripped down monolithic kernel calls the UART2
ttyS2, while the Fedora kernel ends up with ttyS0.

Similar issue with the MMC; the SD card ends up mmcblk1 with one
kernel, mmcblk0 with another.

The actual boot parameters I am testing with are in the lower half of
my boot script (it's somewhat messy, copied it directly from my /boot
without an attempt to tidy it up):
https://people.freedesktop.org/~lkundrak/lr-olpc-boot/boot/menu.fth

> and the
>   keyboard is unresponsive in the dracut shell.

Which exact kernel are you using? Keyboard is not expected to work
before rc6.

Also, which config? Mine is basically this:
https://raw.githubusercontent.com/hackerspace/olpc-xo175-linux/lr/olpc-xo175/arch/arm/configs/olpc_xo175_defconfig


> 
> My mind has bitrotted.
> 
> On your interest in building on x86_64, suggestions;
> 
> - there are six 0.1" pitch pads on the back of the PCB which expose
>   the SPI Flash chip pins, so you can hook a programmer to them, but
>   check the voltage levels; some units used 1.8V chips, most used
>   3.3V.

Ah, cool. Good to know there's a reasonable recovery option. Hope my
chip is 3.3V, because I dropped the programmer that could do 1.8V on
the floor and it seems it needs repairs :) 3.3V one could be programmed
with a Rasbperry Pi, and I even have some spare 3.3V chips if I fuck up
majorly.

But for now I just stay off overwriting cforth because I don't even
feel like opening the machine again.

> - build a composite image by hand using the cforth you know already
>   works, and the openfirmware built on x86_64,
> 
> - use binary comparison of the .rom file to make sure the cforth
>   section hasn't changed much; if it hasn't, probably good to go, but
>   if it has, no idea.
> 
> On Thu, Feb 21, 2019 at 11:54:15AM +0100, Lubomir Rintel wrote:
> > Hi,
> > 
> > for the past few days I've been looking into updating the XO-1.75
> > OpenFirmware so that it's good enough to boot mainline Linux.
> > 
> > It now looks usable enough: the essentials such as simple framebuffer,
> > keyboard, Wi-Fi or USB all seem to work.
> > 
> > The branch's pretty large; counting 60 commits at the moment. Get it
> > from:
> > 
> >   git pull https://github.com/lkundrak/openfirmware lr/olpc-xo175-1
> > 
> > It's not done or finished (see the TODOs in many commits). Some
> > bindings are not settled in Linux tree. Howerver I still think it may
> > be a good idea to share it early to get some feedback and identify bits
> > that obviously stink.
> > 
> > I've tested it with the latest Fedora kernel [1] build (yay!) and also
> > booted the latest OLPC OS release. When booting the latter, there were
> > no differencies in "find /sys/devices -type d |sort" output, so I
> > assume the drivers that would use the device tree (there probably
> > aren't many) bind just fine.
> > 
> > [1] https://koji.fedoraproject.org/koji/buildinfo?buildID=1214041
> > 
> > I tried not to break other boards. olpc/4.0 still builds fine, but is
> > likely to end up with three clock nodes (/pmua, /apbc and /clocks).
> > olpc/3.0 was bitrotten before and I did not try doing x86 build, for
> > the most part I've been building natively on the XO-1.75.
> > 
> > For a x86_64 hosted build I needed to patch cforth. See [2]. The 
> > MitchBradley/cforth [1] master branch actually takes a similar
> > approach, but there the 1.75 support there seems severely bitrotten.
> > 
> > [2] https://github.com/lkundrak/cforth/commit/c88790fd32.patch
> > 

Re: OpenFirmware and Linux v5.0 on XO-1.75

2019-02-21 Thread James Cameron
Thanks, very good progress.  Here's what I've done;

- reviewed the aggregate change from master branch, and each commit,

- built the firmware on my xo-4 build server, flashed an xo-1.75 c2
  sku200x2; it boots fine the old kernel from arm-3.0-wip branch, with
  some unimportant problems like keymapping,

- on the fedora 18 root filesystem, installed the 5.0.0
  kernel{-core,-modules,} with --nodeps and --force,

- adjusted boot/ so that olpc.fth runs the 5.0.0 kernel,

- booted it a few times trying to fix the missing root filesystem;
  more work needed, the device name may have changed and i've not
  found a way to find what it is, or it isn't being detected; serial
  console doesn't work even with console=ttyS2,115200, and the
  keyboard is unresponsive in the dracut shell.

My mind has bitrotted.

On your interest in building on x86_64, suggestions;

- there are six 0.1" pitch pads on the back of the PCB which expose
  the SPI Flash chip pins, so you can hook a programmer to them, but
  check the voltage levels; some units used 1.8V chips, most used
  3.3V.

- build a composite image by hand using the cforth you know already
  works, and the openfirmware built on x86_64,

- use binary comparison of the .rom file to make sure the cforth
  section hasn't changed much; if it hasn't, probably good to go, but
  if it has, no idea.

On Thu, Feb 21, 2019 at 11:54:15AM +0100, Lubomir Rintel wrote:
> Hi,
> 
> for the past few days I've been looking into updating the XO-1.75
> OpenFirmware so that it's good enough to boot mainline Linux.
> 
> It now looks usable enough: the essentials such as simple framebuffer,
> keyboard, Wi-Fi or USB all seem to work.
> 
> The branch's pretty large; counting 60 commits at the moment. Get it
> from:
> 
>   git pull https://github.com/lkundrak/openfirmware lr/olpc-xo175-1
> 
> It's not done or finished (see the TODOs in many commits). Some
> bindings are not settled in Linux tree. Howerver I still think it may
> be a good idea to share it early to get some feedback and identify bits
> that obviously stink.
> 
> I've tested it with the latest Fedora kernel [1] build (yay!) and also
> booted the latest OLPC OS release. When booting the latter, there were
> no differencies in "find /sys/devices -type d |sort" output, so I
> assume the drivers that would use the device tree (there probably
> aren't many) bind just fine.
> 
> [1] https://koji.fedoraproject.org/koji/buildinfo?buildID=1214041
> 
> I tried not to break other boards. olpc/4.0 still builds fine, but is
> likely to end up with three clock nodes (/pmua, /apbc and /clocks).
> olpc/3.0 was bitrotten before and I did not try doing x86 build, for
> the most part I've been building natively on the XO-1.75.
> 
> For a x86_64 hosted build I needed to patch cforth. See [2]. The 
> MitchBradley/cforth [1] master branch actually takes a similar
> approach, but there the 1.75 support there seems severely bitrotten.
> 
> [2] https://github.com/lkundrak/cforth/commit/c88790fd32.patch
> [3] https://github.com/MitchBradley/cforth
> 
> I didn't have the guts to actually flash and run the image built on
> x86_64. I don't not seem to be able to program the spi flash by
> attaching a soic8 clip to it, without unsoldering the chip and I don't
> feel like doing that if I fuck things up.
> 
> At some point I'll hopefully follow up with something that could be
> actually merged into the OpenFirmware, perhaps in a month or so. Until
> then some more bindings may settle.
> 
> In particular, my hopes are that some of Armada DRM or EC may make it
> into 5.1. Camera works, but needs some more love, perhaps 5.2.
> 
> Take care
> Lubo
> 

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


Re: [UKids] [Announcement] Sugarizer v1.1 is available for your device

2019-01-23 Thread Lionel Laské
Hi Simon,

Thanks for your interest on Sugarizer.
If you're running Sugarizer Server into Docker, the file to update is
env/docker.ini (not env/sugarizer.ini).
You could see (and eventually change) this settings here:
https://github.com/llaske/sugarizer-server/blob/master/docker/Dockerfile-server.tpl#L3

Best regards.

  Lionel.


Le mer. 23 janv. 2019 à 15:02, Simon Mwangangi  a
écrit :

> Dear Team,
> I am excited to learn that i can access my favorite learning platform
> Sugar from any device via a browser. I today installed the sugarizer-server
> in one of our ubuntu 14.04 LTS. I am running the server using a Docker. I
> was trying to edit the sugarizer.ini file to change the port for the
> sugarizer service, but even after editing the [web session] Nothing
> changed. even after restarting the machine. Can someone help me to change
> the port to something else as i have another service using port 8080. What
> is the command for stopping the sugarizer service running using a Docker?
> Thank you!
>
> Simon
>
> On Mon, Jan 21, 2019 at 11:52 AM Lionel Laské 
> wrote:
>
>> Hi all,
>>
>>
>>
>> I'm proud to announce the version 1.1 of Sugarizer, a taste of Sugar for
>> any device.
>>
>>
>>
>> http://sugarizer.org
>>
>>
>>
>> New in this winter Sugarizer version:
>>
>>- MacOS: Sugarizer is now available as a native MacOS application.
>>You could download the DMG package here [10].
>>- Linux: Sugarizer is now available as a Linux application. It could
>>be installed on any distribution using a deb or AppImage package
>>downloadable here [10] or installed from the snapcraft app store here [6].
>>- Journal improvements:
>>   - Add a sort palette: sort by creation date, modified date or item
>>   size
>>   - Device to Journal integration: copy directly image/content from
>>   your device to the journal or download journal content on your device
>>   - Action to multiple items: remove or copy multiple items at the
>>   same time
>>- Full help tutorial: step by step tutorial from the initial screen,
>>description of each activity in list view.
>>- Ebook Reader activity: An epub reader into Sugarizer, access to a
>>full library of classical books for children directly from your device.
>>- Exerciser activity: Never been so easy to create your set of
>>questions (MCQ, Cloze Text, ...) and share it with your friends.
>>- Sprint Math activity: Challenge yourself on mental arithmetic or
>>play with other users through the network.
>>- Full offline version of Scratch: handle backgrounds, sounds and
>>costumes from into Scratch source code without an Internet connection.
>>- Better custom color integration: more activities (Speak, TamTam,
>>Video Viewer, …) now take into account the buddy color. Your colors are
>>your flag!
>>- Better presence integration: more activities (Last One Loses, Maze,
>>…) now could be shared on the network.
>>- Better Journal integration: more activities (Blockrain, Stopwatch,
>>Speak, QRCode, …) now save their state into Journal.
>>- Improved stability: more than 20 fix on Sugarizer and activities.
>>
>>
>>
>>
>>
>> A short animation of these features is visible here:
>> https://sugarizer.org/download/Sugarizer_v1.1.gif.
>>
>>
>>
>> Three new schools will deploy Sugarizer in the begining of this year, why
>> not your school?
>>
>>
>>
>> Sugarizer 1.1  is available on your browser [1] but also for your
>> Android, iOS, Linux, MacOS or Windows device. Download it from : Google
>> Play [2], Amazon Store [3], Apple Store [4], F-droid [5], snapcraft [6] and
>> if you don't like stores, you could also install it by yourself using
>> instructions on the Sugarizer website [7].
>>
>> On Android, Sugarizer could also replace your launcher with Sugarizer OS
>> [8].
>>
>> And if you want to deploy Sugarizer Server for your school, follow
>> instructions here [9].
>>
>>
>>
>>Lionel.
>>
>>
>>
>>
>>
>> P.S.: Special thanks for their contribution on this version to Mankirat
>> Singh (Exerciser and SprintMath activity), Paulo Francisco Slomp
>> (Portuguese localization) and to all GCI students for their
>> contributions, specifically FreddieN, AndreaGon and EmilyOng.
>>
>>
>>
>> [1] http://try.sugarizer.org
>>
>> [2]
>> https://play.google.com/store/apps/details?id=org.olpc_france.sugarizer
>>
>> [3] http://www.amazon.com/gp/product/B00NKK7PZA
>>
>> [4] https://itunes.apple.com/us/app/sugarizer/id978495303
>>
>> [5] https://f-droid.org/repository/browse/?fdid=org.olpc_france.sugarizer
>>
>> [6] https://snapcraft.io/sugarizer
>>
>> [7] https://sugarizer.org
>>
>> [8]
>> https://play.google.com/store/apps/details?id=org.olpc_france.sugarizeros
>>
>> [9] https://github.com/llaske/sugarizer-server
>>
>> [10] https://sugarizer.org#desktop
>>
>> --
>> Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
>> ---
>> You received this message because you are subscribed 

Re: Into 2019: XOs Laptops & software upgrades

2019-01-03 Thread James Cameron
On Wed, Jan 02, 2019 at 10:26:30PM -0500, tkkang wrote:
> Happy New Year.
> 
> Good to see the release of 13.2.10 OS for XO1 to XO4. Great work from James 
> and
> new developers who just keep making it better. With that I hope 2019 can be
> more productive for deployments still using XOs.
> 
> I have a few things I hope to see if he XO can function properly.
> 
> 1. Can Python 3.6 and above be installed. If Yes how?
>

On an XO-4 running OLPC OS 13.2.10, the latest version of Python,
which is 3.7.2, does build like this;

yum install -y gcc make zlib-devel
./configure
make
make install

Here's the interactive interpreter running;

Python 3.7.2 (default, Jan  3 2019, 08:52:48) 
[GCC 4.7.2 20121109 (Red Hat 4.7.2-8)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

However, there are other optional dependencies that should be
installed first, so that the build has all the features possible.  The
Fedora 18 source package for python3 has a good starting point for
dependencies.

> Like to see if this could work [1]https://codewith.mu/en/tutorials/1.0/
> microbitas   new   Python needed

mu may need other dependencies.  You may need to experiment for
several iterations.

> 2. What is the best Firefox version that will load and and run on XO 1.5 to
> XO4? Need the good HTML 5 support.

Firefox installed by yum does have "good" HTML 5 support, but the
sites you refer to may require more than that.

> Currently I could  not run firefox for [2]
> https://www.edblocksapp.com/toprogram Edison Robot or [3]https://
> makecode.microbit.org/for Microbits
> 
> 3. Ways to load restricted so
> 
> References:
> 
> [1] https://codewith.mu/en/tutorials/1.0/microbit
> [2] https://www.edblocksapp.com/to
> [3] https://makecode.microbit.org/

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


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


Re: Linux next-20181204 on a XO-1.75

2018-12-18 Thread James Cameron
On Tue, Dec 18, 2018 at 11:39:19AM +0100, Lubomir Rintel wrote:
> On Sat, 2018-12-08 at 17:26 +1100, James Cameron wrote:
> > Thanks.  On my test unit, this change was needed;
> > 
> > --- dt.fth.orig 2018-12-04 18:23:57.0 +1100
> > +++ dt.fth  2018-12-08 17:18:42.143073750 +1100
> > @@ -362,7 +362,7 @@
> >  " /clocks" encode-phandle  MMP2_CLK_TWSI5 encode-int encode+  "
> > resets" property
> >  device-end
> >  
> > -" dev /i2c@d4034000/accelerometer@1d" evaluate
> > +" dev /i2c@d4034000/accelerometer@19" evaluate
> >  " st,lis3lv02d" +compatible
> >  " st,lis331dlh" +compatible
> >  device-end
> 
> Thanks. I guess there's no need for the bus address there, "
> /i2c@d4034000/accelerometer" resolves to the correct node, regardless
> of what model/address the actual accelerometer is:

Yes.  Chip is LIS33DE in older builds, and LIS3DHTR in newer builds.

> https://people.freedesktop.org/~lkundrak/olpc/dt.fth
> ^ here's the current version I have.

Had a look, saw nothing obviously wrong.  Am a bit worried about the
amount of dictionary space remaining; you could reduce that worry by
removing those constants and adding the names as comments later.

Also you might check for data or control stack excursions; check
balance of the stacks across the fload.

> Includes camera and display. I hope I'll manage to follow up with the
> DRM patches later today. I'll very much appreciate if you take a look
> then as there are some bits I couldn't figure out without the panel and
> SoC manuals (and might be even wrong in OFW).

Ok.

> There are probably bugs. I've observed some problems, such as an
> occasional "Data Abort" when the USB ethernet is not plugged in (?)
> that can be fixed by merely splitting the file into two and floading
> them separately. I guess I'm corrupting something somewhere, but I find
> figuring out precisely what is going on non-trivial.

Yes, figuring out is non-trivial.  We rarely made significant device
tree changes at this stage, we try to bring them into the source.
There is simultaneous activity going on (keyboard, USB), and it's not
as multi-tasking as other environments.  Use ftrace after the "Data
Abort" to see if the saved exception stack can tell you anything
interesting?

> Also, the modifications to the internal sdhci node prevent OFW from
> booting from the internal emmc.  That said, it still serves as a good
> reference for the changes that will need to be done to support mainline
> kernels once the bits settle.

Thanks.

> PS: The previous message didn't make it to the list as it seems to
> require moderation. I guess this one will neither, unless you approve
> it.

I've just now located and approved your subscription.  As in the list
info, we get a lot of bogus subscriptions for some reason.

> Lubo
> 

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


Re: Linux next-20181204 on a XO-1.75

2018-12-18 Thread Lubomir Rintel
On Sat, 2018-12-08 at 17:26 +1100, James Cameron wrote:
> Thanks.  On my test unit, this change was needed;
> 
> --- dt.fth.orig 2018-12-04 18:23:57.0 +1100
> +++ dt.fth  2018-12-08 17:18:42.143073750 +1100
> @@ -362,7 +362,7 @@
>  " /clocks" encode-phandle  MMP2_CLK_TWSI5 encode-int encode+  "
> resets" property
>  device-end
>  
> -" dev /i2c@d4034000/accelerometer@1d" evaluate
> +" dev /i2c@d4034000/accelerometer@19" evaluate
>  " st,lis3lv02d" +compatible
>  " st,lis331dlh" +compatible
>  device-end

Thanks. I guess there's no need for the bus address there, "
/i2c@d4034000/accelerometer" resolves to the correct node, regardless
of what model/address the actual accelerometer is:

https://people.freedesktop.org/~lkundrak/olpc/dt.fth
^ here's the current version I have.

Includes camera and display. I hope I'll manage to follow up with the
DRM patches later today. I'll very much appreciate if you take a look
then as there are some bits I couldn't figure out without the panel and
SoC manuals (and might be even wrong in OFW).

There are probably bugs. I've observed some problems, such as an
occasional "Data Abort" when the USB ethernet is not plugged in (?)
that can be fixed by merely splitting the file into two and floading
them separately. I guess I'm corrupting something somewhere, but I find
figuring out precisely what is going on non-trivial.

Also, the modifications to the internal sdhci node prevent OFW from
booting from the internal emmc.  That said, it still serves as a good
reference for the changes that will need to be done to support mainline
kernels once the bits settle.

PS: The previous message didn't make it to the list as it seems to
require moderation. I guess this one will neither, unless you approve
it.

Lubo

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


Re: Linux next-20181204 on a XO-1.75

2018-12-07 Thread James Cameron
Thanks.  On my test unit, this change was needed;

--- dt.fth.orig 2018-12-04 18:23:57.0 +1100
+++ dt.fth  2018-12-08 17:18:42.143073750 +1100
@@ -362,7 +362,7 @@
 " /clocks" encode-phandle  MMP2_CLK_TWSI5 encode-int encode+  " resets" 
property
 device-end
 
-" dev /i2c@d4034000/accelerometer@1d" evaluate
+" dev /i2c@d4034000/accelerometer@19" evaluate
 " st,lis3lv02d" +compatible
 " st,lis331dlh" +compatible
 device-end

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


Re: [Server-devel] Monday 10AM NYC Time Call: Internet-in-a-Box approaches v6.7

2018-10-11 Thread Adam Holt
On Wed, Oct 10, 2018, 9:24 PM Adam Holt  wrote:

> Thanks for joining Monday October 15th those who can, at 10AM NYC Time
> (EDT).
>
> Agenda is ambitious, so please read/revise here in advance of the call:
>
>http://minutes.iiab.io
>
> (RSVP if you can join, Thanks!)
>

PS please do your http://download.iiab.io/6.7 testing on the brand new
Raspbian OS (2018-10-09) just released!

http://downloads.raspberrypi.org/raspbian/
http://downloads.raspberrypi.org/raspbian/release_notes.txt

(And/or other OS's like pre-releases of Debian 10 if you're especially
adventurous +)

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


Re: [Server-devel] Ansible 2.7 for IIAB 6.7: let's remove pink/red warnings to prep IIAB for 2019 Ansible 2.8/2.9 deprecations

2018-09-20 Thread Adam Holt
On Thu, Sep 20, 2018, 4:52 PM Adam Holt  wrote:

> Can someone lend a hand modernizing our Internet-in-a-Box Ansible code,
> looking over these pink and red warnings, to eliminate many/most, as
> several will prevent us from running Ansible in 2019?
> https://github.com/iiab/iiab/issues/1130
> https://github.com/iiab/iiab/issues/1100
>
> If so please install Internet-in-a-Box (IIAB) 6.7 on any hardware, but
> especially on any OS like Ubuntu 18.04, Debian 9.5+, or Raspbian — and
> simply help us all tabulate/categorize/squash all these warnings!
>
> Our 1-line installer is here:
>
>http://download.iiab.io/6.7
>

CLARIF: Internet-in-a-Box 6.7/master is a rolling release, rather than a
fixed/finalized version.

It's heavily QA'd on a daily basis thanks to a number of *quite incredible
volunteer contributors*, and as a result is already in use in a few
production environments.

FYI it is a step up from Internet-in-a-Box 6.6 released on Sept 12:

   https://github.com/iiab/iiab/wiki/IIAB-6.6-Release-Notes


(Like Ansible 2.7, Ubuntu 18.10 Cosmic Cuttlefish also arrives in just a
> few short weeks...and while 18.10 will *not be formally* supported as
> it's not an LTS OS...it just might possibly work with IIAB, with very minor
> tweaks!?)
>
>
> ** Thanks for helping us all make the transition to Ansible's new versions
> for 2019 ~ do send me a quick note anyone who can run a couple test
> installs in coming weeks **
>
>
> *In Other News: IIAB 6.7/master is definitely starting to shine now, with
> several install process wins now (faster & cleaner install process, with
> near-immediate remote access during provisioning!)*
>
> *...and a sneak preview of even bigger things scheduled to land on Tuesday
> Sept 25 :) *
>
>Copy Content Packs to/from USB sticks/storage
>https://github.com/iiab/iiab/issues/828
>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: XO Spare Parts

2018-08-06 Thread T Gillett
To answer James Cameron's question, approximate quantities are
300 keyboards
200 screen
100 batteries.

On Mon, Aug 6, 2018 at 11:43 AM, T Gillett  wrote:

> Hi All
>
> I have a large quantity of XO spare parts that are surplus from the
> Australian XO-4 deployment, including screens, batteries, keyboards and
> antennas.
>
> The keyboards are the type with separate keys, not the membrane type, as
> used in some XO-1.75 and XO-4 laptops, and are very easy to change.
> The batteries and screens can be used across any model XO.
>
> I am happy to make these available to anyone who wants them for just the
> cost of shipping. The equipment is located in Australia so international
> postage/shipping may be non-trivial.
>
> Please let me know if you are interested in any of this equipment.
>
> Regards
> Terry
>
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XO Spare Parts

2018-08-06 Thread James Cameron
Thanks Terry.  When you say large, how large is large?  Rough order of
magnitude?  I'll let my team know.

On Mon, Aug 06, 2018 at 06:17:55PM +1000, T Gillett wrote:
> Just to clarify, the idea is to make available suitable quantities
> of the parts to various groups supporting deployments, rather than
> try to ship the whole lot to one destination.
> 
> On Mon, Aug 6, 2018 at 11:43 AM, T Gillett <[1]tgill...@gmail.com> wrote:
> 
> Hi All
> 
> I have a large quantity of XO spare parts that are surplus from the
> Australian XO-4 deployment, including screens, batteries, keyboards and
> antennas.
> 
> The keyboards are the type with separate keys, not the membrane type, as
> used in some XO-1.75 and XO-4 laptops, and are very easy to change.
> The batteries and screens can be used across any model XO.
> 
> I am happy to make these available to anyone who wants them for just the
> cost of shipping. The equipment is located in Australia so international
> postage/shipping may be non-trivial.
> 
> Please let me know if you are interested in any of this equipment.
> 
> Regards
> Terry
> 

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


Re: XO Spare Parts

2018-08-06 Thread T Gillett
Just to clarify, the idea is to make available suitable quantities of the
parts to various groups supporting deployments, rather than try to ship the
whole lot to one destination.

On Mon, Aug 6, 2018 at 11:43 AM, T Gillett  wrote:

> Hi All
>
> I have a large quantity of XO spare parts that are surplus from the
> Australian XO-4 deployment, including screens, batteries, keyboards and
> antennas.
>
> The keyboards are the type with separate keys, not the membrane type, as
> used in some XO-1.75 and XO-4 laptops, and are very easy to change.
> The batteries and screens can be used across any model XO.
>
> I am happy to make these available to anyone who wants them for just the
> cost of shipping. The equipment is located in Australia so international
> postage/shipping may be non-trivial.
>
> Please let me know if you are interested in any of this equipment.
>
> Regards
> Terry
>
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Disable (?) NM random mac for shared XO wifi - USB0 / Chrome/ Pi Zero

2018-07-28 Thread Carrol Riddle
All,

The solution is trivial and deceptively so.

With the Pi Zero DISCONNECTED, use Gnome Desktop to edit / add connection to 
create a connection method with type Ethernet. Leave the mac address fields 
blank. Pull down tab IPv4 and select "share with other computers " and save / 
power off. Connect Zero and power on XO.  The Pi Zero connection is 
automatically  establish and persists through subsequent boots.  Note that the 
mac fields remain blank.

No special configuration for XO is needed. The Raspberry Pi Zero setup is as in 
the first post. Basic setup -- 'host_addr' and 'dev_addr' are not needed in 
cmdline.txt .

Area's that I might monitor are other connection methods marked to "try to 
connect on boot" and any changes to mac addresses and "no auto default" in 
/etc/NetworkManager.conf  .

Prior practice was to power on XO with Zero connected and the connection method 
was automatically created with a random mac. If the mac field was changed, a 
"connection error" would occur.

With an Activity to run a script, simple access to the Raspian Desktop should 
be possible from Sugar. 

A shout-out to Tony Anderson who may have such an Activity.

This should close my request for help with resources.

Carrol Riddle


> On July 28, 2018 at 3:20 AM James Cameron  wrote:
> 
> 
> That's great.  I've a Raspberry Pi Zero and XO-1 that I can put
> together.  Might even be room inside or etch some of the back
> plastic.
> 
> On Fri, Jul 27, 2018 at 08:22:43PM -0400, Carrol Riddle wrote:
> > All:
> > With the possibilities narrowed by James Cameron, found something that 
> > works repeatedly on my test XO-1.  Must test again on a fresh system to 
> > find minimum configuration.  Changes made to correct board id's, udev 
> > rules, connection method prepared from scratch, and unmanaged mac entry in 
> > /etc/NetworkManager.conf  .
> > 
> > Will post configuration later to close thread (if I can replicate it :)  ) 
> > 
> > Thanks all for help.
> > Carrol Riddle
> > 
> > > > Now, setting MACAddressPolicy to none has no effect, which
> > > > suggests the random address is coming from the kernel.
> > > > 
> > > > My guess is that the reason why your udev rpi script fails is that it
> > > > is triggered on more than one udev event, or races with other things
> > > > for access to the device.  Add more logging and debugging to it.
> > > > 
> > > > Reference:
> > > > 
> > > > https://www.freedesktop.org/software/systemd/man/systemd.link.html
> 
> -- 
> James Cameron
> http://quozl.netrek.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Disable (?) NM random mac for shared XO wifi - USB0 / Chrome/ Pi Zero

2018-07-28 Thread James Cameron
That's great.  I've a Raspberry Pi Zero and XO-1 that I can put
together.  Might even be room inside or etch some of the back
plastic.

On Fri, Jul 27, 2018 at 08:22:43PM -0400, Carrol Riddle wrote:
> All:
> With the possibilities narrowed by James Cameron, found something that works 
> repeatedly on my test XO-1.  Must test again on a fresh system to find 
> minimum configuration.  Changes made to correct board id's, udev rules, 
> connection method prepared from scratch, and unmanaged mac entry in 
> /etc/NetworkManager.conf  .
> 
> Will post configuration later to close thread (if I can replicate it :)  ) 
> 
> Thanks all for help.
> Carrol Riddle
> 
> > > Now, setting MACAddressPolicy to none has no effect, which
> > > suggests the random address is coming from the kernel.
> > > 
> > > My guess is that the reason why your udev rpi script fails is that it
> > > is triggered on more than one udev event, or races with other things
> > > for access to the device.  Add more logging and debugging to it.
> > > 
> > > Reference:
> > > 
> > > https://www.freedesktop.org/software/systemd/man/systemd.link.html

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


Re: Disable (?) NM random mac for shared XO wifi - USB0 / Chrome/ Pi Zero

2018-07-27 Thread Carrol Riddle
All:
With the possibilities narrowed by James Cameron, found something that works 
repeatedly on my test XO-1.  Must test again on a fresh system to find minimum 
configuration.  Changes made to correct board id's, udev rules, connection 
method prepared from scratch, and unmanaged mac entry in 
/etc/NetworkManager.conf  .

Will post configuration later to close thread (if I can replicate it :)  ) 

Thanks all for help.
Carrol Riddle

> > Now, setting MACAddressPolicy to none has no effect, which
> > suggests the random address is coming from the kernel.
> > 
> > My guess is that the reason why your udev rpi script fails is that it
> > is triggered on more than one udev event, or races with other things
> > for access to the device.  Add more logging and debugging to it.
> > 
> > Reference:
> > 
> > https://www.freedesktop.org/software/systemd/man/systemd.link.html
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Disable (?) NM random mac for shared XO wifi - USB0 / Chrome/ Pi Zero

2018-07-26 Thread Carrol Riddle
James,

Thank you for answering request for identifying resources and beyond for the
specific testing.
I had been using udevadm, but not monitor. Your point about possible racing is
supported by observations noted in previous post. The pattern of lengthening 
"no-auto-default" line in NetworkManager.conf may also show varying boot paths.

A topic of interest is web discussions of failures of 
NetworkManager-wait-online.service as typified by:

purschel.eu/linux/centos-7-networkmanager-wait-online-service-failed/

MetworkManager-wait-online.service functions on activation of interface and 
does not wait for interface to obtain IP address and then come online.

NetworkManager-wait-online.service is enabled on XO (systemctl is-name). The 
parts in the above example fix (nohup,nm-online) are on the XO.  Do not know 
ExecStart part. systemd-networkd-wait-online.service used by other examples is 
not on XO  .  Application machanger has been used in other examples.

My more immediate concern is bringing up the small starter network with 
provided Village Telco routers for these XO's in a dense inner city 
neighborhood.

Will have to come back to this topic later. Appreciate the kick-starter.

N. C. Riddle


> On July 25, 2018 at 6:41 AM James Cameron  wrote:
> 
> 
> In my tests just now on OLPC OS 13.2.9 and an XO-4, my USB ethernet
> adapters always come back after reconnection or reboot with the same
> MAC address.  With or without Network Manager running.  So that
> suggests that for adapters with a physical address ROM or
> preprogrammed flash, they will appear predictable.
> 
> My tests above were not with Raspberry Pi Zero.  So I now turn to
> testing with one;
> 
> 1.  the MAC addresses change on each boot of the Zero, and are
> unpredictable,
> 
> 2.  the MAC address shown on each end is different; comparing usb0 on
> the XO vs usb0 on the Zero,
> 
> 3.  turning off Network Manager has no effect; therefore this is not a
> Network Manager behaviour as you surmised,
> 
> I've also tested with kernel v4.15 on an OLPC NL3, and the same
> unpredictable MAC address behaviour occurs.
> 
> Perhaps it is udev?  Using udevadm --monitor --property, shows
> several events from the kernel, and the first one to mention the
> MAC address eventually used is this one;
> 
> UDEV  [861.284453] add
>  /devices/pci:00/:00:14.0/usb1/1-4/1-4.1/1-4.1:1.0/net/enp0s20u4u1
> (net)
> .MM_USBIFNUM=00
> ACTION=add
> DEVPATH=/devices/pci:00/:00:14.0/usb1/1-4/1-4.1/1-4.1:1.0/net/enp0s20u4u1
> ID_BUS=usb
> ID_MM_CANDIDATE=1
> ID_MODEL=RNDIS_Ethernet_Gadget
> ID_MODEL_ENC=RNDIS\x2fEthernet\x20Gadget
> ID_MODEL_FROM_DATABASE=Linux-USB Ethernet/RNDIS Gadget
> ID_MODEL_ID=a4a2
> ID_NET_DRIVER=cdc_ether
> ID_NET_LINK_FILE=/lib/systemd/network/99-default.link
> ID_NET_NAME=enp0s20u4u1
> ID_NET_NAME_MAC=enxca2a7e605b6f <-- encx followed by the address
> ID_NET_NAME_PATH=enp0s20u4u1
> ID_PATH=pci-:00:14.0-usb-0:4.1:1.0
> ID_PATH_TAG=pci-_00_14_0-usb-0_4_1_1_0
> ID_REVISION=0409
> ID_SERIAL=Linux_4.9.35+_with_2098.usb_RNDIS_Ethernet_Gadget
> ID_TYPE=generic
> ID_USB_CLASS_FROM_DATABASE=Communications
> ID_USB_DRIVER=cdc_ether
> ID_USB_INTERFACES=:0202ff:0a:020600:
> ID_USB_INTERFACE_NUM=00
> ID_VENDOR=Linux_4.9.35+_with_2098.usb
> ID_VENDOR_ENC=Linux\x204.9.35+\x20with\x202098.usb
> ID_VENDOR_FROM_DATABASE=Netchip Technology, Inc.
> ID_VENDOR_ID=0525
> IFINDEX=7
> INTERFACE=enp0s20u4u1
> INTERFACE_OLD=usb0
> SEQNUM=3175
> SUBSYSTEM=net
> SYSTEMD_ALIAS=/sys/subsystem/net/devices/enp0s20u4u1
> TAGS=:systemd:
> USEC_INITIALIZED=861268742
> 
> So the MAC address originates from the kernel or systemd, not Network
> Manager.
> 
> As there is a udev event, it should be possible to write a udev rule
> to change the MAC address when this or one of the later events
> arrives.
> 
> However, perhaps we can see if this MAC address comes from the kernel
> or systemd; the event above references
> /lib/systemd/network/99-default.link which says'
> 
> [Link]
> NamePolicy=kernel database onboard slot path
> MACAddressPolicy=persistent
> 
> Now, setting MACAddressPolicy to none has no effect, which
> suggests the random address is coming from the kernel.
> 
> My guess is that the reason why your udev rpi script fails is that it
> is triggered on more than one udev event, or races with other things
> for access to the device.  Add more logging and debugging to it.
> 
> Reference:
> 
> https://www.freedesktop.org/software/systemd/man/systemd.link.html
> 
> On Fri, Jul 20, 2018 at 11:20:57PM -0400, Carrol Riddle wrote:
> > The difficulty is that a new connection is started on each boot and starts
> > as "automatic" IPv4 instead of the desired "share with other computers" This
> > results from a randomized MAC address, which appears to be controlled by
> > Network Manager. If the MAC address persists on next boot,
> > then the connection file will persist.
> > 
> > The MAC address in the cmdline.txt on Zero is vestige of 

Re: Disable (?) NM random mac for shared XO wifi - USB0 / Chrome/ Pi Zero

2018-07-25 Thread James Cameron
In my tests just now on OLPC OS 13.2.9 and an XO-4, my USB ethernet
adapters always come back after reconnection or reboot with the same
MAC address.  With or without Network Manager running.  So that
suggests that for adapters with a physical address ROM or
preprogrammed flash, they will appear predictable.

My tests above were not with Raspberry Pi Zero.  So I now turn to
testing with one;

1.  the MAC addresses change on each boot of the Zero, and are
unpredictable,

2.  the MAC address shown on each end is different; comparing usb0 on
the XO vs usb0 on the Zero,

3.  turning off Network Manager has no effect; therefore this is not a
Network Manager behaviour as you surmised,

I've also tested with kernel v4.15 on an OLPC NL3, and the same
unpredictable MAC address behaviour occurs.

Perhaps it is udev?  Using udevadm --monitor --property, shows
several events from the kernel, and the first one to mention the
MAC address eventually used is this one;

UDEV  [861.284453] add  
/devices/pci:00/:00:14.0/usb1/1-4/1-4.1/1-4.1:1.0/net/enp0s20u4u1 (net)
.MM_USBIFNUM=00
ACTION=add
DEVPATH=/devices/pci:00/:00:14.0/usb1/1-4/1-4.1/1-4.1:1.0/net/enp0s20u4u1
ID_BUS=usb
ID_MM_CANDIDATE=1
ID_MODEL=RNDIS_Ethernet_Gadget
ID_MODEL_ENC=RNDIS\x2fEthernet\x20Gadget
ID_MODEL_FROM_DATABASE=Linux-USB Ethernet/RNDIS Gadget
ID_MODEL_ID=a4a2
ID_NET_DRIVER=cdc_ether
ID_NET_LINK_FILE=/lib/systemd/network/99-default.link
ID_NET_NAME=enp0s20u4u1
ID_NET_NAME_MAC=enxca2a7e605b6f <-- encx followed by the address
ID_NET_NAME_PATH=enp0s20u4u1
ID_PATH=pci-:00:14.0-usb-0:4.1:1.0
ID_PATH_TAG=pci-_00_14_0-usb-0_4_1_1_0
ID_REVISION=0409
ID_SERIAL=Linux_4.9.35+_with_2098.usb_RNDIS_Ethernet_Gadget
ID_TYPE=generic
ID_USB_CLASS_FROM_DATABASE=Communications
ID_USB_DRIVER=cdc_ether
ID_USB_INTERFACES=:0202ff:0a:020600:
ID_USB_INTERFACE_NUM=00
ID_VENDOR=Linux_4.9.35+_with_2098.usb
ID_VENDOR_ENC=Linux\x204.9.35+\x20with\x202098.usb
ID_VENDOR_FROM_DATABASE=Netchip Technology, Inc.
ID_VENDOR_ID=0525
IFINDEX=7
INTERFACE=enp0s20u4u1
INTERFACE_OLD=usb0
SEQNUM=3175
SUBSYSTEM=net
SYSTEMD_ALIAS=/sys/subsystem/net/devices/enp0s20u4u1
TAGS=:systemd:
USEC_INITIALIZED=861268742

So the MAC address originates from the kernel or systemd, not Network
Manager.

As there is a udev event, it should be possible to write a udev rule
to change the MAC address when this or one of the later events
arrives.

However, perhaps we can see if this MAC address comes from the kernel
or systemd; the event above references
/lib/systemd/network/99-default.link which says'

[Link]
NamePolicy=kernel database onboard slot path
MACAddressPolicy=persistent

Now, setting MACAddressPolicy to none has no effect, which
suggests the random address is coming from the kernel.

My guess is that the reason why your udev rpi script fails is that it
is triggered on more than one udev event, or races with other things
for access to the device.  Add more logging and debugging to it.

Reference:

https://www.freedesktop.org/software/systemd/man/systemd.link.html

On Fri, Jul 20, 2018 at 11:20:57PM -0400, Carrol Riddle wrote:
> The difficulty is that a new connection is started on each boot and starts as 
> "automatic" IPv4 instead of the desired "share with other computers" This 
> results from a randomized MAC address, which appears to be controlled by 
> Network Manager. If the MAC address persists on next boot,
> then the connection file will persist.
> 
> The MAC address in the cmdline.txt on Zero is vestige of efforts. It was left 
> since I suspect it will be part of the solution. Retested without and it 
> makes no difference when no other changes are made (i.e., only with 
> essentials in cmdline.txt). I have tried static IP on Zero via adding 
> ip=192.168.1.2 to cmdline.txt or in dhcpcd.config and udev rule on XO for 
> ip=198.168.1.1  .  Uncertain if udev rule needs additional specification 
> (parent ATTRS ?).
> 
> Reasoned that host_addr was telling Zero where to find existing MAC on XO and 
> udev rule then tried with hw to assure it was there.  Have tried adding 
> mac-cloned-address to NetworkManager.conf 
> 
> NetworkManager randomization of MAC addresses is widely discussed in search 
> results and variety of solutions proposed.  I have had periods where MAC was 
> persistent, but only have it fail a few hours later (just powered off). One 
> case of oddity was the persistence on every other boot, if the intervening 
> boot was without Zero attached.  However, my work with wired links to routers 
> (TP-Link MR3020 and Village Telco MP20) shows persistence in boot of router.  
> 
> A competent programmer might just modify the started connection file (using 
> awk, grep, sed ?) and restart NetworkManager.   :)  .  I tried replacing (cp) 
> with model files, but that has problems (date stamp).   
> /etc/NetworkManger/connections 
> 
> What I see points me to NetworkManager,
> 
> Carrol Riddle
>   
> > On July 14, 2018 at 1:07 AM James Cameron  

Re: Disable (?) NM random mac for shared XO wifi - USB0 / Chrome/ Pi Zero

2018-07-20 Thread Carrol Riddle
The difficulty is that a new connection is started on each boot and starts as 
"automatic" IPv4 instead of the desired "share with other computers" This 
results from a randomized MAC address, which appears to be controlled by 
Network Manager. If the MAC address persists on next boot,
then the connection file will persist.

The MAC address in the cmdline.txt on Zero is vestige of efforts. It was left 
since I suspect it will be part of the solution. Retested without and it makes 
no difference when no other changes are made (i.e., only with essentials in 
cmdline.txt). I have tried static IP on Zero via adding ip=192.168.1.2 to 
cmdline.txt or in dhcpcd.config and udev rule on XO for ip=198.168.1.1  .  
Uncertain if udev rule needs additional specification (parent ATTRS ?).

Reasoned that host_addr was telling Zero where to find existing MAC on XO and 
udev rule then tried with hw to assure it was there.  Have tried adding 
mac-cloned-address to NetworkManager.conf 

NetworkManager randomization of MAC addresses is widely discussed in search 
results and variety of solutions proposed.  I have had periods where MAC was 
persistent, but only have it fail a few hours later (just powered off). One 
case of oddity was the persistence on every other boot, if the intervening boot 
was without Zero attached.  However, my work with wired links to routers 
(TP-Link MR3020 and Village Telco MP20) shows persistence in boot of router.  

A competent programmer might just modify the started connection file (using 
awk, grep, sed ?) and restart NetworkManager.   :)  .  I tried replacing (cp) 
with model files, but that has problems (date stamp).   
/etc/NetworkManger/connections 

What I see points me to NetworkManager,

Carrol Riddle
  
> On July 14, 2018 at 1:07 AM James Cameron  wrote:
> 
> 
> Interesting.
> 
> But why do you need to give a MAC address on cmdline.txt on the RPi
> and in the XO udev script?  g_ether should assign an address, and
> cdc_ether should receive it from USB descriptors.
> 
> On Tue, Jul 10, 2018 at 10:50:44AM -0400, Carrol Riddle wrote:
> > Soliciting info or pointers to resources for disabling mac address 
> > randomization by NetworkManager for USB0 (eth1) on XO's.  Wifi mac 
> > addresses are not randomized.
> > 
> > An XO can share its Wifi over wired ethernet link (USB0) where it can be 
> > used by
> > a Chromium browser on a linked Raspberry Pi Zero (not W).  SSH -X on the 
> > link
> > allows XO keyboard and display to be used for Chromium.
> > 
> > The several setup steps are simple, but must be repeated with each boot 
> > since
> > NetworkManager (version 0.9.8.* on XO's) supplies a different mac address 
> > for
> > the link on each boot.  To provide a simple Sugar wrapper to run Chromium, a
> > consistent mac address would be needed.
> > 
> > Methods from web searches have not been successful in disabling 
> > randomization, 
> > largely since they use features added after 0.9.8.   Using a udev rule to 
> > "ifconfig
> > usb0 hw ether address" has come the closest, but breaks after a few boots 
> > and returns to
> > randomization.
> > 
> > BACKGROUND
> > 
> > For those interested, details are below, but are only peripheral to 
> > question.  This use of the XO's display, keyboard and wifi by Chromium / 
> > Zero provides a low cost way to access a widely accepted browser. The Zero 
> > can be plugged into XO USB for power and signals. The Zero is
> > available for < $10, and with SD card and plug, total cost should be $15 - 
> > 20
> > USD. 
> > 
> > 
> > __
> > 
> > 
> > MANUAL METHOD - XO (after Pi Zero setup)
> > 
> > In Sugar, connect to wifi . This needs to be done only the first time and is
> > persistent between boots.  Switch to Gnome and disconnect from the "Wired
> > connection ?" that just formed. Edit the connection :  IPv6 to ignore, IPv4 
> > to
> > require IPv4 and "shared to other computers"   and save.  Connect to this
> > connection.  The connection info should show ip address starting with 10:  .
> > This link is not persistent between boots.
> > 
> > systemctl enable sshd.service
> > 
> > PI ZERO SETUP (prior)
> > 
> > Raspberry Pi Zero with Raspbian Desktop installed.  To   /boot/config.txt 
> > on  Pi
> > SD edit and add dtoverlay=dwc2 .  To /boot/cmdline.txt add after "rootwait"
> >  modules-load=dwc2,g_ether host_addr=00:22:82:ff:ff:20 
> > dev_addr=00:22:82:ff:ff:22  (Substitute local mac addresses.)   To 
> > start with SSH, add dummy "ssh" file to /boot directory.  On XO, ssh 
> > pi@raspberrypi.local with password raspberry   .   Configure Zero to boot to
> > command line (CLI) with raspi-config  .  To use Raspbian desktop,  ssh -X
> > pi@raspberry.local, and then /etc/X11/Xsession.  The Pi Tool Bar partially
> > overlaps the Gnome Tool Bar, but selecting "medium display size" minimizes
> > affects.
> > 
> > UDEV INFO FOR RULES  (but not able to make work)
> > 
> > DRIVERS=="cdc_ether"
> > 
> > 

Re: [Server-devel] Internet-in-a-Box 6.6 Preview 2 (released!)

2018-07-17 Thread Adam Holt
Internet-in-a-Box 6.6 Preview 2 <http://download.iiab.io/6.6> [GitHub
history <https://github.com/iiab/iiab/releases>] was effectively just
re-released, including reliability fixes for Kolibri (PR #918
<https://github.com/iiab/iiab/pull/918>) and MongoDB / Sugarizer (PR #919
<https://github.com/iiab/iiab/pull/918>) for schools and medical clinics
that do not (or cannot!) power down gracefully, etc.

*Massive thanks Jerry Vonau...and Everyone, for your ongoing fieldback
especially...as IIAB 6.6 approaches final release in a few short weeks !*


On Tue, Jul 17, 2018 at 6:06 AM, Adam Holt  wrote:

> On Sat, Jul 14, 2018 at 6:01 AM, Lionel Laské 
> wrote:
>
>> Great news!
>>
>> Thanks to all for your support to Sugarizer.
>> @Adam, just released officially v1.0.1 of Sugarizer Server here:
>> https://github.com/llaske/sugarizer-server/releases/tag/v1.0.1
>>
>
> * Thanks to Lionel and a dozen others for your help over the past week!*
>
> Consequently Internet-in-a-Box (IIAB) 6.6 Preview 2
> <http://download.iiab.io/6.6/> is now released, with 1-line-installers
> that work great on 3 mainline Linux OS's {Raspbian, Ubuntu 18.04 or Debian
> 9.5}.  Regardless whether you choose a "Server" edition or a headless
> "Desktop" edition (version) of your OS:
>
>- Try out Sugarizer 1.0.1 at http://box:8089 (and later
>http://box/sugarizer) after you install Internet-in-a-Box.  TK in the
>Far East was a tremendous help persisting to weed out a couple vicious 
> bugs.
>- Arky in Cambodia made incredible contributions including Kolibri
>0.10.0 as a possible world-changing successor to KA Lite in coming years
>(KA Lite is the famous learning tool for Khan Academy videos &
>self-quizzes).  Now you can try out the new Kolibri, using
>http://box:8009 with the usual account/password
><http://wiki.laptop.org/go/IIAB/FAQ#What_are_the_default_passwords.3F>,
>after you install Internet-in-a-Box.  In future, http://box/kolibri
>should also work.
>- Draft IIAB 6.6 Release Notes
><https://github.com/iiab/iiab/wiki/IIAB-6.6-Release-Notes> are more
>comprehensive than last week, as prep for final release begins in coming
>days/weeks...
>
> IMPLEMENTERS: we recommend you first run "sudo apt update; sudo apt -y
> dist-upgrade; sudo reboot" on a clean OS...before installing IIAB 6.6
> Preview 2 using [its] 1-line-installers here:
>
> http://download.iiab.io/6.6
>
> CONTRIBUTORS: an amazing 98 tickets have been closed as we approach the
> finish line at https://github.com/iiab/iiab/milestone/3 ...where almost
> anybody can help knock off a couple of the remaining tickets ...benefiting
> kids & communities around the globe!
>
>
>
>
>> Best regards from France.
>>
>>Lionel.
>>
>>
>> 2018-07-13 22:11 GMT+02:00 Adam Holt :
>>
>>> Don't worry it's not "666" on Friday the 13th -- the new/preview
>>> Internet-in-a-Box 6.6 Preview largely works on all 3 OS's (Raspbian, Ubuntu
>>> 18.04 and the imminent Debian 9.5
>>> <https://lists.debian.org/debian-stable-announce/2018/07/msg0.html>
>>> arriving "tomorrow" 2018-07-14!)
>>>
>>> Try a fresh install by picking one of Internet-in-a-Box's "1-line
>>> installers" here and letting it rip:
>>>
>>> http://download.iiab.io/6.6
>>>
>>> You can choose a MIN-sized, MEDIUM-sized or BIG-sized Internet-in-a-Box
>>> (IIAB).  Whichever you install, first read the security and OS-updating
>>> recommendations at the top of that .txt file, to get yourself safely onto
>>> the latest kernel.  Raspberry Pi peops: use the new 2018-06-27 Raspbian
>>> <https://www.raspberrypi.org/downloads/raspbian/> (Lite or Desktop).
>>> PC / x86_64 peops: use either the server edition or the graphical/desktop
>>> edition of any Linux distribution Very Similar to the 3 mentioned above!
>>>
>>> WHAT'S THE LATEST?
>>>
>>>- Sugarizer 1.0.1 was added to IIAB 6.6/master Wednesday 2 days ago
>>>(for MEDIUM-sized and BIG-sized installs).  Two people have hit
>>>so-far-unexplained problems with "npm 5.6.0" unable to build the Node.js
>>>stuff for Sugarizer on RPi 3 and RPi 3 B+ ("cd 
>>> /opt/iiab/sugarizer-server"
>>>then "npm install" fails and/or runs out of memory on certain RPi 3's but
>>>not others, despite seemingly identical conditions).  If Node experts can
>>>help out on Raspberry Pi, that'd be super awesome, please shout or write

Re: Disable (?) NM random mac for shared XO wifi - USB0 / Chrome/ Pi Zero

2018-07-13 Thread James Cameron
Interesting.

But why do you need to give a MAC address on cmdline.txt on the RPi
and in the XO udev script?  g_ether should assign an address, and
cdc_ether should receive it from USB descriptors.

On Tue, Jul 10, 2018 at 10:50:44AM -0400, Carrol Riddle wrote:
> Soliciting info or pointers to resources for disabling mac address 
> randomization by NetworkManager for USB0 (eth1) on XO's.  Wifi mac addresses 
> are not randomized.
> 
> An XO can share its Wifi over wired ethernet link (USB0) where it can be used 
> by
> a Chromium browser on a linked Raspberry Pi Zero (not W).  SSH -X on the link
> allows XO keyboard and display to be used for Chromium.
> 
> The several setup steps are simple, but must be repeated with each boot since
> NetworkManager (version 0.9.8.* on XO's) supplies a different mac address for
> the link on each boot.  To provide a simple Sugar wrapper to run Chromium, a
> consistent mac address would be needed.
> 
> Methods from web searches have not been successful in disabling 
> randomization, 
> largely since they use features added after 0.9.8.   Using a udev rule to 
> "ifconfig
> usb0 hw ether address" has come the closest, but breaks after a few boots and 
> returns to
> randomization.
> 
> BACKGROUND
> 
> For those interested, details are below, but are only peripheral to question. 
>  This use of the XO's display, keyboard and wifi by Chromium / Zero provides 
> a low cost way to access a widely accepted browser. The Zero can be plugged 
> into XO USB for power and signals. The Zero is
> available for < $10, and with SD card and plug, total cost should be $15 - 20
> USD. 
> 
> 
> __
> 
> 
> MANUAL METHOD - XO (after Pi Zero setup)
> 
> In Sugar, connect to wifi . This needs to be done only the first time and is
> persistent between boots.  Switch to Gnome and disconnect from the "Wired
> connection ?" that just formed. Edit the connection :  IPv6 to ignore, IPv4 to
> require IPv4 and "shared to other computers"   and save.  Connect to this
> connection.  The connection info should show ip address starting with 10:  .
> This link is not persistent between boots.
> 
> systemctl enable sshd.service
> 
> PI ZERO SETUP (prior)
> 
> Raspberry Pi Zero with Raspbian Desktop installed.  To   /boot/config.txt on  
> Pi
> SD edit and add dtoverlay=dwc2 .  To /boot/cmdline.txt add after "rootwait"
>  modules-load=dwc2,g_ether host_addr=00:22:82:ff:ff:20 
> dev_addr=00:22:82:ff:ff:22  (Substitute local mac addresses.)   To 
> start with SSH, add dummy "ssh" file to /boot directory.  On XO, ssh 
> pi@raspberrypi.local with password raspberry   .   Configure Zero to boot to
> command line (CLI) with raspi-config  .  To use Raspbian desktop,  ssh -X
> pi@raspberry.local, and then /etc/X11/Xsession.  The Pi Tool Bar partially
> overlaps the Gnome Tool Bar, but selecting "medium display size" minimizes
> affects.
> 
> UDEV INFO FOR RULES  (but not able to make work)
> 
> DRIVERS=="cdc_ether"
> 
> ATTRS{idVendor=1d6b}
> 
> ATTRS{idProduct=0001}
> 
> RUN+="/etc/udev/scripts/rpi"
> 
> 
> Script rpi:
> 
> ifconfig usb0 down
> 
> ifconfig usb0 hw ether 00:22:82:FF:FF:20
> 
> ifconfig usb0 up
> 
> _
> 
> Carrol Riddle
> 
> ebox...@scishare.com
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel

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


Re: [Server-devel] Internet-in-a-Box 6.5 Released!

2018-05-24 Thread Adam Holt
FYI an emergency hotfix was added to IIAB 6.5 (and to our master branch) in
the last hour, thereby upgrading kiwix-tools from 0.5.0 to 2018-05-24, to
remediate Full-Text Searching within ZIM files that contain an internal
index.

If you'd already installed IIAB 6.5, it is strongly suggested that you
apply the patch (PR #818 ) as
follows:

   cd /opt/iiab/iiab
   git pull
   mv /opt/iiab/kiwix/kiwix-serve /tmp
   ./runrole kiwix ...or "./iiab-install --reinstall"

Thanks All!

On Thu, May 24, 2018 at 4:10 PM, Adam Holt  wrote:

> Internet-in-a-Box is a tiny device that brings the best of the Internet to
> offline communities around the world — Wikipedia, Khan Academy,
> OpenStreetMap, YouTube science videos, thousands of eBooks, etc — no
> Internet required!  No longer just a school server, Internet-in-a-Box is
> now used in medical clinics in some of the most remote parts of the earth.
>
> Profound thanks to the huge number of contributors who've made
> Internet-in-a-Box 6.5 our best yet.  It's a real breakthrough release
> already being used in schools around the world — broadly in Mexico, Peru,
> Haiti, among others — and in growing number of healthcare contexts,
> especially in India.
>
> This release brings many new library fabrication tools to DIY curators
> (DIY librarians) who have only the most basic familiarity with GNU/Linux:
>
>IIAB 6.5 Release Notes
>https://github.com/iiab/iiab/wiki/IIAB-6.5-Release-Notes
>
> Anyone who wants to build their own digital library can now try our 1-line
> installers for Raspberry Pi 3 (and 3 B+), Ubuntu 18.04 LTS and Debian 9
> here: (CentOS 7.5 support is highly experimental, if you can help!)
>
>IIAB 6.5 Download/Install
>http://download.iiab.io/6.5
>
> Then you can install civilization's highest-quality open content, using
> easily-downloadable Content Packs, before you install Internet-in-a-Box in
> a more fully offline environment.  Choose from Kiwix (ZIM files)
> , OER2GO/RACHEL
> , Project Gutenberg ,
> WikiHow  for teens, or choose a Cuban
> Encyclopedia  if you prefer!  All this is made
> easy using Internet-in-a-Box's *Admin Console* (typically http://box/admin)
> whose more advanced capabilities are documented herein:
>
>http://FAQ.IIAB.IO
>
> It was a long road over 8 months of software development, field testing
> and even more intensive QA!  But Internet-in-a-Box (IIAB) 6.5 brings many
> revolutionary advances, e.g. teachers can now edit ebooks' details in Calibre
> 3.23 , fixing description
> translations and assigning ratings most suitable to their own school.
> *Profound thanks to all building out the world's 21st Century Developing
> World Libraries AKA Sneakernet-of-Alexandria, as we take the next steps now
> together...*
>
>
> *Time to Enlighten Democracy?*
>
> Civilization’s greatest medical and education sites are next, for 8
> billion hungry minds.  We invite humanitarian hackers, NGOs and publishers
> to our OFF.NETWORK hackathons — transforming mind-opening websites — into
> amazing offline learning packs.
>
> Also let's finalize our new vector-based approach to OpenStreetMap
>  in offline libraries,
> bringing a highly-compressed map of the entire world into almost everyone
> hands.  (None of which possible just a decade ago, when we began as One
> Laptop Per Child’s school server!)
>
>
> *Time to Democratize the Enlightenment?*
>
> Local educators then use these learning packs to build up their region’s
> redistributable Internet-in-a-Box — unleashing grassroots “fieldback” for
> their very own Libraries of Alexandria — of the people, by the people, for
> the people…
>
> Let's bring together as many of these grassroots/offline innovators as
> possible later in 2018, as we did in August 2017 with financial support
> from the Wikipedia Foundation and Learning Equality (KA Lite, Kolibri).
> Please get in touch ASAP those who can make it to this important UX summit
> and content hackathon, likely to take place in the US or Canada, around
> October or November!
>
>
> *Time to Make it Real, Unleashing Your Own Community Today?*
>
> Some of us will be working with schools in Chiapas, Mexico next week doing
> exactly that.  We hope you too build a Little Library of Alexandria,
> customizing it for the needs and challenges of your very own neighborhood.
>
> THANK YOU To All who believe in libraries for this entire planet, and are
> willing to stand up to make this happen.
>
> Do join our regular community calls restarting in June — supporting each
> other bringing educators' and technologists' best ideas together — most
> every week Mondays and Thursdays @ http://MINUTES.IIAB.IO
>
> --
> 
> 

Re: [Server-devel] Internet-in-a-Box 6.5 Release Candidate 4

2018-05-16 Thread Adam Holt
Moodle 3.5 LTS was released on git 6 hours ago...2 years after Moodle 3.1
LTS...and is now part of Internet-in-a-Box 6.5!

Thanks all for kicking the tires, before our own big IIAB 6.5 release
 very shortly:

Privacy, Better Quizzes, Faster And Modern: The Latest Scoop On Moodle 3.5
https://www.moodlenews.com/2018/privacy-better-quizzes-faster-and-modern-the-latest-scoop-on-moodle-3-5/


On Tue, May 15, 2018 at 11:16 AM, Adam Holt  wrote:

> On Mon, May 14, 2018, 9:48 PM Adam Holt  wrote:
>
>> Please test the living hell out [of] it before it will very likely be
>> released Thursday (-:
>>
>>http://download.iiab.io/6.5
>>
>> Draft release notes:
>>
>>https://github.com/iiab/iiab/wiki/IIAB-6.5-Release-Notes
>>
>
> Above document was greatly revised overnight.  (Further revisions or
> suggestions?)
>
> Amazing progress thanks to Jerry, Tim & George in recent days!!
>>
>


-- 
Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Internet-in-a-Box 6.5 Release Candidate 4

2018-05-15 Thread Adam Holt
On Mon, May 14, 2018, 9:48 PM Adam Holt  wrote:

> Please test the living hell out [of] it before it will very likely be
> released Thursday (-:
>
>http://download.iiab.io/6.5
>
> Draft release notes:
>
>https://github.com/iiab/iiab/wiki/IIAB-6.5-Release-Notes
>

Above document was greatly revised overnight.  (Further revisions or
suggestions?)

Amazing progress thanks to Jerry, Tim & George in recent days!!
>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [XSCE] Re: Error When installing IIAB 6.5 on RPI

2018-05-11 Thread Adam Holt
On Fri, May 11, 2018, 2:42 PM Joshua Kanani  wrote:

> I am running   *http://download.iiab.io/6.5/load-big-vpn.txt
> *   though i had the same
> problem running http://download.iiab.io/6.5/load-vpn.txt
>
> The hardware is pi model 3B and am using Ethernet for my internet uplink
>
> Result for *apt Update*  ->
> https://paste.fedoraproject.org/paste/F46q0oLLF6a5naJZtAKc4g
>
> Result for *apt -a list ansible dirmngr *  ->  ansible/stable 2.2.1.0-2
> all
>
>
> dirmngr/stable,now 2.1.18-8~deb9u1 armhf [installed]
>
>
>
> Result for *cat /etc/apt/sources.list.d/iiab-**ansible.list*  -> deb
> http://ppa.launchpad.net/ansible/ansible/ubuntu xenial main
>
> Result of running *apt-key adv --keyserver keyserver.ubuntu.com
>  --recv-keys 93C4A3FD7BB9C367*
>   Executing: /tmp/apt-key-gpghome.E1jsqafhqX/gpg.1.sh
> --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
>   gpg: keyserver receive failed: Connection timed out
>

This confirms an Internet/hosting/mirroring failure of some kind, as I just
reconfirmed the exact same command "*apt-key adv
--keyserver keyserver.ubuntu.com  --recv-keys
93C4A3FD7BB9C367*" works for me in Raspbian Lite.

*Clarif: I deleted my prior key to be 100% sure, using "apt-key del
7BB9C367"*

Consider another ISP using your phone's data plan or a friend's home if
possible?

(Or install Ansible 2.5.2 in some other way if you choose!)


On Fri, May 11, 2018 at 1:13 PM, Adam Holt  wrote:
>
>> On Fri, May 11, 2018, 1:55 PM Joshua Kanani 
>> wrote:
>>
>>> Hey guys, i keep getting this annoying error when installing IIAB on
>>> Raspbian. Am using the 2018-04-18 stretch lite version. Any thoughts
>>>
>>> Executing: /tmp/apt-key-gpghome.DlkMTdFv2W/gpg.1.sh --keyserver
>>> keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
>>> gpg: keyserver receive failed: Connection timed out
>>>
>>
>> This error is arising as /opt/iiab/iiab/scripts/ansible tries to install
>> Ansible 2.5.2
>>
>> What exact script are you running from http://download.iiab.io/6.5 ?
>>
>> What exact hardware and Internet uplink (Ethernet? WiFi?) are you using?
>>
>> Please paste in the results of running these 3 commands:
>>
>>
>> apt update; apt -a list ansible dirmngr
>>
>> cat /etc/apt/sources.list.d/iiab-ansible.list
>>
>> apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
>>
>>>
>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Error When installing IIAB 6.5 on RPI

2018-05-11 Thread Adam Holt
General Aside: you will always make your life easier by removing prior
versions of Ansible, if a prior version of Ansible exists on the computer
where you will be installing IIAB.

As documented in the long-term installation instructions, under Item 5.
here:

https://github.com/iiab/iiab/wiki/IIAB-Installation#do-everything-from-scratch


*In short: verify you have Ansible 2.5.2+ installed (use "ansible
--version") before you begin the meat of the installation...that is if the
1-line install scripts at http://download.iiab.io/6.5
 don't take care of everything!*


On Fri, May 11, 2018, 2:13 PM Adam Holt  wrote:

> On Fri, May 11, 2018, 1:55 PM Joshua Kanani 
> wrote:
>
>> Hey guys, i keep getting this annoying error when installing IIAB on
>> Raspbian. Am using the 2018-04-18 stretch lite version. Any thoughts
>>
>> Executing: /tmp/apt-key-gpghome.DlkMTdFv2W/gpg.1.sh --keyserver
>> keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
>> gpg: keyserver receive failed: Connection timed out
>>
>
> This error is arising as /opt/iiab/iiab/scripts/ansible tries to install
> Ansible 2.5.2
>
> What exact script are you running from http://download.iiab.io/6.5 ?
>
> What exact hardware and Internet uplink (Ethernet? WiFi?) are you using?
>
> Please paste in the results of running these 3 commands:
>
>
> apt update; apt -a list ansible dirmngr
>
> cat /etc/apt/sources.list.d/iiab-ansible.list
>
> apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
>
>>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Error When installing IIAB 6.5 on RPI

2018-05-11 Thread Adam Holt
On Fri, May 11, 2018, 1:55 PM Joshua Kanani  wrote:

> Hey guys, i keep getting this annoying error when installing IIAB on
> Raspbian. Am using the 2018-04-18 stretch lite version. Any thoughts
>
> Executing: /tmp/apt-key-gpghome.DlkMTdFv2W/gpg.1.sh --keyserver
> keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
> gpg: keyserver receive failed: Connection timed out
>

This error is arising as /opt/iiab/iiab/scripts/ansible tries to install
Ansible 2.5.2

What exact script are you running from http://download.iiab.io/6.5 ?

What exact hardware and Internet uplink (Ethernet? WiFi?) are you using?

Please paste in the results of running these 3 commands:


apt update; apt -a list ansible dirmngr

cat /etc/apt/sources.list.d/iiab-ansible.list

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367

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


Re: [Server-devel] Internet-in-a-Box 6.5 Release Candidate 2

2018-05-09 Thread Adam Holt
On Mon, May 7, 2018, 2:56 AM Adam Holt  wrote:

> Thanks EVERYONE for the extremely hard work over 7+ months, culminating in
> this major Internet-in-a-Box (IIAB) accomplishment we hope to release in
> coming days!
>
> IIAB 6.5 Release Candidate 2 has its 1-line installers here:
>
>http://download.iiab.io/6.5/
>
> IIAB 6.5 Release Notes: (DRAFT)
>
>https://github.com/iiab/iiab/wiki/IIAB-6.5-Release-Notes
>
> Special Request: testing is extremely solid on Raspbian and Ubuntu 18.04
> -- *where we could definitely use testing help is on Debian 9.4* -- and
> also on CentOS 7.5 when that's released in coming weeks :)
>

CentOS 7.5 ISO's (images) are today beginning to circulate, if you know
where to look:
https://www.centos.org/forums/viewtopic.php?f=47=65681

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


Re: [Server-devel] Server-devel Digest, Vol 129, Issue 9

2018-04-30 Thread Tony Anderson
What is the impact of this approach on internet dependence? The main 
problem I have is to create an offline
service with content. This has led to the creation of 'bernie', a copy 
of the schoolserver on an external 1TB drive.
There are, of course, many problems with dependencies. I view resolving 
these as the task in making bernie. I am
not sure what is meant about cross contamination. There are many 
duploicates in the current bernie - for example, Rachel
includes a sizable number of items from the Gutenberg project as does 
OLE Nepal's Pustakalaya. There is enough hard drive

space so this duplication is no problem.

Tony


On Tuesday, 01 May, 2018 12:00 AM, server-devel-requ...@lists.laptop.org 
wrote:

Send Server-devel mailing list submissions to
server-devel@lists.laptop.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.laptop.org/listinfo/server-devel
or, via email, send a message with subject or body 'help' to
server-devel-requ...@lists.laptop.org

You can reach the person managing the list at
server-devel-ow...@lists.laptop.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Server-devel digest..."


Today's Topics:

1. Provisioning services (Sameer Verma)


--

Message: 1
Date: Sun, 29 Apr 2018 10:29:08 -0700
From: Sameer Verma <sve...@sfsu.edu>
To: xsce-devel <xsce-de...@googlegroups.com>, XS Devel
<server-devel@lists.laptop.org>,  Andreas Gros <andigro...@gmail.com>,
Aaron Borden <adbor...@live.com>
Subject: [Server-devel] Provisioning services
Message-ID:
<cafogk8gvojzvp1mcdvurqo_33anwcfy0hsbnjbowclmwjmu...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Greetings!
I haven't written to this list in a while.

I am working with some other OLPC-SF members to package and make
available Pathagar using the snaps (http://snapcraft.io platform). We
are currently doing this as part of a two-day hackathon
(http://hackathon.sfsu.edu/challenges/snap-ify-pathagar).

Of course, the work continues past this hackathon, but let's see how
far we can get today. Right now, we are using the NextCloud snap
(https://github.com/nextcloud/nextcloud-snap) as a base example and
adding/removing to it to see if we can put together a snap.

If you haven't used snaps before, try it out the NextCloud snap. On
Ubuntu/Debian, try "sudo snap install nextcloud" Give it a few
minutes, and when installed go to http:// and it should
be there.

Our proposal and approach is to first do this with Pathagar, and then
see if we can do this with all the other services on the school
server. This will give deploymentw a menu approach to adding services
without worrying about dependencies and cross-contamination and such.
It's a little bit more work to architect services that do talk to each
other, but we think that in the end it's a much cleaner solution.

Ideas? Comments?

Please let us know. Andi Gros, Aaron Borden and myself are working on
this currently.

cheers,
Sameer



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


Re: [Server-devel] [UKids] easiest way to automate install of a collection 12+ PDF's onto Sugar on XOs?

2018-04-19 Thread James Cameron
On Thu, Apr 19, 2018 at 08:26:27PM -0400, Adam Holt wrote:
> On Thu, Apr 19, 2018 at 8:17 PM, James Cameron <[1]qu...@laptop.org> wrote:
> 
> without deleting the identity
> key the activity collaboration feature will fail in strange ways.
> 
> What's the identity key, and how is it deleted?

A cryptographic identitifier of the Sugar user, randomly created at
first boot and stored in files;

.sugar/default/owner.key and
.sugar/default/owner.key.pub

Delete it using rm, as it says here;
http://wiki.laptop.org/go/Imaging/Side_effects

"Otherwise the cloned laptops won't be able to collaborate using activities, or 
the wrong names will be shown in Chat,"

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


Re: [Server-devel] [UKids] easiest way to automate install of a collection 12+ PDF's onto Sugar on XOs?

2018-04-19 Thread James Cameron
On Thu, Apr 19, 2018 at 08:26:27PM -0400, Adam Holt wrote:
> On Thu, Apr 19, 2018 at 8:17 PM, James Cameron <[1]qu...@laptop.org> wrote:
> 
> without deleting the identity
> key the activity collaboration feature will fail in strange ways.
> 
> What's the identity key, and how is it deleted?

A cryptographic identitifier of the Sugar user, randomly created at
first boot and stored in files;

.sugar/default/owner.key and
.sugar/default/owner.key.pub

Delete it using rm, as it says here;
http://wiki.laptop.org/go/Imaging/Side_effects

"Otherwise the cloned laptops won't be able to collaborate using activities, or 
the wrong names will be shown in Chat,"

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


Re: [Server-devel] [UKids] easiest way to automate install of a collection 12+ PDF's onto Sugar on XOs?

2018-04-19 Thread Adam Holt
On Thu, Apr 19, 2018 at 8:17 PM, James Cameron  wrote:

> without deleting the identity
> key the activity collaboration feature will fail in strange ways.
>

What's the identity key, and how is it deleted?
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] [UKids] easiest way to automate install of a collection 12+ PDF's onto Sugar on XOs?

2018-04-19 Thread Adam Holt
On Thu, Apr 19, 2018 at 8:17 PM, James Cameron  wrote:

> without deleting the identity
> key the activity collaboration feature will fail in strange ways.
>

What's the identity key, and how is it deleted?
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [UKids] easiest way to automate install of a collection 12+ PDF's onto Sugar on XOs?

2018-04-19 Thread James Cameron
Which things are truly important depend on the circumstances, and only
the teacher will know.  For instance, without deleting the identity
key the activity collaboration feature will fail in strange ways.

On Sun, Apr 15, 2018 at 07:07:09PM -0400, Adam Holt wrote:
> On Sun, Apr 15, 2018 at 6:58 PM, Adam Holt <[1]h...@laptop.org> wrote:
> 
> On Mon, Apr 9, 2018 at 11:54 PM, Tony Anderson <[2]tony_ander...@usa.net>
> wrote:
>
> A teacher should never 'rm -rf /home/olpc/.sugar'. If the intent is to
> remove the Journal because of space considerations, 'rm -rf 
> /home/olpc/
> sugar/datastore' is sufficient. After this command the XO needs to be
> rebooted to create a new empty datastore.
> 
>
> 'rm -rf /home/olpc/sugar/datastore' is not sufficient to accomplish the
> required task (deleting the child's Sugar name).
> 
> 'rm /home/olpc/.sugar' is the only way we know.  (Unless there's a better
> approach ?)
> 
> There are many similar suggestions here:
> 
>    [3]http://wiki.laptop.org/go/Imaging/Side_effects
> 
> Which of the above are truly important for a teacher to type in at the
> beginning of the semester, to clean out Sugar on an XO.
> 
> Teachers much prefer something very short like "rm -rf /home/olpc/.sugar"
> (unless there's a better way?)
> 
> PS Naturally Gnome is not as easy to clean out, if students have left MP3's 
> and
> personal files lying around!
> 
> References:
> 
> [1] mailto:h...@laptop.org
> [2] mailto:tony_ander...@usa.net
> [3] http://wiki.laptop.org/go/Imaging/Side_effects

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


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


Re: [Server-devel] [UKids] easiest way to automate install of a collection 12+ PDF's onto Sugar on XOs?

2018-04-19 Thread James Cameron
Which things are truly important depend on the circumstances, and only
the teacher will know.  For instance, without deleting the identity
key the activity collaboration feature will fail in strange ways.

On Sun, Apr 15, 2018 at 07:07:09PM -0400, Adam Holt wrote:
> On Sun, Apr 15, 2018 at 6:58 PM, Adam Holt <[1]h...@laptop.org> wrote:
> 
> On Mon, Apr 9, 2018 at 11:54 PM, Tony Anderson <[2]tony_ander...@usa.net>
> wrote:
>
> A teacher should never 'rm -rf /home/olpc/.sugar'. If the intent is to
> remove the Journal because of space considerations, 'rm -rf 
> /home/olpc/
> sugar/datastore' is sufficient. After this command the XO needs to be
> rebooted to create a new empty datastore.
> 
>
> 'rm -rf /home/olpc/sugar/datastore' is not sufficient to accomplish the
> required task (deleting the child's Sugar name).
> 
> 'rm /home/olpc/.sugar' is the only way we know.  (Unless there's a better
> approach ?)
> 
> There are many similar suggestions here:
> 
>    [3]http://wiki.laptop.org/go/Imaging/Side_effects
> 
> Which of the above are truly important for a teacher to type in at the
> beginning of the semester, to clean out Sugar on an XO.
> 
> Teachers much prefer something very short like "rm -rf /home/olpc/.sugar"
> (unless there's a better way?)
> 
> PS Naturally Gnome is not as easy to clean out, if students have left MP3's 
> and
> personal files lying around!
> 
> References:
> 
> [1] mailto:h...@laptop.org
> [2] mailto:tony_ander...@usa.net
> [3] http://wiki.laptop.org/go/Imaging/Side_effects

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


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


Re: [Server-devel] [UKids] easiest way to automate install of a collection 12+ PDF's onto Sugar on XOs?

2018-04-19 Thread James Cameron
OLPC OS on the XO is configured for ownership style "one laptop per
child".

If you always want to delete the child's Sugar name, you might either
change login scripts to delete it before starting, or assume a
default.  It simplifies getting started into a class.

e.g. in the OLPC OS 16.04 live build on the NL3, we have this in
/usr/bin/sugar;

gsettings set org.sugarlabs.user nick 'You'
gsettings set org.sugarlabs.user gender ''
gsettings set org.sugarlabs.user birth-timestamp 689659403
gsettings set org.sugarlabs.user group-label 'Adult'
gsettings set org.sugarlabs.user color '#808080,#c0c0c0'
gconftool-2 --set /desktop/sugar/user/color --type string '#808080,#c0c0c0'
gconftool-2 --set /desktop/sugar/user/nick --type string 'You'

On Sun, Apr 15, 2018 at 06:58:11PM -0400, Adam Holt wrote:
> On Mon, Apr 9, 2018 at 11:54 PM, Tony Anderson <[1]tony_ander...@usa.net>
> wrote:
> 
> A teacher should never 'rm -rf /home/olpc/.sugar'. If the intent is to
> remove the Journal because of space considerations, 'rm -rf /home/olpc/
> sugar/datastore' is sufficient. After this command the XO needs to be
> rebooted to create a new empty datastore.
> 
> 'rm -rf /home/olpc/sugar/datastore' is not sufficient to accomplish the
> required task (deleting the child's Sugar name).
> 
> 'rm /home/olpc/.sugar' is the only way we know.  (Unless there's a better
> approach ?)
> 
> References:
> 
> [1] mailto:tony_ander...@usa.net

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


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


Re: [UKids] easiest way to automate install of a collection 12+ PDF's onto Sugar on XOs?

2018-04-19 Thread James Cameron
OLPC OS on the XO is configured for ownership style "one laptop per
child".

If you always want to delete the child's Sugar name, you might either
change login scripts to delete it before starting, or assume a
default.  It simplifies getting started into a class.

e.g. in the OLPC OS 16.04 live build on the NL3, we have this in
/usr/bin/sugar;

gsettings set org.sugarlabs.user nick 'You'
gsettings set org.sugarlabs.user gender ''
gsettings set org.sugarlabs.user birth-timestamp 689659403
gsettings set org.sugarlabs.user group-label 'Adult'
gsettings set org.sugarlabs.user color '#808080,#c0c0c0'
gconftool-2 --set /desktop/sugar/user/color --type string '#808080,#c0c0c0'
gconftool-2 --set /desktop/sugar/user/nick --type string 'You'

On Sun, Apr 15, 2018 at 06:58:11PM -0400, Adam Holt wrote:
> On Mon, Apr 9, 2018 at 11:54 PM, Tony Anderson <[1]tony_ander...@usa.net>
> wrote:
> 
> A teacher should never 'rm -rf /home/olpc/.sugar'. If the intent is to
> remove the Journal because of space considerations, 'rm -rf /home/olpc/
> sugar/datastore' is sufficient. After this command the XO needs to be
> rebooted to create a new empty datastore.
> 
> 'rm -rf /home/olpc/sugar/datastore' is not sufficient to accomplish the
> required task (deleting the child's Sugar name).
> 
> 'rm /home/olpc/.sugar' is the only way we know.  (Unless there's a better
> approach ?)
> 
> References:
> 
> [1] mailto:tony_ander...@usa.net

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


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


Re: sugar-install-bundle fails to behave like Browse when installing .xol bundle

2018-04-19 Thread James Cameron
Your bundle does not meet the requirements.

I've downloaded it, and sugar-install-bundle says what is wrong;

sugar3.bundle.bundle.MalformedBundleException: All files in the bundle
must be inside a single directory whose name ends with '.activity'

Sure enough, "unzip -l" shows the directory name does not end with
'.activity'.

$ unzip -l livr*
Archive:  livreshaiti.xol
  Length  DateTimeName
-  -- -   
0  2013-12-15 13:58   livreshaiti/
   935794  2013-12-15 13:14   livreshaiti/chita_pa_bay.pdf
  345  2013-12-15 14:04   livreshaiti/index.html
0  2013-12-15 13:32   livreshaiti/library/
  434  2008-03-24 11:04   livreshaiti/library/books.png
  293  2013-12-15 14:02   livreshaiti/library/library.info
  1286434  2013-12-15 13:15   livreshaiti/st_exupery_le_petit_prince.pdf
- ---
  2223300 7 files

On Wed, Apr 11, 2018 at 12:12:17PM -0400, Adam Holt wrote:
> Clicking on http://download.unleashkids.org/HaitiOS/bundles/livreshaiti.xol
> works in Sugar's Browse activity on OLPC OS 13.2.9, correctly loading books
> into Sugar.
> 
> However doing the same thing from the command-line ("sugar-install-bundle
> livreshaiti.xol") does not work :/
> 
> Does anyone have any tricks/ideas to making this happen programmatically?
> 
> (Context: we're mostly doing XO-1.5 work at the moment, and our scripts need 
> to
> work post-deployment, as educators seek continuous improvement.)
> 
> References:
> 
> [1] http://download.unleashkids.org/HaitiOS/bundles/livreshaiti.xol

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


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


Re: how to change Sugar's timezone+language after XO deployment

2018-04-19 Thread James Cameron
Supported method for configuring timezone is the "timezone" option in
the "[base]" section of the OS Builder configuration file.

Traceback you show is not fatal, is irrelevant, but is a bug that
should be fixed.

https://github.com/sugarlabs/sugar/issues/793

You should not use sudo for this command.  Sugar timezone is not a
system-wide configuration setting; it is local to the user.

On Wed, Apr 11, 2018 at 11:43:18AM -0400, Adam Holt wrote:
> Can commands like the following be made to work?
> 
>    sugar-control-panel -s timezone America/Port-au-Prince
>    sugar-control-panel -s languages French/France
> 
> If not, is there some other clever way to do this programmatically, perhaps
> using the gsettings command?
> 
> Thanks if poss!  Example error posted below -- changes do not take effect, 
> even
> after reboot.  Original doc @ 
> [1]http://wiki.laptop.org/go/Sugar_Control_Panel#
> Setting_The_Timezone
> 
> Adam
> 
> [olpc@xo-4a-c3-b5 ~]$ sudo sugar-control-panel -s timezone America/
> Port-au-Prince
> ERROR:root:Exception while loading extension:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/jarabe/controlpanel/cmd.py", line 68,
> in load_modules
>     globals(), locals(), ['model'])
>   File "/usr/share/sugar/extensions/cpsection/frame/model.py", line 17, in
> 
>     from jarabe.frame import get_view
>   File "/usr/lib/python2.7/site-packages/jarabe/frame/__init__.py", line 16, 
> in
> 
>     from jarabe.frame.frame import Frame
>   File "/usr/lib/python2.7/site-packages/jarabe/frame/frame.py", line 30, in
> 
>     from jarabe.frame.friendstray import FriendsTray
>   File "/usr/lib/python2.7/site-packages/jarabe/frame/friendstray.py", line 
> 20,
> in 
>     from jarabe.view.buddymenu import BuddyMenu
>   File "/usr/lib/python2.7/site-packages/jarabe/view/buddymenu.py", line 37, 
> in
> 
>     import jarabe.desktop.homewindow
>   File "/usr/lib/python2.7/site-packages/jarabe/desktop/homewindow.py", line
> 28, in 
>     from jarabe.desktop.meshbox import MeshBox
>   File "/usr/lib/python2.7/site-packages/jarabe/desktop/meshbox.py", line 35,
> in 
>     from jarabe.view.buddyicon import BuddyIcon
>   File "/usr/lib/python2.7/site-packages/jarabe/view/buddyicon.py", line 19, 
> in
> 
>     from jarabe.view.buddymenu import BuddyMenu
> ImportError: cannot import name BuddyMenu
> To apply your changes you have to restart Sugar.
> Hit ctrl+alt+erase on the keyboard to trigger a restart.
> 
> References:
> 
> [1] http://wiki.laptop.org/go/Sugar_Control_Panel#Setting_The_Timezone

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


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


Re: [UKids] easiest way to automate install of a collection 12+ PDF's onto Sugar on XOs?

2018-04-15 Thread Adam Holt
On Sun, Apr 15, 2018 at 6:58 PM, Adam Holt  wrote:

> On Mon, Apr 9, 2018 at 11:54 PM, Tony Anderson 
> wrote:
>
>> A teacher should never 'rm -rf /home/olpc/.sugar'. If the intent is to
>> remove the Journal because of space considerations, 'rm -rf
>> /home/olpc/sugar/datastore' is sufficient. After this command the XO needs
>> to be rebooted to create a new empty datastore.
>>
>
> 'rm -rf /home/olpc/sugar/datastore' is not sufficient to accomplish the
> required task (deleting the child's Sugar name).
>
> 'rm /home/olpc/.sugar' is the only way we know.  *(Unless there's a
> better approach ?)*
>

There are many similar suggestions here:

   http://wiki.laptop.org/go/Imaging/Side_effects

Which of the above are truly important for a teacher to type in at the
beginning of the semester, to clean out Sugar on an XO.

Teachers much prefer something very short like "rm -rf /home/olpc/.sugar"
(unless there's a better way?)


PS Naturally Gnome is not as easy to clean out, if students have left MP3's
and personal files lying around!
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] [UKids] easiest way to automate install of a collection 12+ PDF's onto Sugar on XOs?

2018-04-15 Thread Adam Holt
On Sun, Apr 15, 2018 at 6:58 PM, Adam Holt  wrote:

> On Mon, Apr 9, 2018 at 11:54 PM, Tony Anderson 
> wrote:
>
>> A teacher should never 'rm -rf /home/olpc/.sugar'. If the intent is to
>> remove the Journal because of space considerations, 'rm -rf
>> /home/olpc/sugar/datastore' is sufficient. After this command the XO needs
>> to be rebooted to create a new empty datastore.
>>
>
> 'rm -rf /home/olpc/sugar/datastore' is not sufficient to accomplish the
> required task (deleting the child's Sugar name).
>
> 'rm /home/olpc/.sugar' is the only way we know.  *(Unless there's a
> better approach ?)*
>

There are many similar suggestions here:

   http://wiki.laptop.org/go/Imaging/Side_effects

Which of the above are truly important for a teacher to type in at the
beginning of the semester, to clean out Sugar on an XO.

Teachers much prefer something very short like "rm -rf /home/olpc/.sugar"
(unless there's a better way?)


PS Naturally Gnome is not as easy to clean out, if students have left MP3's
and personal files lying around!
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [UKids] easiest way to automate install of a collection 12+ PDF's onto Sugar on XOs?

2018-04-15 Thread Adam Holt
On Mon, Apr 9, 2018 at 11:54 PM, Tony Anderson 
wrote:

> A teacher should never 'rm -rf /home/olpc/.sugar'. If the intent is to
> remove the Journal because of space considerations, 'rm -rf
> /home/olpc/sugar/datastore' is sufficient. After this command the XO needs
> to be rebooted to create a new empty datastore.
>

'rm -rf /home/olpc/sugar/datastore' is not sufficient to accomplish the
required task (deleting the child's Sugar name).

'rm /home/olpc/.sugar' is the only way we know.  *(Unless there's a better
approach ?)*
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [UKids] easiest way to automate install of a collection 12+ PDF's onto Sugar on XOs?

2018-04-15 Thread Adam Holt
On Mon, Apr 9, 2018 at 11:54 PM, Tony Anderson 
wrote:

> A teacher should never 'rm -rf /home/olpc/.sugar'. If the intent is to
> remove the Journal because of space considerations, 'rm -rf
> /home/olpc/sugar/datastore' is sufficient. After this command the XO needs
> to be rebooted to create a new empty datastore.
>

'rm -rf /home/olpc/sugar/datastore' is not sufficient to accomplish the
required task (deleting the child's Sugar name).

'rm /home/olpc/.sugar' is the only way we know.  *(Unless there's a better
approach ?)*
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] [UKids] easiest way to automate install of a collection 12+ PDF's onto Sugar on XOs?

2018-04-09 Thread Adam Holt
On Mon, Apr 9, 2018 at 11:54 PM, Tony Anderson 
wrote:

> As Bryan Berry once said: Don't use .xol. It is not implemented and will
> never be supported.
>
> The XO has very limited storage capacity. Last year, I implemented a
> 'roomserver'. Essentially this is a usb stick mounted on one XO in range of
> an ad hoc network. It uses SimpleHTTPServer to serve the content to XOs
> connected by an ad hoc network. This server works like an 'ls' command
> showing a list of files in the base directory -e.g. pdfs. If an index.html
> file is in the main folder, it is shown instead of the list. The url of an
> XO is shown in the frame. This can be used by other xo on that network
> using Browse. Enter: http://192.168.1.11:8008 where 8008 is the
> SimpleHTMLServer port.
>
> Currently Sugar provides /home/olpc/Library as the place to store this
> kind of document. It would be simple to prepare an index.html page with
> links to the pdfs. This html would be accessible by the file protocol:
> file:///home/olpc/Library/index.html. Alternatively the standard homepage
> for Browse is at /home/olpc/.library-pages so the links could be added to
> that page.
>
> Once a pdf is shown by Browse it can be downloaded to the Journal. From
> the Journal it can be resumed either by Read or by Browse. This assumes the
> pdf is downloaded from a server, not the XO. Otherwise, a second copy is
> made doubling the storage cost.
>
> A teacher should never 'rm -rf /home/olpc/.sugar'. If the intent is to
> remove the Journal because of space considerations, 'rm -rf
> /home/olpc/sugar/datastore' is sufficient. After this command the XO needs
> to be rebooted to create a new empty datastore.
>

I assume you mean 'rm -rf /home/olpc/.sugar/default/datastore' ?
Compare http://wiki.laptop.org/go/Imaging/Side_effects mentioned by James
Cameron's on Feb 19 @
http://lists.laptop.org/pipermail/devel/2018-February/038999.html

Thanks much Tony: this approach looks very promising.

We'll look at Tom Gilliard's approach too:
https://groups.google.com/d/msg/unleashkids/22cKusokstU/UTa49BEiAgAJ

Note: the current 'Journal is full' message is triggered when the unused
> space is less than 50MB and has nothing to do with the size of the Journal.
> Sadly, Sugar provides no way for the user to determine what should be
> removed (activities, content in folders such as Library, activity storage
> ('instance', 'data', 'tmp') or the datastore). Hence the standard technique
> of reflashing the XO. Another example of our developers with their terabyte
> Ubuntu machines who have no idea of the realities on the ground.
>

;)

The easiest and most straightforward approach is to use a bash script:
> pdf.sh
>
> cp first.pdf /home/olpc/Library
> cp second.pdf /home/olpc/Library
> cp index.html /home/olpc/Library
> poweroff
>
> with the Terminal activity:
>
> cd /run/media/olpc/usbstick
> bash pdf.sh
>
> This approach works with a set of usb sticks in factory mode since each XO
> shuts down allowing the stick to be moved to a waiting XO already booted.
>
> Some typing can be saved by using a bash function:
>
> function cpy(title) {
>cp title /home/olpc/Library
> }
>
> with the script:
>
> cpy first.pdf
> cpy second.pdf
> cpy index.html
> poweroff
>
>
> Tony
>
>
> On Tuesday, 10 April, 2018 10:08 AM, Adam Holt wrote:
>
> Is building an .xol bundle/collection/file (containing all the PDF's) the
> easiest way?  What's the easiest way to build up an .xol of PDF's if so?
>
> Presumably by then installing the .xol in Sugar -> Terminal Activity as
> follows?
>
>sugar-install-bundle /run/media/olpc//
>
> Or is there much better ways to "permanently" install a large number of
> PDF's onto Sugar across a large number of XO laptops?  Or should we use
> Gnome instead of Sugar, if there's a much better way?  Sugar's Browse
> Activity is preferred (faster, lightweight) but Firefox 26.0 is also
> installed if absolutely necessary, in case either are needed instead of
> Sugar's Read Activity.
>
> CLARIF: The job will be done using USB memory sticks, walking from one XO
> laptop to the next, to install all these PDF's.
>
> CLARIF: We want the PDF's to remain on the XO laptops even after the
> teacher types in "rm -rf /home/olpc/.sugar" to clean out personal files
> from Sugar on each laptop, which typically happens at the beginning of each
> semester.
>
> CLARIF: A Sugar icon within the Sugar wheel would be a bonus, but any
> other method of finding this content within 3-to-5 clicks from Sugar's Home
> View can work Ok!
>
> CLARIF: these books need to be on the XO laptops themselves, as servers
> like IIAB are *not* always present.
>
> *Apologies there are serious electrical problems in Haiti where we're
> working, so it's very tough to fully research this online!*
> --
> 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 

Re: [UKids] easiest way to automate install of a collection 12+ PDF's onto Sugar on XOs?

2018-04-09 Thread Adam Holt
On Mon, Apr 9, 2018 at 11:54 PM, Tony Anderson 
wrote:

> As Bryan Berry once said: Don't use .xol. It is not implemented and will
> never be supported.
>
> The XO has very limited storage capacity. Last year, I implemented a
> 'roomserver'. Essentially this is a usb stick mounted on one XO in range of
> an ad hoc network. It uses SimpleHTTPServer to serve the content to XOs
> connected by an ad hoc network. This server works like an 'ls' command
> showing a list of files in the base directory -e.g. pdfs. If an index.html
> file is in the main folder, it is shown instead of the list. The url of an
> XO is shown in the frame. This can be used by other xo on that network
> using Browse. Enter: http://192.168.1.11:8008 where 8008 is the
> SimpleHTMLServer port.
>
> Currently Sugar provides /home/olpc/Library as the place to store this
> kind of document. It would be simple to prepare an index.html page with
> links to the pdfs. This html would be accessible by the file protocol:
> file:///home/olpc/Library/index.html. Alternatively the standard homepage
> for Browse is at /home/olpc/.library-pages so the links could be added to
> that page.
>
> Once a pdf is shown by Browse it can be downloaded to the Journal. From
> the Journal it can be resumed either by Read or by Browse. This assumes the
> pdf is downloaded from a server, not the XO. Otherwise, a second copy is
> made doubling the storage cost.
>
> A teacher should never 'rm -rf /home/olpc/.sugar'. If the intent is to
> remove the Journal because of space considerations, 'rm -rf
> /home/olpc/sugar/datastore' is sufficient. After this command the XO needs
> to be rebooted to create a new empty datastore.
>

I assume you mean 'rm -rf /home/olpc/.sugar/default/datastore' ?
Compare http://wiki.laptop.org/go/Imaging/Side_effects mentioned by James
Cameron's on Feb 19 @
http://lists.laptop.org/pipermail/devel/2018-February/038999.html

Thanks much Tony: this approach looks very promising.

We'll look at Tom Gilliard's approach too:
https://groups.google.com/d/msg/unleashkids/22cKusokstU/UTa49BEiAgAJ

Note: the current 'Journal is full' message is triggered when the unused
> space is less than 50MB and has nothing to do with the size of the Journal.
> Sadly, Sugar provides no way for the user to determine what should be
> removed (activities, content in folders such as Library, activity storage
> ('instance', 'data', 'tmp') or the datastore). Hence the standard technique
> of reflashing the XO. Another example of our developers with their terabyte
> Ubuntu machines who have no idea of the realities on the ground.
>

;)

The easiest and most straightforward approach is to use a bash script:
> pdf.sh
>
> cp first.pdf /home/olpc/Library
> cp second.pdf /home/olpc/Library
> cp index.html /home/olpc/Library
> poweroff
>
> with the Terminal activity:
>
> cd /run/media/olpc/usbstick
> bash pdf.sh
>
> This approach works with a set of usb sticks in factory mode since each XO
> shuts down allowing the stick to be moved to a waiting XO already booted.
>
> Some typing can be saved by using a bash function:
>
> function cpy(title) {
>cp title /home/olpc/Library
> }
>
> with the script:
>
> cpy first.pdf
> cpy second.pdf
> cpy index.html
> poweroff
>
>
> Tony
>
>
> On Tuesday, 10 April, 2018 10:08 AM, Adam Holt wrote:
>
> Is building an .xol bundle/collection/file (containing all the PDF's) the
> easiest way?  What's the easiest way to build up an .xol of PDF's if so?
>
> Presumably by then installing the .xol in Sugar -> Terminal Activity as
> follows?
>
>sugar-install-bundle /run/media/olpc//
>
> Or is there much better ways to "permanently" install a large number of
> PDF's onto Sugar across a large number of XO laptops?  Or should we use
> Gnome instead of Sugar, if there's a much better way?  Sugar's Browse
> Activity is preferred (faster, lightweight) but Firefox 26.0 is also
> installed if absolutely necessary, in case either are needed instead of
> Sugar's Read Activity.
>
> CLARIF: The job will be done using USB memory sticks, walking from one XO
> laptop to the next, to install all these PDF's.
>
> CLARIF: We want the PDF's to remain on the XO laptops even after the
> teacher types in "rm -rf /home/olpc/.sugar" to clean out personal files
> from Sugar on each laptop, which typically happens at the beginning of each
> semester.
>
> CLARIF: A Sugar icon within the Sugar wheel would be a bonus, but any
> other method of finding this content within 3-to-5 clicks from Sugar's Home
> View can work Ok!
>
> CLARIF: these books need to be on the XO laptops themselves, as servers
> like IIAB are *not* always present.
>
> *Apologies there are serious electrical problems in Haiti where we're
> working, so it's very tough to fully research this online!*
> --
> 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 

Re: [Server-devel] easiest way to automate install of a collection 12+ PDF's onto Sugar on XOs?

2018-04-09 Thread Adam Holt
On Mon, Apr 9, 2018 at 10:08 PM, Adam Holt  wrote:

> Is building an .xol bundle/collection/file (containing all the PDF's) the
> easiest way?  What's the easiest way to build up an .xol of PDF's if so?
>

Thanks to Jerry Vonau who replied:

"​If you are looking to have ​the pdfs​​ show up in the ring of activities
then creating a .xol is required
​.​
Think you would need to launch the browser to see the content
​...​
see http://wiki.sugarlabs.org/go/Content_bundles.
​
However the pdfs should be able to be viewable in the browser with
file://some/path/test.pdf, check if that works first. You might just be
able to have the .xol's index.html contain the file://path as a point to
the pdf file.
 Hope that helps.​
"

Presumably by then installing the .xol in Sugar -> Terminal Activity as
> follows?
>
>sugar-install-bundle /run/media/olpc//
>
> Or is there much better ways to "permanently" install a large number of
> PDF's onto Sugar across a large number of XO laptops?  Or should we use
> Gnome instead of Sugar, if there's a much better way?  Sugar's Browse
> Activity is preferred (faster, lightweight) but Firefox 26.0 is also
> installed if absolutely necessary, in case either are needed instead of
> Sugar's Read Activity.
>
> CLARIF: The job will be done using USB memory sticks, walking from one XO
> laptop to the next, to install all these PDF's.
>
> CLARIF: We want the PDF's to remain on the XO laptops even after the
> teacher types in "rm -rf /home/olpc/.sugar" to clean out personal files
> from Sugar on each laptop, which typically happens at the beginning of each
> semester.
>
> CLARIF: A Sugar icon within the Sugar wheel would be a bonus, but any
> other method of finding this content within 3-to-5 clicks from Sugar's Home
> View can work Ok!
>
> CLARIF: these books need to be on the XO laptops themselves, as servers
> like IIAB are *not* always present.
>
>
>
>
> *Apologies there are serious electrical problems in Haiti where we're
> working, so it's very tough to fully research this online!-- Unsung Heroes
> of OLPC, interviewed live @ http://unleashkids.org 
> ! *
>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] do RPi 3 B+ still need heat sinks?

2018-04-03 Thread James Cameron
On Tue, Apr 03, 2018 at 08:35:54PM -0400, Adam Holt wrote:
> On Tue, Apr 3, 2018 at 8:17 PM, James Cameron <[1]qu...@laptop.org> wrote:
> 
> On Tue, Apr 03, 2018 at 05:28:31PM -0400, Adam Holt wrote:
> > On Tue, Apr 3, 2018 at 5:01 PM, James Cameron <[1][2]qu...@laptop.org>
> wrote:
> >
> >     On Tue, Apr 03, 2018 at 10:33:12AM -0400, Adam Holt wrote:
> >     > On Mon, Apr 2, 2018 at 12:36 PM, Adam Holt <[1][2][3]
> h...@laptop.org> wrote:
> >     >
> >     >     On Mon, Apr 2, 2018 at 10:44 AM, Adam Holt <[2][3][4]
> h...@laptop.org>
> >     wrote:
> >     >
> >     >         1) Recap from 2016: heatsinks on the original RPi3 CPU are
> not a
> >     >         cure-all when the RPi 3 is enclosed in a case that lacks
> >     ventilation on
> >     >         a hot day.  But CPU heatsinks Do Work when taking the
> plastic top
> >     off
> >     >         the of the original RPi 3.  The CPU throttling problem
> >     "immediately"
> >     >         goes away on such hot days...bringing the temperature back
> down
> >     below
> >     >         80C...as measured by the command:
> >     >
> >     >            vcgencmd measure_temp
> >     >
> >     >         2) It's snowing today right outside my window, so I can't
> easily
> >     >         simulate a hot summer's day -- but can others who live in
> hot
> >     >         environments report back their readings above, when 
> running
> the
> >     new
> >     >         RPi3 B+ in various conditions?
> >     >           ☆ With heatsink on CPU -- and without?
> >     >           ☆ With motherboard fully enclose by a case -- and
> without?
> >     >
> >     >     My own results, with all 4 CPU's unloaded, in a chilly room:
> >     >
> >     >  RPi 3 with-heatsink-on-CPU / RPi 3 B+ / RPi 3 B+
> with-heatsink-on-CPU
> >     > 44-46C / 46-48C / 45-47C case's plastic top removed (w/o wind or
> active
> >     > ventilation)
> >     > 46-49C / 48-51C / 48-52C case's plastic top attached (contains 
> 100+
> small
> >     holes
> >     > on 1 end, allowing very little ventilation)
> >     >
> >     >     After I ran "yes > /dev/null &" 4 times, to fully load all 4
> cores of
> >     the
> >     >     CPU:
> >     >
> >     >  RPi 3 with-heatsink-on-CPU / RPi 3 B+ / RPi 3 B+
> with-heatsink-on-CPU
> >     > 80-82C / 70-71C / 71-72C case's plastic top removed (w/o wind or
> active
> >     > ventilation)
> >     > 82-84C / 75-78C / 79-82C case's plastic top attached (contains 
> 100+
> small
> >     holes
> >     > on 1 end, allowing very little ventilation)
> >     >
> >     > RESULT: attaching a heatsink to the RPi 3 B+ CPU does not help.  
> It
> might
> >     even
> >     > make things a bit worse, hmm.
> >
> >     Yes, your heatsink is no good.
> >
> >     The B+ CPU has a heatsink or heat spreader already, that silver
> >     coloured bevelled structure with the black dot and Broadcom logo.
> >
> >     What is the shape, size, and attachment method for your added
> >     heatsink?
> >
> > It's the standard Canakit 7-fin aluminum heatsink shown here, attached 
> to
> the
> > CPU with its own basic 3M self-adhesive sticker:
> >
> > [4][5]http://www.bestofjay.com/w/
> > raspberry-pi-3-overclock-heat-test-flirc-case-vs-canakit-heatsink/
> > 
> [5][6]http://11986-presscdn-0-77.pagely.netdna-cdn.com/wp-content/uploads
> /2016/04/
> > heat-sinks-installed.jpg
> 
> Given your results, probably wrong heatsink for the job.  No, I don't
> know of a better one.
> 
> Indeed.  It'd be really great if the Raspberry Pi Foundation would publish
> basic recommendations here, even if just community/testing suggestions.

Best tell them.

> Theory; the adhesive won't make good contact with outer bevel, and
> passive airflow above that outer bevel will be reduced.
> 
> Theory; bubble in adhesive if the heatsink was not angled slightly as
> you pushed it down.
> 
> Theory; the thermal control system is very different to the previous
> version, and this invalidates your test method.  The system uses
> thermal mass and core frequency scaling, and you've changed the
> thermal mass.  It's non-linear.
> 
> Report your kernel version; the corresponding Raspbian release has
> changes for the B+.
> 
> Kernel is 4.14.30-v7+ after 2018-03-28's Raspbian update ("apt update; apt
> dist-upgrade; reboot").
> 
> See
> 
> [7]https://www.raspberrypi.org/blog/raspberry-pi-3-model-bplus-sale-now-35/
> for more technical detail on the thermals; note how the core frequency
> varies and the thermal mass is a resource.
> 
> Suggest you use sysbench for at least 15 minutes before reading the
>

  1   2   3   4   5   6   7   8   9   10   >