Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

[WIP]: Automate {KOSS/Meta}Hub Setup #22

Closed
wants to merge 68 commits into from

Conversation

proffapt
Copy link
Contributor

@proffapt proffapt commented Jan 15, 2023

POA

  • To create a systemd script which does the following job:
    • The .py script - runs everytime on booting
      • Detects if the pi has access to internet on boot-up or not.
      • If yes -> do nothing. If no -> delete the lines for static ip configuration in dhcpcd.conf.
      • starts the setup script, which configures current ip as static and starts ptokax service if not already.
    • The .sh script - install dependencies and executes the .py script.
  • Configure aliases instead of abstract path.
  • New ptokax-setup.sh for new needs
    • Automate the argument requirements for the setup-script.
    • Fix the bug - if it's not handled already - BUG
    • Check for every task if they are handled before or not

Testing w/o LED

  • ptokax-alias
  • ptokax-config.sh
  • ptokax-stop.sh
  • ./ptokax-start.sh
  • ./ptokax-setup.sh
  • systemd
    • ptokax.service
    • ptokax-startup-service.sh
    • ptokax-network-check.py
      • Network Access Check
      • ptokax-setup.sh
  • Improve script outputs from in script commands based on test runs.
  • Check the -ne $pid part.. in ipofpi.sh & ptokax-setup.sh and one more.. if they work or not..
  • setsid if it is available or not

LED

The goal is to..
For now it's POA has not been decided, but surely be done after w/o LED is deployment ready.

Why?

To make it plug and play job to setup DC++.

@proffapt proffapt marked this pull request as draft January 15, 2023 15:29
@sheharyaar
Copy link
Owner

Once all the commits are done, I will review and merge

@proffapt
Copy link
Contributor Author

proffapt commented Mar 2, 2023

Once all the commits are done, I will review and merge

Aite

@proffapt proffapt changed the title [WIP]: automate-hub-setup [WIP]: Automate {KOSS/Meta}Hub Setup Mar 15, 2023
@proffapt
Copy link
Contributor Author

proffapt commented May 2, 2023

Closing this PR, as the development will be continued on https://github.com/proffapt/MetaHub

@proffapt proffapt closed this May 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants