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
2
votes
1answer
464 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
448 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 ...
0
votes
1answer
111 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
163 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
283 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
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: ...
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
539 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
70 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
180 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
517 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
328 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 ...
0
votes
1answer
292 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
74 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
447 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
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
919 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
79 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
134 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 ...
2
votes
2answers
9k 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
1k 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
100 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
160 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
99 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
195 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
11k 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
234 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
99 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 ...
3
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
329 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
873 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
825 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 ...
1
vote
1answer
260 views

How to open .bat file in VSCode using raspbian

From the website ( https://channel9.msdn.com/Blogs/jsturtevant/Setting-up-Project-Oxford-for-Python-on-Windows ) at about 4:27, the author opens the activate.bat file by using code .env\Scripts\...
0
votes
1answer
55 views

How would I create a rolling log on Linux? [closed]

I am making a temperature log Python program that saves the CPU temperature to a CSV file every 10 seconds. How would I remove the first, say, 10 lines of the CSV file every month without deleting the ...
1
vote
1answer
2k views

How do i use DeviceTree to init GPIO to a set value?

Hello i've got a board connected to my raspberry pi 3 and according to the pin set on boot of the raspberry this shield reboot which is problematic. I need to be able to reset the board and control ...
0
votes
0answers
705 views

Raspberry Pi Edimax AC600 802.11ac Connection Speed to HostAP on BeagleBone

I am capturing a 640x480 JPEG Frame using Video for Linux ( V4L2 ) in my Qt 5.9 C++ App on a Raspberry Pi 3. I am trying to transmit those frames across a TCP Socketn connection using Qt to a ...
1
vote
0answers
334 views

Multiple instances of AudioManager detected vs code on raspi3

I'm using raspberry pi3 B and am new to the linux system (raspbian). I was trying to build VS Code into raspberry pi3 according to: https://www.hanselman.com/blog/...
1
vote
1answer
891 views

error installing and unfound package?

I'm using raspberry pi3 B and am new to the linux system (raspbian). I was trying to build VS Code into raspberry pi3 according to: https://www.hanselman.com/blog/...
1
vote
1answer
811 views

installing libx11-dev not going to be installed; held broken packages : raspberrypi3

I'm using raspberry pi3 B and am new to the linux system (raspbian). I was trying to build VS Code into raspberry pi3 according to: https://www.hanselman.com/blog/...
0
votes
0answers
488 views

Linux SPIDEV clock timing issue

I am using a Linux board called NanoPi Neo based on the H3 chipset. I got the spidev driver working and it appears as /dev/spidev0.0 I am trying to use a SPI module called RF24L01. However, I was not ...