Giter Site home page Giter Site logo

scripts's Introduction

OpenRepeater Webapp

This repository is for development only, only use this if you know what you are doing or have been instructed by a developer to use this code.

This is the GUI Application for the OpenRepeater project. By itself it does nothing. It requires a number of other dependencies and is built around a single board computer environment. This is more of a home for developers to update and share code. To get started with OpenRepeater, please visit OpenRepeater.com where you can download a precompiled image with everything you need to get started.

scripts's People

Contributors

bobruddy avatar dloranger avatar kitchenery-dloranger avatar richneese avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scripts's Issues

Tune php-fpm pool

Currently on the beta image, there are ~200 php5-cgi processes that get spawned on boot.

add function to fix dtoverlay not loading properly

DTOVERLAY for the MCP23017 and other devices may fail to load due to a bug that resides in the base os, specifically the utils tool that handles the linking.

This has been resolved in the github repo, but has not yet rolled out to the the images.

This prevents the gpio expanders needed from being controlled by the operating system.

commands to update the tool in the base image

wget https://github.com/raspberrypi/utils/archive/refs/heads/master.zip
unzip master.zip;cd utils-master;cmake .;make;make install; cd ..;rm -rf utils-master;rm master.zip

These should be scripted to automatically run, however it is not yet clear how to detect the revision for automatic checking to prevent the script from running if a newer released version is already present.

Missing Sound oX.wav

ln /usr/share/svxlink/sounds/en_US/Default/O.wav /usr/share/svxlink/sounds/en_US/Default/oX.wav

add to sounds install to fix

When installing headless, Pi zero must have static IP

Due to the wifi dropping briefly during install, when installing on a Pi zero, if a static IP is not specifically configured in /etc/dhcpcd.conf
the Pi may receive a different IP when the network comes back up, resulting in the SSH session terminating, and an aborted install. A static IP ensures the SSH session will continue once the network reconnects.

Build log has silent fails

The logging does not seem to capture failures that occur outside the svxlink build portion of the script.

I believe this stems from an incorrect usage of the redirect to tee command

In the tee portion of the script it looks like the script is not redirecting the stderr to the stdout which seems to be the general construct recommended online.

script is doing
(...) ) | tee /root/orp_install.log

while the recommended approach is to use
... 2>&1 | log.file

Add support for the 4x controller that uses the Seeed 6x sound board

This will be a catch-all for the various pieces that will need to be added to include support for the 4x controller hardware. This will be catch-all for files and patches to keep them together for now until we are ready to actually implement the hardware into the trunk

hotspot install appears to break the raspi-config menu and wipes out existing wlan settings

preconfigure OS image with rpi imager tool, configure wireless.

Run build on wireless only, dev build, trunk

Upon reboot the hotspot comes up, able to log-in to the the hotspot correctly, but being wifi was already running, it should not have used the hotspot, but rather the WLAN connection previously configured

Tried running raspi-config and get an error that the tool is unable to communicate.

Confirmed the wpa_supplicant has the country code set, but no wlan settings.

Remote Relay Module not found

It looks like this repo was renamed and the branch naming was changed from the default "master" to a versioned numbering system.

I found this after implementing #22 it was one of the silet fails.

I have a fix in my fork that I'm kicking off on a test now. If that is successful I'll open a pull request.

The only files that are installed are RemoteRelay.tcl ModuleRemoteRelay.tcl. If more files need to be installed. Either let me know or someone can modify my fix afterwards to add the additional files.

I also assumed that the 1.1 branch is the one you would like to use. I put a BRANCH variable in the install script.

Warnings on CMAKE for missing directory specifiers

CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.

Reconfigure Keyboard & Locale on beta image

The beta image has EN_GB and similar keyboard and locale settings. I was able to adjust them by running the following commands:

$ sudo dpkg-reconfigure keyboard-configuration

$ sudo dpkg-reconfigure locales

missing asound.conf setting

the code needed for /etc/asound.conf is missing from the build script


pcm.dmixed {
    type dmix
    ipc_key 1024
    ipc_key_add_uid 0
    slave.pcm "hw:0,0"
}
pcm.dsnooped {
    type dsnoop
    ipc_key 1025
    slave.pcm "hw:0,0"
}
pcm.duplex {
    type asym
    playback.pcm "dmixed"
    capture.pcm "dsnooped"
}
pcm.left {
    type asym
    playback.pcm "shared_left"
    capture.pcm "dsnooped"
}
pcm.right {
    type asym
    playback.pcm "shared_right"
    capture.pcm "dsnooped"
}
# Instruct ALSA to use pcm.duplex as the default device
pcm.!default {
    type plug
    slave.pcm "duplex"
}
ctl.!default {
    type hw
    card 0
}
# split left channel off
pcm.shared_left {
   type plug
   slave.pcm "hw:0"
   slave.channels 2
   ttable.0.0 1
}
# split right channel off
pcm.shared_right {
   type plug
   slave.pcm "hw:0"
   slave.channels 2
   ttable.1.1 1
}
#dtparam=i2s=on
Pcm_slave.hw_loopback {
   Pcm "hw: loopback, 1.2"
   Channels 2
   Format RAW
   Rate 16000
}
Pcm.plug_loopback {
   Type plug
   Slave hw_loopback
    Ttable {
    0.0 = 1
    0.1 = 1
  }
}
Ctl. Equal  {
   type equal ;
   Controls "/home/pi/.alsaequal.bin"
}

Wifi drops during install on Pi Zero

Wifi connection drops during install on Pi zero resulting in install_orp_from_github in the functions.sh and the install of svxlink modules to fail.

Update MCP3208 clocking speed

The current setting in /boot/config.txt is 3.6MHz, but the datasheet has a maximum of 2MHZ, suggest to set it to 1MHz to ensure proper operation

Install hangs waiting for network DNS to become available

This seems to be an consistant issue for Dloranger while not for RichNeese.

The issue becomes apparent during this portion of the scripts

Processing triggers for resolvconf (1.87) ...
Processing triggers for libgdk-pixbuf-2.0-0:armhf (2.42.2+dfsg-1+deb11u1) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u4) ...
--------------------------------------------------------------
 Waiting for network/internet connection
--------------------------------------------------------------
Verifying network/internet is still available, please wait...
Network is down.  Waiting 5 seconds for the network to reconnect...

...
Network is down.  Waiting 5 seconds for the network to reconnect...
Network connected.  Proceeding...
--------------------------------------------------------------
 Cloning OpenRepeater files from GitHub repo
--------------------------------------------------------------

This can be fixed by resetting the network port using the following command (via wifi session)

ip link set wlan0 down && ip link set wlan0 up

gui > identification page

when going to gui ident page and selecting basic voice id and then longid and try adding announce time we get a failed reload adn a blank white ppage until you go back and change announce current time to off and rebuild/restart.

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.