Questions tagged [raspbian]

A Linux distribution for the Raspberry Pi, derived from Debian

Filter by
Sorted by
Tagged with
0
votes
0answers
86 views

How to verify systemd is working

The goal is to configure systemd to start the minecraft service after boot. A Raspberry Pi 4 was configured as Minecraft server per instructions: https://marctv.com/how-to-run-a-minecraft-server-on-...
0
votes
1answer
21 views

capturing and analyzing packages through Raspberry Pi 4

So I am a beginner to RP4. I am trying to learn more about network security using the Raspberry Pi 4. I managed to set up the raspberry pi 4 as an access point. I am able to connect my personal laptop ...
0
votes
0answers
539 views

After installing Phoniebox/RPi-Jukebox-RFID no sound

I have a RaspberryPi 3B+ running Raspberry Pi OS (32-bit) Lite (Minimal image based on Debian Buster). I added this adafruit speaker bonnet and hooked up two 3W speakers. I followed these instructions ...
0
votes
0answers
32 views

sudo apt update NO_PUBKEY error on raspberry pi 4

Im running Raspbian GNU/Linux 10 (buster) on a Raspberry Pi 4 and trying a project, https://pimylifeup.com/raspberry-pi-internet-speed-monitor/ , where it runs a speedtest and logs the result. I just ...
0
votes
1answer
54 views

Raspberry Pi 4 unmounting half of RAID10 drives after reboot

So here is the situation. I am running Debian 10 on my machine, and I wanted to assemble a RAID10 setup for 4 USB drives connected to my machines ports. I setup the configuration with the command sudo ...
3
votes
1answer
5k views

netcat nc: getnameinfo: Temporary failure in name resolution

I'm on a Raspbian, I've tried to receive data with: nc -4 -l -v -k -p 5004 which result in: Listening on [0.0.0.0] (family 2, port 5004) nc: getnameinfo: Temporary failure in name resolution ...
1
vote
1answer
94 views

How to not get default output from omxplayer in bash

I am using a bash shell, and I am using Python's os.system() to play a wav file using omxplayer every single time it detects motion. I already have it to print "Beep" every time it detects motion, but ...
1
vote
0answers
22 views

How to make reboot require an admin password

I have a Raspberry Pi running Raspbian Buster. It happens sometimes that I misclick on "shutdown" or "reboot" instead of just Logout. And this is very annoying espcially when I click on Shutdown.. How ...
0
votes
0answers
25 views

Command in cron has syntax error; same command entered on command line does not [duplicate]

I'm using a raspberry pi running the latest version of raspbian, buster. In my crontab I have the following lines: SHELL=/bin/bash 0 6 * * * cd hubitat; /usr/bin/wget http://192.168.1.20/hub/...
1
vote
1answer
440 views

How do I retain keyboard setup for my xrdp session?

Running RDP on my Win10 box against my Raspbian distro on an R4 with xrdp. My keyboard layout was not corresponding to my Norwegian keyboard. I followed the advice in Save setxkbmap settings? to get ...
1
vote
1answer
65 views

Get % used of zram in script

I've got a script that collects various bits of system data and reports this via MQTT to a central local server. I recently implemented zram with priority over swap to see if this offers a performance ...
0
votes
0answers
21 views

Is it possible to use a VM as driver?

I want to use a wireless usb adapter for my raspberry pi 4 but there are only drivers available for windows. Since ndiswrapper does not work on a raspberry pi my second idea was to create a VM running ...
0
votes
1answer
137 views

ufw installation error on Raspberry Pi

I am on a Raspberry Pi trying to install the ufw package and have been getting this error I have no idea how to deal with. After running sudo apt install ufw I get these errors: Reading package ...
3
votes
1answer
60 views

Is there a way to make linux open a browser window at login?

How can I make Linux open up Chromium when I log in (I use auto-login on Raspbian)? My browser is already configured to open at an specific page.
3
votes
0answers
81 views

Swap grows slowly with 80% available memory

This has few views - so let me try with a tl;dr Is my claim that there should be plenty of free memory correct? Or am I misinterpreting Meaning of the buffers/cache line in the output of free? Can ...
0
votes
1answer
51 views

Why does 'echo “alias g=/home/user/examplescript” >> ~/.bash_aliases' produce this error: “no authorisation”?

When I try this code in Raspbian Buster terminal: echo "alias g=/home/user/examplescript" >> ~/.bash_aliases I get the error Authorisation Error. Following code works without problem: echo "...
0
votes
0answers
131 views

Thunderbird using 100% of CPU on debian / RaspberryPi 4

