Projects

Home
Photography
Projects
About me
Robots
Publications
Friends' pages:
Chris
Jeff
John
Minu
Raeed
Email me:
alex AT joni.ro


Share

Some of the projects I've done (most not complete) will go in here.


26 December 2022, 20:14 UTCrpi4+docker stuff

Just some snippets so I remember what I did..

RPi OS

Raspberry Pi OS - 64bit, lite, installed from Imager 1.7.3.
Installed to a SD card, configured user pi pass, and wifi credentials
sudo apt-get update
Since I got an error:
N: Repository 'http://deb.debian.org/debian bullseye InRelease' changed its 'Version' value from '11.5' to '11.6'
I had to:
sudo apt-get update --allow-releaseinfo-change then the regular sudo apt-get upgrade

docker


Using loosely the instructions from Raspi-docker
Download the right script and install Docker on the Raspberry Pi environment.
curl -fsSL https://get.docker.com -o get-docker.sh

Then run the script with the help of the below command:
sudo sh get-docker.sh
after an odd error, and a restart (iptables was not running because of a kernel upgrade, and docker-ce was failing configuration stage), running it again made it work
add user pi to the group docker: sudo usermod -aG docker pi
then log in again and check docker is running: docker version, docker info and docker run hello-world


Output

pi@rpi4:~ $ docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
7050e35b49f5: Pull complete
Digest: sha256:c77be1d3a47d0caf71a82dd893ee61ce01f32fc758031a6ec4cf1389248bb833
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (arm64v8)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

portainer


First install portainer, to admin dockers via GUI
pi@rpi4:~ $ docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /opt/docker_data/portainer_data:/data portainer/portainer-ce
then connect to ip:9000, and setup admin user with password > 12 chars

iobroker


follow the instruction from buanet


However, there are some caveats:

upgrades

[permalink]


9 March 2020, 20:27 UTCOpenVPN and certificate ramblings
Just some infos for me to remember what to do when certificates expire.

read more...


21 January 2020, 13:48 UTCWindows 10 1803 / 1903 and NT style domains..

Since 1903 Windows 10 doesn't really offer a GUI way of adding a workstation to an NT Style domain. As I've been using Samba for a while, and still haven't upgraded to an AD (Active Directory) DC (domain controller) I was put in front of the task of adding 2 new workstations to the old NT style domain. In win10 (1903) I only found one way to do so (not documented in Samba's wiki):

Use PowerShell as an Administrator, and type the following code:

Add-Computer -ComputerName Server01 -LocalCredential Server01\Admin01 -DomainName Domain02 -Credential Domain02\Admin02 -Restart –Force

In order for this to work you need to:

[permalink]


30 December 2017, 21:07 UTCTasmota Fireplace on a witty cloud
Just a writeup of one of my latest projects.. emulating a fireplace with WS2812 LEDs

read more...


2 December 2017, 19:30 UTCSonoff Touch specifics
Additional stuff pertaining to the sonoff touch..

read more...


8 November 2017, 10:54 UTCFHEM + Sonoff + MQTT/mosquitto + Amazon echo/Alexa
A short description (mostly notes to myself) how to make a sonoff device work with fhem and alexa..

read more...


21 April 2017, 5:22 UTCWindows Live Mail 2012
So it seems Microsoft discontinued the Windows Essentials package ...

read more...


28 January 2015, 11:10 UTColder robot

Recently I started up an older Robot:

The robot system was built in 25.01.1989 (makes it 26 years by the time I write this post), but it has less than 1400 working hours, and still works great as you can see in the next video:



[permalink]


17 January 2014, 8:20 UTCRunning EMC1 on windows
A looong time ago I got interested in trying EMC (the Enhanced Machine Controller, later to be rewritten as emc2, and even later rebranded as LinuxCNC) on Windows..

read more...


27 October 2013, 21:11 UTCThermal leaking?
Had access to a thermal camera, so I took some snapshots of the outside of my home..

read more...



17 October 2013, 20:12 UTCbbb_parport
13 September 2011, 8:38 UTCbig IGBT
27 February 2011, 10:46 UTCStabilizer
22 February 2011, 15:12 UTCFig-Rig
11 October 2010, 15:25 UTCmy own dog - bolt ;)
5 October 2010, 10:32 UTCmy new desk is here
13 August 2010, 12:32 UTCa desk for me
2 December 2009, 12:25 UTCGraphing - CACTI, RRDtool...
6 November 2009, 9:30 UTCChristening bomboniere cake
27 September 2009, 9:40 UTCtraffic light controller
20 August 2009, 12:27 UTCRobots everywhere ;)
7 July 2009, 20:09 UTCEntry
7 July 2009, 20:09 UTCLogin - Authentication necessary
25 May 2009, 18:06 UTC"thou shalt cook" (every now and then).. part deux
9 May 2009, 18:44 UTCprogress
22 April 2009, 21:11 UTC"thou shalt cook" (every now and then)
20 April 2009, 10:14 UTCAppliances anyone?
31 March 2009, 20:35 UTC"Let there be color" - he said on the 28th
11 February 2009, 9:05 UTCInstalling Ubuntu Server on Fujitsu Siemens Primergy H250
10 December 2008, 18:59 UTCEntry

All older entries




[atom feed]  
[æ]