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
1
vote
1answer
716 views

Raspberry Pi Model B for a Wireless AP: nl80211 driver initialization failed

I'm trying to setup my Raspberry Pi Model B to act as a standalone Wireless AP using a Ralink MT7601U Wireless Adapter. However, starting hostapd presents me with this error. pi@raspberrypi:~ $ sudo ...
1
vote
1answer
246 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 ...
1
vote
1answer
36 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
1answer
433 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....
1
vote
3answers
1k 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
1answer
120 views

Which Distro provides Timely Security Updates and have the longest support cycle for Raspberry Pi 1,2 & 3? [closed]

I am looking for a Linux Distro that provides timely security updates for all Raspberry Pi variants. Please indicate if the update life-cycle is released based (preferred) or rolling/continuous. ...
1
vote
3answers
1k views

Trying to Connect to Raspberry Pi through Ethernet

I'm trying to connect to a Raspberry Pi using the command ssh pi@raspberrypi.local (using Raspbian Stretch Lite) over Ethernet so I can configure Wifi on the Pi. However I keep on running into this ...
1
vote
2answers
44 views

Script inserts literal * instead of wildcard ONLY during boot

This has driven me crazy so I hope someone can help. I have a script that works perfectly when executed manually or when restarting lightdm, but when it runs during a boot and auto-login, it returns ...
1
vote
1answer
277 views

Raspberry Pi randomly unresponsive

I have a Raspberry Pi 3 Model B, I have tried running a GitLab server on it but it seemed to be too performance expensive so I uninstalled it, I also had to cut the power of the Pi without properly ...
1
vote
1answer
908 views

error installing and unfound package?

I'm using raspberry pi3 B and am new to the linux system (raspbian). I was trying to build VS Code into raspberry pi3 according to: https://www.hanselman.com/blog/...
1
vote
2answers
175 views

yocto - edit file in rootimage with no permission

I am working with the yocto project and a Raspberry Pi 0 with wifi. I want to integrate the wpa_supplicant.conf file and copy it to the /etc/ folder. My recipe fails with reason stating that I don't ...
1
vote
1answer
2k views

glibconfig.h no such file or directory

I just installed glib in Raspbian(Debian version). I want to read a config file using glib. I am trying to write a C application in Codeblocks and I use the header #include <glib.h> But I ...
1
vote
1answer
6k views

How to install fonts?

I very much like Adobe's Utopia fonts and already installed it in other Linux distris, but with Raspbian it doesn't work. I copied them first to /home/pi/.fonts and then also to /usr/local/share/...
1
vote
1answer
135 views

GParted permission issues

On newly updated/upgraded Pi 3 B I can list (lsusb) the device - eternally connected/powered hard drive GParted will not detect the same device. I can access the device via File Manager parted ...
1
vote
1answer
66 views

How to build access point (from internet into local network) using RPI?

I need to be able to connect over ssh to my machines that are in local network where they do not have publick internet access. I have RPI, yota usb lte router, linux on rpi board, local connection ...
1
vote
2answers
516 views

eth0 prioritize over wlan0, although it has no internet access

My pi is connected to my home router using wlan0, and have access to internet successfully When I plug my pi with an Ethernet cable, connected to other router, not connected to internet, I cant ping ...
1
vote
1answer
440 views

Raspberry pi for smart mirror, what operating system?

I am conducting a larger project where i will create a smart mirror powered by an raspberry pi 3 B. The smart mirror will be able to use some google play application and the system will also be able ...
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 ...
1
vote
1answer
697 views

udev rule symlink pointing wrong?

I have a USB box for a rfid reader that I plug into my RPi (model 2). It shows up as either /dev/ttyUSB0 or /dev/ttyUSB4 - or something else. I would like to use udev rule to create a symbolic link ...
1
vote
1answer
1k views

Disable right click in openbox / lxmanfm?

