BerryLan on Pi Zero W


#1

Awesome tool !

I ran into a small hitch though.

I have installed nymea network manager on a fresh raspbian stretch on a Pi 3 A+ and was able to configure wifi using the BerryLan App on IoS. I was quite delighted how simple it all was.

However, when I repeated the same steps using fresh SD, fresh raspbian stretch on a Pi Zero WH, the card is not appearing on BerryLan App.

The BerryLan web page clearly says Pi Zero WH is supported. Is there an additional step I am missing somewhere.

Please Help.


#2

Just to add a bit more on this issue.

nmcli tool is working. It is listing the wifi networks it finds.

However, the nymea-networkmanager is not running.

When I did ‘systemctl status nymea-networkmanager’,

I see

Active: failed (Result: signal) …
Process: 512 ExecStart=/usr/bin/nymea-networkmanager -d (code=killed, signal=ILL)


#3

Hi @pkongara

could you send me the debug output of the networkmanager by calling following command?

systemctl restart nymea-networkmanager && journalctl -u -a nymea-networkmanager

Maybe there is a hint what’s going on.


#4

Simon - thank you very much for trying to help - please see the debug output below -

Feb 25 10:36:03 raspberrypi systemd[1]: Started Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:36:04 raspberrypi systemd[1]: nymea-networkmanager.service: Main process exited, code=killed, status=4/ILL

Feb 25 10:36:04 raspberrypi systemd[1]: nymea-networkmanager.service: Unit entered failed state.

Feb 25 10:36:04 raspberrypi systemd[1]: nymea-networkmanager.service: Failed with result ‘signal’.

Feb 25 10:36:04 raspberrypi systemd[1]: nymea-networkmanager.service: Service hold-off time over, scheduling restart.

Feb 25 10:36:04 raspberrypi systemd[1]: Stopped Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:36:04 raspberrypi systemd[1]: Started Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:36:04 raspberrypi systemd[1]: nymea-networkmanager.service: Main process exited, code=killed, status=4/ILL

Feb 25 10:36:04 raspberrypi systemd[1]: nymea-networkmanager.service: Unit entered failed state.

Feb 25 10:36:04 raspberrypi systemd[1]: nymea-networkmanager.service: Failed with result ‘signal’.

Feb 25 10:36:04 raspberrypi systemd[1]: nymea-networkmanager.service: Service hold-off time over, scheduling restart.

Feb 25 10:36:04 raspberrypi systemd[1]: Stopped Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:36:04 raspberrypi systemd[1]: Started Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:36:04 raspberrypi systemd[1]: nymea-networkmanager.service: Main process exited, code=killed, status=4/ILL

Feb 25 10:36:04 raspberrypi systemd[1]: nymea-networkmanager.service: Unit entered failed state.

Feb 25 10:36:04 raspberrypi systemd[1]: nymea-networkmanager.service: Failed with result ‘signal’.

Feb 25 10:36:04 raspberrypi systemd[1]: nymea-networkmanager.service: Service hold-off time over, scheduling restart.

Feb 25 10:36:04 raspberrypi systemd[1]: Stopped Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:36:04 raspberrypi systemd[1]: Started Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:36:04 raspberrypi systemd[1]: nymea-networkmanager.service: Main process exited, code=killed, status=4/ILL

Feb 25 10:36:04 raspberrypi systemd[1]: nymea-networkmanager.service: Unit entered failed state.

Feb 25 10:36:04 raspberrypi systemd[1]: nymea-networkmanager.service: Failed with result ‘signal’.

Feb 25 10:36:05 raspberrypi systemd[1]: nymea-networkmanager.service: Service hold-off time over, scheduling restart.

Feb 25 10:36:05 raspberrypi systemd[1]: Stopped Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:36:05 raspberrypi systemd[1]: Started Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:36:05 raspberrypi systemd[1]: nymea-networkmanager.service: Main process exited, code=killed, status=4/ILL

Feb 25 10:36:05 raspberrypi systemd[1]: nymea-networkmanager.service: Unit entered failed state.

Feb 25 10:36:05 raspberrypi systemd[1]: nymea-networkmanager.service: Failed with result ‘signal’.

Feb 25 10:36:05 raspberrypi systemd[1]: nymea-networkmanager.service: Service hold-off time over, scheduling restart.

Feb 25 10:36:05 raspberrypi systemd[1]: Stopped Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:36:05 raspberrypi systemd[1]: nymea-networkmanager.service: Start request repeated too quickly.

