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.

0
votes
1answer
31 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 ...
0
votes
0answers
200 views

What version of Alpine Linux OS to install on Raspberry Pi 3?

I want to install Alpine Linux on Raspberry Pi 3. There are two versions of armhf and aarch64 on the download page. Which one should I choose?
0
votes
1answer
51 views

How to scp full directories from pi-zero to my pc via ssh

Is there any command or way to essentially "scp" a full directory from a raspberry pi to my linux PC using ssh?
0
votes
0answers
32 views

Pi-Zero can't boot past the user login screen - “Perpetual Login”

I have a pi-zero which I was most recently trying to install OpenSSL-1.0.2r on that wouldn't start up. I fixed the issue already by swapping out the SD card but I'm still not sure why the problem came ...
3
votes
3answers
3k 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 ...
0
votes
3answers
8k 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
1answer
216 views

vnc4server. Daemon working. autostart not working

I have a Parrot OS Linux installed on my raspberry pi 3. I installed a VNC server using vnc4server and after some fight with ~/.vnc/xstartup file is working fine with my xfce4 Desktop Environment: ...
0
votes
0answers
44 views

DHCPREQUEST not reaching interface wlan0

I have lots of DHCP requests on my Raspberry Pi Zero that never reaches the netowrk interface. All these entries in /var/log/syslog does not reach my "tcpdump -i wlan0 port 67 or port 68". Seems they ...
2
votes
4answers
56 views

How to retain the ability to use SSH across different wireless networks

I set up my Raspberry Pi to run on Linux, and I use it as a portable computer. I'm trying to find a way to maintain SSH across different networks while retaining the ability to manipulate it using SSH ...
0
votes
1answer
114 views

Raspbian compile single kernel module gfs2

I'm trying my best to get GFS2 mounted on top of a dual-primary DRDB /dev/drdb0 volume on Raspbian, but I'm hitting an issue. The DRBD volume has a working stonith/fencing cluster setup using ...
1
vote
1answer
55 views

why does my raspberrypi 3B not able to reboot each time power is shut down?

I installed raspberian in my raspberrypi. It worked for the first time. But when I shut it down, it didn't reboot again. So, I had to format the sdcard and reinstall the raspberian again. And ...
0
votes
1answer
172 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 ...
0
votes
1answer
76 views

cannot ping link-local address from other subnet when defaut gateway route is seted

i have a problem with my route table i dont know why it doesnt work. I have two test cases, i did draw a network map for each case. currently i cant resolv the goal. testcase-1 network map ...
0
votes
1answer
69 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
20 views

Python3 Error while accessing from a Particular path

I'm Getting the following errors while using python3 from a fixed location, here it is 'python' Directory (/home/pi/python) pi@rituraj:~/python $ python3 Python 3.4.2 (default, Feb 10 2019, 17:23:02) ...
2
votes
1answer
1k views

jackd with raspberry pi 3 jackd server stops

I'm using jackd2 on my raspi3 with a USB sound and recording device like this one. Build is Jessie https://www.amazon.co.uk/Adapter-External-Headphone-Speaker-Microphone/dp/B016CU2PEU/ref=sr_1_2?ie=...
0
votes
1answer
61 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 ...
1
vote
1answer
53 views

I need a lightweight CLI Linux Distro that can support Python

I have a spare raspberry pi, I figured i'd use it for a python releated task, is there a cut down Linux Distro that does not include a GUI but only a CLI that can also fully support running python ...
2
votes
2answers
22k views

tightvncserver - Displaying Grey Screen on Kali-Linux upon VNC Connection

PROBLEM: Upon connecting to my tightvncerver on port 5901, I am greeted with a grey screen with an 'X' for a cursor. Hardware: Raspberry Pi 3 Operating System: Kali Linux 0.6 Raspberry Pi 3 w/ ...
0
votes
0answers
20 views

Raspberry Pi 3 B won't boot up again, even after (supposedly) clean shutdown

