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
191 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 ...
0
votes
1answer
343 views

SIP Generator Error Installing ROS Melodic on Raspberry Pi 4

I've been attempting to install ROS Melodic on my Raspberry Pi 4 (running Raspbian Stretch) according to the instructions on this webpage: [https://www.instructables.com/id/ROS-Melodic-on-Raspberry-...
1
vote
1answer
508 views

Raspberry pi3 TFT screen setup

EDIT: This is the the screen I bought This is my first post here so I hope I do not screw up too much... I have a raspberry pi3 with 3.5inch tft resistive touchscreen display (720x480) connected via ...
0
votes
0answers
12 views

How do I share the Internet Connection to the Raspberry Pi using a secondary USB LAN (which is also used to connect the Pi and Desktop)?

First I tried connecting the Raspberry and Desktop only via default LAN on desktop (PI was working but there was no internet connection) because the only LAN was used to connect PC and Raspberry. Then ...
0
votes
1answer
12 views

Connect my Raspberry Pi, running an OpenVPN server with clients, to an external VPN Server

I want to connect my Raspberry Pi with OpenVPN Server on it to an external VPN Server, such that all (outgoing) traffic of the connected clients to my RPi going through my server is tunneled through ...
1
vote
2answers
4k views

How do I detect if a usb input device is plugged in?

I am using xboxdrv for my MAME controls, however I also want to use my arcade controls via the GPIO also. To do this, on boot up if a xbox controller is detected, I want to load the xboxdrv program, ...
0
votes
0answers
14 views

Gstreamer: Stream low latency video from Raspberry Pi (Tx) to Raspberry Pi (Rx)

Goal I'm working on a project with modules. A module contains for example a Raspberry Pi and some additional hardware. What I'm currently trying to do is using the camera of Pi A as input and stream ...
1
vote
1answer
471 views

Stuck on Rainbow Screen after kernel upgrade on CentOS7

I ran 'yum update' on my Raspberry Pi3 running Centos7, and now it will not boot. Both LED's are solid (no flashing) and it does not get past the 'Rainbow Screen'. The following packages were ...
1
vote
1answer
489 views

Raspbian compile single kernel module gfs2

I'm trying my best to get GFS2 mounted on top of a dual-primary DRDB /dev/drdb0 volume on Raspbian, but I'm hitting an issue. The DRBD volume has a working stonith/fencing cluster setup using ...
-2
votes
0answers
19 views

Kali Linux Raspberry Pi Connection Fail [closed]

I have a problem. When I try to connect to my RPi via cable it doesn't work. I'm using Kali Linux on my laptop and it's just trying to connect to the internet. But I have to connect via cable. Does ...
0
votes
1answer
153 views

Cannot install PureAdmin on my Raspberry Pi

I try to build my own FTP server. I already installed pure-ftpd and created a user for the FTP connection. It works well, but now I would like to have virtual users, for which I need install PureAdmin ...
0
votes
1answer
32 views

USB Button with LED

I need for my raspberry a USB connected device like a button that can be color illuminated and can be pressed. I want to use it to trigger at my raspberry certain actions in sw. I fond this https://...
-1
votes
0answers
5 views

ERROR: Virtual Raspbian on Qemu in WSL

I am trying to emulate Raspberry-pi/Raspbian with QEMU on my WSL. I followed this link and did the following steps $ mkdir ~/qemu_vms/ Download/copy Raspbian Wheezy to ~/qemu_vms/ Download kernel-qemu ...
1
vote
1answer
178 views

How can I restore the default toolbar or add apps from the command line?

So I was messing around with the toolbar and ended up deleting the whole panel. When I rebooted my Pi, the panel came back, but it was empty, so I opened the toolbar editor, and was able to add an ...
1
vote
1answer
584 views

Kernel Development with Raspberry Pi

I want to start working and playing with linux kernel. Instead of trying on my own system, I want to do the same on raspberry pi. I want to compile my own kernel and start working on my first kernel ...
0
votes
1answer
47 views

