Questions tagged [linux]

Linux is a contemporary multi purpose operating system. The Raspberry Pi can run one of a number of Linux distributions, the most popular being the official "Raspberry Pi OS" (formerly Raspbian).

Filter by
Sorted by
Tagged with
0
votes
2answers
31 views

Can preserve LVM partitions while changing sd card and os?

I want to make a NAS storage with Raspberry Pi and attached drive. I would like to create partitions on my drive with LVM, but I'm afraid, that once my sd card with os breaks, I will lose my all data, ...
2
votes
0answers
168 views

spi-bcm2835 fe204000.spi: could not get clk: -517

I'm using Ubuntu Server 20.04 on a Raspberry Pi 4 8GB and shut it down normally yesterday it just says this error on screen when starting the kernel spi-bcm2835 fe204000.spi: could not get clk: -517. ...
0
votes
1answer
22 views

RHELP on a Raspberry Pi 4 Model B

Is it possible to install Red Hat Enterprise Linux on a Raspberry Pi 4 Model B? The model B's OS is on an SD Card. Can I just take this out and install the RHEL on a new SD card? Has anyone done this? ...
1
vote
1answer
86 views

connect raspberry pi to fax machine

I want to connect raspberry to fax machine , because I want cypher message before transmit via landline phone . how can do it , how can interface between rasp and fax machine ?
0
votes
1answer
16 views

Raspberry Pi POCSAG mail script

I have a raspberry pi configured as a POCSAG receiver with a RTL-SDR USB stick. Everything works just perfect, and it receives signals and messages. I then found a script that was supposed to be able ...
0
votes
1answer
23 views

Measure FPS of Application in console mode

I am comparing two applications and therefore need to know which fps a raspberry can produce when you run it. I am looking for a method to do this. It does not matter if it is an overlay or a simple ...
0
votes
0answers
44 views

Any recent success installing and using slic3r on raspberry pi

I have a 3d printer and two raspberry pis. I use one as my main desktop computer and the other I keep plugged in to the 3d printer, running octopi. I am a newbie to 3d printing. I have STL files but I ...
0
votes
1answer
26 views

Is local video streaming site possible?

I'm not familiar with Raspberry Pi and I just want to ask if my idea is possible. I am planning to install Ubuntu and Python 3. I will put all videos in a hard drive, connect it to the raspberry pi, ...
1
vote
0answers
31 views

what is /opt/UEZi5lcy service? [duplicate]

I found this strange service inside /etc/rc.local. I have never put it there and it replaced every line that i wrote. What is this service? I noticed it because it uses 5% of my CPU #!/bin/sh -e /opt/...
4
votes
2answers
150 views

Is Raspbian LINUX?

I'm new to Raspberry pi and there is this one thing that is confusing me. What is the difference between LINUX and Raspbian? Is Raspbian build over LINUX, like the core or the basic layer is LINUX and ...
0
votes
0answers
63 views

“wlan0: carrier lost” untimtly WiFi deconection on raspberry pi 3b+ and pi0 W

I am facing this bug since few days. I am using: Rpi 3b+ or Rpi0W, Buster-lite with last update, Kernel : 4.19.118+ I using Ubiquti WiFi AP and dnsmasq for managing the lan, both working normally with ...
1
vote
2answers
53 views

How can I delete Chromium browser history at boot up on Raspberry Pi-4 b

Playing the online game, Forge of Empires, I get the notice to clear cache. This is run in Chromium Browser on my Raspberry Pi 4 b 4Gb running Raspberry OS 32 bit.
0
votes
1answer
209 views

Raspberry Pi 4 unable to run aarch64 binary with aarch64 kernel

I followed this instruction to enable 64 bit kernel. https://www.raspberrypi.org/forums/viewtopic.php?t=250730 And I am pretty sure now my kernel is 64 bit. $ uname -a Linux RPi4 5.4.51-v8+ #1327 SMP ...
0
votes
1answer
30 views

what metadata is it Raspberry PI thinks I should copy?

I was just reading an installation instruction for raspbian https://www.raspberrypi.org/documentation/installation/installing-images/linux.md when I read this command dd bs=4M if=2020-02-13-raspios-...
1
vote
2answers
143 views

How to unlock password for Pi account

I wanted to control my Pi with my PC via ssh. In the tutorial they recommended making a new account and locking the Pi account(for security purposes). I followed these instructions: 1.)Make New Super ...
0
votes
1answer
34 views

Unable to use aircrack-ng commands after using the argument --bssid with airodump-ng!

