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
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
40 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
203 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
288 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
321 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
437 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
931 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
283 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
22 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
34 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
137 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
461 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
103 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
33 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
13k 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 ...
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
420 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
214 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
34 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
207 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
557 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
95 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
964 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
830 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 ...
7
votes
1answer
2k views

What kernel modules and other setup are needed for using the RPi3 built in Wi-Fi?

Question I'm trying to get the Wi-Fi working (again) on my model 3. I am not using Raspbian. Which kernel config settings and loaded modules are needed for the Wi-Fi device to show up in ifconfig -a?...
0
votes
3answers
993 views

Cannot SSH to Raspberry Pi 3 using ethernet with Ubuntu

When I do the same thing with my Windows desktop with PuTTY, everything's fine. However, my Ubuntu laptop can't seem to find it. It always replies with no route to host. I also tried it with a USB ...
0
votes
1answer
52 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 ...
0
votes
1answer
391 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
1answer
493 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: ...
2
votes
2answers
1k 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 ...
1
vote
0answers
50 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 ...
7
votes
2answers
6k views

What does each of the default groups on the raspberry pi do?

I need to create a more limited user for the raspberry pi. I can guess what some of these groups do (cdrom, sudo, i2c, spi) but what do some of these other groups do (adm, dialout, pi)? Here is the ...