34 questions
0
votes
0
answers
21
views
python spi.xfer received data order problem
I use python spidev to exchange data between STM32 and
orangepi zero 2W (SBC) running armbian bookworm
two independent arrays on each side, one transmit one receive.
STM sends and receives just fine
...
0
votes
0
answers
154
views
Docker Containers Can't Resolve Domain Names on Bridge Network
Help Needed: Docker Containers Can't Resolve Domain Names on Bridge Network
Hi everyone,
I'm having trouble with my Docker setup on my home server. My containers on the bridge network can ping IP ...
0
votes
1
answer
421
views
Backup an restore Armbian from Banana Pi M5 eMMC
I try alot of thing on my Banana Pi M5.
It's easy to burn an image to eMMC storage.
But i don't want to loose all and i want to backup my Banana Pi and it's not easy...
Like for my Raspberry Pi, i ...
0
votes
2
answers
315
views
NGINX and Django not in debug serving some static files and some no
I am experiencing some weird behaviour after switching off DEBUG on Django, behind NGINX reverse proxy.
I am testing it on a Armbian Linux with Python 3.7.3.
Django project has the manage.py inside ...
0
votes
1
answer
198
views
My tkinter app wont start on armbian startup
I have orangepi lite card and armbian in it. I have pyhon tkinter app that needs to start at boot so i write sh file for it.
#!/bin/bash
cd /folder-to-main-script
sudo python3 PinReader.py
#for the ...
1
vote
0
answers
363
views
Update RTC time with python
I have a small computer running Armbian, similar to a RPi with an RTC connected to it on /dev/rtc1/.
my device is running mainly offline but connects to internet from time to time and I use this ...
1
vote
0
answers
217
views
Orange Pi Zero LTS, Compiling Xradio Drivers
Hello people of the internet,
I am trying to compile and load the Xradio driver into armbian. I have successfully compiled the kernel but when I try to compile the drivers it says it trys to refrence ...
1
vote
0
answers
453
views
Trouble activating PWM on PA6 of Orange Pi One using DTSO and WiringOP
I'm attempting to activate PWM on pin PA6 of an Orange Pi One board. I've tried using a Device Tree Blob Overlay (DTBO) and accessing the sysfs interface, as well as using the WiringOP library, but I'...
1
vote
1
answer
135
views
Failing to request_irq() on PC0x pins
I'm trying to use pin PC3 as an interrupt, but it returns the error code -22 in the gpio_to_irq() function. In user-space i can use it normally as a GPIO, but I need it to function as an interrupt in ...
0
votes
1
answer
83
views
about the lua version installed on armbian , it seems confusing
The armbian img is "Armbian_23.05.0_amlogic_s905l3a_bullseye_5.15.110_server_2023.05.02"
I want use luasocket, but it is not support lua 5.4, so lua 5.1 was installed, however......
Which ...
0
votes
1
answer
362
views
Load onboard RTC device on NanoPi NEO from NAS kit
I have this NanoPi NEO LTS device which I'm using in conjunction with NAS Kit. This article states that Allwinner H3 (CPU) has an inbuilt RTC which is loaded to /dev/rtc0 which I can confirm by ...
0
votes
0
answers
1k
views
Linux : how to connect a bluetooth serial device and read the output of the serial device
I have a stm32wb55 as bluetooth serial device, and I can pair it with a phone and can get an output but on the PC with rfcomm it doesn't work.
I want an rfcomm alternative because it doesnt work and ...
0
votes
1
answer
507
views
.NET Runtime on arm64, libssl issue
I use Orange PI 3 LTS with latest version armbian (Ubuntu 22.04.1 LTS). NET 5.0.17.
So, i installed dotnet runtime:
root@orangepi3-lts:~# dotnet --info
Host (useful for support):
Version: 5.0.17
...
2
votes
1
answer
3k
views
How to enable eth0 on Banana PI ZERO M2
By default, eth0 is disabled on BPI ZERO M2.
Here we will show to enable it
0
votes
1
answer
296
views
Armbian - how to turn off a hard drive connected on SATA
I have an Orange Pi + 2 single board computer with the ability to connect an external hard drive via SATA.
Armbian is installed on the hard disk, the bootloader is in the onboard memory of the board.
...
1
vote
0
answers
342
views
Re-attaching kernel driver for the usb interface (Node.js)
I have some issue with usb library in NodeJS. I try to send some command via usb to some device from Armbian Linux. My code looks like this
const usb = require("usb");
const elzabUSB = usb....
0
votes
1
answer
847
views
How to activate NFS server protocol v4 on Ubuntu 20.04 / Armbian 21.08 [closed]
I just installed Armbian on my SBC running Ubuntu 20.04.3 LTS (Focal Fossa). Output of cat /etc/os-release is:
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
PRETTY_NAME="...
0
votes
1
answer
699
views
-bash: ./radiobot cannot execute binary file: Exec format error
I'm having trouble running a program
this error when running the program
./radiobot -bash: ./radiobot: cannot execute binary file: Exec format error
And I checked the file, it turns out that the error ...
0
votes
1
answer
2k
views
catch console output from background process
I have a program running on armbian single board computer. The program starts with -b option during the startup of the system. I created this simple shell script
#!/bin/bash
#Myprog server start
sudo -...
0
votes
1
answer
1k
views
Install Discord.py on a Linux Python 3.8.5
I recently installed armbian focal to a tinker board, and was attempting to install the discord python package. It's running a pre installed python 3.8.5 version, but I've only seen errors with ...
2
votes
1
answer
565
views
-bash: syntax error near unexpected token `crontab'
I am running Armbian 20.11.3 Buster v5.4.83 Minimal in an Odroid HC1.
The site freemyip.com offers free DDNS and doesn't need a client to update the DDNS. Instead, you set up your server to run a ...
1
vote
1
answer
808
views
Network Manager AP Configuration
I would need to configure my Single board computer as an AP, and I managed to do it before and it was working flawlessly (the AP is isolated and not connected to the WAN).
Then today, I needed to ...
2
votes
2
answers
8k
views
python selenium geckodriver - executable needs to be in PATH / how to install on armbian buster
When I try to create a Selenium Firefox Webdriver on my Orange Pi with Armbian Buster like
import selenium
from selenium import webdriver
from selenium.webdriver.firefox.options import Options
...
0
votes
2
answers
94
views
RRDTool: strange "splashes" in the database and on the graph
Recently I came across a strange behavior of rrdtool: if data was inserted into the database at a random time, "splashes" appear on the graph, this can be seen in the attached picture. I ...
0
votes
1
answer
301
views
How do I activate a virtual enviroment on Armbian at startup?
I need to activate a virtualenv Python enviroment on my NanoPI NEO with Armbian (Debian-based). I created a simple script to do so:
#!/bin/bash
echo "Activating application's virtual enviroment......
-1
votes
1
answer
96
views
Can't compile rtmidi test cmidiin.cpp file, Illegal instruction
I'm using Armbian on the Orange Pi board. I try to compile cmidiin.cpp from test folder of the rtmidi lib. Compiling goes with no error messages. But when I run it shows me:
g++ cmidiin.cpp -o t6 -g -...
7
votes
3
answers
7k
views
Docker is overriding my default route configuration [closed]
A noob here starting with docker in a Orange Pi 3 (Rasberry Pi clone).
I'm trying to configure and start a docker containter (bitwarden_rs), but when I do, I lost connection to the external network. ...
0
votes
1
answer
143
views
Php 7.0 Armbian,how i can FIX Mysqli?
root@orangepilite:~# php -e 'phpInfo();' | grep -i mysqli
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/mysqli.so' - /usr/lib/php/20151012/mysqli.so: undefined symbol:...
0
votes
0
answers
513
views
Writing to a GPIO pin on the Orange Pi Zero with Mono
I wrote a Mono app for Armbian Ubuntu running on an Orange Pi Zero to read incoming telemetry data from the serial port.
That part is working fine, but I now need to activate one of the pins on the ...
2
votes
1
answer
268
views
Reading BME680 from i2c 2 on Armbian
I'm trying to use BME680 sensor on BananaPI + Armbian 5.65 together with TSL 2651 on same i2c but no luck.
(for reference, very same configuration is not working on RPi either)
Sensor when connected ...
0
votes
1
answer
429
views
Porting pre-4.15 timer code for mali450 GPU kernel driver on ARM64
I have an old TV box based off the Amlogic S905X ARM64 SoC, a Tanix TX5, which originally ran Android on it. I don't like being locked out of the potential of my hardware, so I followed closely the ...
0
votes
1
answer
994
views
Can't pipe to lolcat in bash script
I'm trying to modify my motd script in Armbian on my OrangePI. Just wanted to plot name of my machine, instead of big ORANGE PI PC. I found, that I have to edit /etc/update-motd.d/10-armbian-header. ...
0
votes
1
answer
350
views
Why looses this Armbian repeatedly connectivity?
I have an Olimex Lime2 running an Armbian, headless. On this board I only care for SSH and MiniDLNA. I hope to get around to include the whole configuration, but one important bit might be that in /...
4
votes
1
answer
4k
views
Unable to resolve missing google-api-python-client module using speech recognition
I am trying to run speech recognition on tinkerboard with Armbian installed. I am always geting this error
ERROR - Error fetching results from Speech Recognition service missing google-api-python-...