RACHEL-Pi on the Pi Zero 2

I have tried to install the latest image onto the Raspberry Pi Zero 2 but I fail every time!
Has anyone else had experience of this?

They have been out of stock here since release so I haven’t been able to get one to test with. What errors are you seeing?

Thanks James, No errors as such it just fails to load. I have tried 2 just in case the hardware was the issue.

Hi Howard. From the official RaspiOS page it looks like the Pi Zero W 2 requires a 64bit OS. It may even require the latest one. The 64bit RaspiOS hasn’t t been great in the past, but maybe it’s better now.

I will make a new image soon. The last time I tried to make one was in February and there were issues with some packages in the latest OS that were causing the SSID not to broadcast. If that’s fixed a new version can be released.

As usual thanks for your hard work James, really appreciate it

Let me know. I have a Zero W2 standing by for testing. Not rushing you! Just happy to help as a tester if you need one.

1 Like

I am demonstrating Raspberry Pi in Zambia on the 3rd of October.
Has development of RACHEL-Pi stopped?
Should I just use Kolibri on the Pi?

Hi Howard,

Development has not stopped, but each new release of the Raspberry Pi OS since the last RACHEL image release comes with a bug that hinders SSID broadcasting for WIFI hotspots. They also have had driver issues that allow for less WIFI clients, so it has not been beneficial to update for some time.

During the time since that last release over 120 Kiwix modules have been updated, with new modules being added, which is where the focus generally is. Those are all still compatible with the available images.

Are you looking for a new image just to support the Pi Zero 2?

I wanted to be sure that I didn’t continue with R-Pi if it was not being worked on. I have installed. Kolibri on its own on the Pi 4 and the Pi 400. The only issue with the PiZero2 is the shortage, but I have been told by the foundation this will end in October :thinking:. I was hoping that the moodle and the email facility might have been working.
As usual thanks for all the help and work you have put in to this, I do appreciate it.
Kind Regards Howard

Hi Howard,

Understood. There are no plans to ever stop development of RACHEL-Pi. I can’t say for sure, but DataPost may be part of RACHEL-Pi in the future. It depends on the result of extensive testing and would be a decision by the team.

Moodle will most likely be in the next image as it is working. There is a bit of a hiccup around needing to register an email before finishing the setup…

I will look into the September 6th RaspiOS more and see if I can get you a new image before you do your demonstration.

James

Thank you James that would be great. Again thank you for your help
Kind Regards Howard

1 Like

Hi @giakonda - I worked on the new RACHEL-Pi image this weekend. The good news is there’s an image for you to test. Download and notes about it are below

Download

Notes about the image

  • The incorrect syscall in the dhcpcd package that was causing the SSID to stop broadcasting is gone on the September 6th RaspiOS which is great news.

  • I can’t confirm how stable the default wifi driver is or how many clients it can handle right now, but it does seem to be working.

  • Moodle is installed. The default moodle login/password is admin/Rachel+1

  • I can’t be certain if the email configuration in Moodle works. Please test and let me know if it’s what behaviour you see around messages/accounts and I can rework it if it’s not working. Please change the default administrator email and password if you can.

  • The default system login and password for now is pi/rachel. Please change the password with “sudo passwd” if you’re going to bring this device online. The Raspberry Pi Foundation want to do away with default passwords and we should help with that if possible. I will come up with a better solution in the future.

  • Statistics now use GoAccess

  • Wifi can be turned on/off from the hardware page

  • 64bit image will be made if the 32bit one is stable

=====================================================

Hopefully everything is working but please let me know if you run into any issues.

@racheljr9 you mentioned you’d like to test. Hopefull you can help test some of these features on this image.

James

1 Like

James you are a genius! Thank you so much for your efforts.
I’ll let you know how it goes. Wendy will do the work, wife of 52 years :grinning:
I’m having chemo so they wont let me travel outside the uk
Thanks as always for your great help
Kind Regards Howard

2 Likes

Hi @jamesk, as you might guess I couldn’t resist trying it on the first machine to hand, it was a Raspberry Pi 3B, yes not the best! However I had an old laptop with the latest version of Pi desktop. First thing I liked it installed using the Pi imager, perfectly.
I have downloaded several Rachel modules with no glitches. I also setup Kolibri and added the usual suspects with no trouble.
I had to use a router because the WiFi didn’t turn on but that was no issue for me, I used the router WiFi and the Pi IP-address.
I will test it on the Pi zero2W and the Pi 4 later
thanks a bundle for the work you have put in, it really helps.
Kind Regards
Howard