usb3 to hdmi on linux - why can my chromebox do it, but my ras pi can't?

i should mention I'm a linux newb. I only use dumb redhat servers at work (barely) but hate windows so much i've got a chromebox and ras pi 4 to try to free myself. and my apps. i've found that ...
1
vote
2answers
116 views

Good KDE distros for RP4?

I’m looking to work with a KDE distro on my RP4. I’m most familiar with the Ubuntu family but it doesn’t seem Kubuntu has an ARM image. Fedora has a KDE spin but not sure I want to go that route just ...
1
vote
3answers
266 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
73 views

why does my raspberrypi 3B not able to reboot each time power is shut down?

I installed raspberian in my raspberrypi. It worked for the first time. But when I shut it down, it didn't reboot again. So, I had to format the sdcard and reinstall the raspberian again. And ...
0
votes
1answer
1k views

How do i create a raspbian sdcard with existing rootfs and boot folders?

I have a copy of rootfs and boot folders of a raspbian installation sent to me in via dropbox. How do i take a new sdcard and create from it a bootable raspbian? Also: the folders are in an archive ...
-1
votes
1answer
86 views

cannot ping link-local address from other subnet when defaut gateway route is seted

i have a problem with my route table i dont know why it doesnt work. I have two test cases, i did draw a network map for each case. currently i cant resolv the goal. testcase-1 network map ...
0
votes
1answer
50 views

Make external bootable disk for Raspberry Pi from bootable SD card

I would like to migrate my Raspberry Pi OS from SD card to external disk. In various posts I have read that Raspberry Pi 3 and 4 should support it out of the box. However, when I just dd disk image ...
0
votes
1answer
137 views

Develop RPi framebuffer program on Linux laptop

Is there any emulator or some other way to develop a program for my 320x480 Adafruit PiTFT screen (available as /dev/fb1) on my Linux Mint laptop? The program currently gets images from Pi Camera, ...
42
votes
4answers
61k views

Disable USB wifi sleep/suspend

Whenever I leave my Raspberry Pi on overnight, it always seems to have entered some kind of suspended state. The red power light is still on but the light on the USB WiFi device is off and I can't ...
0
votes
0answers
20 views

When should something be registered as a service?

I've red a few tutorials on how to set P2P clients up, specifically Deluge. For some reason all of them say to register it as a service. Why is this? I've just been starting it manually in the ...
1
vote
1answer
440 views

Using cgroup module in iptables cause “no chain by that name” error message

Trying to use cgroup module in iptables rule cause "No chain/target/match by that name" message. I'm using: Linux raspberrypi 4.19.42-v7+ #1219 SMP Tue May 14 21:20:58 BST 2019 armv7l GNU/Linux ...
0
votes
1answer
33 views

Limit size of directory in Unix

I am using my raspberry pi 4 with raspbian to host server. I have written some code that makes backups of the server data and I upload these to google drive using rclone. The problem is that I only ...
0
votes
1answer
533 views

Connecting a 1TB USB 2.0 WD Elements drive

I've just purchased a Raspberry Pi 3 and I've installed OpenELEC onto the Pi so I can run the Kodi. After this step - after this first step - I've succesfully set it all up and I've managed to get ...
0
votes
1answer
323 views

dphys swapfile error while updating

So I recently got a new raspberry pi 4 and I went to update it and ran the following commands: sudo apt-get update and sudo apt-get upgrade. The update command ran perfectly fine but when I ran ...
1
vote
1answer
801 views
0
votes
0answers
22 views

No camera preview

I have a problem, when I write the command "raspistill -o desktop/image.jpg" in the terminal there is no output. How can I solve this problem is urgent... and btw the Geany programming ...
1
vote
1answer
668 views

SSH on Raspberypi hang or frozen