I have a raspberry pi 4, not overclocked (so 4x1.5GHz) running raspbian lite (with bare XFCE4 on top). I'm starting thunderbird using ssh -X forwarding (but this happens on a physical display aswell). ...
1
vote
1answer
251 views

mac address of usb ethernet device changes each time on reboot on raspberry pi 3b running raspbian

Mac address of embedded usb ethernet device (smsc95xx driver) is being changed on each reboot - its happening despite adding to the /boot/cmdline.txt smsc95xx.macaddr=00:11:22:33:45:67 - I know that ...
1
vote
0answers
136 views

unable to locate package mssql-server on Raspbian

I bought a Raspberry Pi 4b to execute a bunch of scripts, updating an Azure SQL db. For which, on my laptop running Deepin, I used mssql-tools (sqlcmd and bcp). After setting it up according to ...
1
vote
1answer
973 views

Using rsync to maintain a clone of the SD card for a Raspberry Pi

I have started using the rsync tool to backup data from Raspberry Pi's SD card. The command I use is: sudo rsync -aAHXv --delete --exclude-from=/home/pi/rsync-exclude.txt / /media/pi/PI_BACKUP/ ...
3
votes
2answers
64 views

Finding program or process that is triggering reboot

Every night at exactly 3:00a, my Raspberry reboots, but nothing I have done or am running has triggered this. I would like to identify the "offending" process and disable the rebooting. This is the ...
1
vote
1answer
147 views

Why does iptables fail to block Google sites when using Chrome/Chromium?

I have used the following commands, taken from here: # Allow loopback device (internal communication) sudo iptables -A INPUT -i lo -j ACCEPT sudo iptables -A OUTPUT -o lo -j ACCEPT # Allow all local ...
0
votes
1answer
490 views

Noob: unable to configure mic and speakers to work w/ MMM-AssistantMk2 and MMM-Hotword

I've tried by configuring just Google's AIY HAT which shows speaker and mic under a single card and device (hw: 0,0). I've also tried using a separate USB mic (hw:1,0) called Blue Snowball and the ...
0
votes
1answer
24 views

Are there alternate disk mounters running in Raspbian?

When I boot my Raspberry Pi it can't mount the Samba shares and it halts the booting process. Which is curios since those shares have the nofail option in the fstab file. But to get over this I've ...
1
vote
1answer
1k views

Fresh NTPD install stays unsynchronised

I am trying to get NTP working on a Raspberry Pi using ntpd. I've disabled systemd-timesyncd and installed ntp by using: $ sudo apt-get install ntp But after installing it, ntp does not synchronise ...
1
vote
1answer
17k views

SSH “kex_exchange_identification: read: Connection reset by peer”

The setup: Raspberry 3B running Raspbian Stretch 9 on an external HDD and using ZRAM Raspi used as a webserver running LAMP and MERN stacks and accessed remotely via SSH with 1 IDE (Coda for Mac OS) ...
0
votes
0answers
150 views

mpv cache slowly increasing

I've recently been trying mpv as a replacement for vlc for viewing a local rtsp stream as vlc was laggy and did not stream reliably. Out of the box mpv seemed to work much better in that it streams ...
1
vote
0answers
289 views

Running 64bit applications on a 32bit Raspberry Pi using Raspian

I am looking for a way to run 64 bit applications in the 32bit Raspian OS. I updated the kernel to the newest 64 bit kernel using: sudo rpi-update Then added the 64bit flag to config.txt: ...
0
votes
1answer
2k views

systemd service ends up in “inactive (dead)” after boot

I have added my service to systemd (I am running it on a pi3), it looks like this: [Unit] Description=Oral-B BLE scanner service Wants=network-online.target After=network-online.target ...
0
votes
0answers
28 views

How to delete old networking alias with wrong IPv6 [closed]

I try to ping to my server. Normally I can just go ping foo with foo being the name of the server on the network. I connected the server for a short time via wifi which gave me a second IPv6 for it. ...
0
votes
1answer
99 views

command output to file in crontab doesn't work

I have a problem to show the output of a command on cli and redirect it also to a file on my Raspberry Pi 4 with Raspbian Buster. I start sudo crontab -e. These are my base statements: 0 */5 * * * ...
0
votes
0answers
34 views

apt not installing package, even though it exists on the source

I'm having a problem with some old packages installed on my machines. Some of those packages are very old and insecure. However, apt-get install doesn't recognize new versions, and even when ...
0
votes
1answer
193 views

python script not running from crontab

This is one of the so many questions asked in the forums. I've a script that runs perfectly if I run it from the linux terminal. However when I let it run from crontab at a reboot it doesn't work. I ...
1
vote
0answers
148 views

Why mesh network nodes do not connect to the internet?

