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
125 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
929 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
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
2answers
725 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
197 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
565 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
33 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
6k 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
1k 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
227 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
2answers
10k views

Auto reload new images in feh image viewer

I am making a project about wireless notice board using an android app and a raspberry pi. I am using feh image viewer to display images as slideshow from a specific folder. The command I am using: ...
1
vote
3answers
1k 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
728 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
80 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
344 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
2k views

OpenWrt to Raspberry Pi

I am planning to turn my raspberry pi B+ into a router. The main motto is to create a QOS application on my Pi so that I can limit the bandwidth usage to a particular application. For example if I ...
1
vote
2answers
400 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
567 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
139 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 ...
1
vote
1answer
291 views

Raspberry pi as CAMAC controller

Has anyone ever tried using raspberry pi as a digital input/output card for high frequency (more than 100 MHz) digital signal? I am thinking about building a CAMAC controller, the interface to PC (I ...
1
vote
1answer
199 views

Linux Script to login to Raspberry pi and run some scripts inside raspberry pi

This is my scenario, We have some sensors on different sites, these sensors are connected with some equipment having SIM cards in it to allow the internet connection. On the other hand, we have a ...
1
vote
1answer
1k views

Hamachi Installation Fails

I'm trying to install hamachi on my Raspberry Pi. I had it installed previously but had to wipe the card after a failed update so here I am again. Every time I run the install script it fails. See ...
1
vote
1answer
376 views

RPi used as wakeup-light, bashscript+CEC+Raspbmc

I've a vision about using my RPi as a wake up light device along with my TV. The way it "should" work in my head is that I have it constantly on, checking the time. At a certain time it sends a CEC ...
1
vote
2answers
3k views

NTFS-3g HDD 0770 and 0777 permissions Owncloud

I want to install owncloud on my Raspberry-pi (Model B), I've got it running but only on my SD-card. Now i want to set the data on my External HDD. I've added the follow line in /etc/fstab, so the ...
1
vote
2answers
1k views

Streaming games from PC to RP

Let's say I want to play Supertux on big TV screen with RP connected. I don't want, and it's not always possible, to install all PC games on RP. What's the best way to run games on PC and display them ...
1
vote
1answer
2k views

Gather data from a PLC to a Raspberry Pi running Debian and then broadcast it on internet

I have an Unitronics V570 PLC which takes temperature readings. An Ethernet card enabled PLC is really expensive so I plan to connect the PLC to a Raspeberry PI. How can I use Python functions that ...
1
vote
1answer
1k views

Raspberry Pi camera feed is slow

I managed yesterday to hook my "LifeCam VX-800" to my Raspberry Pi. It works just fine, but it's very very slow. I tried adjusting that by decreasing the sleep duration in the code, but that didn't ...
1
vote
0answers
29 views

Where does the Raspberry PI 3 b+ IO peripherals mapped in the ARM virtual address space?

BCM2835 data sheet The earlier version of Raspberry PI (BCM 2835) data sheet shows that the IO Peripherals are mapped from starting address - 0x20000000 - In ARM physical address space 0xF2000000 - ...
1
vote
0answers
37 views

Linux VPN server without port forwarding

I want to make a VPN server on my raspberry PI. I know it's pretty much simple task but my router does not support port forwarding. So is there any other way to do that?
1
vote
0answers
53 views

install eclipse luna on raspberry pi 3

I'm new here and I want to ask if there is any way to install eclipse luna or higher on raspberry pi. I'm using Rasbian and the already installed Eclipse (3.8) sudo apt install eclipse doesn't ...
1
vote
0answers
59 views

Facing issue in loading Ethernet Interface for Raspberry Pi 3 B+ buildroot

I am building a Custom OS using Buildroot. I am following this article to build the custom os. Author of that article gave a sample image of the os that will be created after the build is completed. ...
1
vote
0answers
54 views

Touchscreen xinput calibration not working

I want to calibrate a touchscreen named "eGalax Inc. USB TouchController" on my Raspberry Pi. I think X and Y axes of the touchscreen are inverted. I used xinput_calibrator for this purpose. When I ...
1
vote
1answer
27 views

How can I restore the default toolbar or add apps from the command line?

So I was messing around with the toolbar and ended up deleting the whole panel. When I rebooted my Pi, the panel came back, but it was empty, so I opened the toolbar editor, and was able to add an ...
1
vote
0answers
128 views

Raspberry Pi/OBDII/Serial Communications over Bluetooth

Thanks for having a look at my post and my problem :) I'm presently developing an automotive on-board diagnostics scanner application in python3/wxPython. For the communications heavy lifting, I'm ...
1
vote
1answer
38 views

Earliest place in boot for output to I2C LCD (not HDMI)

We're using an embedded Raspberry Pi that uses a (I2C) 4x20 LCD (character) instead of HDMI. Since the boot process can take some time I'd like to get something on the LCD as soon as possible to say ...
1
vote
0answers
55 views

Raspberry pi3 TFT screen setup

EDIT: This is the the screen I bought This is my first post here so I hope I do not screw up too much... I have a raspberry pi3 with 3.5inch tft resistive touchscreen display (720x480) connected via ...
1
vote
0answers
51 views

Odd characters in LXTerminal with RealVNC viewer

Image below shows the output from service cron status, via ssh on the left, LXTerminal via RealVNC on the right. Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux ...
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 /...
1
vote
1answer
291 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 ...
1
vote
2answers
66 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 when I open the directory in GUI but I can ...
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 ...
1
vote
1answer
414 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 ...