Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
619 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
50 views

How To Auto Execute A Shell Script At Raspi Boot Up? [duplicate]

I am using Raspbian on a Raspberry Pi 3 Model B. I got this NodeJS file that I want it to run automatically once the raps has booted up. So my plan is to create a shell script that would execute the ...
0
votes
0answers
51 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 ...
0
votes
0answers
100 views

Raspbian : Ad hoc network, unreachable node

I'm trying to make a ad hoc network between two raspberry pi 3. I can see the pair node but I can't reach it with a ping. I custom, interfaces and dhcpcd.conf like this : First Raspberry : ...
-1
votes
1answer
83 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
2answers
2k 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
4k 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 ...
0
votes
1answer
443 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
vote
0answers
137 views

How to connect Chromebook to PiVPN

I recently installed pivpn on my Raspberry Pi 3. I attempted to connect my Chromebook to the server although the credentials I gave did not work. When I ran pivpn -a in the terminal, I was given the ...
0
votes
0answers
200 views

How to start a graphical session for a non-root user?

How do I start my window manager with nodm such that the session will be for a normal user (pi), not root? As of right now, when I launch a terminal from the window manager, it is run as root. That ...
0
votes
0answers
22 views

Why as of the 4.9 kernel, all Pis report BCM2835?

Here (Link) : Note: As of the 4.9 kernel, all Pis report BCM2835, even those with BCM2836 and BCM2837 processors. You should not use this string to detect the processor. So why "Hardware:" string ...
-1
votes
1answer
71 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
112 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,...
3
votes
1answer
69 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
31 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
136 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
2answers
5k 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: ...
0
votes
0answers
70 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
0answers
14 views

project supercomputer

I'm working on a supercomputer project, but when I run the command 'mpiexec -f machinefile -np 2 /home/pi/mpich_build/examples/cpi', always wrong password, but the root password is correct what's the ...
0
votes
1answer
65 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 ...
1
vote
2answers
5k 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
0answers
113 views

RPi Zero USB OTG - share host internet automatically

I have a pi zero that I have configure to be an ethernet device via the OTG USB, I will like to find a way that as soon as I plug it to a computer it will run a script to pull the Hosts external IP. ...
1
vote
1answer
1k views

Howto prepare a SD card from a tar archive

For testing various setups I feel it more comfortable to use tar archives instead of images. You only save programs and data, no need to fiddle with nullbytes to optimize compression or shrink ...
0
votes
1answer
244 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
539 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
504 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
139 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
49 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
887 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
483 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 ...
0
votes
0answers
121 views

Linux Mint fails to establish ethernet connection with Raspberri Pi Zero over USB

I have tried to SSH to my Raspberry Pi Zero, following this tutorial. It worked for perfectly for Windows, but my Linux Mint machine doesn't seem to be able to establish the connection. After ...
1
vote
0answers
276 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
612 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
461 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
352 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 ...
0
votes
2answers
959 views

Need help with networking interfaces

I'm building a smartphone controlled quadrotor and I have been following this guide from here. Link Everything was good, until I realised I could no longer use other interfaces over my pi. I have ...
0
votes
2answers
890 views

fswebcam - every other attempt results in device busy

I am using fswebcam on a debian image on a rpi3 with a logitech webcam. Fswebcam works great... when it works. I've plugged in a powered USB to make sure it was not a power issue of some sort, but ...
0
votes
1answer
926 views

Linux 64 on pi 3?

Can anyone confirm and identify an .img download for a raspberry pi that executes Linux (preferably ubuntu server) in 64 bit mode?
0
votes
1answer
473 views

Sorry, user root is not allowed to execute '/usr/bin/python3 [closed]

I've created a startup script in bash that calls a Python script. However when I run "sudo sh StartUpScript.sh" from the command prompt it says: "Sorry, user root is not allowed to execute '/usr/...
1
vote
0answers
54 views

Incorrect encoding when software flow control is enabled sim808

I have an issue with my sim808 module and its encoding mechanisms when software flow control is enabled. The issue is simply bad encoding of the lowercase w character (baud rate 115200, Data Bits: 8, ...
0
votes
1answer
61 views

How does Raspbian OS store time during power outage in Raspberry Pi 3?

I have Raspberry Pi 3 computer with 'RASPBIAN STRETCH LITE' OS on it. The computer does not have any real time clock and cannot preserve time during a power outage. However when I unplug power from ...
-3
votes
1answer
761 views

Fastest raspberry pi 3 os other than raspbian? [closed]

When I first got my raspberry pi 3 I had raspian on it but I didn't like it very much so I put kali linux on it and it was even slower than raspbian. Is there any other raspberry pi os that is fast ...
1
vote
0answers
33 views

Compiling pascal applications to .elf on PC

I am making a pascal app on my pc for use on my Raspberry Pi, I thought that coding the app on my Raspberry Pi would be inefficient. I have completed the app and now I need to test the app on my ...
1
vote
1answer
162 views

Kernel Development with Raspberry Pi

I want to start working and playing with linux kernel. Instead of trying on my own system, I want to do the same on raspberry pi. I want to compile my own kernel and start working on my first kernel ...
4
votes
0answers
117 views

service for mongodb 3.4 server on SLES 12 SP2 Doesn't start(Raspberry Pi 3)

The link below was the source: https://software.opensuse.org/download.html?project=server:database&package=mongodb It was the only mongodb 3.4 which could be installed correctly but unfortunately ...
2
votes
1answer
1k views

Trying to run plex media server on Raspberry Pi

Hi I'm trying to run Plex on my Raspberry Pi 1st gen rev B, but it does not seem to be starting. I have followed this guide and looked at others that look the same and can't see what the issue is. It ...
1
vote
0answers
101 views

switch on wifi client with hotspot already running on raspberry pi [closed]

I'm writing an IOT application for a device with Rpi zero W as backend module. During the initialization process- Rpi switches on as Hotspot (on a particular channel) and gets the wifi home network ...
-2
votes
1answer
318 views

Rpi Zero W - What reasons to wifi not to load after power outage

I have 2 Rpis : Zero, Zero W. Both are running Strech Lite, in console mode, and serve a role in GPIO control in Home automation ( running pigpiod ). Last night, both was shut down due to power ...
4
votes
2answers
143 views

How can I tell if a manufacturer provided SD Card image has malware or spyware bundled in it?

I bought an el cheapo 3.5" LCD for my Raspberry Pi from Amazon. It turns out there are many people making copies of the design, to the effect that the first(?) manufacturer says that their LCD is ...
1
vote
3answers
579 views

how to enable super user to modify config.txt file to enable codex

I am trying to edit the config.txt file so that I can add the licence codec key codes. I have noobs and Raspbian installed on the Pi. When I use the text editor that comes with Raspbian to try and ...