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

Raspbian compile single kernel module gfs2

I'm trying my best to get GFS2 mounted in dual-primary on Raspbian, but I'm hitting an issue. Whenever I try to mount the GFS2 volume, I get an error: mount -t gfs2 -o noatime,nodiratime,noquota /dev/...
1
vote
0answers
11 views

Is it possible for Raspberry Pi to update database on Android and Firebase/AWS through Bluetooth?

This is for a school project. The idea is that the Pi (with sensors) will collect data, and store them temporarily on the Pi. Once the Pi is paired via Bluetooth, it will send the data to the phone, ...
0
votes
0answers
9 views

Multiple delayed output from pi camera

I’m trying to create up to 4 delayed outputs from the pi camera. The length of the delay needs to be varied 15-60 seconds. Is there a way to buffer the cameras feed and use the same buffer for all the ...
0
votes
0answers
18 views

Problem with interfacing ds18b20 and mcp3208 simultaneously

In my project i am trying to interface both DS18b20 and MCP3208. When i interface both any one interface only working but not both(spi and 1-wire) not working simultaneously. For ds18b20 i am using ...
0
votes
0answers
8 views

ProxyCommand Settings Absible

ip_bastion_host=`tail -n +2 file | awk '($6) {print $5};'` vpc=10.0.* echo """ Host $ip_bastion_host User $ssh_name IdentityFile ~/.ssh/gcloudssh Host 10.0.* User $ssh_name ...
0
votes
1answer
44 views

Terminal and program run on boot-up

I am trying to find a way to open a terminal and run a program on boot using Raspberry Pi's newest Raspbian Jessie. I have tried to use the following: /home/pi/.config/autostart/whatever.desktop [...
1
vote
1answer
28 views

Only allow a specific peripheral to be connected to a USB port

I am turning my raspberry pi prototype device into a market product. The data and the program running on the pi must be protected. But we have a USB webcam attached to it (provided by us, hence we ...
1
vote
0answers
44 views

Raspberry Pi jammed after few days of continuous work? size full?

I made a project on raspberry pi 3+ and left it on over a weekend. After 4 days, when I came back, the program was not working. When I try to connect it with Remote Desktop, it was not working. I ...
1
vote
0answers
45 views

Calling a program from /etc/rc.local

I have a simple script that adjusts the monitor's brightness that is set to run on startup. #!/bin/bash gpio -g 18 1024 gpio -g mode pwm gpio pwmc 1000 gpio -g 18 800 I am calling this script from /...
0
votes
0answers
18 views

How to connect Solenoid Lock to Raspberry Pi 3

Here is the scenario: (We also have camera) Here is the link for solenoid lock: click here When we run the our python code, camera will take an picture of QR code and it can get the QR code content ...
0
votes
0answers
19 views

arecord only works with -D

Long story short, my mic was working fine yesterday. I then had a pair of USB speakers connected and then again disconnected. And now I cannot get the little thing to do a arecord with using the "-D" ...
0
votes
2answers
33 views

Raspberry Pi batman-adv ad-hoc network setup unreliability

Problem: I am trying to configure batman-adv network on raspberry pi 3b+ following this, using on-board wlan0 interface coming with raspberry pi 3b+. Once the network is executed by following all ...
1
vote
1answer
49 views

Configure pi so it doesn't show boot info - splash screen only

I'd like to configure my pi 2 so that I dont see any booting info. I'd like to have a splash screen (or video if thats even possible) and boot into a C++ game I wrote.
0
votes
0answers
69 views

Ubuntu, Firefox can access internet, but terminal can't

I'm connected to university router, and I know they have many restrictions, but firefox is accessing the repo links without any issue, but the terminal can't. How can I make the terminal use the same ...
0
votes
1answer
29 views

How do i create a raspbian sdcard with existing rootfs and boot folders?

I have a copy of rootfs and boot folders of a raspbian installation sent to me in via dropbox. How do i take a new sdcard and create from it a bootable raspbian? Also: the folders are in an archive ...
1
vote
1answer
30 views

Direct connection to Pi with usb-to-ethernet adapter possible?

I've got a pi 3B to which I always ssh over my home network. I'm now going to be traveling for some time and I want to mess around on the go. I read that you can connect directly to the pi using a ...
0
votes
1answer
22 views

Access Point connection problems/questions

So, I have a RaspberryPi3 b+ with Raspbian 4.14.78 and a Ubuntu 16.04 laptop. Now I want to use the laptop as a server and the RaspB as a client and have them communicate wirelessly. But I would ...
0
votes
1answer
68 views

Connecting a 1TB USB 2.0 WD Elements drive

I've just purchased a Raspberry Pi 3 and I've installed OpenELEC onto the Pi so I can run the Kodi. After this step - after this first step - I've succesfully set it all up and I've managed to get ...
-1
votes
1answer
46 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
439 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
64 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
80 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
1answer
38 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, ...
-1
votes
0answers
103 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
34 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 ...
4
votes
1answer
88 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
22 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
69 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: ...
1
vote
1answer
83 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
114 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?
2
votes
2answers
204 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
230 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
40 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
100 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
217 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
45 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
19 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
42 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 ...
3
votes
0answers
168 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
158 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
113 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
50 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
38 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
32 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
86 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
112 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
34 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
171 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 ...