Giter VIP home page Giter VIP logo

rh-setup's People

Contributors

aaronsss avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

martinglass

rh-setup's Issues

Newbie experience

Hi Aaron,

I've just across your RH-Setup repo and tried it out.

I ' M V E R Y I M P R E S S E D !

I wish I had come across it earlier. I'm testing RH out on the new RPi v5 board, and your RH-Setup script runs sooooo fast (partly because rebooting on RPi 5 is damn quick, compared to before).

RH-Setup first stage completed in 2-4 minutes and second stage seemed to flash by, maybe a further 1 minute, 2 minutes max!

Here's my first time experience and feedback, in case it's any use.

  1. I couldn't edit the firstrun.sh file using my Mac, due to user permissions. I chose the manual installation method (see 4. below)
    cd ~
    wget https://github.com/Aaronsss/RH-Setup/archive/refs/heads/main.zip
    unzip main.zip
    sudo chmod 744 ~/RH-Setup-main/rh-pi-setup.sh
    ~/RH-Setup-main/rh-pi-setup.sh

  2. The first stage paused (when initiating raspi-config), and it asked the user to confirm Serial options (Login Shell = No, Serial Port Hardware Enabled = Yes, confirm = Enter).
    A first time user wouldn't know the correct responses here, perhaps it's worth mentioning this in your README.md

  3. The RH-Setup installation first stage completed ok, but at the end I got these messages and then the process failed to continue (see error log below)

To get round this, I manually created the folder ("sudo mkdir /boot/RH") and re-ran the rh-pi-setup.sh script. The process continued and completed satisfactorily.

ERROR LOG
sh: 1: cannot create /boot/RH/RHInstalProgress.txt: Directory nonexistent
Sun 19 Nov 09:48:50 GMT 2023 RotorHazard first stage install completed in: 156 Seconds
Rebooting to complete install

Broadcast message from root@raspberrypi5 on pts/1 (Sun 2023-11-19 09:48:50 GMT):

The system will reboot now!

Connection to raspberrypi5.local closed by remote host.
Connection to raspberrypi5.local closed.

  1. Running it manually, to initiate the 2nd Stage, after first reboot, I needed to manually re-enter the command "~/RH-Setup-main/rh-pi-setup.sh"

  2. pi-fan-control.service failed to start up in systemctl
    Running the script manually, the following log is returned:
    Traceback (most recent call last):
    File "/home/martin/Raspberry-Pi-Fan-Control/run-fan.py", line 43, in
    setup()
    File "/home/martin/Raspberry-Pi-Fan-Control/run-fan.py", line 13, in setup
    GPIO.setup(pin, GPIO.OUT)
    RuntimeError: No access to /dev/mem. Try running as root!

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/martin/Raspberry-Pi-Fan-Control/run-fan.py", line 48, in
fan_on()
File "/home/martin/Raspberry-Pi-Fan-Control/run-fan.py", line 25, in fan_on
GPIO.output(pin, True)
RuntimeError: The GPIO channel has not been set up as an OUTPUT

  1. In pi-config-update.sh ...
    sudo -- bash -c 'echo "core_freq=250" >> /boot/config.txt' is not needed for Pi 4 and Pi 5.

  2. rh-install.sh doesn't use the venv python virtual environment method.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.