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
2
votes
1answer
2k views

How to change default apache folder to Flash drive on Raspbian?

I have apache 2.4 on my raspberry pi and need to change DocumentRoot to flash drive folder. But I have 403 Forbidden. In apache logs: AH01630: client denied by server configuration: /media/pi/www/...
2
votes
2answers
2k views

Raspberry unbootable after unexpected shutdown

I have a raspberry Pi, Model B. I installed Raspbian on the SD card and I would like to use it as a SVN server. The problem is that when it shuts down unexpectedly (i.e. there is a blackout, or DC ...
8
votes
3answers
6k views

How to use the perf utility on raspbian?

I'd like to use the perf tool on my 2016-02-09 Raspbian Jessie operating system. For that, I have installed the linux-tools package (which contains perf). The kernel version in use on that image is 4....
1
vote
1answer
2k views

Raspberry Pi 3 BLE scanning failure

I am trying to implement the next code to scan for BLE devices: #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/socket.h> #include <bluetooth/...
0
votes
1answer
2k views

How to solve blank screen issue on Raspberry Pi GUI?

It's my third day with my Raspberry Pi. I do know Linux. I am all good with using SSH with my Raspberry Pi but I do need a GUI sometimes. I tried installing vncserver, tightvncserver and now xrdp but ...
0
votes
2answers
47 views

How do I upload an .ino file into a Arduino Uno from a headless ( No X11 ) Raspberry Pi?

FYI (AKA before people start down voting) I have a simple sketch called test.ino. I can run it from my macbook without issue. However, when I try to hook the Arduino Uno directly up to the raspberry ...
0
votes
1answer
3k views

Scan Distance from Eddystone Beacons

I would like to read an Eddystone Beacon using my Raspberry Pi 3 to calculate distance from the beacon. I can't find any resources to do this from the official Eddystone documentation. How should I go ...
3
votes
2answers
2k views

Setting up ad-hoc wireless

I have pi 'A' setup to be an adhoc network and using dhcp3-server. /etc/network/interfaces auto lo iface lo inet loopback iface eth0 inet dhcp auto wlan0 iface wlan0 inet static address 10.10.1.1 ...
1
vote
1answer
33 views

Back up system to hdd

I have a hdd connected to one of my raspberry pi’s that is on raspbian, now I would like to be able to backup my Linux machines 2 or more to that hdd on a regular basis to help with system restores. ...
1
vote
1answer
32 views

hi i have problem in kali linys

kali@kali:~$ sudo apt install tor Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: tor-geoipdb ...
0
votes
0answers
114 views

Xbox 360 controller not listed as HID device on a Raspberry pi

I'm trying to use an Xbox360 wired controller to jog a CNC machine driven by a Raspberry Pi 4. I'm trying to use a node.js module called xbox-controller that interfaces to the Xbox360 controller via ...
0
votes
1answer
1k views

Electron app just shows blank white screen on a Raspberry Pi

I am trying to load a program on an ARM machine which I was running on a Linux on an x86 machine. The program loads but just with a white screen. The program was developed using electron and when I ...
1
vote
0answers
39 views

Compile Linux kernel with toolchain built for aarch64 and uClibc

I am using RPI3 model B I have compiled toolchain using crosstool-ng with the following sample. ./ct-ng aarch64-rpi3-linux-gnu Using ./ct-ng menuconfig, I changed C library from glibc to uClibc. ...
1
vote
1answer
34 views

RPI Serial Communication through USB

I am trying to set up serial communication between my Raspberry Pi Zero W and my PSoC. I want to do this through a normal microUSB to USB 2.0 converter cable, which looks somewhat like this picture: ...
0
votes
1answer
776 views

How to exit read only filesystem to get write permission in order to download a driver form Github?

I am trying to set up a 5 inch LCD on my Raspberry Pi 3. It runs Kali Linux, I'm on a no GUI boot and (automatically) logged in as root. When I run the command (to download the drivers): git clone ...
0
votes
1answer
188 views

Not able to compile the u-boot 2017.09

This is the OS info that I am using in my pi3 (BCM 2837) board. pi@raspberrypi:~ $ uname -a Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux [ am I using the ...
2
votes
1answer
296 views

Cannot install kali-linux-full in raspberry PI 4

I have downloaded the image from the offensive security website and I got kali running but I can't seem to find a way to install the full kali package(kali-linux-full). The packages that come bundled ...
1
vote
1answer
4k views

How to: run .sh script with rc.local

I have the following: server pi and client pi both running latest update version Raspbian Stretch I have a .sh script on the client pi to update the time from my server pi. When I run this manually ...
0
votes
1answer
996 views

shell script not working in crontab but works manually

I am using crontab to open an image at every minute using a shell script. My script is working if I run it manually. But it is not executing in crontab. I have another script running well in crontab ...
0
votes
2answers
155 views

Effect of Interfaces file on dhcpcd.conf in Raspbian Jessie

I was working with Raspbian Jessie version to set a static IP address for eth0 port. As of my knowledge we can configure it with interfaces file but for jessie, there is new file for it and that is ...
0
votes
1answer
17 views

vncserver don't work by no error in raspberry

I have one raspberry zero which settled before correctly and can connect to it by LMDE Linux, but after changing the Linux ti Ubuntu i have problem in working by ti and asked here: Ubuntu WiFi ...
0
votes
0answers
23 views

Why does OOM killer output not appear in dmesg?

I've got a Buster box (10.2) and I'm investigating some system freezes. While going through that, I think I'm not getting the OOM output in the syslog. For instance, running tail /dev/zero which is ...
0
votes
1answer
434 views

Programming Raspberry Pi Camera with C instead of terminal commands

Disclaimer: not so advanced here! Let me explain why I am looking for C code because the motivation itself maybe flawed. If I want to transport my Raspberry Pi project to the realm of customized ...
1
vote
0answers
110 views

Tor Router Raspberry pi 4 Access-Point no internet connection [closed]

I am trying to create a Tor Router with a Raspberry Pi 4, the newest raspbian version, the inbuild Wlan0-Card for the Access-Point and a external Edimax Usb Wlan1-Card to get a internet connection. I ...
0
votes
1answer
53 views

Lxde raspberry pi autostart variable not working

I cant use my variables in the next autostart @$x="https://mypage.com/#" @y=`cat /proc/cpuinfo | grep Serial | cut -d ' ' -f 2` @chromium-browser --incognito $x$y the y variable get the serial ...
1
vote
2answers
226 views

How to disable logs?

How do I permanently disable all logs that appear in /var/log/? I tried "service rsyslog stop", "systemctl disable rsyslog" but it still logs stuff because I type "sudo journalctl --vacuum-time=1s" ...
0
votes
2answers
529 views

Can the Pi run an embedded RTOS other than Linux?

I have a hobby project that requires a real-time MCU running an embedded RTOS like embox or something comparable. I know that it is typical for the RPi to be ran with a Linux flavor like Raspian, ...
2
votes
1answer
382 views

How to connect 3W 8Ω speakers to Raspberry Pi 3.5mm audio jack?

I have a pair of 3 Watt 8 Ohm speakers. https://www.amazon.in/JST-interface-Production-Raspberry-Projects/dp/B0738NLFTG My questions: I want to connect it Raspberry pi 3. How can I do that? From ...
1
vote
2answers
152 views

raspberry pi4 -> RemoteApp -> Windows 10

I’m trying to figure out a way to run a raspberry pi as a very basic desktop using linux, but with the ability to “run” a program stored on a Windows 10 Pro-N “server” in the house. Basically (and ...
1
vote
0answers
33 views

Linux driver support for OV4689

I am working on Camera driver in Linux. We used camera module with OV4689 IC. Below is the link https://www.arducam.com/product/1-3-ov4689-sensor-standalone-camera-module-uc4689-a46/ Any one used ...
5
votes
1answer
1k views

rpi 2: Unable to change irq affinity

I am trying to optimise getting GPIO interrupts into userspace. On the single core rpi 1 I couldn't get rid of quite some timing jitter, which makes sense as there's a lot of stuff going on on the cpu....
0
votes
1answer
73 views

Boot's cmdline.txt and config.txt files changed after install new package in rasbian at pi zero (USB OTG Connection)

I am using raspberry zero with USB OTG to my linux LMDE based this instruction , so when i install something like lcd 5inch driver, the files which changed in the boot's SD card folder. and the files ...
0
votes
1answer
132 views

SIP Generator Error Installing ROS Melodic on Raspberry Pi 4

I've been attempting to install ROS Melodic on my Raspberry Pi 4 (running Raspbian Stretch) according to the instructions on this webpage: [https://www.instructables.com/id/ROS-Melodic-on-Raspberry-...
2
votes
2answers
74 views

How to automate filesystem expansion

I have 3 commands I have to run manually to expand my USB filesystem. I am looking for help on automating this in a script that does not need user input at all. I understand you can expand the ...
-1
votes
1answer
41 views

automate filesystem expansion - booting from a USB Drive (8GB Image burned to 32GB USB)

I have an 8GB image that is burned to a 32GB USB drive. How can I automate this filesystem expansion process? Is there a script I can create to expand the USB correctly and fully? How can I find the ...
1
vote
2answers
203 views

Raspberry Pi 4 want boot Kali Linux, LCD screen shows “No Signal”

I want to boot Kali Linux with my Raspberry Pi. I have downloaded ISO file for Raspberry from this site. When I power on Raspberry, the LCD screen just shows "No Signal". HDMI cable is connected - I ...
1
vote
1answer
421 views

Stuck on Rainbow Screen after kernel upgrade on CentOS7

I ran 'yum update' on my Raspberry Pi3 running Centos7, and now it will not boot. Both LED's are solid (no flashing) and it does not get past the 'Rainbow Screen'. The following packages were ...
-1
votes
1answer
50 views

Bash Script not executing on system reboot (Linux) Ubuntu

I have a following script #!/bin/bash cd /var/www/html/bin/warpper/ source venv/bin/activate screen -A -m -d -S screen_celery celery -A tasks.celery worker --loglevel=info -c1 screen -A -m -d -S ...
0
votes
0answers
77 views

How can I setup pi-hole next together with another website securely on the same raspberry?

I'm hosting a nextcloud instance, accessible via a free subdomain, on my raspberry pi. For this purpose I run an apache server on my rasperry and I forwarded port 443 on my router. Now I've also ...
0
votes
1answer
364 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 ...
22
votes
8answers
36k views

Can't get a CIFS network drive to mount on boot

I have added a share in fstab to access a network drive with all my files on... fstab looks like: proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 2 /dev/mmcblk0p2 / ext4 defaults,...
1
vote
1answer
109 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 ...
2
votes
1answer
40 views

To perform only one task

How can we prioritize raspberry-pi3b+ model so that if my "code on python" is running then the raspberry-pi should not perform any other task in background. Since i have to calculate time taken by my ...
0
votes
1answer
488 views

How to set the SESSION_MANAGER environment variable?

I'm designing a GUI app using wxWidgets. My requirement is to open an image from within the app. For that I'm calling wxTheMimeTypesManager->GetFileTypeFromExtension(wxT("png")). Unfortunately, ...
2
votes
2answers
447 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
42 views

Writing to GPIO 1 (ID_SC) witth Pigpiod C interface

I am writing a general-purpose stepper motor driver C shared library for the Raspberry Pi using PIGPIO (pigpiod C interface) for 4 to 7 motors using A4988 drivers. I designed an interface board (...
2
votes
0answers
30 views

Mount network share on boot with hidden password

When I was trying to mount a network share on boot by adding the following line to the /etc/fstab file: //<server>/folder /home/pi/target cifs username=<username>,password=<password&...
0
votes
2answers
56 views

Broken /etc/network/interfaces file

So at first I had a problem with my raspberry pi connecting to any Wi-Fi connection because of an error which sounds like this "no wireless interfaces found". I've tried several fixes, nothing worked ...
1
vote
1answer
66 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
787 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 ...

1
2
3 4 5
15