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
0
votes
1answer
31 views

Which OS for a Raspberry Pi webserver? [on hold]

I want to turn a Raspberry 3 B+ into an webserver, but I am not sure which OS I should choose. I have some experience with Ubuntu server, but in the internet I often read that you should use Raspbian, ...
1
vote
1answer
29 views

Can't return any values from ttyUSB0

I'm using a SICK S300 scanner connected via Diagnostic cable to my Raspberry Pi, and it shows the connection as /dev/ttyUSB0 however I can't retrieve any data from it whatsoever. Here is a simple ...
0
votes
1answer
28 views

Setting gpio input interrupt with direct memory access?

I am new learner for raspberry pi 3B+, I ever study stm32 mcu, but it's my first time to use an Linux OS on a developing board. I read the BCM2837-ARM-Peripherals manaul and learn how to turn on and ...
0
votes
0answers
48 views

Warning: modules_install: missing 'System.map' file. Skipping depmod

I am trying to insert a kernel module using depmod and modprobe utilities in-order to resolve any dependencies. When I build the module it throws "Warning: modules_install: missing 'System.map' file. ...
0
votes
0answers
30 views

Is Raspberry pi enough to learn Ethical hacking and Linux? [closed]

There's a Kali image for pi but i wonder if it's worth it to buy a pi to learn Linux and Kali
1
vote
0answers
28 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
1answer
24 views

Scanning WiFi Signals as regular user

As per this: https://linux.die.net/man/8/iwlist I understand that scanning of WiFi Networks requires root access. If you are a regular user than you can only see the Wifi Network you are connected ...
1
vote
1answer
34 views

Arecord: “main:828: device or resource busy” when run via systemd service, but works fine from CLI

I have a python script which, when a GPIO button is pressed, launches an arecord process. This records audio from a USB microphone (plughw:CARD=GS3,DEV=0) and pipes it to another program for ...
0
votes
1answer
22 views

What database should I use for an application that will be deployed on both Linux (raspb pi) and Android

I'm building an application that will be deployed on two different platforms simultaneously (Linux (raspb pi) and Android/web). I'm using Python for Linux and either Python or JavaScript for Android/...
0
votes
1answer
63 views

4 pin PWM Fan to Rasberry

I would like to buy a Noctua NF-A4x10 5V PWM which is PWM enabled 5V Fan for 4 pins. So I would like be able to control it via code. Here is a question:As I said, its for 4 pins. How can I plug it? Is ...
-1
votes
1answer
47 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, ...
1
vote
2answers
255 views

Booting Alpine linux on Raspberry Pi 4

has anyone had success running Alpine Linux on the Raspberry Pi 4? I have copied the contents of the Alpine release for rpi 64bit from here to an SD Card formatted with FAT32, but I only get to the ...
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?
2
votes
0answers
87 views

Raspberry PI infrared remote

I have been trying for the past week to make a simple system to switch my air conditioning ON/OFF based on raspberry pi. I have my IR VS1838B infrared receiver, and a small circuit build out of a ...
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 ...
0
votes
1answer
27 views

Can I download Raspbian update packages on a Redhat Linux Server?

I have a Redhat Linux Server that I'm running and I'm trying to create a update repository for Raspberry Pis, is it possible to download the update packages to my Redhat server, and if so, how?
0
votes
2answers
40 views

How do I download raspberry pi updates to a linux server [closed]

Relativity new to Raspberry Pi and Linux in general, but essentially I'm trying to create an update repository for my Raspberry Pis via a separate Linux server, how would I go about doing this? On the ...
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
53 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 ...
0
votes
0answers
23 views

How do I change my Pi's bluetooth profile for it to show up as a bluetooth device not an audio device?

I want to give the pi a profile such that I can send and receive messages from it. However, in the list of bluetooth devices, it is showing up as an media device.
0
votes
1answer
30 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 ...
1
vote
1answer
40 views

IP address randomly changed wlan0

I had an issue related to IP change. Is it typical for a Raspberry Pi to randomly change the IP? When I ran the command ifconfig, I noticed that under wlan0 inet, my IP address changed. I was made ...
0
votes
0answers
20 views

How do you set up Squid Proxy behind DHCP router?

I installed Squid on my RPi-3 for use behind a DHCP router. However, the pi will not route traffic back and forth between my computer because my router's DHCP settings. I don't want to give my router ...
1
vote
1answer
62 views

chrome won't install because of architecture?

I am trying to install Chrome on a 64 bit, see all info below. I also tried this on Ubuntu and get the same thing. Chrome won't install because of the architecture. I am some what knowledgeable with ...
7
votes
0answers
150 views

Cannot Use SPI frequency above 500 kHz

I am running Arch Linux ARM on a Raspberry Pi 2 Model B, and I am attempting to communicate with a TFT display. I am writing a kernel module to interface with the display using SPI, and it works, but ...
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 ...
0
votes
0answers
13 views

Install openCV in raspbian using another Linux distro [duplicate]

