Tido got a reaction from wsian in GPIO requires sudo
and just in case, but I guess Martin already solved your problem.
Within armbian you find following User-Supported options for GPIO and more:
ArmbianIO (sysFS) or
pyGPIO accesses 'pins' directly through /dev/mem
ArmbianIO API - in C
User Space IO - is Python 3 and Java 8 bindings for user space GPIO, SPI, I2C, PWM and Serial interfaces
pyGPIO - A 'more general' python GPIO library based on pyA20
Tido got a reaction from guidol in SimpNAS Beta Released!
That said, I run the script on a Rock-Pi 4b: Armbian buster with Linux 5.4.45-rockchip64
Why Python 2 ?
libpython2-stdlib libpython2.7 libpython2.7-minimal libpython2.7
The following additional packages will be installed: busybox cryptsetup-bin cryptsetup-initramfs cryptsetup-run libavahi-client3 libavahi-common-data libavahi-common3 libcups2 libldb1 libmagic-mgc libmagic1 libpython-stdlib libpython2-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib libsodium23 libtalloc2 libtdb1 libtevent0 libtirpc-common libtirpc3 libwbclient0 php-common php7.3-cgi php7.3-cli php7.3-common php7.3-json php7.3-opcache php7.3-readline python python-crypto python-dnspython python-ldb python-minimal python-samba python-talloc python-tdb python2 python2-minimal python2.7 python2.7-minimal samba-common samba-common-bin samba-libs tdb-tools
Script, if this step is done as a first step (not the install, but adding the repository), apt update would only be done once == quicker?
echo "=================================================================================" echo "Install Docker Repo" echo "=================================================================================" curl -fsSL https://download.docker.com/linux/$(lsb_release -s -i | tr '[:upper:]' '[:lower:]')/gpg | apt-key add - add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(lsb_release -s -i | tr '[:upper:]' '[:lower:]') $(lsb_release -cs) stable" apt update
configration in Firefox was smooth, thank you @PittPC & @guidol
root@rockpi-4b:~# timedatectl show -p TimeUSec --value Sun 2020-06-28 23:20:53 CEST I have added/plugged in the MemoryStick when was on the dialog site, it wouldn't refresh. So I went one step back, it lost the name of my NAS. One step forward it showed now the MemoryStick in the pulldown menu.
A good idea: Yes Collect Statistic Data
I would appreciate an information like: This is the last questionaire, an automatic reboot will be done for you to complete the configuration process.
Enable Cookies to login after the reboot with: administrator
When I install an App like NextCloud or Bitwarden. Is this from DEB, Docker or any other package format?
EDIT: After the install of NextCloud, the webinterface was dead, after a reboot NC was available and it worked as expected.
Tido reacted to PittPC in SimpNAS Beta Released!
Hi @guidol We figured it out, it had nothing to do with the networking but how it created volumes when using other devices other than HDDS like USB Sticks and mmc memory it would not detect them properly since we were using smartctl to scan for storage devices, now we have used a much better approach using lsblk to list all block devices. I noticed because of the screenshot at the top you sent me had garbled info under select disk. Please give SimpNAS one more shot of testing when you get time. Your testing is helping the project tremendously and we appreciate you!!
Tido reacted to guidol in SimpNAS Beta Released!
NOPE doesnt work....
I got a working network-configuration (static) via /etc/network/interfaces...
But the install-routine via web-interface is also asking for the complete network-configuration (cant take the actual).
After going through the webinterface-setup the webinterface say reboot. ssh is also disconnecting BUT the BPi M2 Berry isnt rebooting (is pingable).... and after power off/on the BPi M2 Berry doenst boot anymore
Grandma would be very anry with Grandpa
Tested on a BananaPi Me Berry with armbian debian buster Kernel 5.6.16
Now I will return to my manually installed working SAMBA-Server
Tido reacted to martinayotte in BARGAIN: HDMI capture card
From my Bell Fiber TV Decoder, but I'm using HDMI splitter ...
Yes ! Actually, I'm using currently a HDMI Capture box purchased a year ago (at US$80), which store the capture on USB dongle, which I then copy files into a NAS, but current limitation is that files are splitted into 2GB FAT chunk (around 20mins of recording) instead of single files. I then need to concatenate them into single one using ffmpeg.
Then, I convert them into DVD with "dvdauthor" to give DVDs to my mother ...
Tido reacted to Heisath in Boot time - Anything similar to "Boot without waiting for network connection"?
Anyway, next steps to save time are:
- completely remove NetworkManager (you need to do your network config the classic way then).
- remove armbian zram and ramlog (which can be done via apt remove or just disable the services)
- make sure your device does not run a fsck on every boot
- remove u-boot 'prompt timeout' (the time the bootloader waits for user input before booting the system, I guess thats 3s default on armbian)
Btw. no guarantee that your system works perfectly after above steps - there's a reason for every service running.
Tido reacted to Werner in Boot time - Anything similar to "Boot without waiting for network connection"?
A RaspberryPi and any board that is supported by Armbian cannot be compared really.
At RaspberryPi a lot of people working with just a few boards while at Armbian just a few people working literally on hundreds of boards which not even share the same sources. You see while at their place they have plenty of time to tweak every aspect Armbian simply cannot do that due to lack of ressources.
Tido reacted to sgjava in Using Zabbix to monitor all your IP devices on Armbian server
Actually Zabbix is monitoring software that collects telemetry and allows actions such as emailing, texting, restarting services or servers based on conditions and escalations. I've totally automated network admin type roles with it and things at home like monitoring the power state of my beer refrigerator in the garage. It's super flexible and easy to add stuff to the agent for client specific needs. It can also scale to millions of devices or just a handful at home. Also, the agent is now golang, not C.
Cockpit looks more like Webmin on steroids. It's also Linux only from what I can tell. Zabbix is cross platform if you ever have to manage a mixed environment with Linux and Windows servers.
Tido reacted to Werner in Using Zabbix to monitor all your IP devices on Armbian server
Tido reacted to guidol in Update PHP ?
I checked on my old FOX G20 with Kernel 4.9.124 and debian-stretch and in the normal debian-repositories there is only PHP v7.0
But it seem that you are not the only one who needs >= v7.3 on stretch
And YES you have to add something manually:
before you can install a new php-version: ========================================== sudo apt-get update sudo apt-get upgrade sudo apt install ca-certificates apt-transport-https wget -q https://packages.sury.org/php/apt.gpg -O- | sudo apt-key add - echo "deb https://packages.sury.org/php/ stretch main" | sudo tee /etc/apt/sources.list.d/php.list after that for PHP v7.3: ============= sudo apt install php7.3 sudo apt install php7.3-cli php7.3-common php7.3-curl php7.3-mbstring php7.3-mysql php7.3-xml or for PHP v7.4: ============= sudo apt install php7.4 sudo apt install php7.4-cli php7.4-common php7.4-curl php7.4-mbstring php7.4-mysql php7.4-xml for additonal informations (like configuring Apache/Nginx-Webserver to run PHP) check the following URLs:
Tido got a reaction from Werner in Mark TV-Boxes forums as CSC
I don't think this was @Werner 's intention. IIRC, since Beelink where they just replace parts we agreed that TV-Boxes are CSC only.
Let us be consistent, do not invent anything new that is arleady there, and just place a line below the TV-Box-Section as Werner suggested at the begin.
SUITABLE FOR TESTING (WIP)
SUPPORT ENDED (EOS)
NO OFFICIAL SUPPORT (CSC) are devices which are supported by the 3rd party. We usually don’t have hardware samples nor conduct any tests but they might work. There is no support whatsoever.
I copied that from the download FAQ section.
I still hate TLA's (three-letter acronym) without explanation. I cannot remember what CSC stands for ! and!!! and it is not explained on the FAQ, what is a bloody FAQ for if it raises a question.
Tido reacted to balbes150 in Best TV Box SOC for Linux?
they don't fit together
If you change the budget to 50-55, then you can actually complete all these items.
or reduce the requirements and you can meet 30-35$ (but you will have to be careful with the choice of supplier, please note, not the model, but the supplier, so that he would deliver exactly what you request)
Tido reacted to balbes150 in Single Armbian image for RK + AML + AW (aarch64 ARMv8)
This version is fully built not mediocre on the ARM platform (rk3399).
I checked how the images work on different models, and no problems were found. The system works identically to the version built using the old scheme via cross-compilation on x86. While these images do not have u-boot and to run from the SD card on RK3399 add u-boot, as described at the beginning of the topic.
Now anyone can build their own version of ArmbianTV not mediocre on their device.
Tido reacted to guidol in [Info] Pihole-lighttpd issue with debian buster / bullseye
Pi-hole 5.0 is out of the BETA-Phase !
and has NO PROBLEMS to be installed on armbian focal
( System diagnosis information has been uploaded to http://ix.io/2mgt )
sudo apt install php-cgi php-common php php-sqlite3 -y && curl -sSL https://install.pi-hole.net | bash
Pi-hole v5.0 is here! (2020-05-10 )
After a successful beta testing and development period (many thanks to the beta testers!),
we are pleased to announce the release of 5.0 for general availability!
Important notice (One-way-ticket)
There are many fundamental changes between Pi-hole 4.x and 5.0 – as such, this is strictly a one way operation.
Once you move from 4.x to 5.0, there is no way to go back; you will need to restore from a backup.
Pi-hole 4.x to 5.0
To update to this new version from version 4.x, run pihole -up
Pi-hole 5.0 BETA to new 5.0 release:
If you have been running the 5.0 beta release, run pihole checkout master
to move from the beta to the master branch.
Tido reacted to sgjava in Java Periphery released!
Java Periphery has finally been released! Java Periphery is a high performance library for GPIO, LED, PWM, SPI, I2C, MMIO and Serial peripheral I/O interface access in userspace Linux. This will replace User Space IO. I'm seeing GPIO write speeds of 500K/s from userspace. Compared to User Space IO and libgopid speeds of 2K/s. I switched from JNA wrapper generation to JNI wrapper generation. The build process is much simpler (only single install.sh) and building libgpiod is no longer required. The API follows c-periphery, python-periphery and lua-periphery. This should cover the widest array of SBCs and languages around.
Java Periphery should work on Armbian/Ubuntu/Debian, but also other non-Armbian distributions. If you run into issues please use Github issues to report.
Nano Pi Duo
13:30:43.065 [main] INFO com.codeferm.periphery.demo.GpioPerf - Running write test with 10000000 samples 13:31:23.062 [main] INFO com.codeferm.periphery.demo.GpioPerf - 500613.25 writes per second 13:31:23.065 [main] INFO com.codeferm.periphery.demo.GpioPerf - Running read test with 10000000 samples 13:31:54.471 [main] INFO com.codeferm.periphery.demo.GpioPerf - 318440.91 reads per second Nano Pi Neo Plus 2
15:06:51.946 [main] INFO com.codeferm.periphery.demo.GpioPerf - Running write test with 10000000 samples 15:07:22.522 [main] INFO com.codeferm.periphery.demo.GpioPerf - 654964.63 writes per second 15:07:22.524 [main] INFO com.codeferm.periphery.demo.GpioPerf - Running read test with 10000000 samples 15:07:46.696 [main] INFO com.codeferm.periphery.demo.GpioPerf - 413770.27 reads per second
Tido reacted to guidol in Armbian v20.05 (Kagu) Planning Thread
@Igor @RussianNeuroMancer for the chronyd-bug with ubunutu focal you could take a look here
where they found a problem/solution:
* Chrony can't start on platorms that map gettimeofday to clock_gettime64() * This is due to syscall filtering being correct on some but generic enough to cover all areas. as a temporary solution they wrote:
So we will need to whitelist the clock_gettime64() system call in chronyd’s seccomp filter. I’ll send a patch upstream. Meanwhile, you can disable the seccomp filter by running (as root): # sed -i '/DAEMON_OPTS=/s/"-F -1"/"-F 0"/' /etc/default/chrony # systemctl restart chrony.service BTW: My NanoPi A64 with armbian focal kernel 5.6.12 is running
chronyd v3.5-6ubuntu6 normally:
System diagnosis information has been uploaded to http://ix.io/2mbU
Tido reacted to lanefu in Need your help - what else beside Etcher
I've updated our canned response to below.... I saw no need to revoke Etcher's status.. as it is easier to install, but I updated it's description to be more....accurate
Armbian's archives can be uncompressed with 7-Zip on Windows, Keka on OS X and 7z on Linux.
Images shall only be written with imaging tools that validate burning results. This saves you from corrupted SD card contents.
USBImager a lightweight cross-platform imaging tool Balena Etcher an electron / node.js based cross-platform imaging tool
Tido reacted to guidol in Very Small Platforms - Rockchip 3308 and Allwinner V3s
I did buy a old Acme Systems FOX G20 (because it was cheap (10EUR) -
normally I would like own a Acme Systems Arietta G25 because of the formfactor / pinout).
The Fox has only 400Mhz and 64MB of Ram (Arietta has 128 or 256MB but same CPU-Speed)
but could boot a wheezy (Sorry no armbian) in 9MB
I do find it very cool this very low memory useage - while running the SSH/FTP-Server.
Also I like the company name
Reminds me at the companys allways could be seen in Cartoon series
(ACME Co. = https://en.wikipedia.org/wiki/Acme_Corporation )
The original image on the companys webpage was "infected" with emdebian wheezy-grip which is long EOL
So I had to multistrap a new rootfs from the pure debian archive wheezy and transplant the modules/firmware to the newer rootfs (kernel is the same).
Was something nice to learn here while staying home