Re: [DNG] I need your help or another developer's help with the project devuan with the children

2018-07-24 Thread Ivan J.
On Sun, Jul 22, 2018 at 10:14:32AM +0200, Basati wrote:
>
> I am preparing a project for children from 8 to 16
>
> The idea is to introduce them into computing, devuan and python programming
>
> Using raspberry pi 3 B+ as a hardware infrastructure controlled by a devuan
>
> The idea is that they will be doing projects until the final project of
> building a weather station. There are none in the valley, it is a valley of
> the western Pyrenees.
>
> And it will be the children who will provide the valley's population with
> weather information.
>
> I need to build a custom image for rasperry pi 3.
>
> In which all the hardware of the rasperry is configured and mounted
> automatically, as it does scratch. In two formats console and desktop
>
> I need to customize it by language (we speak basque a Neolithic language of
> the European indigeas, we). Also for the programs you need to install. For
> example, PyCharm that does not have a package in devuan. And I have to put it
> in by hand.
>
> I have to leave the desktop configured by default, I don't know if the devuan
> officer will work for me, I think it's xfce. In touch mode.
>
> There are more than 50 machines to install. I'm compensated for the work of
> building the image
>
> Now, I've never played arm64. I'm an absolute neebie.
>
> I need help doing all this.
>
> Can you guide me? Can you get me the Inet links and reading order.
>
> What do I have to learn to do this?

I don't know if I have time to guide you through all of the image
building, but the documentation is already there.

For examples, you can have a look at a couple of blends and apply that
concept to your needs. Namely:

https://github.com/headslive/build-system/blob/master/heads.blend
https://github.com/maemo-leste/image-builder/blob/master/leste.blend

If you take the time to read these and learn how the repositories work,
it should be fairly straightforward to figure out what you have to do.

> This effort means that the work (images, console and desktop) can be reused to
> pay back. They would be as complete as the scratch images (which configure and
> mount all the hardware perfectly and have a configurator at the beginning)
>
> Devuan would have these two images. Nowadays it is impossible for a neebie or
> user to mount a raspberry with devuan.
>
> The devuan imagen has no installed Bluetooth, no basic console tools, it's
> practically empty. Everything has to be assembled by hand.
>
> The bluetooth firmware is gone, I had to put it in by hand.
>
> eudev does not mount the devices
>
> This cannot be used by a neebie or normal user. As it is now you have to know
> to assemble things by hand

All of that should be in place. Please report bugs for this kind of
stuff.

Cheers!

-- 
~ parazyd
GnuPG: 03337671FDE75BB6A85EC91FB876CB44FA1B0274
GnuPG: https://parazyd.org/fa1b0274.asc
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] I need your help or another developer's help with the project devuan with the children

2018-07-22 Thread aitor_czr

Hi,

El 22/07/18 a las 10:20, aitor_czr escribió:


Hi Basati,

El 22/07/18 a las 10:14, Basati escribió:

hi parazyd

Sorry to bother you, but I need your advice and help.

I am preparing a project for children from 8 to 16

The idea is to introduce them into computing, devuan and python programming


This is a great idea !!


I had a project in mind, a version of gnuinos focused to children and 
named... (don't laugh) "Bilimbolo", which means tadpole in basque.


  Aitor.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] I need your help or another developer's help with the project devuan with the children

2018-07-22 Thread Brenda J. Butler
On Sun, Jul 22, 2018 at 10:14:32AM +0200, Basati wrote:
> hi parazyd
> 
> Sorry to bother you, but I need your advice and help.
> 
> I am preparing a project for children from 8 to 16
> 
> The idea is to introduce them into computing, devuan and python programming
> 
> Using raspberry pi 3 B+ as a hardware infrastructure controlled by a devuan
> 
> The idea is that they will be doing projects until the final project of 
> building a weather station. There are none in the valley, it is a valley of 
> the western Pyrenees.
> 
> And it will be the children who will provide the valley's population with 
> weather information.
> 
> I need to build a custom image for rasperry pi 3.
> 
> In which all the hardware of the rasperry is configured and mounted 
> automatically, as it does scratch. In two formats console and desktop
> 
> I need to customize it by language (we speak basque a Neolithic language of 
> the European indigeas, we). Also for the programs you need to install. For 
> example, PyCharm that does not have a package in devuan. And I have to put it 
> in by hand.

My first thought for installing python packages always to look for the package
in the distro packaging system.  But you have done that and not found it.

So the second thing to try is to install it with pip from the Python packaging
index (Pypi), maybe using a virtualenv.

Last choice would be to download it and install it "by hand".


To do these, you have to know how to use pip, and potentially how to use
virtualenv.  Often people use virtualenvwrapper as well.

For pip:  decide what user you want the python program to run as "in 
production".
Then run pip install xxx as that user.
You can use pip search xxx to find out packages relating to xxx.

If you will be running python3, then use pip3 instead of pip.

Do not run pip install as root - it will mess up the Devuan package files.

Best of luck!  Please keep us posted on progress (good or not).  Sounds like a
great project.

> I have to leave the desktop configured by default, I don't know if the devuan 
> officer will work for me, I think it's xfce. In touch mode.
> 
> There are more than 50 machines to install. I'm compensated for the work of 
> building the image
> 
> Now, I've never played arm64. I'm an absolute neebie.
> 
> I need help doing all this.
> 
> Can you guide me? Can you get me the Inet links and reading order.
> 
> What do I have to learn to do this?
> 
> This effort means that the work (images, console and desktop) can be reused 
> to 
> pay back. They would be as complete as the scratch images (which configure 
> and 
> mount all the hardware perfectly and have a configurator at the beginning)
> 
> Devuan would have these two images. Nowadays it is impossible for a neebie or 
> user to mount a raspberry with devuan.
> 
> The devuan imagen has no installed Bluetooth, no basic console tools, it's 
> practically empty. Everything has to be assembled by hand.
> 
> The bluetooth firmware is gone, I had to put it in by hand.
> 
> eudev does not mount the devices
> 
> This cannot be used by a neebie or normal user. As it is now you have to know 
> to assemble things by hand
> 
> Images must be complete and functional by default. How Raspian works, but 
> it's 
> not the only way it works.
> 
> I mean, to do something like raspian but devuan.
> 
> And I'd call it something else.
> 
> Now: devuan_ascii_2.0.0_arm64_raspi3.img
> 
> New name:
> devuan_ascii_2.0.0_arm64_raspidev1-console_pi3.img
> devuan_ascii_2.0.0_arm64_raspidev1-desktop_p3.img
> 
> I would be very grateful for your advice and guidance in order to get the 
> project going with the children from 8 to 16 years old.
> 
> I think it's a very nice thing. And I refuse to do it with anything other 
> than 
> devuan. I'm a devuan and hacktivist.
> 
> I can do it a lot SIMPLE with Raspian without bringing so much work. 
> 
> But no, I refuse.
> 
> This is my opion that could contradict the policy of devan, I don't know.
> 
> A greeting
> 
> Basati
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
---end quoted text---
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] I need your help or another developer's help with the project devuan with the children

2018-07-22 Thread Antony Stone
On Sunday 22 July 2018 at 17:17:43, wirelessd...@gmail.com wrote:

> > On 22 Jul 2018, at 23:17, Hendrik Boom  wrote:
> > 
> > Doesn't Raspberry pi normally boot from the microSD card it uses for its
> > main file system?

USB sticks are generally cheaper for the same capacity, and some people think 
they're more reliable (I don't have a personal opinion).

Raspberry Pi 3 B can indeed boot from USB, and the Pi 3 B+ can also do PoE, 
and network boot (although I doubt either is a help for this project).

> > Thus all you need to do is make 50 copies of one SD card and stick them
> > into the microSD card slots of the pi's.
> > 
> > So once you manage to make one bootable image, you won't need to make an
> > installers.  You'll just need a machine to copy microsd cards.
> > 
> > I run my Raspberry pi with a stock microSD card image from Devuan.
> > You should be able to do the same, and after booting, install or
> > uninstall packages as desired.  THen replicate the resulting card 50
> > times for your 50 mchines.
> 
> If you’re running sshd on this you would want to regenerate the server keys
> for each individual installation?

a) not necessarily - there's no reason server keys need to be unique, 
especially in a private network space

b) the simplest solution if you want unique keys would simply be to delete the 
keys from /etc/ssh in the image before replicating it - then they will get 
automatically created when each card is started for the first time


Antony.

-- 
"If I've told you once, I've told you a million times - stop exaggerating!"

   Please reply to the list;
 please *don't* CC me.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] I need your help or another developer's help with the project devuan with the children

2018-07-22 Thread wirelessduck


> On 22 Jul 2018, at 23:17, Hendrik Boom  wrote:
> 
> Doesn't Raspberry pi normally boot from the microSD card it uses for its
> main file system?
> Thus all you need to do is make 50 copies of one SD card and stick them into
> the microSD card slots of the pi's.
> 
> So once you manage to make one bootable image, you won't need to make an
> installers.  You'll just need a machine to copy microsd cards.
> 
> I run my Raspberry pi with a stock microSD card image from Devuan.
> You should be able to do the same, and after booting, install or uninstall
> packages as desired.  THen replicate the resulting card 50 times for your
> 50 mchines.

If you’re running sshd on this you would want to regenerate the server keys for 
each individual installation?

—Tom
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] I need your help or another developer's help with the project devuan with the children