I'm using the internal network adapter which comes with the Raspberry Pi 4 and Kali OS's Pi 4. First I type the command airmon-ng check kill The output airmon-ng start wlan0 Then airodump-ng wlan0mon ...
1
vote
1answer
35 views

UART - wiringSerial.h vs standard Linux open/close

I'm making an application that uses the UART port from the 40pin headers and I found online that there's a library called wiringSerial.h I was wondering what's the difference between wiringSerial.h ...
1
vote
1answer
76 views

Backup with dd super slow when run as root

I have a simple script that backups Raspbian to a network share: sudo dd if=/dev/mmcblk0 of="/mnt/NAS/backup.img" When I manually run the script with sudo ./backup.sh, everything is fine, ...
1
vote
1answer
40 views

Error: Index of / Name Size Date Modified. Whenever trying to ftp into Linux

I have set up a vsftp service on linux. It use to work perfectly fine by typing in my browser ftp://kali:@ip-address/. However now whenever i try to do it I get the following message on the page: ...
1
vote
2answers
64 views

Compiling linux kernel from source with external module

So, actually I am using raspberry pi with OS version Stretch and kernel version 4.14.98-v7+. I need to add kernel module for wifi module I use from this repo: https://github.com/LairdCP/Sterling-60-...
0
votes
1answer
41 views

Trying to cd into c89 directory in my Raspberry Pi 4 [closed]

I am a beginner to raspberry pi. So, I am trying to put a sample code using C in raspbian in my RP4 I was successfully able to cd into /usr, and then /bin. So now my bash shows up as: "pi@...
0
votes
1answer
29 views

How to set relative configuration file for my name-password AP?

I would like to connect my RPi3 with wifi attached. I can scan all APs in my office using command "iwlist wlan0 scan". But I can't find IP address at response of ifconfig wlan0. I can connect to an AP ...
1
vote
2answers
45 views

Is it possible to move drives to another raspberry pi without losing data?

I have a raspberry pi with two external drives attached to it. For some mysterious reason it won't start anymore. It freezes during boot. (I believe it's because one of the drives accidentally was ...
3
votes
1answer
303 views

Can't upgrade or install software. Get a strange error that says it failed to fetch data from a very sketchy website

When running the commands: sudo apt-get upgrade sudo apt install xscreensaver I get the error "Failed to fetch https://113store.cr/es/ Writing more data than expected (131072 > 121282)" at the end ...
1
vote
1answer
110 views

Raspbian - Panel Preferences (Panel Items) via Terminal Commands

I'm trying to figure out how to automate the setup of a raspberry pi 3B / 3B+ from its default settings to my customized needs via a bash file on a flash drive. I'm using the standard desktop version. ...
0
votes
1answer
89 views

How to disable services on DietPi (debian linux) and harden the security?

