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
1answer
33 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
13 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
5k 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
145 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
974 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....
0
votes
1answer
52 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
27 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
286 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
32 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

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
4answers
2k 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
358 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
136 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 ...
0
votes
1answer
214 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 ...
1
vote
1answer
21 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
6k 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
50 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
29 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
59 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
24 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?
1
vote
2answers
29 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
236 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
155 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
39 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 ...
1
vote
2answers
873 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 ...
3
votes
2answers
1k 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 ...
0
votes
1answer
66 views

cant open image from rc.local

I would like to open image from rc.local. I am sure rc.local is getting called during boot as it execute/run test c++ code. I tried with various image viewer like gpicview , mirage. I can try with ...
0
votes
1answer
76 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
78 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, ...
1
vote
0answers
34 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. ...
1
vote
1answer
372 views

Direct connection to Pi with usb-to-ethernet adapter possible?

I've got a pi 3B to which I always ssh over my home network. I'm now going to be traveling for some time and I want to mess around on the go. I read that you can connect directly to the pi using a ...
0
votes
1answer
44 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 ...
1
vote
0answers
40 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
1answer
175 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 ...
1
vote
1answer
271 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 ...
0
votes
0answers
23 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.
36
votes
4answers
56k views

How can I mount a Raspberry Pi Linux distro image?

Normal filesystem images can be easily mounted: mount system.img /mnt Examined, and modified. But when I try this with a Raspberry Pi system image (e.g. raspbian), I get: mount: unknown filesystem ...
1
vote
2answers
5k 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
64 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 ...
7
votes
0answers
127 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 ...
1
vote
1answer
38 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
19 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
58 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 ...
0
votes
1answer
110 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
106 views

Issue with owncloud and apache

I installed apache and No-IP DUC on my Raspberry Pi. Then, I could reach my simple html web page over the internet or on local network(using static IP of raspberry PI). Then I installed owncloud and ...
0
votes
1answer
159 views

Exclude kernel modules from plain Buildroot 2016.05 image

Buildroot is a great tool for creating a custom embedded linux system. If one builds a plain system without any changes from the default configuration using the current 2016.05 version one ends up ...
0
votes
0answers
11 views

Install openCV in raspbian using another Linux distro [duplicate]

Good morning I was trying to compile openCV using raspberry 3 and It took me a long time also I had a lot of problems like "Structure need cleaning" (on an installed NOOBS) I just wonder if I can ...
0
votes
1answer
160 views

When I plug a USB camera in I get strange characters displaying on the screen

I have a raspberry pi B+ running the latest Jessie image (Linux raspberrypi 4.9.22+ ). I have a monitor, usb keyboard and usb mouse plugged into it. I also have a wired ethernet plugged in. No other ...