Good morning I was trying to compile openCV using raspberry 3 and It took me a long time also I had a lot of problems like "Structure need cleaning" (on an installed NOOBS) I just wonder if I can ...
2
votes
2answers
36 views

No /etc-Folder in .img-File

I made an IMG-File of my LibreELEC and now i want to edit it on my Windows machine. I need to make changes in the /etc-Folder and I can't do that live on the system since LibreELEC is read-only FS. ...
1
vote
1answer
61 views

How to control the Bit Rate (mbps) of a Raspberry Pi Access Point

I have two "Raspberry Pi 3 B+" boards which are required to be connected. One Raspberry Pi is configured as Access Point (AP) and the other one is just a Client. When both are connected, I write the ...
1
vote
2answers
38 views

How to enable an addtional font in Libreoffice on the Raspberry Pi?

My goal is to use the font "Courier 10 Pitch" in Libreoffice on Raspbian Stretch on the Raspberry Pi 3B. At the raspi terminal, there is currently the following input and output: pi@raspberrypi:~ $ ...
2
votes
1answer
34 views

Investigation - pi's password is lost in every reboot issue

I'm investigating this issue: pi's password is lost in every reboot. Issue summary: Change pi's password by passwd command -> reboot -> the changed password always will be changed to another which we ...
0
votes
1answer
48 views

Using cgroup module in iptables cause “no chain by that name” error message

Trying to use cgroup module in iptables rule cause "No chain/target/match by that name" message. I'm using: Linux raspberrypi 4.19.42-v7+ #1219 SMP Tue May 14 21:20:58 BST 2019 armv7l GNU/Linux ...
0
votes
0answers
87 views

Help with RPI ZERO W Kali Linux A.L.O.A

I have a raspberry Pi ZERO W and installed kali linux on to it.To be specific it's the Kali linux A.L.O.A and i have a wifi adapter that i want to setup but i don't know how and when if type ifconfig ...
2
votes
1answer
39 views

Unable to open files with multiple lines in ssh session

I am having an issue where I cannot view/edit the contents of a file that is larger than a few lines of text/code. When I use nano to open a file the system hangs after displaying: "[Read N lines]" ...
-2
votes
1answer
17 views

For the Chrony refclock directive, how is the precision option used?

The man page says the precision of the reference clock has units of seconds. What do those seconds measure?
0
votes
2answers
43 views

I have a doubt about the Linux distro I should use [closed]

I'm not a complete beginner, nor am I a total expert. Which Linux distro will go better than Ubuntu? I want one with which I can handle complex IoT easily and also browse the net and play games and ...
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 ...
0
votes
1answer
42 views

Internet needed for apt-get?

i try to calibrate my touchscreen for Raspberry Pi 2B, currently the touch does not work (axis seems like inverted). So i came across this website: https://www.waveshare.com/w/upload/1/1e/...
3
votes
2answers
124 views

How to install updates without internet on Raspberry? [duplicate]

I want to calibrate my LCD screen, but i have no internet connection to my Raspberry Pi 2B. The terminal commands I would use with internet on the Raspberry Pi is cp LCD-show/xinput-calibrator_0.7.5-...
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 ...
0
votes
0answers
117 views

ESC/POS Printer not detected by Raspberry Pi

I try to connect a POS printer with my Raspberry PI 3B. In my opinion, the printer should appear under /dev/usb/lp* or /dev/ttyUSB* or /dev/ttyACM* after connecting. At the moment I can't find the ...
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 ...
0
votes
0answers
35 views

Daily Deviation Picture Frame on RPi

This guide, Raspberry Pi - Daily Deviations Picture Frame, seems to be not working anymore. I tried different methods and it seems that the code in getting images from Deviantart daily deviations ...
2
votes
1answer
41 views

Ways to run an OS for a watch using a Raspberry Pi/Arduino

I am thinking of making a smartwatch using a Raspberry Pi/Arduino (Zero W if I use a Raspberry Pi). Is it possible to put an OS such as Tizen on it so that I can turn it into a smartwatch? (Anything ...
1
vote
1answer
322 views

Run a script when wifi is connected to a particular wifi network?

My Raspberry pi is connected to my home wifi network. This wifi network have a captive portal and hence each time I need to sign in the captive portal to use the internet. Now I am trying to automate ...
0
votes
0answers
44 views

How to stream audio samples to a DAC - exclusively & low latency

I have an audio add-on card to my Raspi Zero called "raspiaudio", it seems to be reporting as hifiberry, although it is not. It's some NXP DAC conencted via I²C, and the driver was apparently in the ...
1
vote
1answer
72 views

How to connect Raspberry Pi to my linux PC?

I haven't done anything to my Raspberry Pi or my computer except for putting the docker image onto the SD card. I tried looking for how to do this without a display but couldn't find how anywhere. ...
1
vote
3answers
99 views

Video output filter

I would like to be imbed a filter in the Pi’s HDMI output such that pixels are slightly rearranged. Specifically, I’m after a retro pincushion effect ([ ] -> ( )). I need it to be active even in the ...
0
votes
1answer
54 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 ...
1
vote
1answer
336 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 ...