Questions tagged [systemd]

Systemd is an init system developed for use on GNU/Linux, generally replacing the old SysV daemon.

Further reading:

186 questions
28
votes
4 answers

Setting up a Raspberry Pi as an access point - the easy way

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…
Ingo
  • 42,961
  • 20
  • 87
  • 207
22
votes
8 answers

Force IPv4 address

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…
John Smith
  • 1,251
  • 3
  • 18
  • 27
16
votes
1 answer

Automatically Create Hotspot if no Network is Available

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…
12
votes
3 answers

How to build custom OS for Raspberry pi from scratch?

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…
CenTauR
  • 123
  • 1
  • 1
  • 4
9
votes
3 answers

How can I delay the startup of systemd services until the datetime is set (no RTC on the Raspberry Pi)

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…
monok
  • 255
  • 2
  • 4
  • 13
9
votes
1 answer

How to correctly restart wpa_supplicant debug with networkd-systemd?

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…
dazz
  • 175
  • 1
  • 1
  • 9
8
votes
3 answers

Custom splash screen on Raspbian Jessie?

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…
Kirby
  • 238
  • 1
  • 2
  • 9
8
votes
4 answers

Wireguard "Unknown device type" "Protocol not supported"

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: #…
ki9
  • 295
  • 1
  • 3
  • 11
7
votes
2 answers

How to avoid fsck at boot timing out

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…
Matthew Exon
  • 313
  • 2
  • 4
  • 9
7
votes
1 answer

How to set custom NTP servers in recent raspbian (Stretch) systems?

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…
Jeremy Impson
  • 283
  • 1
  • 3
  • 9
7
votes
2 answers

OSMC: how to execute a script with systemd at shutdown

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…
Number42
  • 71
  • 2
6
votes
1 answer

How to setup an unprotected Ad Hoc (IBSS) Network and if possible with WPA encryption?

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…
Ingo
  • 42,961
  • 20
  • 87
  • 207
6
votes
3 answers

Auto login in Jessie. How?

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…
Omid1989
  • 662
  • 2
  • 14
  • 29
6
votes
1 answer

Essential parts for booting the Raspberry Pi 2

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…
fhmgufs
  • 115
  • 6
6
votes
4 answers

How to start OpenVPN at boot on Raspbian Jessie

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…
haadaa
  • 91
  • 1
  • 1
  • 8
1
2 3
12 13