Stack Exchange Network

Stack Exchange network consists of 175 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.

9
votes
2answers
6k views

What is the vcgencmd command?

I know what it does, but what does the name mean? Is it a acronym? In one sentence, how would you explain vcgencmd to someone new to Linux?
0
votes
2answers
352 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
2answers
3k views

VMware across clustered Raspberry Pi

I've read many threads about gaming clusters that always end up in "your software isn't built for clustering", but I've been lead to believe that VMware IS built for clusters. That being said, if I ...
47
votes
4answers
34k views

Emulation on a Linux PC

How can I connect an SD card containing a Raspberry Pi OS to my Linux PC, and boot the OS in an emulator? Why won't VMWare work? What are the limitations of this method? Related: Emulation on a ...
1
vote
1answer
1k views

Dnsmasq DHCP Server Not Assigning IP Address

Setting up Dnsmasq on Kali Linux. I'm attempting to configure a MITM attack on my home network. I have a USB Wireless Adapter (Alfa) that I'm using to host the AP through hostapd. When a device ...
0
votes
2answers
110 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
205 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
59 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, ...
0
votes
0answers
16 views

Use tmpfs for delta changes

I would like to run my Linux os (Raspbian) from an read only usb stick. However it should be possible to update the operating system. The changes should be stored in Ram (get lost after reboot). Is ...
1
vote
0answers
39 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 ...
1
vote
2answers
2k views

RaspberryPi: Auto fix root-filesystem at boot-time

I have several RaspberryPi's running (~100). After a power breakdown some devices no longer started with the following error message: It seems that the root-partition is broken. After I have ...
2
votes
1answer
349 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
44 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 ...
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
329 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
96 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
111 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
8
votes
1answer
10k views

How to boot raspberry pi very quickly into Linux?

I would like my pi zero to boot quickly (under 1 second) using Linux. In that case we can pretend it is embedded controller and not standard full blown (but slow) computer. Do you have any (...
-2
votes
1answer
163 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/...
4
votes
1answer
1k 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: ...
0
votes
1answer
59 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 ...
1
vote
1answer
1k views

glibconfig.h no such file or directory

I just installed glib in Raspbian(Debian version). I want to read a config file using glib. I am trying to write a C application in Codeblocks and I use the header #include <glib.h> But I ...
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 ?
1
vote
0answers
618 views

Raspberry 3, python and shared libraries

I want to code something which can remote this robot: Dobot Magician http://dobot.cc/dobot-magician/product-overview.html. I have a Raspberry 3 and I downloaded the precompiled DLL for Linux on Dobot'...
2
votes
1answer
154 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 ...
1
vote
2answers
12k views

How can I install numpy and pandapower?

How can I install numpy and pandapower on the RASPBIAN JESSIE LITE Minimal image based on Debian Jessie? the one without the GUI. And how can I install Pip and miniconda on it as well?
4
votes
2answers
46k views

Getting “No rule to make target 'modules'. Stop.” error when running makefile. What does it mean?

I'm trying to get a webcam working with my Raspberry Pi How do I install webcam firmware on the Raspberry Pi? I found a possible way of doing this with gspca. So I downloaded the file and unzipped ...
0
votes
1answer
6k views

Read/Write on Raspberry Pi 3 Bluez C/C++

Once I'm connected to a bluetooth device I try to read and write a request by handle or uuid (I tried both) with no success. I'm using this library gattlib-master which works for the examples of ...
1
vote
2answers
2k views

OpenWrt to Raspberry Pi

I am planning to turn my raspberry pi B+ into a router. The main motto is to create a QOS application on my Pi so that I can limit the bandwidth usage to a particular application. For example if I ...
1
vote
3answers
950 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
808 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
68 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. ...
4
votes
1answer
3k views

How do I use the I2C bus?

I want to attach an I2C device; it has 4 lines (SCA, SDL, +, -). I understand I can connect the first two to pins 3 and 5, and the last two to various places. I also understand I can multiplex the ...
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
votes
1answer
380 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
68 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 ...
3
votes
2answers
865 views

Network names switch on Raspberry Pi

I'm Running multiple Raspberry Pi 3's with Raspbian jessie. There is a wifi interface on board, and I added another wifi USB dongle. On all devices, these defaulted to wlan0 and wlan1 respectively. ...
0
votes
2answers
1k 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 ...
6
votes
1answer
4k views

How to use the perf utility on raspbian?

I'd like to use the perf tool on my 2016-02-09 Raspbian Jessie operating system. For that, I have installed the linux-tools package (which contains perf). The kernel version in use on that image is 4....
-1
votes
1answer
108 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 ...
4
votes
2answers
17k views

Where is syslog being written?

I have an out of the box Pi. See below on what I have done. If I have <?php syslog(LOG_INFO,'where are you'); ?> in a PHP script, where the the message being logged? $ sudo apt-get install ...
-1
votes
1answer
91 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
139 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,...
1
vote
2answers
34 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 ...
2
votes
1answer
78 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 ...
0
votes
2answers
10k views

How to interface raspberry pi and plc?

I am doing a project on controlling the plc by using raspberry pi. Any one please suggest some sample coding and tutorial regarding this project. am already finished a coding part to connect a control ...
1
vote
1answer
173 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 ...
9
votes
3answers
21k views

How to build custom OS for Raspberry pi from scratch?

I am new to kernel and embedded Linux. I have recently bought a Raspberry Pi and booted it using the Raspbian. I was fascinated by the Pi, to learn more on Embedded I have decided to make an home ...
0
votes
0answers
118 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 ...
2
votes
2answers
8k 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(): ...