everyone. So I am very new to Raspberry pi. I just installed Raspbian yesterday sing NOOBS, and it was successfully installed. I played around with it after install and even rebooted it (using the ...
1
vote
1answer
659 views

Installing equivalent of unrar package (rar)

I wanted to install rar from packages ( https://packages.ubuntu.com/search?keywords=unrar ), unfortunately it seems that it is impossible on Raspbian: pi@raspberrypi:~ $ rar bash: rar: command not ...
-1
votes
1answer
465 views

Run Alpine on Raspberry PI 3 Model B+

I try to run my spare Raspberry PI 3 Model B+ with the most recent version of Alpine Linux (3.9.0). After I plugged everything in, HDMI, keyboard, LAN, SD Card and power, I don't get any reaction. ...
0
votes
1answer
46 views

Raspberry Pi WiFi hotspot - Assign address from Wireless network IP range to eth0

I have hostapd and dnsmasq running on a RPi which I have configured to broadcast a local wifi network and assign connected wireless devices an address in the 192.169.1.x range. What I want to achieve ...
3
votes
3answers
3k views

When does the OS kill an application?

I have an application which polls a bunch of servers every few minutes. To do this, it spawns one thread per server to poll (15 servers) and writes back the data to an object, however sometimes the ...
1
vote
1answer
35 views

Create new ISO from configured distribution

I have read that this is possible on Windows using Win32DiskImager.exe but I'm looking for a Linux (Mint) based solution. I have downloaded the latest distribution and configured it with the software ...
0
votes
0answers
130 views

Getting error: `/usr/bin/veracrypt: No such file or directory` after installing veracrypt

I am trying to install the armv7 version of Veracrypt on my Raspberry Pi. I downloaded it from: https://launchpad.net/veracrypt/trunk/1.21/+download/veracrypt-1.21-raspbian-setup.tar.bz2, unzipped and ...
0
votes
0answers
181 views

Raspberry Pi 3 Linphone Calling

So I am working on a project where I have to be able to make sip calls to a raspberry pi 3 and have it automatically answer any incoming calls. I have been reading this guide: https://wiki.linphone....
0
votes
1answer
294 views

Should I use raspivid for longer videos and do I need a spacious MicroSD?

Can I record a longer video (2h+) with raspivid and store it on a USB drive (100GB+) while using a small MicroSD card (8GB)? Specifications: Resolution 1080p Framerate 30fps Format h264 I am not ...
1
vote
0answers
426 views

Processing keystroke input on startup

I am currently working on a project where I am using a Raspberry Pi (running Raspian Wheezy) to handle authentication to a locked door. I have a usb numeric keyboard plugged into my pi, and I have ...
1
vote
1answer
885 views

Can't change user permissions

I just mounted my Apple Time Capsule to my pi, but for some reason I cannot change, add, or remove any content from the directory. I have tried changing permissions from my username and from root ...
0
votes
2answers
2k views

tightvncserver not setting up properly during installation using apt-get [duplicate]

I am trying to use tightvncserver on my Raspberry Pi 3 so that I can access the GUI without a monitor and keyboard. However, the install isn't updating-alternatives to vncserver in /usr/bin/ ...
1
vote
1answer
4k views

Midori FullScreen mode on boot

I have setup my Raspberry Pi 3 with Midori, X11-Server, Unclutter and Matchbox. Created a small bash script that will run midori in full screen mode that is fairly like this one: #!/bin/sh ...
0
votes
2answers
175 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 ...
0
votes
0answers
14 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
21 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 ...
1
vote
1answer
33 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 ...
0
votes
0answers
10 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
102 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
2answers
435 views

Yocto build on Raspberry Pi3 stuck on Rainbow screen

I am trying to learn about Yocto Project on my Raspberry Pi3 board. I have followed the steps mentioned in this link to build the Yocto image. I am behind a firewall, so I have changed the git.py ...
1
vote
0answers
52 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 ...
4
votes
1answer
428 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?
1
vote
0answers
55 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
87 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 ...
1
vote
3answers
12k views

Raspberry Pi USB 3 HAT or alternatives

I am looking for a cheap way to utilize USB 3.0 speeds for my external peripherals. The latest Pi 3 model B still has USB 2.0 ports and from what I have read, until USB 3.0 prices fall, it will be a ...
1
vote
1answer
4k views

How to disable wireless AP on RaZberry

I'm trying to set up a home automation system using a Raspberry Pi 3 (with a RaZberry 2 Z-Wave controller) and the Z-Way Z-Wave Controller. I've set up my Pi with a complete SD card image, as ...
3
votes
4answers
3k views

Encrypt specific directory on raspberry pi

After hard searching for a way to protect my python code on raspberry pi from strangers access, finally, I'm convinced with all answers I read "No Way to protect python code". But I still searching ...
0
votes
0answers
30 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" ...
2
votes
2answers
12k views

Sudo has stopped working : sudo: error in /etc/sudo.conf, line 0 while loading plugin `sudoers_policy'

I have a weird issue with my Raspberry pi - sudo has stopped working. Every time I try to run a command using sudo, i get this: sudo: error in /etc/sudo.conf, line 0 while loading plugin `...
3
votes
1answer
1k views

Connect external hdd ExFat

I'm trying to connect my external hdd which is in ExFat, but it won't mount it. I've got "fuse:device not found", but if i do fdisk -l, I can see it. Can someone know how to fit it ? Or if you have ...
8
votes
2answers
9k views

What is /dev/vchiq in Raspberry Pi?

I am using Raspberry Pi 3 and raspbian jessie and i came across /dev/vchiq by trying to call program (omxplayer) with perg-cgi which would play some music on my RiPi. And i coudn't get it to work. ...