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
1answer
54 views

Is Raspbian LINUX?

I'm new to Raspberry pi and there is this one thing that is confusing me. What is the difference between LINUX and Raspbian? Is Raspbian build over LINUX, like the core or the basic layer is LINUX and ...
0
votes
0answers
17 views

“wlan0: carrier lost” untimtly WiFi deconection on raspberry pi 3b+ and pi0 W

I am facing this bug since few days. I am using: Rpi 3b+ or Rpi0W, Buster-lite with last update, Kernel : 4.19.118+ I using Ubiquti WiFi AP and dnsmasq for managing the lan, both working normally with ...
1
vote
2answers
24 views

How can I delete Chromium browser history at boot up on Raspberry Pi-4 b

Playing the online game, Forge of Empires, I get the notice to clear cache. This is run in Chromium Browser on my Raspberry Pi 4 b 4Gb running Raspberry OS 32 bit.
0
votes
1answer
55 views

Raspberry Pi 4 unable to run aarch64 binary with aarch64 kernel

I followed this instruction to enable 64 bit kernel. https://www.raspberrypi.org/forums/viewtopic.php?t=250730 And I am pretty sure now my kernel is 64 bit. $ uname -a Linux RPi4 5.4.51-v8+ #1327 SMP ...
0
votes
1answer
29 views

what metadata is it Raspberry PI thinks I should copy?

I was just reading an installation instruction for raspbian https://www.raspberrypi.org/documentation/installation/installing-images/linux.md when I read this command dd bs=4M if=2020-02-13-raspios-...
1
vote
2answers
77 views

How to unlock password for Pi account

I wanted to control my Pi with my PC via ssh. In the tutorial they recommended making a new account and locking the Pi account(for security purposes). I followed these instructions: 1.)Make New Super ...
0
votes
1answer
26 views

Unable to use aircrack-ng commands after using the argument --bssid with airodump-ng!

I'm using the internal network adapter which comes with the Raspberry Pi 4 and Kali OS's Pi 4. First I type the command airmon-ng check kill The output airmon-ng start wlan0 Then airodump-ng wlan0mon ...
1
vote
1answer
17 views

UART - wiringSerial.h vs standard Linux open/close

I'm making an application that uses the UART port from the 40pin headers and I found online that there's a library called wiringSerial.h I was wondering what's the difference between wiringSerial.h ...
1
vote
1answer
68 views

Backup with dd super slow when run as root

I have a simple script that backups Raspbian to a network share: sudo dd if=/dev/mmcblk0 of="/mnt/NAS/backup.img" When I manually run the script with sudo ./backup.sh, everything is fine, ...
1
vote
1answer
25 views

Error: Index of / Name Size Date Modified. Whenever trying to ftp into Linux

I have set up a vsftp service on linux. It use to work perfectly fine by typing in my browser ftp://kali:@ip-address/. However now whenever i try to do it I get the following message on the page: ...
1
vote
2answers
51 views

Compiling linux kernel from source with external module

So, actually I am using raspberry pi with OS version Stretch and kernel version 4.14.98-v7+. I need to add kernel module for wifi module I use from this repo: https://github.com/LairdCP/Sterling-60-...
0
votes
1answer
36 views

Trying to cd into c89 directory in my Raspberry Pi 4 [closed]

I am a beginner to raspberry pi. So, I am trying to put a sample code using C in raspbian in my RP4 I was successfully able to cd into /usr, and then /bin. So now my bash shows up as: "pi@...
0
votes
1answer
28 views

How to set relative configuration file for my name-password AP?

I would like to connect my RPi3 with wifi attached. I can scan all APs in my office using command "iwlist wlan0 scan". But I can't find IP address at response of ifconfig wlan0. I can connect to an AP ...
1
vote
2answers
44 views

Is it possible to move drives to another raspberry pi without losing data?

I have a raspberry pi with two external drives attached to it. For some mysterious reason it won't start anymore. It freezes during boot. (I believe it's because one of the drives accidentally was ...
3
votes
1answer
282 views

Can't upgrade or install software. Get a strange error that says it failed to fetch data from a very sketchy website

When running the commands: sudo apt-get upgrade sudo apt install xscreensaver I get the error "Failed to fetch https://113store.cr/es/ Writing more data than expected (131072 > 121282)" at the end ...
1
vote
1answer
65 views

Raspbian - Panel Preferences (Panel Items) via Terminal Commands

I'm trying to figure out how to automate the setup of a raspberry pi 3B / 3B+ from its default settings to my customized needs via a bash file on a flash drive. I'm using the standard desktop version. ...
0
votes
1answer
57 views

How to disable services on DietPi (debian linux) and harden the security?