Feb 25 10:36:05 raspberrypi systemd[1]: Failed to start Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:36:05 raspberrypi systemd[1]: nymea-networkmanager.service: Unit entered failed state.

Feb 25 10:36:05 raspberrypi systemd[1]: nymea-networkmanager.service: Failed with result ‘signal’.

Feb 25 10:37:00 raspberrypi systemd[1]: Started Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:37:00 raspberrypi systemd[1]: nymea-networkmanager.service: Main process exited, code=killed, status=4/ILL

Feb 25 10:37:00 raspberrypi systemd[1]: nymea-networkmanager.service: Unit entered failed state.

Feb 25 10:37:00 raspberrypi systemd[1]: nymea-networkmanager.service: Failed with result ‘signal’.

Feb 25 10:37:01 raspberrypi systemd[1]: nymea-networkmanager.service: Service hold-off time over, scheduling restart.

Feb 25 10:37:01 raspberrypi systemd[1]: Stopped Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:37:01 raspberrypi systemd[1]: Started Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:37:01 raspberrypi systemd[1]: nymea-networkmanager.service: Main process exited, code=killed, status=4/ILL

Feb 25 10:37:01 raspberrypi systemd[1]: nymea-networkmanager.service: Unit entered failed state.

Feb 25 10:37:01 raspberrypi systemd[1]: nymea-networkmanager.service: Failed with result ‘signal’.

Feb 25 10:37:01 raspberrypi systemd[1]: nymea-networkmanager.service: Service hold-off time over, scheduling restart.

Feb 25 10:37:01 raspberrypi systemd[1]: Stopped Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:37:01 raspberrypi systemd[1]: Started Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:37:01 raspberrypi systemd[1]: nymea-networkmanager.service: Main process exited, code=killed, status=4/ILL

Feb 25 10:37:01 raspberrypi systemd[1]: nymea-networkmanager.service: Unit entered failed state.

Feb 25 10:37:01 raspberrypi systemd[1]: nymea-networkmanager.service: Failed with result ‘signal’.

Feb 25 10:37:01 raspberrypi systemd[1]: nymea-networkmanager.service: Service hold-off time over, scheduling restart.

Feb 25 10:37:01 raspberrypi systemd[1]: Stopped Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:37:01 raspberrypi systemd[1]: Started Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:37:01 raspberrypi systemd[1]: nymea-networkmanager.service: Main process exited, code=killed, status=4/ILL

Feb 25 10:37:01 raspberrypi systemd[1]: nymea-networkmanager.service: Unit entered failed state.

Feb 25 10:37:01 raspberrypi systemd[1]: nymea-networkmanager.service: Failed with result ‘signal’.

Feb 25 10:37:02 raspberrypi systemd[1]: nymea-networkmanager.service: Service hold-off time over, scheduling restart.

Feb 25 10:37:02 raspberrypi systemd[1]: Stopped Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:37:02 raspberrypi systemd[1]: Started Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:37:02 raspberrypi systemd[1]: nymea-networkmanager.service: Main process exited, code=killed, status=4/ILL

Feb 25 10:37:02 raspberrypi systemd[1]: nymea-networkmanager.service: Unit entered failed state.

Feb 25 10:37:02 raspberrypi systemd[1]: nymea-networkmanager.service: Failed with result ‘signal’.

Feb 25 10:37:02 raspberrypi systemd[1]: nymea-networkmanager.service: Service hold-off time over, scheduling restart.

Feb 25 10:37:02 raspberrypi systemd[1]: Stopped Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:37:02 raspberrypi systemd[1]: nymea-networkmanager.service: Start request repeated too quickly.

Feb 25 10:37:02 raspberrypi systemd[1]: Failed to start Daemon for nymea to configure wifi network using a Bluetooth LE connection.

Feb 25 10:37:02 raspberrypi systemd[1]: nymea-networkmanager.service: Unit entered failed state.

Feb 25 10:37:02 raspberrypi systemd[1]: nymea-networkmanager.service: Failed with result ‘signal’.


#5

I think I know what the issue might be: the default raspberry pi architecture is armhf, but the pi zero is an actual armv6 (with hf unit), but all packages are named armhf. I still have not found the time to document this for the Pi zero. Sorry about that.

My solution from here should also solve your problem: https://github.com/guh/berrylan/issues/10#issuecomment-457103535

Please let me know if this worked for you! Thanks for the issue report!


#6

Thank you so much, Simon.

It is now working like a charm on Pi Zero W as well.

Appreciate your help.