Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

h3consumption -e on problem with armbian <5.20

Featured Replies

I use armbian 5.16 or 5.17 on my OPI-PC (I do not remember which of the two, I read Firmware: #14 from OPI-monitor).

 

I installed h3consumption tool a few days ago with these instructions:

sudo -s
wget -q -O /usr/local/bin/h3consumption "https://raw.githubusercontent.com/igorpecovnik/lib/master/scripts/h3consumption"
chmod 755 /usr/local/bin/h3consumption

then I used "h3consumption - g off" and after a reboot "h3consumption - e off" (because I use a USB3toGigabit ethernet adapter). Now I have:
 

$ sudo h3consumption -p
Active settings:
cpu       1296 mhz allowed, 1200 mhz possible, 4 cores active
dram      624 mhz
hdmi/gpu  off
usb ports active
eth0      detected:/, Link: 


I had renamed the network interfaces with eth0 for my USBadapter and eth2 (ex eth0) for the integrated lan. In fact eth2 does not appear now with ifconfig command. However, I noticed that the integrated ethernet port LEDs are lit up with the cable that is disconnected :blink:. Then I tried:

$ sudo h3consumption -e on
/usr/local/bin/h3consumption: line 220: /etc/armbian-release: No such file or directory
Armbian installation too old, please apt-get upgrade before. Exiting.

How can I fix the problem? 

I had not updated armbian to version 5.20 because I had read about problems with minidlna which is important for me. 

If necessary, is this the correct procedure for updating? 

apt-get update
apt-get upgrade
apt-get install -f
apt-get upgrade
apt-get autoremove -y

8 hours ago, fedyhd said:

If necessary, is this the correct procedure for updating? 

apt-get update
apt-get upgrade

 

Updates/upgrades usually run without a hitch. Best practice is to always clone/backup your current system before doing any changes. Good luck.

10 hours ago, fedyhd said:

However, I noticed that the integrated ethernet port LEDs are lit up with the cable that is disconnected

 

That's normal on Orange Pis, the Ethernet LEDs are for whatever reasons a 'power on led' in early boot stage. Disabling the internal Ethernet should work with h3consumption since this is just a tweak to modify fex settings so the best thing to do is

bin2fex /boot/script.bin | grep gmac

to check actual state (simply read through script sources to understand the possible values). Anyway I second @rodolfo's suggestion to backup SD card and do an upgrade ('backups'/clones should be done using ddrescue)

  • Author
6 hours ago, rodolfo said:

 

Updates/upgrades usually run without a hitch. Best practice is to always clone/backup your current system before doing any changes. Good luck.

 

Thanks. I remember that to update from armbian <5.20 to armbian 5.20 there were slightly different instructions, are they no longer important?

  • Author
6 hours ago, rodolfo said:

"h3consumption -e" relates to internal GbE of the board as defined in FEX, not external USB adapter.

I know, in fact I wanted to disable the internal card because I use a faster usb card.

  • Author
4 hours ago, tkaiser said:

 

That's normal on Orange Pis, the Ethernet LEDs are for whatever reasons a 'power on led' in early boot stage. Disabling the internal Ethernet should work with h3consumption since this is just a tweak to modify fex settings so the best thing to do is


bin2fex /boot/script.bin | grep gmac

to check actual state (simply read through script sources to understand the possible values). Anyway I second @rodolfo's suggestion to backup SD card and do an upgrade ('backups'/clones should be done using ddrescue)

 

Thanks. The problems of armbian 5.20 with minidlna are solved?

  • Author
$ bin2fex /boot/script.bin | grep gmac
fexc-bin: /boot/script.bin: version: 0.1.2
fexc-bin: /boot/script.bin: size: 35916 (80 sections)
[gmac0]
gmac_used = 0
gmac_power1 =

 

  • Author
On 1/5/2017 at 1:49 PM, fedyhd said:

 

Thanks. The problems of armbian 5.20 with minidlna are solved?

Is there any info about problems with minidlna? thanks

25 minutes ago, fedyhd said:

Is there any info about problems with minidlna? thanks

If you are talking about FFmpeg libraries conflict - then it was fixed. If you are unsure - you can always make a full SD backup before trying a new image and revert back if there are any serious issues with the new system.

  • Author
39 minutes ago, zador.blood.stained said:

If you are talking about FFmpeg libraries conflict - then it was fixed. If you are unsure - you can always make a full SD backup before trying a new image and revert back if there are any serious issues with the new system.

Perfect, thanks!

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.