2 Likes

Awesome! Downloading the image now. I’ll try it on my Zero W 2 first.

1 Like

I’m seeing the same issue(WiFi) with the Zero W2. It seems to work pretty well on the PI4 so far.
@jamesk
I’ll do some more testing tomorrow and try to kick the wheels a bit.

Howard, I’m so sorry to hear that you’re going through chemo. Please know that we are all thinking of you as you go through this. You have been a major part of this community for many years and we all appreciate the time you spend helping others. If there’s anything I can do please let me know.

Congrats on 52 years of marriage! That is amazing. If Wendy ever needs help with anything or has any questions she or anyone else you work with can reach out direcly to me via email at james@worldpossible.org as well.

Thanks @racheljr9 and @giakonda for the feedback on the image and Howard, no need to thank me at all, I love knowing it’s getting used in places that need it.

It’s too bad that WIFI didn’t work right away on the 3B, but I know there is a workaround. If it’s important to have 3B support with this image right away I can make some adjustments to get it working. I built this image using a 4GB Pi 4 board as I haven’t been able to get a Pi Zero 2W yet.

Just reading what @racheljr9 said about the 2W, I wonder if maybe we can find out what’s going on. Here are some commands that maybe @racheljr9 can provide the output of.

  • sudo systemctl status hotsapd
  • sudo systemctl status dnsmasq
  • sudo systemctl stats dhcpcd ( I think dhcpcd or dhcpcd5 )
  • sudo ifconfig
  • sudo rfkill list
  • and /var/log/syslog if it’s there.

I will make another image using the 3B as well for you to try just to see if the same issue persists on two devices.

James

1 Like

Hi all, I’ve just copied a fresh image onto a Pi zero 2w and using a micro USB to Ethernet adapter turned the WiFi on and it’s working. also a quick look at Moodle and Kolibri and they are both working too.
I’ve not done much testing because Wendy is pushing me to get everything ready for her trip!
There was a small hiccup in that to get Moodle and Kolibri going a reboot was necessary but it looks good!

2 Likes

Still playing around with this build. Here are things you asked for. I’m assuming stats was a typo since it gave errors. I gave you the results for sudo systemctl status dhcpcd

I’m happy to help! I’m using a USB ethernet adapter.

sudo systemctl status hotsapd
Unit hotsapd.service could not be found.
pi@rachel:~ $ sudo systemctl status dnsmasq
â—Ź dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
     Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled)
     Active: active (running) since Sun 2022-09-25 22:31:32 PDT; 4 days ago
    Process: 303 ExecStartPre=/etc/init.d/dnsmasq checkconfig (code=exited, status=0/SUCCESS)
    Process: 411 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=0/SUCCESS)
    Process: 468 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code=exited, status=0/SUCCESS)
   Main PID: 467 (dnsmasq)
      Tasks: 1 (limit: 521)
        CPU: 570ms
     CGroup: /system.slice/dnsmasq.service
             └─467 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r /run/dnsmasq/resolv.conf -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service --trust-anchor=.,20326,8,2,e06d44b80b8f1d39a95c0b0d7c65d08458e88040>

