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
1answer
290 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
2answers
70 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 ...
1
vote
1answer
124 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-...
0
votes
1answer
351 views

Install Emotiv Xavier Control Panel on Raspberry Pi3 / Raspbian Stretch

I want to install Emotive Xavier Control Panel on a Raspberry Pi3, running Raspbian Sretch. A version exists for Ubuntu Linux. Can I install this on my Pi?
0
votes
1answer
123 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, ...
2
votes
1answer
2k views

Cross compiling Qt on windows for raspberry pi, missing xcb dependencies

I am trying to start with Qt for Raspberry Pi on a Windows Dev System. To begin with to setup the environment, I followed the below as per the official wiki page. From starting at various stages, I ...
0
votes
0answers
57 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
70 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
107 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
644 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 ...
1
vote
1answer
84 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 ...
1
vote
2answers
407 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 ...
2
votes
1answer
92 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
176 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 ...
1
vote
1answer
40 views

What database should I use for an application that will be deployed on both Linux (raspb pi) and Android

I'm building an application that will be deployed on two different platforms simultaneously (Linux (raspb pi) and Android/web). I'm using Python for Linux and either Python or JavaScript for Android/...
-1
votes
1answer
114 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
104 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
3answers
761 views

What libraries do I need to write a desktop application for Raspbian with Visual Studio “C++ for Linux” and remote GDB Debugging?

So I bought a Raspberry Pi 3 Model B ("Pi") that I run Raspbian on. I found this tutorial and I've managed to connect to my Pi from Visual Studio and run the example program that was included in the ...
2
votes
2answers
2k views

Raspberry unbootable after unexpected shutdown