I have direct connection with Raspberry pi via ethernet cable on linux machine. if i run ssh pi@10.42.0.22 i could establish secure connection. the problem i encountered is raspberry hang or frozen ...
2
votes
3answers
1k 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 ...
2
votes
4answers
14k views

Raspberry Pi USB 3 HAT or alternatives

I am looking for a cheap way to utilize USB 3.0 speeds for my external peripherals. The latest Pi 3 model B still has USB 2.0 ports and from what I have read, until USB 3.0 prices fall, it will be a ...
2
votes
2answers
8k views

Xlib: extension “RANDR” missing on display “:1.0”

I'm trying to run openvibe-designer on my raspberry pie over vnc. Currently I am using Xvnc version TightVNC-1.3.9. All other applications that I've launched over vnc have worked. I only get this ...
1
vote
2answers
257 views

Can't see home folder in drive but can see from terminal

I'm trying to open my home folder on my raspbian lite sd card. I have the rasbian os plugged into a sd card reader to my ubuntu laptop. I can't see it in when I open the directory in GUI but I can ...
0
votes
4answers
265 views

How to install package from github

I need to install this package from github: https://github.com/vrai/fdspatch It is said to run on linux but it does not say specifically how to install. Can anyone tell me what commands I need to run? ...
0
votes
0answers
12 views

When building a kernel from source, what is the KERNEL environment variable used for?

When building the Linux kernel from source for an RPi3, the official documentation recommends setting the KERNEL environment var to kernel7 (as opposed to kernel or kernel7l). What does this ...
0
votes
1answer
55 views

How can I restore my raspberry pi sources list

I changed something then I brick rpi. I changed sources.list and raspi.list then If I sudo apt update I am taking this error: E: Malformed entry 1 in list file /etc/apt/sources.list (Suite) E: The ...
0
votes
1answer
63 views

Linux, python, Bluez, Bluetooth libraries, UUIDs, and handles

I am using the python library pygatt to talk to govee bluetooth bulbs, and it is working fine, for only 1 bulb. The problem with it is that it won't allow more than one connection at a time since it ...
0
votes
1answer
407 views

Recovery of SRM save game file from Retropie corrupt SD card

I've been googling at this all night and have found multiple conflicting methods of recovering/formatting/saving corrupt SD cards but i'm a complete n00b with both Raspberry Pi and Linux. Basically ...
0
votes
1answer
60 views

Raspberry pi won't connect to hidden network

I have a raspberry pi 4 running raspberry pi os lite(headless). I have a wifi dongle attached to the pi for a better wifi signal (wlan1) as the built-in one was giving me issues, but I couldn't get ...
0
votes
1answer
395 views

HDD spin down too fast

I have external HDD connected to Raspberry Pi. I want to set the spindown time to 5 minutes. When I use sudo hdparm -S 60 /dev/sda it works fine. Of course, I set up APM before to 127 by sudo hdparm -...
1
vote
0answers
415 views

ufw Error: Couldn't determine iptables version [closed]

I am currently working on an automated shell setup script for my Raspberry Pi 4. This includes installing and setting up ufw as my firewall. However, I'm currently stuck with configuring ufw. My ...
2
votes
2answers
84 views

How to develop for raspberry pi without actually owning one

I need to run a low level code (thread protected circular buffer written in rust without using environment provided tools like mutexes nor semaphores...) on ARM based processors. The teacher was ...
0
votes
1answer
222 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
1answer
502 views

Tkinter application window in front of Chromium in Kiosk mode

On my Raspberry Pi I have created a tkinter application with one button and configured Chromium to start in kiosk mode. In my python application I set the following: root.lift() root.wm_attributes("...
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 ...
2
votes
1answer
377 views

Ideas on why my app won't run on Yocto RPi system?

I've built a custom 32-bit non-GUI Raspberry Pi image using Yocto (Morty), built the corresponding SDK, and used the SDK's toolchain to build an app. When I run the app on the RPi, from a command ...
0
votes
1answer
376 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 ...

1
2 3 4 5
16