Do you have odroid? Try odroid-config!

Share here your ideas for new projects
Post Reply
User avatar
tony.hong
Posts: 31
Joined: Tue Jun 04, 2019 1:49 pm
languages_spoken: korean
ODROIDs: All
Location: korea
Has thanked: 8 times
Been thanked: 4 times
Contact:

Do you have odroid? Try odroid-config!

Unread post by tony.hong » Thu Aug 29, 2019 2:09 pm

odroid-config is Odroid configuration tool based on TUI.
If you want to change some configurations, Just read menus, select the one you want to change.
Only hardkernel official ubuntu 18.04 images are supported.

Whether you are a novice or an expert, changing Linux configurations is cumbersome.
Many configurations are changed by terminal commands. If you don't use the command frequently or you don't know, maybe you will find a howto on the wiki, forum or so on.
odroid-config will help you.

Installation

Code: Select all

$ sudo add-apt-repository ppa:hardkernel/ppa
$ sudo apt update
$ sudo apt install odroid-config
If add-apt-repository command was not found, try below command and try installation command again.

Code: Select all

$ sudo apt update
$ sudo apt install software-properties-common
Usage

Code: Select all

$ sudo odroid-config
odroid-config.png
odroid-config.png (25.27 KiB) Viewed 415 times
It's an early version so I think there will be many errors.
I need your help.
Please leave a comment about an error, a menu you want to add, etc.
Last edited by tony.hong on Thu Aug 29, 2019 5:24 pm, edited 4 times in total.
These users thanked the author tony.hong for the post (total 2):
mad_ady (Thu Aug 29, 2019 2:18 pm) • rooted (Thu Aug 29, 2019 3:17 pm)

User avatar
rooted
Posts: 6610
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 104 times
Been thanked: 20 times
Contact:

Re: Do you have odroid? Try odroid-config!

Unread post by rooted » Thu Aug 29, 2019 3:16 pm

Looks really good.

There is a misspelling on the main screen, it's spelled "localization". A z instead of a s.
These users thanked the author rooted for the post:
tony.hong (Thu Aug 29, 2019 4:15 pm)

User avatar
tony.hong
Posts: 31
Joined: Tue Jun 04, 2019 1:49 pm
languages_spoken: korean
ODROIDs: All
Location: korea
Has thanked: 8 times
Been thanked: 4 times
Contact:

Re: Do you have odroid? Try odroid-config!

Unread post by tony.hong » Thu Aug 29, 2019 3:24 pm

rooted wrote:
Thu Aug 29, 2019 3:16 pm
Looks really good.

There is a misspelling on the main screen, it's spelled "localization". A z instead of a s.
Thanks for your help. :lol:

joy
Posts: 878
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 10 times
Been thanked: 46 times
Contact:

Re: Do you have odroid? Try odroid-config!

Unread post by joy » Sun Sep 01, 2019 11:33 am

Great work, Tony! Awesome. :D
Is this available with other ODROID platforms like C2 or XU4?
These users thanked the author joy for the post:
tony.hong (Sun Sep 01, 2019 1:50 pm)

User avatar
tony.hong
Posts: 31
Joined: Tue Jun 04, 2019 1:49 pm
languages_spoken: korean
ODROIDs: All
Location: korea
Has thanked: 8 times
Been thanked: 4 times
Contact:

Re: Do you have odroid? Try odroid-config!

Unread post by tony.hong » Sun Sep 01, 2019 2:01 pm

joy wrote:
Sun Sep 01, 2019 11:33 am
Great work, Tony! Awesome. :D
Is this available with other ODROID platforms like C2 or XU4?
odroid-config supports C1 C2 N2 XU4.
But some menus are not yet supported.

If you have some problems or a menu(s) you want to add, please leave a comment ;)

powerful owl
Posts: 87
Joined: Thu Mar 28, 2019 8:57 pm
languages_spoken: english
ODROIDs: 6 x HC1, N2, H2
Has thanked: 12 times
Been thanked: 8 times
Contact:

Re: Do you have odroid? Try odroid-config!

Unread post by powerful owl » Sun Sep 01, 2019 2:02 pm

Working on HC1 with Ubuntu Minimal :D
These users thanked the author powerful owl for the post:
tony.hong (Sun Sep 01, 2019 3:31 pm)

User avatar
tony.hong
Posts: 31
Joined: Tue Jun 04, 2019 1:49 pm
languages_spoken: korean
ODROIDs: All
Location: korea
Has thanked: 8 times
Been thanked: 4 times
Contact:

Re: Do you have odroid? Try odroid-config!

Unread post by tony.hong » Sun Sep 01, 2019 3:05 pm

powerful owl wrote:
Sun Sep 01, 2019 2:02 pm
Working on HC1 with Ubuntu Minimal :D
Interfacing Options are not working on HC1. Common Linux options are probably working on other Odroids.

joy
Posts: 878
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 10 times
Been thanked: 46 times
Contact:

Re: Do you have odroid? Try odroid-config!

Unread post by joy » Mon Sep 02, 2019 10:28 am

tony.hong wrote:
Sun Sep 01, 2019 2:01 pm
odroid-config supports C1 C2 N2 XU4.
But some menus are not yet supported.
Hi Tony,
I've tried odroid-config on XU4 and it works beautifully.
I'm still playing with it and haven't checked all features yet,
but I'm sure it's very useful. :)

I have one tiny suggestion.
[ odroid-config version ]
Is there a menu which shows version information of odroid-config?
If not so, how about adding a simple menu to check the current version of odroid-config?

