Questions tagged [systemd-startup]
Startup programs on boot with systemd services.
15
questions
24
votes
4
answers
69k
views
Make "iw wlan0 set power_save off" permanent
Q How can I make iw wlan0 set power_save off permanent for stretch? What's the proper way to do it?
Edit I'm using an r-Pi 1 Mod. B with an Edimax wifi dongle and Raspian stretch.
3
votes
2
answers
1k
views
execute Python file on Systemstart
I want to run a simple python script like:
import webbrowser
webbrowser.open('http://google.com/', new=2)
when the startup progress of my RPI 4 is finished.
I tried something like "[How to run a ...
2
votes
1
answer
3k
views
Raspberry Pi4 systemctl suspend or systemctl hibernated not supported?
I need to get my Pi4 running Raspbian to sleep or hibernate.
The when I type the commands systemctl suspend or systemctl hibernated I get the error 'not supported'.
Is it possible to enable this ...
37
votes
3
answers
183k
views
How to get PulseAudio running?
I would like to use my Raspberry Pi as an PulseAudio sink that can play audio via the network.
For starters I want to get Pulseaudio running locally and have run into various errors. I am using the ...
1
vote
3
answers
4k
views
Running a script at bootup : Good practices?, rc.local falling, Other options?
I want to run some script at bootup, right now I'm trying to see if can achieve this using rc.local is this even a good practice??
To try out this script that it's supposed to run at bootup I'm am ...
7
votes
1
answer
8k
views
start chromium on raspberry pi in kiosk mode using systemd service instead of through LXDE-pi/autostart
As many people, i'm looking to use my pi as a kiosk. I have managed to get everything running when starting the kiosk.
my kiosk.sh script, which works fine
#!/bin/bash
URL="http://127.0.0.1"
xset s ...
3
votes
1
answer
571
views
Excute python file on start-up
I have a simple python file(no GUI) that I'd like it to run in the background at start-up of raspberry pi 3b.
I checked out this post Execute script on start-up
But it didn't specify what to do with ...
3
votes
4
answers
2k
views
Raspberry Pi run commands on boot
I thought that running commands on raspberry pi on boot was the easiest thing in my project. But it seems that it is complex enough not to work.
I've searched a lot on the internet on a simple ...
2
votes
3
answers
1k
views
Raspberry PI @reboot open xterm windows
Hello i am trying to open two shell scripts on reboot.
Crontab
My crontab is the following
@reboot sh /home/pi/Desktop/autoStart.sh
autoStart.sh
in this shell script is the following
#!/bin/sh
cd /...
2
votes
1
answer
436
views
Running Hologram cellular network from startup issues [cannot run on rc.local or .bashrc]
I’m playing around with the hologram Nova cellular USB kit and I’m trying to create an automatic connection using the /etc/rc.local file. Hologram uses it's own way of connecting to a ppp0 network ...
2
votes
2
answers
5k
views
Disable LAN Interface duirng boot
Is there any option to disable LAN and USB interfaces during boot.
I found options to disable the interfaces using the Following command.
echo 0 | sudo tee /sys/devices/platform/soc/3f980000.usb/...
1
vote
1
answer
9k
views
How to start dnsmasq on boot?
I'm using my RaspberryPi with a 4g dongle as gateway for my wireless AP. The pi is connected to the AP through ethernet eht0 and the external internet comes from the dongle eth1. The dongle connects ...
1
vote
1
answer
408
views
Unable to start a script as a service at boot using openvt (Pi 4)
Before I describe the problem, I just want to mention that I was able to get this working on a Pi 3 under Raspbian Buster. For some reason it's not firing on a Pi 4 under the same OS.
I have a basic ...
1
vote
1
answer
5k
views
Access Point service is not starting on boot with systemd
I've followed this guide to enable both AP and client modes in my RPi 3 at the same time, and it's working fine (some tweaking involved). But now I'm trying to start the AP on boot, which is covered ...
0
votes
3
answers
3k
views
Crontab suddenly doesn't start jobs
I'm suddenly having crontab issues, I didn't do anything other than change the script names and then change them in crontab as well so they all natch, the scripts work if I start them manually, so i'm ...