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.

Filter by
Sorted by
Tagged with
0
votes
0answers
27 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=...
1
vote
1answer
135 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
24k 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
23 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
2k 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
748 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
63 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
41 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
226 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
310 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
333 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
441 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
951 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
5k 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
316 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
24 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
22 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
35 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
153 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
475 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 ...
1
vote
0answers
58 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
109 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
1answer
5k 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
34 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
14k 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
2k 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 ...
9
votes
2answers
10k 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. ...
1
vote
1answer
79 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.
2
votes
1answer
5k views

Raspberry Pi install screen - Internal Error, ordering was unable to handle the media swap

I am trying to install screen in my Raspberry Pi. If I run sudo apt-get install screen, I get the following error: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?...
2
votes
2answers
1k views

Can I install Edubuntu onto Pi?

How can I install Edubuntu onto Pi without using a server or a windows/mac OS? I have tried a lot of different things and I cant seem to find anything on youtube to help me with installing this OS ...
5
votes
4answers
425 views

dd for image backup

My SD card corrupted itself but I have a back up image. The partition table leave 1GB unallocated space at the end so that I can restore to any 8GB memory card regardless of memory fluctuations. ...
0
votes
0answers
229 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
38 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
2answers
3k views

Connection to internet without port forwarding

I want to access RPi from Internet without port Forwarding. Is there any way to do it? if yes, then how many and how to implement them?
4
votes
7answers
4k views

Can I connect two Linux systems via USB?

I would like to hook up my new Raspberry Pi A+ to an older B model without having to connect the A+ to WiFi. Can I connect them somehow via USB? Can I do it with a hub in between?
4
votes
1answer
4k views

libstdc++ Error: `GLIBCXX_3.4.22' not found

I was trying to cross-compile dlib for Raspberry Pi, using the arm-linux-gnueabihf compiler. After successful runs of cmake and make -j4, I ran python setup.py bdist_wheel --repackage, which created ...
13
votes
9answers
130k views

SSH “connection refused” on Raspberry pi - cannot find why

I have the following problem SSH "connection refused". It would work fine, but while I am working on the SSH, I would get "connection refused" and would have to re-connect (which does not occur for ...
-1
votes
1answer
237 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
2k 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
623 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
1k 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 ...
4
votes
1answer
96 views

Are there any downsides to using “apt” on the raspberry pi?

I normally use apt-get on the raspberry pi to update/install/etc., but I like just plain apt better because of the better interface and text coloring, etc. I can't seem to find anything on google that ...
5
votes
1answer
1k 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
3answers
857 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 ...