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
1
vote
5answers
3k views

Raspbian Jessie apt-get update fails ERROR: Hash Sum mismatch

Please find the attached snip, for the complete error message. This is the second time I've faced this issue, last time it happened I tried couple of different things updating source list file or apt-...
0
votes
1answer
22 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
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
1answer
2k views

How to solve blank screen issue on Raspberry Pi GUI?

It's my third day with my Raspberry Pi. I do know Linux. I am all good with using SSH with my Raspberry Pi but I do need a GUI sometimes. I tried installing vncserver, tightvncserver and now xrdp but ...
0
votes
0answers
24 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. ...
0
votes
1answer
3k views

Scan Distance from Eddystone Beacons

I would like to read an Eddystone Beacon using my Raspberry Pi 3 to calculate distance from the beacon. I can't find any resources to do this from the official Eddystone documentation. How should I go ...
0
votes
0answers
26 views

Is Raspberry pi enough to learn Ethical hacking and Linux? [on hold]

There's a Kali image for pi but i wonder if it's worth it to buy a pi to learn Linux and Kali
4
votes
1answer
577 views

What Pi Model & OS version is installed

Users often seem confused about what Pi model they have and what OS version is installed or how to find details. Where is this located?
3
votes
2answers
2k views

Setting up ad-hoc wireless

I have pi 'A' setup to be an adhoc network and using dhcp3-server. /etc/network/interfaces auto lo iface lo inet loopback iface eth0 inet dhcp auto wlan0 iface wlan0 inet static address 10.10.1.1 ...
1
vote
0answers
27 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 - ...
0
votes
1answer
853 views

Electron app just shows blank white screen on a Raspberry Pi

I am trying to load a program on an ARM machine which I was running on a Linux on an x86 machine. The program loads but just with a white screen. The program was developed using electron and when I ...
0
votes
1answer
118 views

Not able to compile the u-boot 2017.09

This is the OS info that I am using in my pi3 (BCM 2837) board. pi@raspberrypi:~ $ uname -a Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux [ am I using the ...
1
vote
1answer
3k views

How to: run .sh script with rc.local

I have the following: server pi and client pi both running latest update version Raspbian Stretch I have a .sh script on the client pi to update the time from my server pi. When I run this manually ...
0
votes
1answer
794 views

shell script not working in crontab but works manually

I am using crontab to open an image at every minute using a shell script. My script is working if I run it manually. But it is not executing in crontab. I have another script running well in crontab ...
0
votes
2answers
60 views

Effect of Interfaces file on dhcpcd.conf in Raspbian Jessie

I was working with Raspbian Jessie version to set a static IP address for eth0 port. As of my knowledge we can configure it with interfaces file but for jessie, there is new file for it and that is ...
1
vote
1answer
471 views

Can not use GPIO pins when Official Raspberry Pi screen is connected

I have a Raspberry Pi2 B+ model, with noobs distro installed. I had some programs using wiringPi library and an ultrasound component working (tested them using a separate monitor via HDMI). However, ...
0
votes
1answer
715 views

Connect Pi3 to Windows/Linux via wifi direct?

I'm building something that needs to connect to a Pi3 wirelessly but there won't always be a wifi network for them to talk over. So I was hoping to use wifi direct to get them to talk directly. So ...
1
vote
1answer
24 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
29 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 ...
0
votes
1answer
232 views

Can I run Raspberry Pi .img file on android device?

I have a Raspberry Pi 3 and the lastest Raspbian is installed. Now, I run an armhf Debian on my android smart phone with Linux Deploy. Any suggestions How I could run Raspbian on my android smart ...
3
votes
2answers
9k views

Running a script after an internet connection is established

I am trying to run a very small python script AFTER internet has been established. I am currently editing /etc/network/if-up.d/upstart by adding the following code directly under all_interfaces_up(): ...
0
votes
1answer
21 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
157 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 ...
2
votes
2answers
894 views

Read-only SD card and file system in RAM

There are number of articles about mounting SD card read-only, but I only found info, that if needed to write something, first of all you have to remount file system as readwrite. My question is there ...
2
votes
0answers
1k views

ERROR:sandbox_linux.cc(344)] InitializeSandbox() called with multiple threads in process gpu-process [closed]

I am using a Raspberry Pi: pi@raspberrypi:~ $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.3 (stretch) Release: 9.3 Codename: ...
0
votes
1answer
57 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
42 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, ...
0
votes
2answers
6k views

Unable to run `@reboot` crontab at reboot

I am trying to run two Python programs at reboot with my Raspberry Pi 3. The problem is that crontab doesn't run at reboot. I tried to run the programs with crontab every 5 minutes and everything ...
1
vote
1answer
156 views

Raspberry Pi randomly unresponsive

I have a Raspberry Pi 3 Model B, I have tried running a GitLab server on it but it seemed to be too performance expensive so I uninstalled it, I also had to cut the power of the Pi without properly ...
5
votes
1answer
985 views

rpi 2: Unable to change irq affinity

I am trying to optimise getting GPIO interrupts into userspace. On the single core rpi 1 I couldn't get rid of quite some timing jitter, which makes sense as there's a lot of stuff going on on the cpu....
1
vote
1answer
183 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 ...
0
votes
1answer
29 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
332 views

How to exit read only filesystem to get write permission in order to download a driver form Github?

I am trying to set up a 5 inch LCD on my Raspberry Pi 3. It runs Kali Linux, I'm on a no GUI boot and (automatically) logged in as root. When I run the command (to download the drivers): git clone ...
1
vote
0answers
36 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?
0
votes
4answers
3k views

Linux modules mismatch version

I have a very unusual condition, perhaps a partial update or unknown condition. #>uname -a Linux sip02 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:49 BST 2018 armv7l GNU/Linux #>uname -r 4.14.30-v7+...
1
vote
1answer
364 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 ...
0
votes
1answer
145 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 ...
0
votes
1answer
31 views

Raspberry Pi - Remote / Attached Access - Plug and Play

OK I wont go into the reasoning apart from the fact that I need to find or research and create an EASY Plug and Play solution to enable Raspberry Pis to be used in a classroom environment. Criteria ...
1
vote
1answer
27 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 ...
6
votes
4answers
7k views

What instruction set is used on the Pi's ARM/Broadcom chip?

I am trying to figure out what instruction set (x86_64, IA-32, etc.) is used by the RPi's Broadcom chip (really an ARM 1176JZF-S), because I'd like to understand how linux can run on it. My ...
2
votes
0answers
79 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
46 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 ...
1
vote
1answer
60 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
27 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?
2
votes
2answers
34 views

No /etc-Folder in .img-File

I made an IMG-File of my LibreELEC and now i want to edit it on my Windows machine. I need to make changes in the /etc-Folder and I can't do that live on the system since LibreELEC is read-only FS. ...
0
votes
1answer
271 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 ...
5
votes
1answer
163 views

Login to Raspberry Pi Via Python Script

I am trying to make a system to login to the Raspberry Pi with an RFID tag. I successfully connected the RFID reader RC522 module to the Raspberry Pi and I can retrieve the number of the tag and write ...
0
votes
2answers
40 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 ...
2
votes
4answers
13k 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 ...
3
votes
2answers
2k views

How can I control the PWM via the sysfs

I want to set the PWM for some tests with a tricolored LED. I want to be able to set it up via the sysfs interfaces but I'm having a very hard time finding any information on how to do this. What is ...