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

Why can't I start OpenVPN outside the directory?

I am trying to set up Pi running 5.10.60+ to be a VPN portal. When I start openvpn from within /etc/openvpn, I see this pi@safeSpace:/etc/openvpn $ sudo openvpn us-free-01.protonvpn.net.udp.ovpn Sun ...
user avatar
0 votes
1 answer
31 views

RaspberryPi security, Bios settings, ubuntu secure boot. 2fa u2fa hacking

Do I have to enter operatingsystem in order to access BIOS settings on a raspberry pi? I am thinking about installing ubuntu on a raspberrypi and I see that linux has equvalent to windows 10 safemode. ...
user avatar
0 votes
0 answers
11 views

Ubuntu 20.04 XFCE shows incomplete windows

Using my Raspberry Pi (Model 4 with 8GiB of 2020) works fine, although it is considerably slower than my (older) Android phone, a OnePlus 6. But the slowness is not the issue. I installed Ubuntu 20.04 ...
user avatar
-1 votes
1 answer
30 views

Raspberry stuck in PyCharm User Agreement

Ive downloaded an extracted Pycharm on my Raspberry Pi. The problem is, when i start the pycharm.sh script, the pycharm user agreement window appears, but stays stuck with a lightblue background.
user avatar
  • 99
1 vote
1 answer
61 views

I'm unable to install FLAC on my Raspberry Pi 3

I'm trying to make a tts program on my Raspberry Pi 3 and I'm using Googles TTS API which requires that I have FLAC installed on the Pi. When I attempt to install FLAC, I'm thrown this error- pi@...
user avatar
1 vote
1 answer
63 views

Network Sharing From Linux PC through ethernet

I have a Pi connected to my computer (running linux) through ethernet. I need this configuration for other purposes as the raspberry collects data from sensors and the data is sent through ethernet to ...
user avatar
  • 11
0 votes
0 answers
18 views

LCD display is blank

A bit like this question, but different... I bought this display and the MIPI to HDMI board. It all connects fine, but I get nothing on the display. The board is getting power (green led), but I don't ...
user avatar
0 votes
0 answers
28 views

Bluetooth on raspberry 4 without Linux

I'm working on non-Linux compliant OS and now trying to enable bluetooth on Raspberry Pi 4. I have some necessary drivers such as: gpio, uart (pl011 and mini-uart), mailbox and expgpio through that ...
user avatar
0 votes
0 answers
37 views

Docker image - armv7 - Python Alpine 3.6

Using docker on a PI3, I need to rebuild an image which uses Alpine 3.6 - but I get an error. The URL is fine, but when a CURL it, it shows a redirect. I've tried 3.9 and 3.10 as well, but I believe I ...
user avatar
0 votes
0 answers
30 views

Running Raspberry PI buildroot image in qemu

I am trying to build a linux image for raspberrypi3 with buildroot and run it on qemu. Once the make process is done i can copy the sdcard.img file into a SD card and correctly run the OS on a real ...
user avatar
1 vote
0 answers
29 views

Scrolling the Raspberry Pi 400 console

In console mode (without any GUI running), the usual key combination for scrolling is Shift+Page Up/Down. However, on the Raspberry Pi 400, this combination, which should map to Shift+Fn+Up/Down, ...
user avatar
  • 111
0 votes
2 answers
50 views

Cronjob Raspberry Pi not working

I am trying to use my raspi to host a discord bot that every morning publishes the food in my school. I have setup a bronjob with crontab -e but it's not working. Crontab lookis like this: 45 07 * 2-5 ...
user avatar
0 votes
0 answers
44 views

How to write the Raspberry Pi's autostart directory using python?

I am using Raspberry Pi4 Model B with buster os in it. I am trying to write a python script for running the webpage at bootup. On entering sudo nano /etc/xdg/lxsession/LXDE-pi/autostart in the ...
user avatar
0 votes
0 answers
21 views

What distros work with/for raspberry pi [duplicate]

I was just wondering if literally any linux distro will work on raspberry pi for only Linux distro that are (for/made for) the raspberry pi Any help is much appreciated
user avatar
0 votes
0 answers
96 views

Kali Linux end Kernel Panic exitcode=0x0000000b

when I start my Raspberry Pi 4 with 4GB Ram comes the following: {1.174936} ---{ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000 }--- Can anyone help me? Thank you in ...
user avatar
  • 1
-1 votes
1 answer
83 views

RaspBerrypie SIP to Pa Device, using pjsip

i been struggling with a little RaspberryPie project (iv tried it on RaspberryPie 3 and 4) Basically i am trying to build a SIP to Loudspeaker Converter using a Raspberry pie. So far installing pjsip ...
user avatar
  • 11
0 votes
0 answers
19 views

Building all kernel modules make the right ko file for KS8851 but not when make separately

I am trying to build the KS8851 spi module, when i use make -j4 -C linux ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules the KS8851_spi.ko and KS8851_common.ko are successfully built. But when I ...
user avatar
0 votes
0 answers
53 views

sysfs blocks gpio pins after one minute from restart

I am using Raspberry pi 4b with Linux raspberrypi 5.10.63-v7l+. I am writing simple userspace program for control one GPIO by ioctl() (in my case GPIO 13 for example). However program responses: ...
user avatar
0 votes
1 answer
48 views

/dev/i2c is not showing Raspberry Pi4 running on Android

I am using AOSP android 11 in the RPi4. I have enabled the i2c in config.txt using the param dtparam=i2c_arm=on. The i2c is showing in the /sys/bus/i2c/devices/i2c-1 but /dev/i2c is not listing in the ...
user avatar
0 votes
0 answers
196 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 ...
user avatar
0 votes
1 answer
77 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 ...
user avatar
0 votes
0 answers
50 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 ...
user avatar
  • 101
0 votes
0 answers
99 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 ...
user avatar
-1 votes
2 answers
214 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 ...
user avatar
0 votes
0 answers
25 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 ...
user avatar
0 votes
0 answers
30 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 ...
user avatar
0 votes
1 answer
79 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 ...
user avatar
0 votes
1 answer
44 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 ...
user avatar
  • 9
-1 votes
2 answers
154 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 ...
user avatar
0 votes
1 answer
89 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 ...
user avatar
-1 votes
1 answer
2k 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 ...
user avatar
0 votes
0 answers
26 views

Pycharm support?

I want to learn Python using PyCharm editor. What operating system (Raspberry OS) does PyCharm support?
user avatar
  • 1
0 votes
2 answers
187 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 ...
user avatar
  • 3
1 vote
2 answers
139 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 ...
user avatar
  • 11
0 votes
0 answers
238 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 ...
user avatar
0 votes
1 answer
347 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 ...
user avatar
  • 101
2 votes
1 answer
73 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 ...
user avatar
  • 131
0 votes
2 answers
45 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 ...
user avatar
0 votes
0 answers
40 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 ...
user avatar
0 votes
0 answers
115 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 ...
user avatar
-2 votes
1 answer
36 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 ...
user avatar
0 votes
0 answers
25 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 ...
user avatar
0 votes
1 answer
315 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 ...
user avatar
  • 1
0 votes
0 answers
118 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 ...
user avatar
  • 1
-1 votes
3 answers
169 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 @...
user avatar
0 votes
0 answers
18 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 ...
user avatar
0 votes
0 answers
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:/...
user avatar
0 votes
2 answers
135 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 ...
user avatar
1 vote
2 answers
445 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 ...
user avatar
  • 21
-1 votes
1 answer
52 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.
user avatar

1
2 3 4 5
17