Questions tagged [linux]

Linux is a contemporary multi purpose operating system. The Raspberry Pi can run one of a number of Linux distributions, the most popular being the official "Raspberry Pi OS" (formerly Raspbian).

Filter by
Sorted by
Tagged with
0 votes
2 answers
558 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 ...
1 vote
1 answer
261 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
1 answer
73 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 ...
1 vote
0 answers
469 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
0 answers
400 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: ...
3 votes
1 answer
2k 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 ...
0 votes
1 answer
128 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
0 answers
155 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
1 answer
2k 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
0 answers
1k 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 ...
1 vote
1 answer
614 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 ...
0 votes
2 answers
597 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, ...
3 votes
1 answer
6k 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
2 answers
572 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
0 answers
215 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 ...
-1 votes
1 answer
80 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
2 answers
2k 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 ...
0 votes
1 answer
758 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
0 answers
523 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 ...
user avatar
2 votes
1 answer
501 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 ...
1 vote
1 answer
572 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 (...
-1 votes
1 answer
238 views

cant open image from rc.local

I would like to open image from rc.local. I am sure rc.local is getting called during boot as it execute/run test c++ code. I tried with various image viewer like gpicview , mirage. I can try with ...
0 votes
1 answer
1k 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
0 answers
68 views

Usb drive not showing in autorun lxterminal but is shown in gui windows?

First of all Thanks a lot for answering my question. When Raspberry pi boots up normally, and in terminal I give the command ->cd /media/pi ->dir I can see my Pendrive name Here and files inside. ...
3 votes
0 answers
309 views

Coin acceptor misbehave when connected on raspberry pi

I have a Bill note acceptor and a Coin acceptor, and I have wrote a program in C# to communicate with these two machines, and it worked perfectly on windows, after that I migrated this application to ...
1 vote
1 answer
313 views

Exclude kernel modules from plain Buildroot 2016.05 image

Buildroot is a great tool for creating a custom embedded linux system. If one builds a plain system without any changes from the default configuration using the current 2016.05 version one ends up ...
0 votes
1 answer
311 views

When I plug a USB camera in I get strange characters displaying on the screen

I have a raspberry pi B+ running the latest Jessie image (Linux raspberrypi 4.9.22+ ). I have a monitor, usb keyboard and usb mouse plugged into it. I also have a wired ethernet plugged in. No other ...
1 vote
1 answer
59 views

Linux programming concept approach [closed]

I am working on an IoT project using a Raspberry That connects to a couple of sensors gathers data, saves into a local database then at the end of the day sends all the data to a remote server. ...
0 votes
0 answers
60 views

Forgotten location of linux startup instruction

I have an instrument control program running which presents a webpage for user input. It's on a little raspberry pi running raspbian. I have, alas, and stupidly, forgotten which of the many available ...
1 vote
1 answer
204 views

Ubuntu core 16 fstab new entry lost upon reboot on raspberry pi 3

I installed Ubuntu core 16 image on Raspberry pi 3. When I added new entry in /etc/fstab to mount windows share upon reboot, that entry is lost. I looked at df -h output as shown below and it appears /...
2 votes
0 answers
158 views

DNS and NTP not working after installing NetworkManger on Raspberry Pi

can anyone help me, this issue has been driving me mad for 4 months, I have very limited experience with any form or Linux and at a complete loss at to how to make it work. I have a Raspberry Pi 4 ...
3 votes
2 answers
8k views

How to see debug logs from Raspberry Pi 3 during boot process?

I am currently trying to debug a "black screen" on a Raspberry Pi. The Pi is plugged to an in-house PCB using connector of the Pi and the LCD screen is connected on this in-house board. The Linux ...
1 vote
0 answers
90 views

Scan and label mac addresses on local network with web interface (similar to fing)

I really like the fing app on android (app that brute force scans all ips on the local network then port scans to see what services are active) and I was wondering if there was something similar that ...
18 votes
3 answers
23k views

Where is Raspberry Pi "wastebasket" located in the file system?

I am trying to understand the Raspbian file system better. I opened properties on the Raspberry Pi's "Wastebasket" hoping to find out where it is located in the file system and I found trash:///. ...
14 votes
10 answers
138k 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 ...
0 votes
0 answers
280 views

Rainbow screen issue with raspberry pi 3 model b+

I am using Raspberry pi 3 Model B+ and using Ubuntu Mate operating system not Raspbian Os I am also using raspberry pi 3 supportable original charger of 5.1V 2.5A. still i am facing the same rainbow ...
7 votes
4 answers
5k views

Create a Raspberry pi backup without dd

I would like to backup the entire content of my Raspberry Pi SD Card on linux PC. I have found online many tutorials that suggest to use dd to perform the operation. However my SD Cards have a wide ...
0 votes
0 answers
299 views

How to fix ssh connection that's been broken by dhcpcd service

I'm accessing my Pi Zero W over ssh and I recently wanted to assign it an own network (I want it to host a webserver in it's own private network). I tried following this tutorial (unfortunately it's ...
1 vote
1 answer
125 views

PedalPi, lag when piping in data

I am modifying a pedal pi (link here). I split the input program from the output program. For simplicity right now, that all it does. The standard out from my input program is being fed to the ...
3 votes
2 answers
2k 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
2 answers
1k views

wpa_supplicant: sync channels between two wireless (virtual) interfaces

I'm working with a raspberry pi zero w with a stripped down distro - NARD, and I would like to use two virtual wireless interfaces, one running in AP mode (service network) and the other connecting to ...
2 votes
1 answer
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 ...
0 votes
2 answers
957 views

Is there any way to extract files from damaged backup.img file?

I have a raspberry pi backup.img file that I was trying to extract some of its inside files, I used different softwares to do that but all failed. I used Winzip but I got a message sys that this file ...
2 votes
2 answers
8k views

Build a customized Linux kernel for the Raspberry Pi

I downloaded a Linux kernel "linux-4.1.13.tar.xz" from kernel.org that I want to compile it for Raspberry Pi. Is it possible?
2 votes
1 answer
101 views

USB device not found in lxsession mode

When I use the desktop mode of Raspbian, I can find the connected USB device on my Pi in this path: /media/pi/'My Usb Disk' But when I use chromium web kiosk mode and lxsession I cannot find the ...
0 votes
0 answers
136 views

Problem with rc.local to start a script after linux boot

I made a startup.sh script to start my aplication 10 seconds after the linux boot. The script, startup.sh, works very good, it wait 10 seconds to run my application (terminal). I put the path of this ...
2 votes
1 answer
504 views

Raspberry Pi Compute WiFi module via USB

I am designing a board around the RBp Compute and would like to add WiFi connectivity to this device. However, I do plan on using USB 2.0 for its datarate (e.g. to send and receive images), so the ...
1 vote
1 answer
217 views

python script not launching when put into crontab

I have two python scripts, flickSwitch.py & measureTemp.py, the first calls the second when a button is pressed. All works fine when run directly from /home/pi. I put the first script into ...
1 vote
1 answer
686 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
1 answer
1k views

Connect Pi3 to Windows/Linux via wifi direct?

I'm building something that needs to connect to a Pi3 wirelessly but there won't always be a wifi network for them to talk over. So I was hoping to use wifi direct to get them to talk directly. So ...

1
5 6
7
8 9
18