I have a raspberry Pi, Model B. I installed Raspbian on the SD card and I would like to use it as a SVN server. The problem is that when it shuts down unexpectedly (i.e. there is a blackout, or DC ...
1
vote
1answer
2k views

Raspberry Pi 3 BLE scanning failure

I am trying to implement the next code to scan for BLE devices: #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/socket.h> #include <bluetooth/...
0
votes
2answers
200 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
74 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
1answer
49 views

hi i have problem in kali linys

kali@kali:~$ sudo apt install tor Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: tor-geoipdb ...
1
vote
0answers
158 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
vote
0answers
257 views

RPI Serial Communication through USB

I am trying to set up serial communication between my Raspberry Pi Zero W and my PSoC. I want to do this through a normal microUSB to USB 2.0 converter cable, which looks somewhat like this picture: ...
3
votes
1answer
1k views

Cannot install kali-linux-full in raspberry PI 4

I have downloaded the image from the offensive security website and I got kali running but I can't seem to find a way to install the full kali package(kali-linux-full). The packages that come bundled ...
0
votes
1answer
53 views

vncserver don't work by no error in raspberry

I have one raspberry zero which settled before correctly and can connect to it by LMDE Linux, but after changing the Linux ti Ubuntu i have problem in working by ti and asked here: Ubuntu WiFi ...
0
votes
0answers
40 views

Why does OOM killer output not appear in dmesg?

I've got a Buster box (10.2) and I'm investigating some system freezes. While going through that, I think I'm not getting the OOM output in the syslog. For instance, running tail /dev/zero which is ...
0
votes
1answer
968 views

Programming Raspberry Pi Camera with C instead of terminal commands

Disclaimer: not so advanced here! Let me explain why I am looking for C code because the motivation itself maybe flawed. If I want to transport my Raspberry Pi project to the realm of customized ...
1
vote
0answers
597 views

Tor Router Raspberry pi 4 Access-Point no internet connection [closed]

I am trying to create a Tor Router with a Raspberry Pi 4, the newest raspbian version, the inbuild Wlan0-Card for the Access-Point and a external Edimax Usb Wlan1-Card to get a internet connection. I ...
0
votes
1answer
168 views

Lxde raspberry pi autostart variable not working

I cant use my variables in the next autostart @$x="https://mypage.com/#" @y=`cat /proc/cpuinfo | grep Serial | cut -d ' ' -f 2` @chromium-browser --incognito $x$y the y variable get the serial ...
2
votes
2answers
3k views

How to disable logs?

How do I permanently disable all logs that appear in /var/log/? I tried "service rsyslog stop", "systemctl disable rsyslog" but it still logs stuff because I type "sudo journalctl --vacuum-time=1s" ...
0
votes
2answers
569 views

Can the Pi run an embedded RTOS other than Linux?

I have a hobby project that requires a real-time MCU running an embedded RTOS like embox or something comparable. I know that it is typical for the RPi to be ran with a Linux flavor like Raspian, ...
2
votes
1answer
3k views

How to connect 3W 8Ω speakers to Raspberry Pi 3.5mm audio jack?

I have a pair of 3 Watt 8 Ohm speakers. https://www.amazon.in/JST-interface-Production-Raspberry-Projects/dp/B0738NLFTG My questions: I want to connect it Raspberry pi 3. How can I do that? From ...
1
vote
2answers
403 views

raspberry pi4 -> RemoteApp -> Windows 10

I’m trying to figure out a way to run a raspberry pi as a very basic desktop using linux, but with the ability to “run” a program stored on a Windows 10 Pro-N “server” in the house. Basically (and ...
1
vote
0answers
131 views

Linux driver support for OV4689

I am working on Camera driver in Linux. We used camera module with OV4689 IC. Below is the link https://www.arducam.com/product/1-3-ov4689-sensor-standalone-camera-module-uc4689-a46/ Any one used ...
2
votes
2answers
156 views

How to automate filesystem expansion

I have 3 commands I have to run manually to expand my USB filesystem. I am looking for help on automating this in a script that does not need user input at all. I understand you can expand the ...
-1
votes
1answer
49 views

automate filesystem expansion - booting from a USB Drive (8GB Image burned to 32GB USB)

I have an 8GB image that is burned to a 32GB USB drive. How can I automate this filesystem expansion process? Is there a script I can create to expand the USB correctly and fully? How can I find the ...
1
vote
2answers
1k views

Raspberry Pi 4 want boot Kali Linux, LCD screen shows “No Signal”

I want to boot Kali Linux with my Raspberry Pi. I have downloaded ISO file for Raspberry from this site. When I power on Raspberry, the LCD screen just shows "No Signal". HDMI cable is connected - I ...
0
votes
1answer
182 views

Bash Script not executing on system reboot (Linux) Ubuntu

I have a following script #!/bin/bash cd /var/www/html/bin/warpper/ source venv/bin/activate screen -A -m -d -S screen_celery celery -A tasks.celery worker --loglevel=info -c1 screen -A -m -d -S ...
0
votes
0answers
292 views

How can I setup pi-hole next together with another website securely on the same raspberry?

I'm hosting a nextcloud instance, accessible via a free subdomain, on my raspberry pi. For this purpose I run an apache server on my rasperry and I forwarded port 443 on my router. Now I've also ...
2
votes
1answer
41 views

To perform only one task

How can we prioritize raspberry-pi3b+ model so that if my "code on python" is running then the raspberry-pi should not perform any other task in background. Since i have to calculate time taken by my ...
1
vote
1answer
118 views

Writing to GPIO 1 (ID_SC) witth Pigpiod C interface

I am writing a general-purpose stepper motor driver C shared library for the Raspberry Pi using PIGPIO (pigpiod C interface) for 4 to 7 motors using A4988 drivers. I designed an interface board (...
2
votes
0answers
114 views

Mount network share on boot with hidden password

When I was trying to mount a network share on boot by adding the following line to the /etc/fstab file: //<server>/folder /home/pi/target cifs username=<username>,password=<password&...
0
votes
2answers
239 views

Broken /etc/network/interfaces file

So at first I had a problem with my raspberry pi connecting to any Wi-Fi connection because of an error which sounds like this "no wireless interfaces found". I've tried several fixes, nothing worked ...
-1
votes
1answer
138 views

cant open image from rc.local

I would like to open image from rc.local. I am sure rc.local is getting called during boot as it execute/run test c++ code. I tried with various image viewer like gpicview , mirage. I can try with ...
0
votes
1answer
892 views

Raspberry Pi 3 Linphone Calling

So I am working on a project where I have to be able to make sip calls to a raspberry pi 3 and have it automatically answer any incoming calls. I have been reading this guide: https://wiki.linphone....
0
votes
0answers
48 views

Usb drive not showing in autorun lxterminal but is shown in gui windows?

First of all Thanks a lot for answering my question. When Raspberry pi boots up normally, and in terminal I give the command ->cd /media/pi ->dir I can see my Pendrive name Here and files inside. ...
3
votes
0answers
136 views

Coin acceptor misbehave when connected on raspberry pi

I have a Bill note acceptor and a Coin acceptor, and I have wrote a program in C# to communicate with these two machines, and it worked perfectly on windows, after that I migrated this application to ...
1
vote
1answer
216 views

Exclude kernel modules from plain Buildroot 2016.05 image

Buildroot is a great tool for creating a custom embedded linux system. If one builds a plain system without any changes from the default configuration using the current 2016.05 version one ends up ...

1 2 3
4
5
16