I am using a Raspi 3B running Jessie /proc/ver shows it as 4.1.17 if that is useful? I am trying to build a kiosk system for a project and have run into an issue that I cannot seem to fix. I have a ...
1
vote
1answer
424 views

install opencv on raspberry Pi 3 and create Mat vector in opencv in linux

I am writing a code for object detection and coordination finding in OpenCV. In windows, everything is done and the program is working wit no problem, but I need to move it to Linux and run OpenCV in ...
1
vote
3answers
646 views

What libraries do I need to write a desktop application for Raspbian with Visual Studio “C++ for Linux” and remote GDB Debugging?

So I bought a Raspberry Pi 3 Model B that I run Raspbian on. I found this tutorial and I've managed to connect to my RPi from Visual Studio and run the example program that was included in the ...
1
vote
1answer
383 views

Cronjob to send temperature alert via SMS

I am doing a small project on my RPi. I already created a website that shows the temperature. The temperature is updated every minute with a cronjob and stored in a .txt file. Now I want to be ...
1
vote
1answer
1k views

How can I upload sketches to an Arduino over a raspberry pi?

I am doing robotics project on Raspberry pi and Arduino. The Arduino UNO is connected to raspberry pi. I am using the raspberry pi in Putty (SSH) now. I want to setup user interface for raspberry pi ...
1
vote
1answer
1k views

Remote desktop to main session

I need help with xrdp; I need a remote desktop to the same "X server" the Pi boots into. Is this possible? E.g., if: I have the Pi with keyboard but no display and I want see input through remote ...
1
vote
1answer
138 views

Is there any way to further increase the speed of clk in spi?

At first, i tried to communicate with MCP3008 with raspberry using wiring Pi library and as it communicates through the spi driver, the data retrival of it is quite slow. Then, i opt for the next ...
1
vote
1answer
1k 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 ...
1
vote
2answers
509 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
2answers
730 views

Change raspberry pi 2 password and Root password on multiple Pi's at once

I currently have 52 Pi's that were installed in a rush for a project. I monitor them remotely using a combination of RDCman and filezilla. I need to change username and(or at least) password for the ...
1
vote
1answer
204 views

clutter deprecated

I am trying to build Linux Mint's cinnamon DE on Ubuntu 14.04 (rpi2b) but I get this error on the make command, can someone help? CC libst_1_0_la-st-bin.lo st/st-bin.c: In function '...
1
vote
1answer
1k views

Wifi Tethering error on Pi 3 OSMC

I have a Raspberry Pi 3 with the latest OSMC installed. It's connected to LAN using the ethernet port. I tried to enable WIFI tethering from the ethernet to Hotspot, But it gives me this error "...
1
vote
1answer
587 views

Trouble receiving UART data?

I am working on a project. And thetask is to collect the data from a washing machine using a raspberry pi. I have followed many tutorials, and for reference I have mentioned the steps below, Set up: ...
1
vote
1answer
35 views

My rpi connects multiple times to the router

Why does my rpi connect so many times at once to the internet. For the record I have one rpi2 and one rpi3 and they share the same sdcard, I just switch it between them. I tried both the ethernet as ...
1
vote
3answers
7k views

Raspberry pi camera module libavformat

I have a camera module connected to my raspberry pi and have followed these instructions to make it work for a stream: Installation guide I type this command to test it: ./motion -n -c motion-...
1
vote
1answer
513 views

Can not use GPIO pins when Official Raspberry Pi screen is connected

I have a Raspberry Pi2 B+ model, with noobs distro installed. I had some programs using wiringPi library and an ultrasound component working (tested them using a separate monitor via HDMI). However, ...
1
vote
1answer
2k views

Dnsmasq DHCP Server Not Assigning IP Address

Setting up Dnsmasq on Kali Linux. I'm attempting to configure a MITM attack on my home network. I have a USB Wireless Adapter (Alfa) that I'm using to host the AP through hostapd. When a device ...
1
vote
1answer
236 views