Sep 25 22:31:31 rachel systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
Sep 25 22:31:32 rachel dnsmasq[467]: started, version 2.85 cachesize 150
Sep 25 22:31:32 rachel dnsmasq[467]: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 no-Lua TFTP conntrack ipset auth cryptohash DNSSEC loop-detect inotify dumpfile
Sep 25 22:31:32 rachel dnsmasq[467]: warning: interface wlan0 does not currently exist
Sep 25 22:31:32 rachel dnsmasq-dhcp[467]: DHCP, IP range 10.10.10.100 -- 10.10.10.199, lease time 1d
Sep 25 22:31:32 rachel dnsmasq[467]: read /etc/hosts - 8 addresses
Sep 25 22:31:32 rachel dnsmasq[467]: no servers found in /run/dnsmasq/resolv.conf, will retry
Sep 25 22:31:32 rachel systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server.
Sep 25 22:31:42 rachel dnsmasq[467]: reading /run/dnsmasq/resolv.conf
Sep 25 22:31:42 rachel dnsmasq[467]: using nameserver 192.168.1.1#53
lines 1-22/22 (END)
pi@rachel:~ $ systemctl status dhcpcd
â—Ź dhcpcd.service - DHCP Client Daemon
     Loaded: loaded (/lib/systemd/system/dhcpcd.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/dhcpcd.service.d
             └─wait.conf
     Active: active (running) since Sun 2022-09-25 22:31:43 PDT; 4 days ago
       Docs: man:dhcpcd(8)
    Process: 388 ExecStart=/usr/sbin/dhcpcd -w -q (code=exited, status=0/SUCCESS)
      Tasks: 2 (limit: 521)
        CPU: 620ms
     CGroup: /system.slice/dhcpcd.service
             ├─533 wpa_supplicant -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0
             └─688 /usr/sbin/dhcpcd -w -q

Sep 25 22:31:34 rachel dhcpcd[388]: eth0: message: wrong network
Sep 25 22:31:34 rachel dhcpcd[388]: eth0: soliciting a DHCP lease
Sep 25 22:31:37 rachel dhcpcd[388]: eth0: offered 192.168.1.8 from 192.168.1.1
Sep 25 22:31:37 rachel dhcpcd[388]: eth0: probing address 192.168.1.8/24
Sep 25 22:31:42 rachel dhcpcd[388]: eth0: leased 192.168.1.8 for 86400 seconds
Sep 25 22:31:42 rachel dhcpcd[388]: eth0: adding route to 192.168.1.0/24
Sep 25 22:31:42 rachel dhcpcd[388]: eth0: adding default route via 192.168.1.1
Sep 25 22:31:43 rachel dhcpcd[388]: forked to background, child pid 688
Sep 25 22:31:43 rachel systemd[1]: Started DHCP Client Daemon.
Sep 30 15:20:54 rachel dhcpcd[688]: eth0: no IPv6 Routers available

pi@rachel:~ $ sudo ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.8  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::223e:bd8b:b1ff:c952  prefixlen 64  scopeid 0x20<link>
        ether 00:e0:4c:53:44:58  txqueuelen 1000  (Ethernet)
        RX packets 432900  bytes 635632736 (606.1 MiB)
        RX errors 800  dropped 351  overruns 326  frame 1205
        TX packets 229310  bytes 17902298 (17.0 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 591  bytes 47623 (46.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 591  bytes 47623 (46.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
pi@rachel:~ $ sudo rfkill list
0: phy0: Wireless LAN
        Soft blocked: yes
        Hard blocked: no
pi@rachel:/var/log $ nano syslog
  GNU nano 5.4                                                                                                        syslog
Sep  6 20:06:43 raspberrypi fake-hwclock[142]: Tue  6 Sep 19:06:39 UTC 2022
Sep  6 20:06:43 raspberrypi systemd-fsck[157]: e2fsck 1.46.2 (28-Feb-2021)
Sep  6 20:06:43 raspberrypi systemd-fsck[157]: rootfs: clean, 47621/962880 files, 352910/3844864 blocks
Sep  6 20:06:43 raspberrypi systemd[1]: Finished Remount Root and Kernel File Systems.
Sep  6 20:06:43 raspberrypi systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
Sep  6 20:06:43 raspberrypi systemd[1]: Starting Flush Journal to Persistent Storage...
Sep  6 20:06:43 raspberrypi systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
Sep  6 20:06:43 raspberrypi systemd[1]: Starting Load/Save Random Seed...
Sep  6 20:06:43 raspberrypi systemd[1]: Starting Create System Users...
Sep  6 20:06:43 raspberrypi systemd[1]: Finished Set the console keyboard layout.
Sep  6 20:06:43 raspberrypi systemd[1]: Finished Coldplug All udev Devices.
Sep  6 20:06:43 raspberrypi systemd[1]: Finished Create System Users.
Sep  6 20:06:43 raspberrypi systemd[1]: Finished Load/Save Random Seed.
Sep  6 20:06:43 raspberrypi systemd[1]: Condition check resulted in First Boot Complete being skipped.
Sep  6 20:06:43 raspberrypi systemd[1]: Starting Helper to synchronize boot up for ifupdown...
Sep  6 20:06:43 raspberrypi systemd[1]: Starting Create Static Device Nodes in /dev...
Sep  6 20:06:43 raspberrypi systemd[1]: Finished Helper to synchronize boot up for ifupdown.
Sep  6 20:06:43 raspberrypi systemd[1]: Finished Create Static Device Nodes in /dev.
Sep  6 20:06:43 raspberrypi systemd[1]: Reached target Local File Systems (Pre).
Sep  6 20:06:43 raspberrypi systemd[1]: Starting Rule-based Manager for Device Events and Files...
Sep  6 20:06:43 raspberrypi systemd[1]: Finished Flush Journal to Persistent Storage.
Sep  6 20:06:43 raspberrypi systemd[1]: Started Rule-based Manager for Device Events and Files.
Sep  6 20:06:43 raspberrypi systemd-udevd[180]: Using default interface naming scheme 'v247'.
Sep  6 20:06:43 raspberrypi systemd[1]: Condition check resulted in Huge Pages File System being skipped.
Sep  6 20:06:43 raspberrypi systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
Sep  6 20:06:43 raspberrypi systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
Sep  6 20:06:43 raspberrypi systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
Sep  6 20:06:43 raspberrypi systemd[1]: Found device /dev/disk/by-partuuid/384e8a59-01.
Sep  6 20:06:43 raspberrypi systemd[1]: Starting File System Check on /dev/disk/by-partuuid/384e8a59-01...
Sep  6 20:06:43 raspberrypi systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
Sep  6 20:06:43 raspberrypi systemd-fsck[272]: fsck.fat 4.2 (2021-01-31)
Sep  6 20:06:43 raspberrypi kernel: [    0.000000] Booting Linux on physical CPU 0x0
Sep  6 20:06:43 raspberrypi systemd-fsck[272]: /dev/mmcblk0p1: 321 files, 25467/130554 clusters
Sep  6 20:06:43 raspberrypi systemd[1]: Finished File System Check on /dev/disk/by-partuuid/384e8a59-01.
Sep  6 20:06:43 raspberrypi systemd[1]: Mounting /boot...
Sep  6 20:06:43 raspberrypi systemd[1]: Condition check resulted in Huge Pages File System being skipped.
Sep  6 20:06:43 raspberrypi systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
Sep  6 20:06:43 raspberrypi systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
Sep  6 20:06:43 raspberrypi kernel: [    0.000000] Linux version 5.15.61-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1579 SMP Fri Aug 26 11:13:03 BST 2022
Sep  6 20:06:43 raspberrypi kernel: [    0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
Sep  6 20:06:43 raspberrypi kernel: [    0.000000] CPU: div instructions available: patching division code
Sep  6 20:06:43 raspberrypi kernel: [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Sep  6 20:06:43 raspberrypi kernel: [    0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.1
Sep  6 20:06:43 raspberrypi kernel: [    0.000000] random: crng init done
Sep  6 20:06:43 raspberrypi kernel: [    0.000000] Memory policy: Data cache writealloc
Sep  6 20:06:43 raspberrypi kernel: [    0.000000] Reserved memory: created CMA memory pool at 0x000000001ac00000, size 320 MiB
Sep  6 20:06:43 raspberrypi kernel: [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
Sep  6 20:06:43 raspberrypi kernel: [    0.000000] Zone ranges:
Sep  6 20:06:43 raspberrypi kernel: [    0.000000]   DMA      [mem 0x0000000000000000-0x000000002fffffff]
Sep  6 20:06:43 raspberrypi kernel: [    0.000000]   Normal   empty
Sep  6 20:06:43 raspberrypi kernel: [    0.000000]   HighMem  [mem 0x0000000030000000-0x00000000fbffffff]
Sep  6 20:06:43 raspberrypi kernel: [    0.000000] Movable zone start for each node
Sep  6 20:06:43 raspberrypi kernel: [    0.000000] Early memory node ranges
Sep  6 20:06:43 raspberrypi kernel: [    0.000000]   node   0: [mem 0x0000000000000000-0x000000003b3fffff]
Sep  6 20:06:43 raspberrypi kernel: [    0.000000]   node   0: [mem 0x0000000040000000-0x00000000fbffffff]
Sep  6 20:06:43 raspberrypi kernel: [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff]
Sep  6 20:06:43 raspberrypi kernel: [    0.000000] percpu: Embedded 16 pages/cpu s35788 r8192 d21556 u65536
Sep  6 20:06:43 raspberrypi kernel: [    0.000000] pcpu-alloc: s35788 r8192 d21556 u65536 alloc=16*4096
Sep  6 20:06:43 raspberrypi kernel: [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3