Fresh DietPi install has bitcoin client and all sorts of unnecessary services installed. Which ones can I remove and how? The goal is to have a simple system can displays a website (needs to be able ...
1
vote
0answers
60 views

How do I use the proper linux header extension folder

I am trying to build a TP-Link driver and when I run make I get... "******************************************" "NO SKRC,we will use default KSRC" "******************************************" make ...
0
votes
1answer
37 views

Trying to install OrientDB a run it as service

I'm trying to install OrientDB on my Raspberry 3, and configure it to run it as a service. I'm following the instruction found at here. I downloaded the binaries, and unpacked them at /opt/orientdb/ ...
0
votes
0answers
27 views

Moving /home dir form sd card to USB drive on a Rasspberry pi 4

I'm trying to run Insightface package on raspberry pi 4 after struggling to install all required packages namely cv2 and mxnet but when I exit python or run my program I get “corrupted size vs. ...
0
votes
0answers
24 views

Send signal from php script to python

I am quite new in the raspberry community, but want to use my pi as garage door opener that also creates a slice if humidity outside is lower than inside the garage. Thus, I have written a Python ...
0
votes
1answer
42 views

Abnormal data usage raspbian [duplicate]

I have notice a signification data usage on my pi even when I am not using it. this can be a problem as I am using a IOT sim card with a limited bandwidth. my goal is to stay under 5Mb/day however it'...
0
votes
2answers
71 views

Unable to purge x11 common package group

I'm trying to remove all GUI elements off my raspberry pi 4 and run it headless only, but whenever I try to do sudo apt purge x11-common*, it gives this error: Building dependency tree ...
0
votes
1answer
71 views

Unable to copy to SMB from MacOS

I'm in the process of setting up a shared folder on my Raspberry Pi and am having a hard time figuring out the issue with some of my permissions. I set up my smb.conf file as such: [content] Comment =...
1
vote
1answer
66 views

How to solve this problem? I cant install samba in my Raspberry Pi 3 Always give error

root@MyHome:/# sudo apt-get install samba Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: attr ibverbs-...
1
vote
2answers
61 views

.txt files become empty

I have few .txt files I use to store configuration information for some python and shell scripts on my Pi. They are occasionally read from and very rarely written to. The Pi runs 24/7 mostly but will ...
0
votes
1answer
44 views

I want to mmap the GPIO on Raspberry Pi 4b+ but get invalid argument. (Running Raspbian Buster)

// The c code shown here works: int fd = open("/dev/gpiomem", O_FLAGS); printf("fd = %d\n", fd); long int* addr = mmap(0, 0x1000, PROT_RDWR, ...
0
votes
0answers
27 views

How to make a voting machine using a Rapberry pi?

I'm a newbie on raspberry pi tinkering world, making a small project with R307 fingerprint module this link was quite helpful to get me used to the module later as the writer presents all the ...
1
vote
1answer
43 views

Error installing fakeXrandr library on Raspberry Pi (Ubuntu OS)

I have successfully installed a ubuntu image on my Raspberry Pi 4. I am trying to do some screen customization, and so as a result I'm looking to install this project, fakeXrandr: https://github.com/...
1
vote
1answer
47 views

How to Stop the prompt window - The file is executable. Do you want to execute it?

I created an executable file (say- TestApp) from a python file using pyinstaller. Everything works fine. But every time, if try to open it, this Prompt window will appear. [The file is executable. Do ...
1
vote
0answers
200 views

Traffic Control using Raspberry Pi 3 B+

My router doesn't have bandwidth control per IP/MAC feature. I was wondering if there's a way to use my Raspberry Pi 3+ (that's already used as a pi-hole) to control the bandwidth for each IP/MAC in ...
0
votes
1answer
68 views

Usability of a Pi 4 as a linux-based MIDI synthesizer/sampler

I'm currently using an old Core 2 Duo 1.8GHz laptop, running Lubuntu 18.04, as a synthesizer (technically, sampler) for a USB MIDI controller. It's not great—the processor seems to be too slow to ...
1
vote
1answer
51 views

socket: Address family not supported by protocol error on raspberry pi 3b+ with xenomai

I have been trying to run the xddp-label.c example as given in the xenomai documentation on my raspberry pi model 3b+ with xenomai patched kernel. I can compile the program just fine, but when I try ...
2
votes
1answer
62 views

Monitoring hardware accelerated video decoding

I'm using RPi4 board with Raspbian on top of it I wonder if there is a way to tell if any process currently using hardware accelerated video playback? Ideally it would be nice to be able to say ...
1
vote
1answer
121 views

Raspberry PI https fails

I have a new Pi Zero W. I'm trying to install a Debian (DietPi) onto it but it always fails. I don't have a keyboard and external monitor, so I choose a headless install with predefined wifi key and ...
0
votes
1answer
61 views

Raspbian/Raspberry Pi unexplained data usage

I have noticed that my Pis sometimes use about 100-300 mb randomly in a single day, this happen like once a month or once every two month maybe. any idea if Arabian does some sort of update or ...
2
votes
0answers
54 views

Real Time audio recording from two audio input and playing simultaneously in 2 audio output

I have one Raspberry Pi with 2 USB speakers and a mic system. I want to record simultaneously from one mic and play in another speaker. Like, MicA recording will be played in SpeakerB and MicB ...
1
vote
2answers
97 views

NAT from wlan0 to eth0

I have several industrial machines. Each machine is an isolated network, 10.10.0.0/8, with three elements: A Raspberry Pi, a PLC, and an HMI. The IP addresses of the three components are static and ...
0
votes
2answers
80 views

How do I upload an .ino file into a Arduino Uno from a headless ( No X11 ) Raspberry Pi?

FYI (AKA before people start down voting) I have a simple sketch called test.ino. I can run it from my macbook without issue. However, when I try to hook the Arduino Uno directly up to the raspberry ...
1
vote
1answer
39 views

Back up system to hdd

I have a hdd connected to one of my raspberry pi’s that is on raspbian, now I would like to be able to backup my Linux machines 2 or more to that hdd on a regular basis to help with system restores. ...
1
vote
0answers
73 views

Compile Linux kernel with toolchain built for aarch64 and uClibc

I am using RPI3 model B I have compiled toolchain using crosstool-ng with the following sample. ./ct-ng aarch64-rpi3-linux-gnu Using ./ct-ng menuconfig, I changed C library from glibc to uClibc. ...

1
2 3 4 5
16