I tried [Update] menu and it says [The odroid-config has been updated.]
but, I can't check if the current version is the latest one. :?:
I think it will be helpful for the maintenance and troubleshooting with odroid users.
These users thanked the author joy for the post:
tony.hong (Mon Sep 02, 2019 3:05 pm)

User avatar
tony.hong
Posts: 31
Joined: Tue Jun 04, 2019 1:49 pm
languages_spoken: korean
ODROIDs: All
Location: korea
Has thanked: 8 times
Been thanked: 4 times
Contact:

Re: Do you have odroid? Try odroid-config!

Unread post by tony.hong » Mon Sep 02, 2019 3:04 pm

joy wrote:
Mon Sep 02, 2019 10:28 am
I have one tiny suggestion.
[ odroid-config version ]
Is there a menu which shows version information of odroid-config?
If not so, how about adding a simple menu to check the current version of odroid-config?

I tried [Update] menu and it says [The odroid-config has been updated.]
but, I can't check if the current version is the latest one. :?:
I think it will be helpful for the maintenance and troubleshooting with odroid users.
Hi Joy.

You're right. It didn't occur to me.
I will try to add your suggestion, :D but It can be added in other ways. I don't know yet.

Anyway, Thanks Joy :!:

CHANGELOG====================================

Code: Select all

odroid-config (0.1-3) unstable; urgency=medium

  * Set SUDO_USER to root when using root user
    (Thanks to Seungchul Lee @hardkernel)

 -- Hyeonki Hong <hhk7734@gmail.com>  Sat, 29 Aug 2019 17:52:00 +0900

odroid-config (0.1-2) unstable; urgency=medium

  * Fix typo(Thanks to rooted@forum.odroid.com)
  * Remove duplicate functions and prevent globs in N2 functions
  * Fix do_resolution() in n2/functions

 -- Hyeonki Hong <hhk7734@gmail.com>  Sat, 29 Aug 2019 16:02:00 +0900

odroid-config (0.1-1) unstable; urgency=medium

  * Add odroid-cnofig update function
  * Fix rm commad error in odroid-config.postrm
  * Move removing model code from .postrm to .postinst

 -- Hyeonki Hong <hhk7734@gmail.com>  Sat, 29 Aug 2019 09:20:00 +0900

odroid-config (0.1) unstable; urgency=medium

  * Initial release.

 -- Hyeonki Hong <hhk7734@gmail.com>  Sat, 24 Aug 2019 15:47:25 +0900

User avatar
mad_ady
Posts: 6519
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 163 times
Been thanked: 125 times
Contact:

Re: Do you have odroid? Try odroid-config!

Unread post by mad_ady » Mon Sep 02, 2019 5:14 pm

Hey tony, I just tried your tool and it looks great. I wouldn't have gone with the odroid-config name because it might be confiusing with the older and deprecated odroid-config tool that existed pre-ubuntu 16.04.

Other than that I would add the following extra functionality to it:
1. Fix broken apt upgrades. Sometimes (because of power cuts or incomplete upgrades), apt remains in a semi-broken state. To recover you need to run dpkg --configure -a; apt-get -f install.
2. Collect troubleshooting information for various types of problems. This could be a section that collects logs for network information, or disk problems or screen issues - here could be commands that log relevant information to a file and use pastebinit to upload it and return a URL for the user.
3. If it's popular enough have a plugin framework that allows contributors to create install scripts that the end user can deploy through this tool.
These users thanked the author mad_ady for the post:
tony.hong (Mon Sep 02, 2019 7:03 pm)

User avatar
tony.hong
Posts: 31
Joined: Tue Jun 04, 2019 1:49 pm
languages_spoken: korean
ODROIDs: All
Location: korea
Has thanked: 8 times
Been thanked: 4 times
Contact:

Re: Do you have odroid? Try odroid-config!

Unread post by tony.hong » Mon Sep 02, 2019 6:18 pm

Hi mad_ady.
mad_ady wrote:
Mon Sep 02, 2019 5:14 pm
Hey tony, I just tried your tool and it looks great. I wouldn't have gone with the odroid-config name because it might be confiusing with the older and deprecated odroid-config tool that existed pre-ubuntu 16.04.
I had found odroid-config, but I can't. Hm... Are you talking about odroid-utility?
mad_ady wrote:
Mon Sep 02, 2019 5:14 pm
1. Fix broken apt upgrades. Sometimes (because of power cuts or incomplete upgrades), apt remains in a semi-broken state. To recover you need to run dpkg --configure -a; apt-get -f install.
:D good!!.
I always forgot about the commands...
mad_ady wrote:
Mon Sep 02, 2019 5:14 pm
2. Collect troubleshooting information for various types of problems. This could be a section that collects logs for network information, or disk problems or screen issues - here could be commands that log relevant information to a file and use pastebinit to upload it and return a URL for the user.
3. If it's popular enough have a plugin framework that allows contributors to create install scripts that the end user can deploy through this tool.
Sounds good, but at the same time difficult.

Maybe #1 will be added soon and I should try to plan to add #2.
But I don't know what to do about #3. If it's popular enough, please give me some advice when you are free.

Thank you, mad_ady. :lol:

User avatar
mad_ady
Posts: 6519
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 163 times
Been thanked: 125 times
Contact:

Re: Do you have odroid? Try odroid-config!

Unread post by mad_ady » Mon Sep 02, 2019 8:46 pm

You're right, it was odroid-utility :)

Post Reply

Return to “The Ideas”

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 0 guests