I am using hih9000 series temperature & humidity sensor in that first 2 byte for humidity data and last 2 byte for temperature how can i decode that

import smbus import time import datetime #SMBus(0) - Raspberry Pi Model A #SMBus(1) - Raspberry Pi Model B bus = smbus.SMBus(1) #I2C address of sensor address = 0x27 def temp(): #rvalue0 = ...
1
vote
1answer
1k views

Rasp Pi PPTPD Service Not Starting on Boot

I have configured the PPTPD serice on my Pi and it works well. When I reboot the Pi the PPTPD service is not starting automatically. When seaching Google there are many ways suggested. Should I use ...
1
vote
1answer
4k views

/var/swap file abnormally large

I ran this command because my Raspberry Pi's SD card is full: sudo find /var -type f -a -printf '%s %p\n'| sort -nr | head -10 The output: 104857600 /var/swap 46641296 /var/lib/apt/lists/...
1
vote
3answers
2k views

PHP USB serial port call from Windows to Linux

I have a piece of simple code that works on a Windows - WAMP environment, e.g. <?php `mode com3: BAUD=38400 PARITY=N data=8 stop=1 xon=off`; file_put_contents(com3, chr(1).chr(255).chr(1).chr(4)....
1
vote
1answer
766 views

missing crypto kernel module on Raspberry Pi 2

I'm trying to use dm-crypt on my Raspberry Pi 2 with Raspbian (jessie) to open a trueCrypt volume, but i get Required kernel crypto interface not available. Ensure you have algif_skcipher kernel ...
1
vote
1answer
2k views

Raspberry PI 2 Model B Not Detecting ds18b20 Sensor (Tested with Multiple Sensors)

I just wanted to ask some advices. I have tried everything I could find, including : /boot/config.txt add Line dtoverlay=w1-gpio,gpiopin=4 Update and Upgrade Updating firmware Buying new Sensors. ...
1
vote
1answer
82 views

Process stdout/stderr still showing up on monitor

I have a process I am running on startup from my rc.local file: setsid python /Path/To/script.py < /dev/zero &> /Path/To/log.txt & However, when I boot the pi, the stdout is still ...
1
vote
1answer
2k views

SSD1306 as a framebuffer with fbtft driver on a raspberry pi 2

I am facing an issue when trying to use my oled screen as a standard and simple linux framebuffer. I followed these instructions for the wiring https://learn.adafruit.com/ssd1306-oled-displays-with-...
1
vote
1answer
390 views

what is the differnece between the gpio interrupt and hardware interrupt?

In raspberry linux, we are using interrupts and gpio interrupts. Whats the difference between them?
1
vote
1answer
2k views

Raspberry Pi High-Quality Sound Recording

For a project, I need to be able to record at a sample-rate of at least 500 kHz. I want to use a Raspberry Pi, but I know that it has no interface with sound. I found the Wolfson Audio Card for the ...
1
vote
2answers
403 views

Two GPIO-based TFT screens?

Is it possible to connect two GPIO screens to the Raspberry Pi at once? Ideally, one with touchscreen capabilities and one without. If it's not possible, could both a GPIO screen and a small HDMI ...
1
vote
1answer
1k views

i have connected webcam to raspberry pi and now i want to get mpeg stream from webcam to my Laptop ?

i have used creative webcam and connected to raspberry pi for the purpose to receive mpeg real-time stream from that webcam to my laptop or on android cell-phone but when one of my classmate installed ...
1
vote
1answer
570 views

Mobile to Raspberry PI audio streaming

I have trying to use the Raspberry PI + Wolfson to be an audio decoder and player. It would be the receiver for control/audio data for a specialized sound system. The PI would receive TCP packets from ...
1
vote
1answer
144 views

Auto Connect to Public Network and then “Accept TOS”

I have a video installation in a Museum for this summer. Currently there is a USB drive in the Pi that has an auto-login / bash.rc file to automatically play *.mp4 files in Omxplayer in order then ...