A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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
0
votes
2answers
579 views

How to read a specific register using spi_xfer from PIGPIO

I am building a single channel LoRa gateway using the RFM95W module. I am using this github repo; single_chan_pkt_fwd, as a guide. However I am not yet using a PCB, even though it is very difficult, ...
0
votes
1answer
319 views

Display a pygame window on builroot custom linux

I'm using Buildroot 2018.02 to create a custom Linux to run my raspberry pi 3. I'm trying to display a pygame window on the external hdmi screen from command line. So far, I've been able to boot the ...
1
vote
0answers
232 views

CentOS 7 network setup

I am setting up a Pi3 B+ as a homeserver. Intended uses are running a Pi-Hole, using it as NFS share and to automate stuff like backups. I decided to use CentOS for its reputation of running smooth ...
1
vote
0answers
63 views

What does Ctrl-A do in Raspbian terminal?

In macOS terminal, I'm used to pressing Ctrl-A to move the cursor to the beginning of the line, for example when I forgot to type sudo. I tried this in Raspbian stretch lite, and it froze the system, ...
4
votes
1answer
1k 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?
0
votes
2answers
192 views

wget - options to save all new files

I am attempting to use wget to download all new versions of a single file from a server. The file is updated once an hour at an unspecified and variable time. I am running a cron script that runs ...
1
vote
0answers
40 views

Unwanted calls of program with GPIO

