I know how to do it the classic way as described for example by the official documentation at Wireless connectivity. But that needs many different components which must play together and each component must be configured its own way. These are…
I upgraded my Raspberry Pi to Jessie, which uses systemd. One side-effect is that it connects using IPv6 only and does not have an IPv4 address. How can I force it to get an IPv4 address from the DHCP server?
One ad-hoc solution is the command
sudo…
I want to automatically create an access point, if there is no network found, so that I can connect to my Raspberry Pi everywhere.
If nobody is connected to the hotspot for a while it should search for the networks defined in wpa_supplicant.conf…
I am new to kernel and embedded Linux. I have recently bought a Raspberry Pi and booted it using the Raspbian. I was fascinated by the Pi, to learn more on Embedded I have decided to make an home automation system. I wanted to use my own kernel, and…
When I shutdown and power off the Raspberry Pi 3b and then power it up again the next day, I get wrong starting date/time printed when checking sudo systemctl status DustSensor. The printed date/time is from the date/time of the shutdown.
How can I…
I am trying to debug setting up wifi with networkd-systemd managing wpa_supplicant. The overall objective is to get wifi AP and managed client modes working at the same time. I can get managed client working. I can't get the AP mode working.
To…
Lots of websites explain how to do a splash screen on the Pi with SysV init, but I couldn't find any info on how to do it with systemd on Jessie.
I tried just "converting" the init-script to a systemd-service, but it doesn't do anything.
Has anyone…
I recently installed Raspberry Pi OS on my Pi 3b. After some basic configuration and running raspi-config, I installed wireguard using apt and the debian backport repos, according to a tutorial.
I wasn't able to start the service though:
#…
If the raspberry pi doesn't shut down cleanly, it forces a fsck at boot. My filesystem is on a 64GB micro SD card and it takes quite a while to fsck. Before the fsck finishes, a couple of services timeout, so it ends up in emergency mode. This…
How do I set the NTP server setting to a custom value in recent versions of Raspbian? I've noticed in a Stretch image that /etc/ntpd.conf does not exist in the default full image, nor is ntpd process running or even installed, yet when on an…
I am really hoping to find some advice here. I am trying to setup a service in systemd that executes a .sh script at shutdown (and only at shutdown, halt and/or poweroff; NOT at reboot) of the the Pi. The service script is located in…
There are several tutorials out there to setup an Ad Hoc network, for example Ad Hoc setup in RPi 3. But how can I do this using systemd-networkd? And all what I've found is using unprotected communication without encryption. Is it possible to use a…
I want to auto login to the terminal after boot (Jessie).
I tried the instructions here (http://elinux.org/RPi_Debian_Auto_Login), but it didn't work. I think the problem is the new systemd init structure in Jessie.
So, is there any method to auto…
This git repository contains pre-compiled binaries of the current Raspberry Pi kernel and modules, userspace libraries, and bootloader/GPU firmware, as you can read it in the README file: https://github.com/raspberrypi/firmware.
What do I need to…
While I can start OpenVPN manually with sudo systemctl start openvpn@server.service ("server" being the name of my config file), trying to get OpenVPN to open automatically after a reboot after having set up the required symlink with the command…