I have 3 raspberry Pi 3 connected to a mesh network with batman-adv, a raspberry has a WIFI dongle and is the gateway to the internet. The gateway configuration is: A file named ~/start-batman-adv ...
2
votes
1answer
1k views

HDD disconnects after random intervals on raspberry pi 4

I have a 2.5" hard drive connected to my raspberry pi4 usb 3.0 port (it draws power from the raspberry pi). I have used my drive on windows machines before and had 0 problems. After connecting to the ...
0
votes
2answers
303 views

Very slow printing with Dymo Label-Printer on Raspbian and CUPS

I have a problem with label printing on a Raspberry Pi: When I start a print on a Dymo LabelWriter 450 Turbo with CUPS and drivers from matthiasbock/dymo-cups-drivers it takes about 6-7 seconds until ...
1
vote
0answers
120 views

USB Support in Qemu User Mode Emulation

I have a CLI program compiled for x86_64 for which I have no source code (a firmware programming utility). I would like to run this on a Raspberry Pi. The program runs fine using Qemu user mode ...
0
votes
0answers
119 views

Unable to mount root file system as read-only at boot

I am running Raspbian Buster on a raspberry pi, and I have tried to make the filesystem read-only as I don't need to write data and I want to spare my sdcard. I have followed a guide that basically: ...
1
vote
1answer
75 views

Simultaneous WiFi connections

I've been trying to configure my PI to connect to two networks at the same time with inconsistent results. I am using both the built in adapter and a USB adapter. The USB adapter reports as a Edimax ...
1
vote
1answer
325 views

Is it normal to have two running wpa_supplicants?

I'm trying to debug issues with wifi connectivity of my RPi 3 (it just randomly loses connection sometimes). And I noticed that ps aux | grep wpa_supplicant gives me: root 310 0.0 0.4 10708 ...
0
votes
0answers
21 views

system-resolvd starts using local nameserver as DNS whenever network is not available

I have an IoT device that is connected to a node via a local wireless network. After doing the computations, the device tries to posts the data to the cloud. The device is connected to the internet ...
1
vote
0answers
43 views

How to communicate with plymouth (splash screen software) programmatically?

I'm not running X server or Wayland, I'm writing an OpenGL application and I want it to stop right after plymouth starts displaying shutdown splash screen... I tried simply stopping it on shutdown, ...
1
vote
1answer
72 views

Files Written to External USB Disk are taking up Internal Storage Space

Forgive me if I'm in the wrong Stack, this seemed like a more general Linux thing, so I posted here. Np if I need to take it elsewhere. Also I'm pretty new to Linux so please be patient. Hardware= ...
0
votes
1answer
24 views

How to use my Arch Linux machine to access my Raspberry Pi, which is on the local network?

I have Raspbian installed on my Raspberry Pi Zero, which is connected to my internet modem by Ethernet cable. My Arch Linux desktop computer also is connected to my modem via Ethernet cable. How do ...
0
votes
1answer
187 views

Problem install scipy on Python 3

I am running Linux on Rasbpian and using Python 3.7.3. I have tried for days to install scipy but unsuccessful. I have tried pip, pip3, apt-get etc.. I have even tried uninstalling and re-installing ...
0
votes
1answer
44 views

Raspberry Pi Start python script during boot

I have a Raspberry Pi which has a I2C 16x2 display screen. The screen simply say Welcome. Problem: I would like for this script to run as soon as the Raspberry Pi is turns on with power. I added ...
3
votes
1answer
670 views

Trigger a script on WiFi connect-disconnect event in raspberry Pi

I am a newbie with Raspberry Pi. I am having one Pi3 and one Pi Zero. Pi3 is acting as a router and my PiZero is connected with it. I want to trigger a script on connect-disconnect event. I have ...
3
votes
1answer
130 views

Question on L3 'pseudo-bridge' implementation for Raspberry Pi 4B

We have implemented, on the Raspberry Pi 4B, a L3 "pseudo-bridge" using Proxy ARP (parprouted) under the static configuration guidance given by user Ingo found here to provide a local database to our ...
0
votes
1answer
74 views

libcups2-dev won't install because of libcupsimage2-dev

I'm running Raspbian and want to install Splix, for which I need libcupsimage2-dev, so I installed it using apt-get, which yielded an error saying it has a dependency on "libcupsimage2-dev" which won'...
2
votes
1answer
208 views

USB network adapter claims to work at 100 Mpbs, but router says it's 10 Mbps

I have a cheapo USB Ethernet adapter connected to Raspberry Pi Zero. When I log into my router's interface, I can see that the connection speed is 10 Mbps. However ethtool eth0 says that it's 100 Mbps ...

1 2
3
4 5
18