J‐STAR wiki - JTA-STAR/J-STAR GitHub Wiki

Welcome to the J-STAR wiki!

How do I synchronize network time?

sudo apt install -y ntpdate
sudo ntpdate -u pool.ntp.org
date

How do Reinstall “make” in Raspberry Pi 5B Bookworm version?

Reinstall “make”

sudo mv /var/lib/dpkg/info/pixflat-icons.list /var/lib/dpkg/info/pixflat-icons.list.old
sudo dpkg --clear-avail
sudo apt update
sudo apt remove make
#sudo apt autoremove
sudo apt install -y make

How do install WebSSH (shellinabox)

sudo apt-get install -y shellinabox

Modify config: sudo vi /etc/default/shellinabox

# Should shellinaboxd start automatically
SHELLINABOX_DAEMON_START=1

# TCP port that shellinboxd's webserver listens on

# Parameters that are managed by the system and usually should not need
# changing:
# SHELLINABOX_DATADIR=/var/lib/shellinabox
# SHELLINABOX_USER=shellinabox
# SHELLINABOX_GROUP=shellinabox

# Any optional arguments (e.g. extra service definitions).  Make sure
# that that argument is quoted.
#
#   Beeps are disabled because of reports of the VLC plugin crashing
#   Firefox on Linux/x86_64.
SHELLINABOX_PORT=4200
SHELLINABOX_PORT=4200
SHELLINABOX_ARGS="--no-beep --disable-ssl-menu --disable-ssl --css=/etc/shellinabox/options-enabled/00_White\ On\ Black.css"

Restart service sudo systemctl restart shellinabox

Change Python version from V3 to V2

#修改默认python版本为 Python2
sudo rm /usr/bin/python
sudo ln -s /usr/bin/python2  /usr/bin/python #源,目标

#恢复Python3 
sudo rm /usr/bin/python  #改成python3, PyURSP用
sudo ln -s /usr/bin/python3  /usr/bin/python #源,目标

Raspberry Pi 5B bookworm OS Desktop open Chrome and fullscreem

add /home/pi-star/.config/autostart/PI-STAR.desktop

[Desktop Entry]
Type=Application
Name=Pi-Star
Exec=/usr/bin/chromium-browser  --start-fullscreen http://localhost
Terminal=false
Icon=chromium-browser

NOT use --start-maximized and --start-fullscreen NOT use @chromium-browser --noerrdialogs --start-fullscreen --incognito http://localhost' /home/pi/.config/lxsession/LXDE-pi/autostart

Enable Allstarlink DVSWitch Analog_reflector

Just support J‐STAR for RPi4B 3B , not support RPi 5B, BPiM2, RPi 2W

sudo systemctl enable asl-asterisk.service
sudo systemctl restart asl-asterisk.service
tail -100f /var/log/asterisk/messages

systemctl enable update-node-list.service  
systemctl start update-node-list.service 

sudo systemctl enable analog_bridge.service 
sudo systemctl start analog_bridge.service 

sudo systemctl enable mmdvm_bridge.service 
sudo systemctl start mmdvm_bridge.service

sudo systemctl enable analog_reflector.service
sudo systemctl start analog_reflector.service

Modify Allstarlink supermon http login user/password

sudo htpasswd -b /var/www/dashboard/supermon/.htpasswd admin 'admin123'

image

image