Questions tagged [linux]

Linux is a high-profile computer operating system. The Raspberry Pi can run one of a number of Linux distributions, the most pupular being Raspbian (Debian-based) and Arch Linux.

Filter by
Sorted by
Tagged with
14
votes
3answers
3k views

Where is Raspberry Pi “wastebasket” located in the file system?

I am trying to understand the Raspbian file system better. I opened properties on the Raspberry Pi's "Wastebasket" hoping to find out where it is located in the file system and I found trash:///. ...
0
votes
0answers
31 views

How to fix ssh connection that's been broken by dhcpcd service

I'm accessing my Pi Zero W over ssh and I recently wanted to assign it an own network (I want it to host a webserver in it's own private network). I tried following this tutorial (unfortunately it's ...
1
vote
2answers
35 views

wpa_supplicant: sync channels between two wireless (virtual) interfaces

I'm working with a raspberry pi zero w with a stripped down distro - NARD, and I would like to use two virtual wireless interfaces, one running in AP mode (service network) and the other connecting to ...
1
vote
1answer
87 views

PedalPi, lag when piping in data

I am modifying a pedal pi (link here). I split the input program from the output program. For simplicity right now, that all it does. The standard out from my input program is being fed to the ...
1
vote
1answer
44 views

systemd service enabled doesnt start on boot

Im having troubleshooting configuring systemd with rtorrent and screen in my raspberry pi. I have the service unit file configured and when i start it manually with systemctl start rtorrent it starts ...
2
votes
1answer
41 views

USB device not found in lxsession mode

When I use the desktop mode of Raspbian, I can find the connected USB device on my Pi in this path: /media/pi/'My Usb Disk' But when I use chromium web kiosk mode and lxsession I cannot find the ...
0
votes
1answer
20 views

polling gpio raspberry 2 doesn't work

i'm writing a library for my raspberry pi 2 for gpio control. I'm trying to test a function for read a gpio driven by interrupts with sysfs but i can't do that my function stops in poll() function. ...
0
votes
0answers
29 views

Problem with rc.local to start a script after linux boot

I made a startup.sh script to start my aplication 10 seconds after the linux boot. The script, startup.sh, works very good, it wait 10 seconds to run my application (terminal). I put the path of this ...
2
votes
1answer
35 views

Raspberry Pi Compute WiFi module via USB

I am designing a board around the RBp Compute and would like to add WiFi connectivity to this device. However, I do plan on using USB 2.0 for its datarate (e.g. to send and receive images), so the ...
1
vote
1answer
53 views

python script not launching when put into crontab

I have two python scripts, flickSwitch.py & measureTemp.py, the first calls the second when a button is pressed. All works fine when run directly from /home/pi. I put the first script into ...
1
vote
1answer
45 views

I accedently deleted the trashcan icon for the desktop (I accidentally selected remove from desktop when I right clicked) how can I get it back?

I tried to fix it but I am new to raspberry pi/Linux stuff so I have no idea what I did... Please help
0
votes
0answers
14 views

Character driver for i2s - Pi hangs on interrupt handling

Lately I have been writing a linux loadable kernel module which is a character driver for the BCM/I2S interface of the BCM2835. I need this to access a specific i2s codec. Although generally ...
0
votes
0answers
65 views

Raspberry pi 4 Hostname always changing

I have a raspberry pi 4 with raspbian buster installed. I set the hostname using raspi-config to "myrpi". I can connect to it using ssh and it works fine. But after a few hours or so, the hostname ...
0
votes
0answers
30 views

Rainbow screen issue with raspberry pi 3 model b+

I am using Raspberry pi 3 Model B+ and using Ubuntu Mate operating system not Raspbian Os I am also using raspberry pi 3 supportable original charger of 5.1V 2.5A. still i am facing the same rainbow ...
1
vote
1answer
25 views

Fresh new slackware arm install, unable to log into my raspberry pie 3

I have been trying to install slackware arm (slackware arm current 4.19.81-7+) on my Raspberry pi 3. After i have installed it successfully (following this guide), i was unable to login due to the ...
0
votes
0answers
444 views

Is there anyway to install pfsense on raspberry by using linux distro as base OS?

I need to run pfsense on raspberry pi but since the architectures are different is there any possibility if i install some linux OS on raspberry and run pfsense on that linux OS.
2
votes
1answer
62 views

How to get acces torrents using Transmission?

I have installed transmission on my raspberry pi and im going to use it to download audiobooks and stuff like that. The torrent I tried to download is now in .torrent format (/.config/transmission-...
0
votes
1answer
223 views

Run GuixSD distribution on raspberrypi

How we can load a guixsd distribution on raspberry pi? As you know guix is a unix package and guixsd is an operation system that has guix inside itself. In the below link is the different download ...
1
vote
0answers
16 views

Reconfigure xserver?

I was installing different DEs like KDE Plasma and Cinnamon on Rasbian buster. I uninstalled KDE and I’m using Cinnamon as my permanent DE, but somehow KDE reconfigured xserver so that even now with ...
0
votes
1answer
2k views

Rpi4B and Midas 10" 1280 x 800 HDMI Monitor Interface Problem

I have a raspberry pi 4 using the latest Os but I cant get anything to display on my monitor the monitor I am using is MCT101HDMI-A I have tried another monitor and it display works so I know nothing ...
1
vote
2answers
64 views

Start smartcard service at startup in a raspberry pi

I have a raspberry pi connected to smart card reader (OMNIKEY 3121). I installed all driver and libraries needed. In order to use the card reader it is necessary to activate its service: sudo ...
1
vote
1answer
75 views

What is the difference between the Yocto and Raspbian?

Recently I come to about the IIoT solution of siemens which have Yocto Linux https://www.14core.com/siemens-simatic-iot2000-iot2020-iot2040-arduino-ide-integration/. As I am already working on ...
0
votes
0answers
18 views

Raspberry pi 1 B+ with Xenomai do not boot

I try to copy the image of one Linux distribution which is given here: https://github.com/miquelraynal/real-time-rpi on my raspberry pi 1 B+ I copied it this way, as shown in the tutorial. cp rpi-...
0
votes
1answer
47 views

Running script after reboot does not work

I have a simple script will runs a loop that reads off temp data in the console from a sensor and then writes it to a file. I would like to make sure that this script starts running right after my pi ...
0
votes
0answers
99 views

Installing PiVPN failed to connect port 443

https://www.youtube.com/watch?v=WA7QTM9hovQ&t=119s The first time I tried to install PiVPN on my Raspberry Pi 3 B+ (Linux raspberrypi 4.19.58-v7, Raspbian GNU/Linux 10 (buster)) with the steps in ...
1
vote
0answers
53 views

Problems with cifs/ntfs

I've been working on setting up Transmission to download to my NAS, which has a shared NTFS directory. I'm getting an error "Error: Permission denied (/mnt/ntfs/...) I understand this has to do with ...
0
votes
1answer
172 views

Which OS for a Raspberry Pi webserver? [closed]

I want to turn a Raspberry 3 B+ into an webserver, but I am not sure which OS I should choose. I have some experience with Ubuntu server, but in the internet I often read that you should use Raspbian, ...
1
vote
1answer
55 views

Can't return any values from ttyUSB0

I'm using a SICK S300 scanner connected via Diagnostic cable to my Raspberry Pi, and it shows the connection as /dev/ttyUSB0 however I can't retrieve any data from it whatsoever. Here is a simple ...
0
votes
1answer
143 views

Setting gpio input interrupt with direct memory access?

I am new learner for raspberry pi 3B+, I ever study stm32 mcu, but it's my first time to use an Linux OS on a developing board. I read the BCM2837-ARM-Peripherals manaul and learn how to turn on and ...
0
votes
0answers
836 views

Warning: modules_install: missing 'System.map' file. Skipping depmod

I am trying to insert a kernel module using depmod and modprobe utilities in-order to resolve any dependencies. When I build the module it throws "Warning: modules_install: missing 'System.map' file. ...
1
vote
0answers
69 views

Where does the Raspberry PI 3 b+ IO peripherals mapped in the ARM virtual address space?

BCM2835 data sheet The earlier version of Raspberry PI (BCM 2835) data sheet shows that the IO Peripherals are mapped from starting address - 0x20000000 - In ARM physical address space 0xF2000000 - ...
1
vote
1answer
38 views

Scanning WiFi Signals as regular user

As per this: https://linux.die.net/man/8/iwlist I understand that scanning of WiFi Networks requires root access. If you are a regular user than you can only see the Wifi Network you are connected ...
1
vote
1answer
217 views

Arecord: “main:828: device or resource busy” when run via systemd service, but works fine from CLI

I have a python script which, when a GPIO button is pressed, launches an arecord process. This records audio from a USB microphone (plughw:CARD=GS3,DEV=0) and pipes it to another program for ...
1
vote
1answer
32 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/...
0
votes
1answer
686 views

4 pin PWM Fan to Rasberry

I would like to buy a Noctua NF-A4x10 5V PWM which is PWM enabled 5V Fan for 4 pins. So I would like be able to control it via code. Here is a question:As I said, its for 4 pins. How can I plug it? Is ...
-1
votes
1answer
215 views

How to set the SESSION_MANAGER environment variable?

I'm designing a GUI app using wxWidgets. My requirement is to open an image from within the app. For that I'm calling wxTheMimeTypesManager->GetFileTypeFromExtension(wxT("png")). Unfortunately, ...
4
votes
3answers
3k views

Booting Alpine linux on Raspberry Pi 4

has anyone had success running Alpine Linux on the Raspberry Pi 4? I have copied the contents of the Alpine release for rpi 64bit from here to an SD Card formatted with FAT32, but I only get to the ...
1
vote
0answers
150 views

Linux VPN server without port forwarding

I want to make a VPN server on my raspberry PI. I know it's pretty much simple task but my router does not support port forwarding. So is there any other way to do that?
2
votes
0answers
376 views

Raspberry PI infrared remote

I have been trying for the past week to make a simple system to switch my air conditioning ON/OFF based on raspberry pi. I have my IR VS1838B infrared receiver, and a small circuit build out of a ...
1
vote
0answers
102 views

install eclipse luna on raspberry pi 3

I'm new here and I want to ask if there is any way to install eclipse luna or higher on raspberry pi. I'm using Rasbian and the already installed Eclipse (3.8) sudo apt install eclipse doesn't ...
0
votes
1answer
31 views

Can I download Raspbian update packages on a Redhat Linux Server?

I have a Redhat Linux Server that I'm running and I'm trying to create a update repository for Raspberry Pis, is it possible to download the update packages to my Redhat server, and if so, how?
0
votes
2answers
66 views

How do I download raspberry pi updates to a linux server [closed]

Relativity new to Raspberry Pi and Linux in general, but essentially I'm trying to create an update repository for my Raspberry Pis via a separate Linux server, how would I go about doing this? On the ...
1
vote
0answers
150 views

Facing issue in loading Ethernet Interface for Raspberry Pi 3 B+ buildroot

I am building a Custom OS using Buildroot. I am following this article to build the custom os. Author of that article gave a sample image of the os that will be created after the build is completed. ...
2
votes
0answers
250 views

Touchscreen xinput calibration not working

I want to calibrate a touchscreen named "eGalax Inc. USB TouchController" on my Raspberry Pi. I think X and Y axes of the touchscreen are inverted. I used xinput_calibrator for this purpose. When I ...
0
votes
0answers
28 views

How do I change my Pi's bluetooth profile for it to show up as a bluetooth device not an audio device?

I want to give the pi a profile such that I can send and receive messages from it. However, in the list of bluetooth devices, it is showing up as an media device.
0
votes
1answer
47 views

Boot's cmdline.txt and config.txt files changed after install new package in rasbian at pi zero (USB OTG Connection)

I am using raspberry zero with USB OTG to my linux LMDE based this instruction , so when i install something like lcd 5inch driver, the files which changed in the boot's SD card folder. and the files ...
1
vote
1answer
50 views

IP address randomly changed wlan0

I had an issue related to IP change. Is it typical for a Raspberry Pi to randomly change the IP? When I ran the command ifconfig, I noticed that under wlan0 inet, my IP address changed. I was made ...
0
votes
0answers
97 views

How do you set up Squid Proxy behind DHCP router?

I installed Squid on my RPi-3 for use behind a DHCP router. However, the pi will not route traffic back and forth between my computer because my router's DHCP settings. I don't want to give my router ...
1
vote
1answer
108 views

chrome won't install because of architecture?

I am trying to install Chrome on a 64 bit, see all info below. I also tried this on Ubuntu and get the same thing. Chrome won't install because of the architecture. I am some what knowledgeable with ...
7
votes
0answers
255 views

Cannot Use SPI frequency above 500 kHz

I am running Arch Linux ARM on a Raspberry Pi 2 Model B, and I am attempting to communicate with a TFT display. I am writing a kernel module to interface with the display using SPI, and it works, but ...