Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Userspace Switching armbian-config to new generation. #7189

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

igorpecovnik
Copy link
Member

@igorpecovnik igorpecovnik commented Sep 8, 2024

Description

We had a long sage with complete rework of main hardware & system config tool. armbian-config still works, but it is largely unmaintained and bulky since early days. We tried several ways and failed ... New tool contains all what we learned by failing.

Ported functions:

System - System wide and admin settings

    --cmd S01 - Enable Armbian kernel/firmware upgrades
    --cmd S02 - Disable Armbian kernel upgrades
    --cmd S03 - Edit the boot environment
    --cmd S04 - Install Linux headers
    --cmd S05 - Remove Linux headers
    --cmd S06 - Install to internal storage
    S07.1 - Manage SSH login options
	--cmd S07 - Disable root login
	--cmd S08 - Enable root login
	--cmd S09 - Disable password login
	--cmd S10 - Enable password login
	--cmd S11 - Disable Public key authentication login
	--cmd S12 - Enable Public key authentication login
	--cmd S13 - Disable OTP authentication
	--cmd S14 - Enable OTP authentication
	--cmd S15 - Generate new OTP authentication QR code
	--cmd S16 - Show OTP authentication QR code
	--cmd S30 - Disable last login banner
	--cmd S31 - Enable last login banner
    --cmd S17 - Change shell system wide to BASH
    --cmd S18 - Change shell system wide to ZSH
    --cmd S19 - Switch to rolling release
    --cmd S20 - Switch to stable release
    --cmd S21 - Enable read only filesystem
    --cmd S22 - Disable read only filesystem
    --cmd S23 - Adjust welcome screen (motd)
    --cmd S24 - Install alternative kernels
    S25 - Distribution upgrades
	--cmd S26 - Upgrade to latest stable / LTS
	--cmd S27 - Upgrade to rolling unstable
    --cmd S28 - Manage device tree overlays

Network - Fixed and wireless network settings

    N01 - Configure network interfaces
	--cmd N02 - Add interface
	--cmd N03 - Revert to defaults
	--cmd N04 - Show draft configuration
	--cmd N05 - Apply changes
	--cmd N06 - Show active status
    --cmd N15 - Install Bluetooth support
    --cmd N16 - Remove Bluetooth support
    --cmd N17 - Bluetooth Discover
    --cmd N18 - Toggle system IPv6/IPv4 internet protocol

Localisation - Localisation (C.UTF-8)

    --cmd L00 - Change Global timezone
    --cmd L01 - Change Locales reconfigure the language and character set
    --cmd L02 - Change Keyboard layout
    --cmd L03 - Change APT mirrors
    --cmd L04 - Change System Hostname

Software - Run/Install 3rd party applications

    Desktops - Install Desktop Environments
	--cmd SW02 - Install XFCE desktop
	--cmd SW03 - Install Gnome desktop
	--cmd SW04 - Install i3-wm desktop
	--cmd SW05 - Install Cinnamon desktop
	--cmd SW06 - Install kde-neon desktop
    Netconfig - Network tools
	--cmd SW08 - Install realtime console network usage monitor (nload)
	--cmd SW09 - Remove realtime console network usage monitor (nload)
	--cmd SW10 - Install bandwidth measuring tool (iperf3)
	--cmd SW11 - Remove bandwidth measuring tool (iperf3)
	--cmd SW12 - Install IP LAN monitor (iptraf-ng)
	--cmd SW13 - Remove IP LAN monitor (iptraf-ng)
	--cmd SW14 - Install hostname broadcast via mDNS (avahi-daemon)
	--cmd SW15 - Remove hostname broadcast via mDNS (avahi-daemon)
    DevTools - Development
	--cmd SW17 - Install tools for cloning and managing repositories (git)
	--cmd SW18 - Remove tools for cloning and managing repositories (git)
    --cmd Benchy - System benchmaking and diagnostics
    Containers - Containerlization and Virtual Machines
	--cmd SW25 - Install Docker Minimal
	--cmd SW26 - Install Docker Engine
	--cmd SW27 - Remove Docker
	--cmd SW28 - Purge all Docker images, containers, and volumes
    Media - Media Servers and Editors
	--cmd SW21 - Install Plex Media server
	--cmd SW22 - Remove Plex Media server
	--cmd SW23 - Install Emby server
	--cmd SW24 - Remove Emby server
    Management - Remote Management tools
	--cmd M00 - Install Cockpit web-based management tool
	--cmd M01 - Purge Cockpit web-based management tool
	--cmd M02 - Start Cockpit Service
	--cmd M03 - Stop Cockpit Service

Most functions were ported from old config which is the reason we are merging this soon.

How Has This Been Tested?

  • we have unit testing in place, but test cases were not developed / enabled for all functions yet
  • tested by developers. There are bugs ...

Checklist:

  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

@igorpecovnik igorpecovnik added Work in progress Unfinished / work in progress Help needed We need your involvement Breaking change Can potentially break core functionality 11 Milestone: Fourth quarter release Giveaway Code completition was selected to enter contributors giveaway labels Sep 8, 2024
@igorpecovnik igorpecovnik requested a review from a team as a code owner September 8, 2024 17:53
@github-actions github-actions bot added size/small PR with less then 50 lines Framework Framework components labels Sep 8, 2024
…ll footprint, thus it will be installed by default
@igorpecovnik igorpecovnik added Needs review Seeking for review and removed Work in progress Unfinished / work in progress labels Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
11 Milestone: Fourth quarter release Breaking change Can potentially break core functionality Framework Framework components Giveaway Code completition was selected to enter contributors giveaway Help needed We need your involvement Needs review Seeking for review size/small PR with less then 50 lines
Development

Successfully merging this pull request may close these issues.

1 participant