Setup
Connecting to the Raspberry Pi
192.168.100.100
, listening on port 22
for incoming SSH connections. Additionally, a VNC server is running, listening on port 5900
, but only for connections from localhost. To connect the Raspberry, you first need to setup your own IP in the same subnet 192.168.100.X
.
Afterwards you need to set up a tunnel, forwarding the internal port 5900
to your machine:
(You can do this using the command line on *nix systems, or using PuTTY on Windows systems – instructions can be found here) user@host:~$ ssh -L 5900:localhost:5900 kinemic@192.168.100.100
Afterwards, you can use any VNC client to connect to the Pi on address localhost:5900
A visualization of this process on MacOS can be seen here (enable subtitles for an English transcription): Listening for Events
9999
On this port a ZeroMQ (ZMQ) PUB socket is bound, ready to publish these events to connecting SUB sockets. ZMQ offers bindings for many languages, making it easy for you to listen for incoming events in a language of your choice.
Further down on this site you will finde some exemplary code snippets. LinkChanging the Network Settings
kinemic@k-e-p:~$ sudo ip route replace default via x.x.x.x dev wlan0 proto static
(Where x.x.x.x
is the gateway address of your WiFi (often the IP address of your access point).)Software Updates
System->Administration->Software Updater
or you can start a terminal on the Pi and use the following code to update all packages: kinemic@kinemic-evaluation-package:~$ sudo apt update && sudo apt upgrade
Note that your Pi needs to be connected to the Internet for this. Should error messages appear when using the graphical tools (e.g. not enough space on /boot
) you can try to solve them by doing the upgrade kinemic@kinemic-evaluation-package:~$ sudo apt update && sudo apt dist-upgrade
via terminal.