Fresh DietPi install has bitcoin client and all sorts of unnecessary services installed. Which ones can I remove and how? The goal is to have a simple system can displays a website (needs to be able ...
1
vote
0answers
46 views

How do I use the proper linux header extension folder

I am trying to build a TP-Link driver and when I run make I get... "******************************************" "NO SKRC,we will use default KSRC" "******************************************" make ...
0
votes
1answer
31 views

Trying to install OrientDB a run it as service

I'm trying to install OrientDB on my Raspberry 3, and configure it to run it as a service. I'm following the instruction found at here. I downloaded the binaries, and unpacked them at /opt/orientdb/ ...
0
votes
0answers
26 views

Moving /home dir form sd card to USB drive on a Rasspberry pi 4

I'm trying to run Insightface package on raspberry pi 4 after struggling to install all required packages namely cv2 and mxnet but when I exit python or run my program I get “corrupted size vs. ...
0
votes
0answers
22 views

Send signal from php script to python

I am quite new in the raspberry community, but want to use my pi as garage door opener that also creates a slice if humidity outside is lower than inside the garage. Thus, I have written a Python ...
0
votes
1answer
39 views

Abnormal data usage raspbian [duplicate]

I have notice a signification data usage on my pi even when I am not using it. this can be a problem as I am using a IOT sim card with a limited bandwidth. my goal is to stay under 5Mb/day however it'...
0
votes
2answers
46 views

Unable to purge x11 common package group

I'm trying to remove all GUI elements off my raspberry pi 4 and run it headless only, but whenever I try to do sudo apt purge x11-common*, it gives this error: Building dependency tree ...
0
votes
1answer
35 views

Unable to copy to SMB from MacOS

I'm in the process of setting up a shared folder on my Raspberry Pi and am having a hard time figuring out the issue with some of my permissions. I set up my smb.conf file as such: [content] Comment =...
1
vote
1answer
45 views

How to solve this problem? I cant install samba in my Raspberry Pi 3 Always give error

root@MyHome:/# sudo apt-get install samba Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: attr ibverbs-...
1
vote
2answers
56 views

.txt files become empty

I have few .txt files I use to store configuration information for some python and shell scripts on my Pi. They are occasionally read from and very rarely written to. The Pi runs 24/7 mostly but will ...
0
votes
1answer
37 views

I want to mmap the GPIO on Raspberry Pi 4b+ but get invalid argument. (Running Raspbian Buster)

// The c code shown here works: int fd = open("/dev/gpiomem", O_FLAGS); printf("fd = %d\n", fd); long int* addr = mmap(0, 0x1000, PROT_RDWR, ...
0
votes
0answers
25 views

How to make a voting machine using a Rapberry pi?

I'm a newbie on raspberry pi tinkering world, making a small project with R307 fingerprint module this link was quite helpful to get me used to the module later as the writer presents all the ...
1
vote
1answer
35 views

Error installing fakeXrandr library on Raspberry Pi (Ubuntu OS)

I have successfully installed a ubuntu image on my Raspberry Pi 4. I am trying to do some screen customization, and so as a result I'm looking to install this project, fakeXrandr: https://github.com/...
1
vote
1answer
29 views

How to Stop the prompt window - The file is executable. Do you want to execute it?

I created an executable file (say- TestApp) from a python file using pyinstaller. Everything works fine. But every time, if try to open it, this Prompt window will appear. [The file is executable. Do ...
1
vote
0answers
84 views

Traffic Control using Raspberry Pi 3 B+

My router doesn't have bandwidth control per IP/MAC feature. I was wondering if there's a way to use my Raspberry Pi 3+ (that's already used as a pi-hole) to control the bandwidth for each IP/MAC in ...
0
votes
1answer
52 views

Usability of a Pi 4 as a linux-based MIDI synthesizer/sampler

I'm currently using an old Core 2 Duo 1.8GHz laptop, running Lubuntu 18.04, as a synthesizer (technically, sampler) for a USB MIDI controller. It's not great—the processor seems to be too slow to ...
1
vote
1answer
44 views

socket: Address family not supported by protocol error on raspberry pi 3b+ with xenomai

I have been trying to run the xddp-label.c example as given in the xenomai documentation on my raspberry pi model 3b+ with xenomai patched kernel. I can compile the program just fine, but when I try ...
2
votes
1answer
42 views

Monitoring hardware accelerated video decoding

I'm using RPi4 board with Raspbian on top of it I wonder if there is a way to tell if any process currently using hardware accelerated video playback? Ideally it would be nice to be able to say ...
1
vote
1answer
98 views

Raspberry PI https fails

I have a new Pi Zero W. I'm trying to install a Debian (DietPi) onto it but it always fails. I don't have a keyboard and external monitor, so I choose a headless install with predefined wifi key and ...
0
votes
1answer
47 views

Raspbian/Raspberry Pi unexplained data usage

I have noticed that my Pis sometimes use about 100-300 mb randomly in a single day, this happen like once a month or once every two month maybe. any idea if Arabian does some sort of update or ...
2
votes
0answers
38 views

Real Time audio recording from two audio input and playing simultaneously in 2 audio output

I have one Raspberry Pi with 2 USB speakers and a mic system. I want to record simultaneously from one mic and play in another speaker. Like, MicA recording will be played in SpeakerB and MicB ...
1
vote
2answers
69 views

NAT from wlan0 to eth0

I have several industrial machines. Each machine is an isolated network, 10.10.0.0/8, with three elements: A Raspberry Pi, a PLC, and an HMI. The IP addresses of the three components are static and ...
0
votes
2answers
56 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
1answer
37 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
0answers
62 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
36 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: ...
2
votes
1answer
528 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
34 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
1answer
20 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
27 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 ...
1
vote
0answers
206 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 ...
2
votes
1answer
757 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 ...
0
votes
1answer
69 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
588 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" ...

1
2 3 4 5
15