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
0answers
18 views

Setup systemd-networkd with decoupled client WiFi interface & WiFi hotspot interface

I need to set up my Raspberry Pi to have a WiFi client connection to a wireless network as well as act as its own DHCP WiFi hotspot that can route traffic to either the Ethernet or over the WiFi ...
0
votes
1answer
35 views

Trying to kill all processes, but new processes keep spawning

I'm trying to rename the default pi username after getting a new raspberry pi 4. I am completely new to Linux, so my knowledge of the matter is small. From what I've discovered, one way to rename pi ...
0
votes
0answers
22 views

Use bluetooth keyboard from startup

I wanted to install manjaro on my raspberry pi, but there is problem: I only have bluetooth keyboard, so I can't select anything in bios. Is there a way to connect is from startup? Sorry for my ...
0
votes
0answers
29 views

How can I make my dietpi install readonly?

This is my first post here so apologies if this is the incorrect use but I am very much in need of help. I have a dietpi install on my raspberry pi running pi_video_looper (wanted to use raspbian but ...
-1
votes
2answers
86 views

SSH into Raspberry Pi connected to Linux Laptop via Ethernet cable

How do I SSH into my Rasperry Pi which is directly connected to my Linux Laptop via an Ethernet cable? As far as my research went, it does not get assigned an IP, which is the reason why I can not ...
0
votes
0answers
11 views

Trying to learn buildroot on the raspberry pi 2B- Facing issues with the rtl8188eu wifi device

As mentioned in the title, I'm trying to develop my custom OS using buildroot. I've been able to make a successful build for my Raspberry Pi 2B. I'm using the make raspberrypi2_defconfig command to ...
0
votes
0answers
23 views

Accessing RPi through SSH when its connected to Tello in wpa_supp.conf

I'm using Raspberrypi Zero W V1.3, DJI Tello, Raspberrypi is connected to Tello via /etc/wpa_supplicant/wpa_supplicant.conf, This is mandatory because I want the tello to receive commands from RPI in ...
0
votes
1answer
37 views

most linux commands gives -bash: clear: command not found , after a binary execution (Raspberry pi)

what could be possibly wrong when following dmesg occurs in Raspberry pi Following is Output of dmesg command, [ 227.820110] mmc0: card 0001 removed [ 227.820411] Aborting journal on device ...
0
votes
1answer
34 views

Permissions issue using hard drive [closed]

I am new to using raspberry pi. I've wrote a script in python that takes images and stores them in a connected hard drive, in a directory that is created by the script. When trying to open the files ...
0
votes
2answers
61 views

Trying to add Gpio22 and Gpio 27 to sys/class/gpio/ in Archlinux (RPI3)

I'm trying to create gpio22 and gpio27 in sys/class/gpio/ and enable them, I'm using following command for the same: echo "22" | sudo tee /sys/class/gpio/export echo "27" | sudo ...
0
votes
1answer
28 views

Server- How to allow only selected IP addresses to connect to Pi?

Disclaimer: I don't have in-depth knowledge of networking, so please pardon me if my question doesn't make sense at some places. I wish to make my Pi a web server on the internet and restrict access ...
-1
votes
1answer
385 views

How to configure wine and box64 emulator on pi 4b

I have a raspberry pi 4b 8gb running ubuntu 21.10 desktop that I use. I want ot expand the uses of my pi and I want to run some windows programs. I installed pi-apps, a program helps you install ...
0
votes
0answers
20 views

Pycharm support?

I want to learn Python using PyCharm editor. What operating system (Raspberry OS) does PyCharm support?
0
votes
2answers
64 views

Pyserial, Python3, and RPi not working together

I'm trying to get a TTY to USB converter hooked up with my Raspberry Pi. I'm using Pyserial to setup the connection and write data to the port in a script called pc_test.py. For some reason the script ...
1
vote
2answers
50 views

Failed SD Card file expand on Raspberry Pi

I´m trying to expand an SD that´s running on a Raspberry Pi. The original SD was 8Gb. I saved it to PC with Win32DiskImager, then wrote a new 32Gb SD from that image, and run the file expand option in ...
0
votes
0answers
130 views

Full KMS vs. Fake KMS

I probably have a quite limited understanding of how the different KMS options work. So first off I am not really sure which components in the Graphic stack directly use KMS. What i assume: Fake KMS ...
0
votes
1answer
156 views

Ubuntu: upgraded kernel is not selected in the next boot

My Raspberry Pi 4 was originally loaded with Ubuntu 21.04, but after yesterday's release of 21.10, I upgraded using the do-release-upgrade command. Among the other upgraded packages, there was a new ...
2
votes
1answer
42 views

Sporadic slow booting due to fsck (mount count being reset)

I'm hoping to use a Raspberry Pi as the basis of an in-car infotainment system. I've followed a number of guides on reducing boot times, but the Pi will often take a long time to boot—about 20 s ...
0
votes
2answers
42 views

Can I use Ubuntu 8.10 on a Raspberry Pi?

I am working on a project that requires: An open WiFi network On that network, a device that has a known exploit. My plan is to use a Raspberry Pi to create that open WiFi network, then use another ...
0
votes
0answers
35 views

command is working on terminal but not in the script

I am using raspbian in headless mode and I am trying to mount USB on USB insertion. Script is executing but USB mount command failing. here is the script, filename is automount.sh (this script gets ...
0
votes
0answers
45 views

GCC compiling on Pi for x86_64 linux

In using a Raspberry Pi as my development machine - how would I go about compiling a basic C program for running on x86_64 linux? I see some references to x86_64-linux-gnu-gcc, but this package is not ...
-2
votes
1answer
30 views

Copying sd card with dd, can't boot: "sh: can't access tty; job control turned off"

I have a working SD card which I want to back up to an .img file and be able to quickly replicate. I'm using dd to copy my image to my sd card: dd if=raspbian.img of=/dev/sdc bs=4M Which executes ...
0
votes
0answers
17 views

Auto-play directory of music videos

I am using a Raspberry Pi 3B as a car stereo head unit. It works great with a Hi-Fi audio hat and touchscreen. I'd like to make it automatically play the directory of music videos on any attached ...
0
votes
1answer
134 views

Why is my python script stopping after 1 month?

I'm running three python scripts on a Pi 4 Model B. These scripts are ran from boot using the '.config/autostart function'. I have a batch script placed in 'autostart' which then in turn starts the ...
0
votes
0answers
72 views

Need help setting up Torctl on Raspberry pi

I am trying to route all the traffic of my raspberry through the TOR network. Being completely new to Linux, I followed the first method of this guide, I had no errors during installation but once I ...
-1
votes
3answers
57 views

Cannot run a script after reboot using Cron

I'm trying to start a script containing cgminer for mining when the raspberry pi reboots however it doesn't. My crontab contains the following. @reboot sleep 120 && sudo /home/pi/StartVPN.sh @...
0
votes
0answers
13 views

If I make changed to a rPi image running under QEMU what happens to the updates I make

I'm familiar with VBOX and when I have a vm running and I make changes to that vm, those changes persist because VBOX uses a vdi disk; but what happens when I run a vm using QEMU and I make changes to ...
0
votes
0answers
28 views

i need execute code when user input number in terminal in python3

I have this python3 code. import RPi.GPIO as GPIO import requests payload = {} headers = {} GPIO.setmode(GPIO.BCM) GPIO.setup(14, GPIO.OUT) string = input() def buclick(event): url = "http:/...
0
votes
2answers
62 views

SPI not getting enabled in Raspberry Pi 4 with custom-built Linux kernel

I have built Linux Kernel 5.10.36-v8 using Buildroot and using it into my Raspberry Pi 4B for the past few weeks. I recently wanted to enable SPI ports on the Raspberry Pi and followed the ...
1
vote
2answers
182 views

How can I mount a directory from one Raspberry Pi to another

I have the following problem: I have 2 Raspberry Pi in my network and want to mount a directory from my Raspberry Pi 2, running Samba version 4.2.14-Debian to my new Raspberry Pi 4 running Samba ...
-1
votes
1answer
51 views

Micro HDMI to VGA and VGA to HDMI adapter

i have VGA cable i try to connect raspberry pi 4 with Micro HDMI to VGA and VGA to HDMI. display doesn't showing anything. what setting should i use.
0
votes
0answers
267 views

Raspberry PI 4 autostart python program after boot using LXDE

I have a python script which is using tkinter GUI library. I have initially tried to run the script after boot using systemd method but I got error regarding the tkinter. I have looked it up online ...
1
vote
1answer
129 views

How to stop pulseaudio from deleting your .asoundrc file on startup?

I have a Raspberry Pi 4 and have been messing around with Pulseaudio and Alsa a lot lately. I wrote an asoundrc file which I want the system to run every time it's on. However, Pulseaudio keeps ...
1
vote
0answers
49 views

How to change the logo on login page on Raspberry Pi 4?

I'm using Raspberry Pi 4 with Raspbian OS. Upon turning on my machine, the system asks me to enter my username and password. So on that specific page, there is an official Raspberry Pi logo. I would ...
0
votes
0answers
21 views

raspberry executing node js script via /etc/profile and desktop autostart

I have this nodejs script that basically the job is spawning one python process and an appimage const cp = require('child_process'); const path = require('path'); let app; app = function(){ let ...
0
votes
0answers
92 views

How to netboot Raspberry Pi 3 B+ from Linux?

I would like to boot Raspberry Pi 3 B+ from network but not from other Raspberry Pi. I have several machines in my LAN including x86 Linux with DHCP, TFTP and so on. Are there any instructions on how ...
0
votes
1answer
151 views

Pi 4 not reading the QMC5883L magnetometer

I am trying to set up my magnetometer QMC5883L with my raspberry pi 4. But the pi is somehow not reading the magnetometer. I ran the command i2cdetect -y 1, but there is no detection. My connections ...
1
vote
1answer
42 views

What causes Linuxes on Raspberry Pi to not be able to be installed with an installer?

If you download an ISO for a Linux distro for x86 and burn it onto a disc or USB stick, and put that device into the target computer and start it up, it shows an interactive installer. If you want ...
0
votes
0answers
51 views

LIRC wont transmit. irrecord, mode2 ok, irw no output

I just followed this one link, and it went pretty well. However, I recorded my signals and move this to lircd.conf and it looks like this and no output when I try irw and irsend ` begin remote name ...
1
vote
1answer
148 views

How to use a Raspberry pi as a WiFi-to-Ethernet converter?

this is my first question on this site. My problem is that i have an old PC lying around with no WiFi adapter but it has an Ethernet adapter. I want to connect my Raspberry pi to WiFi then connect it ...
0
votes
2answers
323 views

Can I use the mainline kernel in my rasp? if not, why?

I noticed that when we compile a new kernel following the official documentation we use the linux fork from the raspberry foundation. Could I use the mainline kernel maintained by linus? Or is there ...
0
votes
1answer
89 views

Raspberry Pi Zero v1.3 Gadget Mode

I followed this tutorial and a number of others to get my Pi Zero to run in gadget mode. That particular article mentioned in passing that the Pi might be misidentified by Windows as a COM device. ...
0
votes
1answer
172 views

Java won't let me allocate more ram for my minecraft server on my rP4 8 GB

I recently setup a minecraft server on my raspberry pi 4 8GB running ubuntu server version 20.04, everything on the server works fine, but when I try to allocate 4 gigabytes of ram to the server with ...
0
votes
1answer
35 views

Share internet connection from a pi 4 to a pi 0 non W via USB

I connected a raspberry pi 0 to a raspberry pi 4b+ via USB and i would like to know how can i share the internet connection. The pi4 is connected to the internet via the ethernet port. P.S.: I did all ...
0
votes
0answers
56 views

RPi 4 wrote 23GB of Log Files “urb status -32”

Raspberry Pi 4 with Raspbian 10 and kernel 4.19.71-rt24-v7l+ kern.log 12G syslog 6.6G sylog.1 4.5G The log files are filled with usb 1-1.2: urb status -32. I just removed the log files yesterday and ...
-1
votes
1answer
45 views

Is the command line suppose to print this out? [closed]

I am doing my assignment and the question mentioned to key in these command lines in LXTerminal and asking what is the purpose of "^C" here cat>INT108AAE.txt Hello, my name is “YourName” ...
0
votes
1answer
268 views

How to change Raspberry Pi's boot mode from SD Card to USB flash drive?

I decided I wanted to change from an SD card to a USB flash drive however I am not sure how. I already have the distro I want to be installed on the USB flash drive I just need to know how to change ...
0
votes
1answer
202 views

Can't run `apt --fix-broken install` as normal user

`apt --fix-broken install E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?...
0
votes
1answer
523 views

I would like to install blender on my raspberry pi4 [closed]

I am trying to install blender 2.79 from the software packages on my new raspberry pi4. It won’t do it. How do I install and run blender?
0
votes
1answer
20 views

restore pages - chrome issue

There are many posts for this issue. I havent manage to make anything work for me. I use linux on my VMs and every time I open chrome, it come sup with the resore pages pop up, blocking my start up ...

1
2 3 4 5
17