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

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
0answers
18 views

RPI3 Bootable usb flash drive clone to micro sd card

I have been trying to clone my bootable usb pen drive to microsd card. I have been using usb pen drive for RPI3, But facing Power Issues, Pen drive is consuming more power hence i want to move to ...
0
votes
1answer
33 views

Show me how to a start a background process and then be able to kill it at later time

Can someone please show me an example of starting a simple background process on the command line; and then later maybe have to open a new command line and then kill the background process?
0
votes
0answers
13 views

Transmission-daemon permission denied in /home/pi/ folder. How to fix it?

I don't want to use any USB drive with my Raspberry Pi because my SD card has 32GB storage. So i put /home/pi/torrent/downloads and /home/pi/torrent/incompleted location in the /etc/transmission-...
0
votes
0answers
15 views

FBI slideshow shortest interval time

Is it possible to run a slideshow using FBI with an interval < 1 second? I haven't been able to find any discussion of this on any Raspberry Pi forums. Setting the -t flag to a decimal value (e.g. ....
0
votes
1answer
17 views

Trouble with changing owner group of a windows shared folder from root to pi

I have mounted a windows shared folder to a raspberry pi directory using sudo mount.cifs ip_address_windows_machine/folderpath /home/pi/shared_folder -o user=MY_USERNAME,password=MY_PASSWORD The ...
0
votes
2answers
37 views

In Raspberry Light how do I conditionally disable the wlan interface when the eth interface is connected?

We are using Screenly and a Raspberry Pi 3 Model B for digital signage. I see from the documentation that this is running on Raspberry Light version of Linux. Due to the web interface for Screenly, we ...
0
votes
0answers
26 views

Apache2 - not running sudo command

i've problem with apache2. It is not executing Python Scripts which includes "sudo" command. Those scripts are working fine while running from terminal (as a "pi" user) Apache2 is using "pi" user: ...
2
votes
0answers
43 views

Why doesn't extract-vmlinux work with Raspbian's /boot/kernel*.img?

To monitor if a reboot is necessary, I wanted to compare the version of /boot/kernel*img against the version of the running kernel. To get the kernel version of a compressed linux kernel image (...
-2
votes
1answer
54 views

How can I setup i2c on Alpine Linux? [closed]

There are tutorials all over the internet about how to enable i2c on Rasbian using raspi-config, but I'd like to work with Alpine Linux. How do the i2c devices/drivers/kernel modules work and how can ...
0
votes
1answer
56 views

Recovery of SRM save game file from Retropie corrupt SD card

I've been googling at this all night and have found multiple conflicting methods of recovering/formatting/saving corrupt SD cards but i'm a complete n00b with both Raspberry Pi and Linux. Basically ...
0
votes
1answer
36 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
0answers
27 views

Rpi sd card image back up done in windows not open in ubuntu?

I have taken the back up of my Rpi SD card using win32diskImager in windows. I have got the successful message and the Image file. Then I tried to open the same image in the ubuntu but only the boot ...
1
vote
1answer
26 views

Missing cpu.cfs_period_us cgroup subsystem in Raspbian Stretch on Raspberry Pi Zero

I'm dabbling about with cgroups on my Raspberry Pi Zero using the latest version of Raspbian Stretch and I was surprised to see only the following cpu cgroup subsystems available: cgroup....
0
votes
0answers
23 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 ...
0
votes
2answers
29 views

Cannot execute copy of an original file

For testing and learning purposes I have made a copy of raspi-config file. i can see it in directory and can open it for editing. However, after saving it with different name I cannot execute it ...
0
votes
1answer
43 views

Cross Compiling ARM Kernel on 64bit machine

I've been trying to cross compile a kernel for my Pi 1 on my 64bit Desktop, following this guide: https://www.raspberrypi.org/documentation/linux/kernel/building.md At this command (in the last ...
0
votes
1answer
20 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 ...
5
votes
1answer
204 views

Installing Linux on Raspberry pi 3 b+

I am currently going through tutorials explaining how to install linux kernel on the raspberry pi, most of the tutorial (an example) recommend the use of an SD card and to install the kernel on it. so ...
0
votes
3answers
45 views

Apache permissions on local network [closed]

I'm playing around with some automation for my home and have setup Apache and MySQL on my Pi along with a basic web page to control some pins on the Pi. I am wanting to set permissions on the whole /...
0
votes
0answers
21 views

Raspberry Pi 3 Model B As Dedicated Media Device?

Just ordered a Raspberry Pi 3 Model B From Amazon. I only want to use it to play MP4 videos from external sources, via a USB port obviously, since they only have limited (SD) storage on-board. I've ...
0
votes
0answers
43 views

PPS ioctl failure in GPS

I am using U-Blox AG GPS in my Raspberry pi 3. My GPS had a fix and displayed all the data in a right way. After an hour of working, it is not getting a fix. So I checked the gpsd status. It displayed ...
0
votes
1answer
131 views

Reading Multiple bytes in Raspberry Pi over I2C using Wiring Pi library [closed]

0 down vote favorite I am trying to build one sensor interface using Raspberry Pi over I2C. I have installed WiringPi. I am seeing limitations of wiringPi library, that supports only 1 or 2 bytes I2C ...
1
vote
2answers
85 views

GPS on Raspberry Pi 3

I am using Raspberry Pi 3 with U-blox AG USB GPS. I am not getting a fix in it. To check the data coming out of GPS I used the following command: sudo cat /dev/ttyACM0 It did not show any data. My ...
1
vote
0answers
23 views

ftrace + addr2line

I want to get kernel source code file name and line number of a kernel function from the function address that ftrace outputted on Raspberry Pi 3. I tried addr2line -e /boot/kernel8.img [function ...
1
vote
0answers
20 views

LIRC Doesn't detect remotes

I've got some data that I want to send through IR, and I've got one remote working, with this config file. However, this is the only config file that LIRC recognizes. I've been putting all files into /...
5
votes
2answers
565 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
0answers
82 views

Linux obexd server utility OPUSH file receive

Using sdptool, I have added the OPUSH and FTP profiles against my bluetooth stack on Linux (yocto Linux to be precise). Given below are my profiles: Service Name: OBEX Object Push Service RecHandle: ...
0
votes
2answers
40 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
0answers
7 views

How do I block USB & LAN Card in raspberry pi [duplicate]

The Problem block USB & LAN Card in raspberry pi What I Have Tried I added blacklist usb_storage or storage-usb in /etc/modprobe.d/raspi-blacklist.conf to block USB in raspberry pi but did not ...
0
votes
0answers
50 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
84 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
42 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
15 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 ...
4
votes
1answer
86 views

What 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
65 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
27 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
30 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
101 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
163 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
65 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
43 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
-2
votes
1answer
48 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/...
3
votes
1answer
349 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
34 views

how to exit read only filesystem to get write permission to download a driver form github?

I am trying to set up a 5inch LCD on my rpi3. It runs Kali Linux, I'm on a no GUI boot and (automatically) logged in as root. When running the command (to download the drivers): git clone https://...
0
votes
1answer
44 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
0answers
33 views

Automatic deployment in Raspberry pi?

I am using Rpi as the client machine in my project. Here I develope and edit my codes in PC and update it to the VCS. once I update code to the master from branch in GIT, the changes must be ...
0
votes
2answers
165 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....
0
votes
1answer
380 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
65 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
0answers
21 views

Raspi Python thread, animation and waiting for mic

I'm trying to develop a robot... This robot has: a gui interface (that has some images, text,fonts etc) ; a gtts voice that keeps listen to my mic, and after that , send the text to google, and it ...