I configured a Raspberry Pi 2 with a button. I have a script in python, which will call a command, if someone press the button. The command doing a sip phone call to a phone server (cisco ...
0
votes
0answers
54 views

Help recovering files on Raspbian from a former WD MyBook World Edition II (Linux file system)

With my Mac I used to backup .jpg and .NEF (Nikon raw files) on a WD MyBook World Edition II network drive. After a few months I was not using it, I discovered it was not working anymore. On the WD ...
2
votes
1answer
485 views

Raspberry Pi Compute Module 3 and IO Board does not detect USB device if it's plugged in before booting

I have a Raspberry Pi Compute Module 3 mounted on an IO board, connected to a (powered AFAIK) USB hub full of devices, and running Ubuntu MATE 16.04.2, with the X server disabled. I've noticed that ...
0
votes
0answers
474 views

Error starting apache web server on raspberry pi

I am attempting setting up my raspberry pi to be a web server. I have just installed the program today, so it is on latest configuration. I have gone with apache2. I have read that if entering my ...
1
vote
1answer
118 views

Which Distro provides Timely Security Updates and have the longest support cycle for Raspberry Pi 1,2 & 3? [closed]

I am looking for a Linux Distro that provides timely security updates for all Raspberry Pi variants. Please indicate if the update life-cycle is released based (preferred) or rolling/continuous. ...
0
votes
1answer
168 views

How to apply error correction.and detection On raspberry pi [closed]

I want to send data from rs232 to raspberry pi and I want to know if we can achieve error correction and detection on raspberry pi
-3
votes
1answer
306 views

How to write a script which execute multiple commands on multiple terminal windows

I am trying to make a script on the following basis: Open a terminal window (keep it open) and run cd ~/dir/dir/dir ./exec Open a second terminal window (keep it open) and run /usr/bin/xterm -font/...
2
votes
0answers
2k 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: ...
4
votes
1answer
2k views

Cross compile kernel module

My goal is it to cross-compile a kernel module for my raspberry pi. But I have some compatibility issues with my kernel sources on my pc and the version on my raspberry pi. My Pi uses this version: ...
4
votes
1answer
97 views

Are there any downsides to using “apt” on the raspberry pi?

I normally use apt-get on the raspberry pi to update/install/etc., but I like just plain apt better because of the better interface and text coloring, etc. I can't seem to find anything on google that ...
0
votes
1answer
592 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 ...
0
votes
1answer
75 views

Failed to ping eth0 from a LAN connection when I enabled the WiFi hot spot in Rpi 3

I have set up a WiFi hotspot in a Rpi3 board using this article https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md. I can ping the eth0 IP before I start hostapd and ...
0
votes
3answers
2k views

SSH not working on Raspbian

I can't get SSH to work on my newly setup Raspberry Pi 3. Installed a fresh image of Raspbian Stretch Lite. I am unable to access the machine in the LAN using SSH: pi@domoticz_pi:~ $ ssh 192.168.178....
1
vote
1answer
2k views

Edit system files on windows or linux [duplicate]

i've messed up the /etc/profile file and now i can't login to the rpi. Is there a way to edit this file on windows or linux ?
2
votes
1answer
191 views

Error with Packages, cannot update/install, cannot remove package

I keep having an error installing / updating / basically doing anything that concerns packages. I am trying to get an I2C library going and I can't get sudo-apt-get install i2c-tools to work from a ...
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
539 views

Raspberry Pi 3 Model B- 3M Touch Systems

I connected yesterday a Raspberry Pi 3 Model B at a 3M touch Systems touchscreen. For installing I followed this tutorial that I found here: Inverted GPIO Touchscreen (Using 99-calibration.conf) What ...
3
votes
1answer
2k views

Connect external hdd ExFat

I'm trying to connect my external hdd which is in ExFat, but it won't mount it. I've got "fuse:device not found", but if i do fdisk -l, I can see it. Can someone know how to fit it ? Or if you have ...
0
votes
1answer
336 views

“No wireless interfaces found”

I accidentally ran the code on my terminal: sudo airmon-ng check kill Now when I try to connect to a wi-fi it says "No wireless interfaces found" I tried to edit /etc/network/interfaces but ...
1
vote
1answer
310 views

Can't get past rainbow screen with Kali install process

I am new (to all of this, Pis, Linux, etc). This is my first real attempt at working directly with hardware as well. I needed a new project so I got a Canakit started set which came with a Raspi 3B+,...
1
vote
3answers
1k views

Trying to Connect to Raspberry Pi through Ethernet

I'm trying to connect to a Raspberry Pi using the command ssh pi@raspberrypi.local (using Raspbian Stretch Lite) over Ethernet so I can configure Wifi on the Pi. However I keep on running into this ...
0
votes
2answers
1k views

No command line interface on HDMI but kernel logs printed

I'm currently trying to build my own custom Linux OS for my Raspberry Pi 3 and am experiencing some trouble. I'm using buildroot v2018_2. I configured the system using make raspberrypi3_defconfig ...
-1
votes
1answer
75 views

1 Gigabyte Image with GUI and Firefox

I'm looking for a super small image for my Pi < 1 gigabyte. I need it to fit within the memory of the Pi. I only have 4 requirements: long term availability, a Gui, Firefox, and ethernet drivers. ...
-1
votes
1answer
457 views

How could I use Wit.ai to get speech to text on my webpage running python script

I want the speech to be recorded by raspberry, send it to wit.ai and then get the response on my page(wich is actually the .py script and according to which I could run my conditions). Actually its ...
0
votes
0answers
19 views

Create Code that Directly Interfaces with X

I am building a program for media centers - think like EmulationStation but with more than emulators, such as Kodi and Firefox support. It’s meant to launch various programs, not play the media itself....
1
vote
5answers
4k 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
949 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
0answers
81 views

How can I get all the modules of node.js to raspberry pi. Please see the link below, I need this exact thing for a raspberry

SO I have to run a custom electron app which is running on AMD device after installing node.js from this site, https://ourcodeworld.com/articles/read/410/how-to-install-node-js-in-kali-linux Is ...
-1
votes
1answer
145 views

How to export a Linux instance from VirtualBox to a plain text filesystem?

For example, Raspberry Pi images can be "burned" to an SD card from an image file that contains a simple plain-text file tree that is the Raspbian (a Debian sub-flavor) filesystem (e.g., as discussed ...
3
votes
3answers
5k views

How to install NOOB's onto SDcard on Chromebook

I only have a chromebook. I have a RaspPie 3 B. I want to install NOOB's onto it. There is this guide here but it shows how to install an .img. Is there a way I can convert my NOOB's folder ...
3
votes
2answers
10k views

How to upgrade Mosquitto MQTT to the latest version?

Right now I have 1.3.4 Mosquitto Version installed from the repository on my PI. Current version is 1.4.15. So, how do I go about upgrading my Mosquitto MQTT to the latest version on my PI? I looked ...
2
votes
1answer
2k views

How to see debug logs from Raspberry Pi 3 during boot process?

I am currently trying to debug a "black screen" on a Raspberry Pi. The Pi is plugged to an in-house PCB using connector of the Pi and the LCD screen is connected on this in-house board. The Linux ...
-1
votes
1answer
101 views

How Raspberry Pi booting up? [duplicate]

I want to know, how Raspberry Pi booting up. Of course, I can google it, but I can`t found this information in official documentation [ https://www.raspberrypi.org/documentation ]. I am searching for ...
1
vote
0answers
167 views

Slow NodeJS upstart time with buildroot, but fast with raspbian?

Building a small linux distro with buildroot using the raspberrypi_defconfig + nodeJS i get a 12+ second upstart on every single node file i try to run. If i on the other hand try it out in raspbian,...
2
votes
1answer
103 views

Overlapping SD Card Partitions

I have a 32GB SD card that I have been using for a year or so and when troubleshooting a separate issue I noticed that the partition table looks very different than the other Raspbian images I have ...
1
vote
2answers
44 views

Script inserts literal * instead of wildcard ONLY during boot

This has driven me crazy so I hope someone can help. I have a script that works perfectly when executed manually or when restarting lightdm, but when it runs during a boot and auto-login, it returns ...
1
vote
1answer
202 views

Problem with packages [closed]

I'm trying to compile my code import sys,os sys.path.insert(0, '/usr/include') sys.path.append('/usr/include') import plivo, plivoxml auth_id = "Your AUTH_ID" auth_token = "Your ...
0
votes
3answers
13k views

Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)

I'm trying to execute the command sudo apt-get -y install linux-headers-rpi to install this driver for a pm sensor. However, my raspi gives me this output every time when I execute this command: E: ...
1
vote
1answer
272 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 ...
0
votes
1answer
102 views

Rpi control for spacex falcon heavy or falcon 9 like liquid powered model rocket

I have no experience with the rpi and rocketry. I have good skills regarding programming in java, c++, python. I also have good experience with Linux (been using Linux since I was 10), Linux fedora to ...
4
votes
2answers
12k 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
337 views

Unable to connect wifi in Raspberry Pi 3 and os design for navio

The link below shows the images of the output error, i`ve been working this for hours I follow instructions from here but still doesnt work . Hoping that someone would help me figure out the problem , ...
0
votes
1answer
909 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
1answer
862 views

Pi with 2 sata ports [closed]

I am trying to build a small NAS with 2 disks in RAID-1. Is there a pi with 2 SATA ports? The performance is not required to be stellar, but I'd still like it to be direct SATA communication. I'm ...