2018-07-22 Thread Hendrik Boom
On Sun, Jul 22, 2018 at 10:51:17AM +0200, aitor_czr wrote:
> Hi Basati,
> 
> El 22/07/18 a las 10:14, Basati escribió:
> > I am preparing a project for children from 8 to 16
> > 
> > The idea is to introduce them into computing, devuan and python programming
> > 
> > Using raspberry pi 3 B+ as a hardware infrastructure controlled by a devuan
> 
> As far as i know, raspberry pi 3 are able to detect bootable usb sticks (am
> i wrong?). So, debian-installer should work!

Doesn't Raspberry pi normally boot from the microSD card it uses for its
main file system?
Thus all you need to do is make 50 copies of one SD card and stick them into
the microSD card slots of the pi's.

So once you manage to make one bootable image, you won't need to make an
installers.  You'll just need a machine to copy microsd cards.

I run my Raspberry pi with a stock microSD card image from Devuan.
You should be able to do the same, and after booting, install or uninstall
packages as desired.  THen replicate the resulting card 50 times for your
50 mchines.

***

The one problem I've had with my Raspberry pi 3 is getting the wifi to work.
I simply haven't been able to find the right device driver.
It works out of the box with Raspbian, so there has to be one.

Does anyone know what to install for this?

-- hendrik
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] I need your help or another developer's help with the project devuan with the children

2018-07-22 Thread aitor_czr

Hi Basati,

El 22/07/18 a las 10:14, Basati escribió:

I am preparing a project for children from 8 to 16

The idea is to introduce them into computing, devuan and python programming

Using raspberry pi 3 B+ as a hardware infrastructure controlled by a devuan


As far as i know, raspberry pi 3 are able to detect bootable usb sticks 
(am i wrong?). So, debian-installer should work!


  Aitor.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] I need your help or another developer's help with the project devuan with the children

2018-07-22 Thread aitor_czr

Hi Basati,

El 22/07/18 a las 10:14, Basati escribió:

hi parazyd

Sorry to bother you, but I need your advice and help.

I am preparing a project for children from 8 to 16

The idea is to introduce them into computing, devuan and python programming


This is a great idea !!




___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] I need your help or another developer's help with the project devuan with the children

2018-07-22 Thread Basati
hi parazyd

Sorry to bother you, but I need your advice and help.

I am preparing a project for children from 8 to 16

The idea is to introduce them into computing, devuan and python programming

Using raspberry pi 3 B+ as a hardware infrastructure controlled by a devuan

The idea is that they will be doing projects until the final project of 
building a weather station. There are none in the valley, it is a valley of 
the western Pyrenees.

And it will be the children who will provide the valley's population with 
weather information.

I need to build a custom image for rasperry pi 3.

In which all the hardware of the rasperry is configured and mounted 
automatically, as it does scratch. In two formats console and desktop

I need to customize it by language (we speak basque a Neolithic language of 
the European indigeas, we). Also for the programs you need to install. For 
example, PyCharm that does not have a package in devuan. And I have to put it 
in by hand.

I have to leave the desktop configured by default, I don't know if the devuan 
officer will work for me, I think it's xfce. In touch mode.

There are more than 50 machines to install. I'm compensated for the work of 
building the image

Now, I've never played arm64. I'm an absolute neebie.

I need help doing all this.

Can you guide me? Can you get me the Inet links and reading order.

What do I have to learn to do this?

This effort means that the work (images, console and desktop) can be reused to 
pay back. They would be as complete as the scratch images (which configure and 
mount all the hardware perfectly and have a configurator at the beginning)

Devuan would have these two images. Nowadays it is impossible for a neebie or 
user to mount a raspberry with devuan.

The devuan imagen has no installed Bluetooth, no basic console tools, it's 
practically empty. Everything has to be assembled by hand.

The bluetooth firmware is gone, I had to put it in by hand.

eudev does not mount the devices

This cannot be used by a neebie or normal user. As it is now you have to know 
to assemble things by hand

Images must be complete and functional by default. How Raspian works, but it's 
not the only way it works.

I mean, to do something like raspian but devuan.

And I'd call it something else.

Now: devuan_ascii_2.0.0_arm64_raspi3.img

New name:
devuan_ascii_2.0.0_arm64_raspidev1-console_pi3.img
devuan_ascii_2.0.0_arm64_raspidev1-desktop_p3.img

I would be very grateful for your advice and guidance in order to get the 
project going with the children from 8 to 16 years old.

I think it's a very nice thing. And I refuse to do it with anything other than 
devuan. I'm a devuan and hacktivist.

I can do it a lot SIMPLE with Raspian without bringing so much work. 

But no, I refuse.

This is my opion that could contradict the policy of devan, I don't know.

A greeting

Basati
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng