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
6 views

How to fallback to DHCP when STATIC fails?

I have a linux computer with a pre-configured static ip. When the pc is installed i need to access it via remote access teamviewer. Sometimes the static ip not working. Then i would like to switch to ...
0
votes
1answer
23 views

Wifi Not Working with Ubuntu MATE 16.04 and Pi 3b+

I was able to get Ubuntu MATE to finally run on my Pi 3B+ after following this tutorial: https://www.youtube.com/watch?v=tdJrd75_068&lc=z234tvgocvmqyzb5a04t1aokgml1ll00iwv1gbnt2da0rk0h00410....
0
votes
1answer
39 views

How can I debug why SFTP is not working while SSH is working?

I have an arcade run on raspberry pi 3 flashed with RetroPie 4.4. I already enabled SSH capability via raspi-config menu Test I can SSH into my Pi perfectly fine, but I can not SFTP into it. ...
0
votes
1answer
18 views

How do I prevent Pi prompt for username and password ? [duplicate]

I have an arcade run on raspberry pi 3 flashed with RetroPie 4.4. Just now, I'm not sure what had happened to my Pi hardware, network, or even SD card when I boot, I kept getting prompt to enter the ...
0
votes
0answers
19 views

how to add timestamp in both sender and receiver end for a message?

I was working to develop a Client-server application in Python over UDP. Both the client and server are connected through a wireless link (in ad-hoc mode wifi) and I was interested in calculating the ...
0
votes
1answer
23 views

Develop RPi framebuffer program on Linux laptop

Is there any emulator or some other way to develop a program for my 320x480 Adafruit PiTFT screen (available as /dev/fb1) on my Linux Mint laptop? The program currently gets images from Pi Camera, ...
0
votes
0answers
32 views

Updating Linux kernel on Raspberry Pi 3

So I have Ubuntu 18.04 on a Raspberry Pi 3 right now, and after installing linux-raspi2 metapackage, I got this error: ln: failed to create symbolic link '/boot/dtb-4.15.0-1026-raspi2': Operation ...
0
votes
1answer
24 views

Parallel compilation linux real time kernel

Within the framework of a lab I had to compile a kernel using several commands such as: make zImage j-8 make modules j-8 make dtbs j-8 j-8 means I used parallel compilation but I am asked this ...
-1
votes
0answers
17 views

Low latency mode SD card (real time kernel)

Why is it important to disable the low latency mode while using a real-time kernel on the RPi ?
4
votes
1answer
64 views

Login to Raspberry Pi Via Python Script

I am trying to make a system to login to the Raspberry Pi with an RFID tag. I successfully connected the RFID reader RC522 module to the Raspberry Pi and I can retrieve the number of the tag and write ...
0
votes
0answers
17 views

What to use as device path for sysfs binding ttyS0 to custom kernel module?

I'm currently trying to bind a custom kernel module to ttyS0 of my Raspberry Pi Zero WH. With raspi-config I set the Interface Options for Serial to The serial login shell is disabled The serial ...
1
vote
1answer
37 views

Why won't my systemd execute?

I get this error message when I try to run systemd: Failed to create /user.slice/user-1000.slice/session-c2.scope/init.scope control group: Permission denied Failed to allocate manager object: ...
0
votes
0answers
69 views

bcm2837 raspberry pi 3 b+ linux image

I tried boot from NOOB, raspbian but only I see red light is on, green light is off. Where can I found out sd card image for bcm2837? NOOB image consists of files: bcm2708-rpi-0-w.dtb bcm2708-rpi-b....
1
vote
1answer
49 views

SSH on Raspberypi hang or frozen

I have direct connection with Raspberry pi via ethernet cable on linux machine. if i run ssh pi@10.42.0.22 i could establish secure connection. the problem i encountered is raspberry hang or frozen ...
0
votes
1answer
67 views

How to ssh without needing a password [duplicate]

I just want to run a python file on raspberry pi and use terminal code ssh. So, I don't want type password to do that. What should I do?
1
vote
2answers
141 views

Failed to create symbolic link?

I'm trying to symlink file /etc/systemd/network/00-default.link to /boot/00-default.link. This allows me to force a change to my MAC address from the boot directory, which is the only directory ...
4
votes
1answer
90 views

A USB modem not working on Raspberry Pi 3 Model B+

I have been trying set up USB modem on my pi (Raspberry Pi 3 Model B+) but have not been successful. The modem in itself is recognized - lsusb shows the entry for the device - but I cant't get it ...
1
vote
2answers
38 views

Can't see home folder in drive but can see from terminal

I'm trying to open my home folder on my raspbian lite sd card. I have the rasbian os plugged into a sd card reader to my ubuntu laptop. I can't see it in drive but I can see it when I type ls. ...
0
votes
0answers
38 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
38 views

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

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
50 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
26 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
18 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
39 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
27 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
72 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
93 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
95 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
42 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
37 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
0answers
29 views

My Pi seems to be duplicating my USB stick in the file manager

I formatted my USB stick and called it STORE-1 But after some time, File Manager showed me this: Before it was SETTINGS and STORE-1. Now access is denied to STORE-11 and STORE-1 and I can only use ...
1
vote
1answer
57 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
72 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
30 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
83 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
21 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
227 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
47 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
52 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
299 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
3answers
188 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
42 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
31 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
1k 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
108 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
56 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
95 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
144 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 ...