Questions tagged [raspberry-pi]

Low-cost single-board computer the size of a credit card. Also check the Raspberry Pi SE: http://raspberrypi.stackexchange.com/

Filter by
Sorted by
Tagged with
0
votes
2answers
18 views

Setup ssh & wifi on a headless Raspberry Pi 4 running Ubuntu 19.10

I've got RPI that I wanna ssh into for home projects. I don't own and do not intend to buy keyboard and monitor for it. I've played with it using raspbian, but wanted to try 64bit Ubuntu for few apps. ...
0
votes
0answers
12 views

Mount point: inode/x-corrupted type

I mounted /dev/sdb1 to /mnt/MyFlashdrive. After mounting, the mount point turned into a inode/x-corrupted type. There are no files inside the mount point and its permission is set to 777 and the owner ...
0
votes
1answer
8 views

Unable to mount root filesystem on RPi image boot under QEMU

I am trying to boot HypriotOS (https://github.com/hypriot/image-builder-rpi/releases/) RPi images from QEMU I am using the kernels from https://github.com/dhruvvyas90/qemu-rpi-kernel and preparing ...
0
votes
0answers
10 views

MicroK8s Running Windows Based Programs on Buster (Raspbian)

Good Day - newbie here with a couple of questions. I am just learning about Raspberry Pi 4 and associated versions, I have also read several very positive articles on MicroK8s capabilities: ...
0
votes
1answer
29 views

python script not running from crontab

This is one of the so many questions asked in the forums. I've a script that runs perfectly if I run it from the linux terminal. However when I let it run from crontab at a reboot it doesn't work. I ...
1
vote
0answers
11 views

Why mesh network nodes do not connect to the internet?

I have 3 raspberry Pi 3 connected to a mesh network with batman-adv, a raspberry has a WIFI dongle and is the gateway to the internet. The gateway configuration is: A file named ~/start-batman-adv ...
0
votes
0answers
6 views

Bluetooth cannot be started

Using Raspbian Lite on my RaspberryPi 4. Haven't been able to get the Bluetooth working. I tried $ sudo systemctl start bluetooth but $ systemctl status bluetooth ● bluetooth.service - Bluetooth ...
0
votes
0answers
8 views

How to use xbindkeys?

I am trying to run Chromium when "Ctrl + shift + Alt + p" is pressed. I Install xbindkeys and xbindkey-config. Next, creating a file at home directory (touch ~/.xbindkeysrc), then set it as default (...
0
votes
0answers
27 views

“Call” a specific function from device driver's C code

If I had written code in C for a device driver that could control the GPIO pins on a RPI (has Linux Poky installed on it), how would I be able to actually call a function from my C code such as ...
0
votes
1answer
25 views

How to restart/release rfcomm for bluetooth communication?

I am trying to connect raspberry pi to my galaxy note to use it for serial communication. I have somewhat succeeded at that. First I paired it and trusted through bluetoothctl. Then I run sudo rfcomm ...
0
votes
1answer
25 views

Debian Buster fsck failed with exit status 4

I posted this already somewhere else but didn't get any response. I have updated my raspberry pi from Jessie to Buster now since then I finally was able to get domoticz working again, but another ...
2
votes
1answer
54 views

HDD disconnects after random intervals on raspberry pi 4

I have a 2.5" hard drive connected to my raspberry pi4 usb 3.0 port (it draws power from the raspberry pi). I have used my drive on windows machines before and had 0 problems. After connecting to the ...
0
votes
0answers
18 views

Very slow printing with Dymo Label-Printer on Raspbian and CUPS

I have a problem with label printing on a Raspberry Pi: When I start a print on a Dymo LabelWriter 450 Turbo with CUPS and drivers from matthiasbock/dymo-cups-drivers it takes about 6-7 seconds until ...
0
votes
0answers
8 views

Nginx: error 410 in private Network, while working from outside

I have set up Nginx together with DDClient, such that my own domain forwards everyone to my private network. My Nginx index.html is reachable from the outside, yet when i try to access it from within ...
1
vote
0answers
18 views

Build Mongo C Driver 1.13.0 on Ubuntu Raspberry Pi

Operating System: Ubuntu 18.04.4 LTS Kernel: Linux 5.3.0-1018-raspi2 Architecture: arm64 I'm trying to build libmongoc 1.13.0 from source. I'm building this on a Raspberry Pi 4 running Ubuntu 18.04.4....
0
votes
1answer
14 views

Changing EAPOL version on nmcli hotspot

I've setup a hotspot with nmcli on a Raspberry Pi running Buster by: installing network-manager: sudo apt-get install network-manager Setting up a hotspot profile: sudo nmcli c add type wifi ifname ...
0
votes
2answers
40 views

How can I get a card reader to generate a file on scanning?

I have a Raspberry Pi 4 and an HID Omnikey 5427G2. When I scan a card, the card reader acts as a keyboard and types out a series of 7 digits that correspond to the card. This works fine, but it only ...
1
vote
0answers
22 views

USB Support in Qemu User Mode Emulation

I have a CLI program compiled for x86_64 for which I have no source code (a firmware programming utility). I would like to run this on a Raspberry Pi. The program runs fine using Qemu user mode ...
1
vote
2answers
53 views

how can I slow down pasting text into a serial terminal?

I'm working on a raspberry pi, and trying to paste some text files into a command-line text editor nano... but the text ends up corrupted on the remote end (partial/incomplete text). I can only guess ...
0
votes
1answer
17 views

Always trying to connect to wifi, but never connects, ping 8.8.8.8 results in “connect: network is unreachable”

I just bought a Raspberry Pi 4 which uses linux as its operating system. I was just trying to browse the internet using my phone hotspot when the connection suddenly drops, I can't access any other ...
0
votes
0answers
52 views

Mmap failed with operation not permitted

I've compiled application on Linux, but I got this error wiringPiSetup: mmap (GPIO) failed: Operation not permitted After that: I've added iomem=relaxed to grub cat /proc/cmdline BOOT_IMAGE=/...
0
votes
0answers
34 views

how to transfer files using scp and a Proxy? [duplicate]

I have the following set up: PC---Raspberry PI----Kali All of them have connectivity, so I want to be able to get files from the Kali to the Windows 10 PC. In order to do that, I've tried this ...
0
votes
1answer
27 views

Crontab or Init.d for startup scripts in linux?

Sorry if I am just dumb about this but I am currently trying to set up my raspberry pi to start a script at startup but I cant seem to figure out which is better to use, Crontab or init.d . I can't ...
0
votes
0answers
32 views

Flashing Uboot Image to SD Card

I am trying to flash the uBoot image of MIPS based processor however I dont see anything written to the SD card. I determined the mount location of the SD card using the following command lsblk ...
-1
votes
1answer
12 views

Raspberry Pi UART not working

I've tried everything. Raspberry Pi 4 echo works. Linux echo works. But when I connect the two UARTs together, no information is sent.
0
votes
0answers
55 views

How do I fully forward traffic from wlan0 to eth0 on Raspbian 10?

I'm posting here because this seems like a general Debian/Ubuntu issue, and not a Raspberry pi-specific issue. I want to bridge my wlan0 and eth0 ports on my Raspberry Pi (Raspbian 10/Buster), so ...
0
votes
1answer
19 views

Cannot reach Pi via ethernet after disabling wireless interface

I have a raspberry pi running Arch Linux ARM connected on two interfaces. It uses systemd-networkd. eth0 is connected on a DMZ. It has a static ip and it's behind a router with a public ip and port ...
2
votes
1answer
52 views

Remap ESC to FN+ESC in Debian TTY

I've recently bought a tiny keyboard for my raspberry pi zero w (Raspbian, based on Debian Buster, "lite" edition). However, it has an annoying design, with no Function Keys (F1~F9), and the ESC key ...
1
vote
0answers
45 views

Kali Linux image checksum is not valid and fails on boot

Hello World. Don't know if this is the best place to post this, so if it's off-topic, please let me know. I've got a raspberry pi 4 model B, and I want to install Kali Linux on it. I've also got a ...
0
votes
0answers
41 views

Linux ppp0 and default route and how to reach public internet

my project needs mobile internet. I am trying to achieve this by using a LTE stick modem with a M2M sim (public IP, no NAT) This works well on ubuntu (5.3.0-29-generic), but I cannot get it working ...
1
vote
0answers
115 views

Thermal Printer - Send image via /dev/usb/lp0

I am working with a Raspberry Pi Zero W, and I am attempting to print an image (jpg/png) file to the printer. Currently, I am having success using commands such as echo "hello" /dev/usb/lp0 and ...
0
votes
0answers
23 views

Configure Samba permissions for Raspberry Pi

I set up Samba on a Pi 4 with a USB NTFS hard drive, and things wound up differrent than I expected. I'm using this guide, and these are my settings that I added to /etc/samba/smb.conf [Porn] ...
0
votes
0answers
42 views

How to integrate “iwconfig wlan0 power off” into netplan on Ubuntu 19.10?

I configured WLAN on commandline with this file: cat /etc/netplan/wireless.yaml network: version: 2 wifis: wlan0: dhcp4: yes dhcp6: no access-points: "yyy": ...
1
vote
0answers
21 views

How to communicate with plymouth (splash screen software) programmatically?

I'm not running X server or Wayland, I'm writing an OpenGL application and I want it to stop right after plymouth starts displaying shutdown splash screen... I tried simply stopping it on shutdown, ...
0
votes
1answer
45 views

Correct routing of IPv6

I have a Raspberry Pi connected via eth0 to a router and via eth1 to my computer. I use systemd-networkd to masquerade IPv4 to my computer which works like a charm. Because of some reasons I now need ...
1
vote
0answers
26 views

ffmpeg streaming runs ineeficiently when started via init.d startup script

I'm using ffmpeg to stream video/audio on raspberry pi 4, using the following command ffmpeg -re -f v4l2 -input_format h264 -thread_queue_size 512 -i ${video_device} -re -f alsa -thread_queue_size ...
0
votes
1answer
57 views

OpenVPN Client and Server on same machine - Server doesn't allow connections when client is connected (more detailed)

I have exactly the same problem like the user khofm asked in https://unix.stackexchange.com/a/352968/394150 So in summary: The openVPN client and the openVPN server instance work fine as long as I ...
0
votes
1answer
20 views

How to use my Arch Linux machine to access my Raspberry Pi, which is on the local network?

I have Raspbian installed on my Raspberry Pi Zero, which is connected to my internet modem by Ethernet cable. My Arch Linux desktop computer also is connected to my modem via Ethernet cable. How do ...
0
votes
0answers
29 views

Changing permission to hard drive directory Raspbian

I would like to change permission to the directory where my USB drive is mounted that is /media/pi/Elements. I can only have access to SSH. Here is what I tried (as a root and pi user) : root@...
0
votes
0answers
20 views

OSX: how to mount raspberry pi image file?

BACKGROUND The loop device is available in Ubuntu and is the first step to processing the rPi image with zerofree. The goal is to reproduce the UBUNTU example with OSX High-Sierra: UBUNTU example ...
0
votes
1answer
52 views

ssh into mac from raspberry pi

I am trying to mount a shared drive that exists on my mac in my raspberry pi. I tried searching many different threads on stackoverflow and stackexchange and couldn't find any working solutions. I ...
1
vote
1answer
39 views

Minimal SD Card image

If the command to replicate an SD card: date; sudo sh -c 'pv /dev/mmcblk0 >pv sdcard.image'; date images a fresh install of Raspbian sitting on a 128GB SD-Card, then sdcard.image file will be ...
1
vote
0answers
43 views

Cannot setup Samba

I want to access files from my Raspberry on my Windows machine. I did it previously, but I resetted both my devices some time ago. I haven't made any advanced network configurations to them yet. I ...
0
votes
1answer
30 views

Raspberry Pi Start python script during boot

I have a Raspberry Pi which has a I2C 16x2 display screen. The screen simply say Welcome. Problem: I would like for this script to run as soon as the Raspberry Pi is turns on with power. I added ...
-1
votes
1answer
273 views

x11vnc XOpenDisplay failed

I am connected to a Raspberry Pi 4 via ssh. The Pi is operated headless. Now I want to use x11vnc to get the gui. However, when I am running x11vnc I receive this error: XOpenDisplay("") failed. ...
3
votes
1answer
88 views

Trigger a script on WiFi connect-disconnect event in raspberry Pi

I am a newbie with Raspberry Pi. I am having one Pi3 and one Pi Zero. Pi3 is acting as a router and my PiZero is connected with it. I want to trigger a script on connect-disconnect event. I have ...
0
votes
1answer
22 views

An OS for Raspberry Pi 1 Model B (old Raspberry)

I'm looking for an OS for my old Raspberry; my goal is simply to launch a web browser with javascript support. I tried : raspbian latest version - but my rasp is too laggy (even the buster lite ...
0
votes
1answer
18 views

How to exchange sqlite3 executable with latest version on my raspberry pi?

I needed the generated columns feature that has just been added to sqlite3 in the latest release. I managed to get it working in my python application on windows by simply replacing the relevant ...
0
votes
0answers
20 views

Software/Way to interpret UART data coming in from toggling GPIO

I'm having one GPIO on my SBC (in this case: Raspberry Pi, but it shouldn't matter), which is attached to a peripheral device dumping log output on this pin. Format is UART (8N1), baudrate ...
1
vote
1answer
34 views

Linux apt-get upgrade wifi Disconnecting

After installing Kali Linux on my Raspberry Pi 4, I ran the command sudo apt-get upgrade. Before it was done, the wifi connection disconnected and reconnected again. Is this a normal behavior or is ...

1
2 3 4 5
23