IP: 192.168.11.10
$ sudo raspi-config
┌─────┤ Raspberry Pi Software Configuration Tool (raspi-config)├────┐ │ │ │ 1 System Options Configure system settings │ │ 2 Display Options Configure display settings │ │ 3 Interface Options Configure connections to peripherals │ │ 4 Performance Options Configure performance settings │ │ 5 Localisation Options Configure language and regional settings │ │ 6 Advanced Options Configure advanced settings │ │ 8 Update Update this tool to the latest version │ │ 9 About raspi-config Information about this configuration tool │ │ │ │ │ │ <Select> <Finish> │ │ │ └───────────────────────────────────────┘<Select>,<Finish>を[Tab]で選択するか[Enter]で選択[Esc]で戻る
┌─────┤ Raspberry Pi Software Configuration Tool (raspi-config)├────┐ │ │ │ S1 Wireless LAN Enter SSID and passphrase │ │ S2 Audio Select audio out through HDMI or 3.5mm jack │ │ S3 Password Change password for the 'pi' user │ │ S4 Hostname Set name for this computer on a network │ │ S5 Boot / Auto Login Select boot into desktop or to command line │ │ S6 Network at Boot Select wait for network connection on boot │ │ S7 Splash Screen Choose graphical splash screen or text boot │ │ S8 Power LED Set behaviour of power LED │ │ │ │ │ │ <Select> <Finish> │ │ │ └───────────────────────────────────────┘
┌─────┤ Raspberry Pi Software Configuration Tool (raspi-config)├────┐ │ │ │ B1 Console Text console, requiring user to login │ │ B2 Console Autologin Text console, automatically logged in as 'pi' user │ │ B3 Desktop Desktop GUI, requiring user to login │ │ B4 Desktop Autologin Desktop GUI, automatically logged in as 'pi' user │ │ │ │ │ │ <Select> <Finish> │ │ │ └───────────────────────────────────────┘デスクトップを最初からインストールしていないPiOSを使って居る場合は[B1]を選択します。
┌─────┤ Raspberry Pi Software Configuration Tool (raspi-config)├────┐ │ │ │ 1 System Options Configure system settings │ │ 2 Display Options Configure display settings │ │ 3 Interface Options Configure connections to peripherals │ │ 4 Performance Options Configure performance settings │ │ 5 Localisation Options Configure language and regional settings │ │ 6 Advanced Options Configure advanced settings │ │ 8 Update Update this tool to the latest version │ │ 9 About raspi-config Information about this configuration tool │ │ │ │ │ │ <Select> <Finish> │ │ │ └───────────────────────────────────────┘
┌─────┤ Raspberry Pi Software Configuration Tool (raspi-config)├────┐ │ │ │ A1 Expand Filesystem Ensures that all of the SD card is available │ │ A2 GL Driver Enable/disable experimental desktop GL driver │ │ A3 Compositor Enable/disable xcompmgr composition manager │ │ A4 Network Interface Names Enable/disable predictable network i/f names │ │ A5 Network Proxy Settings Configure network proxy settings │ │ A8 Glamor Enable/Disable glamor graphics acceleration │ │ A9 Wayland Enable experimental Wayland backend │ │ │ │ │ │ │ │ <Select> <Finish> │ │ │ └───────────────────────────────────────┘
$ df -h
$ sudo su -
# nano /etc/hosts # nano /etc/hostname
# nano /etc/ssh/sshd_config
GNU nano 5.4 /etc/ssh/sshd_config
: #Port 22 ↓ Port 22222
# nano /boot/config.txt
GNU nano 5.4 /boot/config.txt
# uncomment to force a console size. By default it will be display's size minus # overscan. framebuffer_width=1280 framebuffer_height=960
# nano /etc/dhcpcd.conf
GNU nano 5.4 /etc/dhcpcd.conf
: : ### eth0(Internet側) eth1(Controler側)のIPアドレス指定 interface eth0 static ip_address=10.0.xx.xx/8 #指定された固定アドレス static routers=10.0.yy.yy #ルータのLAN側アドレス static domain_name_servers=10.0.yy.yy #ルータのLAN側アドレス interface eth1 static ip_address=172.16.0.20/24 #Gatewayやname serverは不要
# apt update && apt upgrade -y # reboot
$ cd /etc/apt/sources.list.d $ sudo wget http://app.d-star.info/debian/bookworm64/rpi-GW/jarl-GW.list $ cd /var/tmp $ sudo wget http://app.d-star.info/debian/bookworm64/rpi-GW/jarl-pkg.key $ sudo apt-key add jarl-pkg.key $ cd
$ sudo apt clean $ sudo apt update $ sudo apt install -y rpi-dsgwd rpi-dprs rpi-xchange rpi-dstatus rpi-multi-forward rpi-decho
$ sudo nano /boot/rpi-GW/rpi-dsgwd.conf
GNU nano 5.4 /boot/rpi-GW/rpi-dsgwd.conf
# # rpi-dsgwd.conf # Configuration file for D-STAR GW-Server Daemon # (C) 2021 JARL D-STAR Committee Satoshi Yasuda, 7m3tjz # # --- Setting the following two parameters is mandatory. --- # Zone Repeater's Infomation ZR_CALLSIGN=[Repeater Callsign(モジュールA,B無し)] ZR_ADDR=127.0.0.1 # --- Caution! Use the following parameters as they are. --- # --- Only when you need any customization, --- # --- please change the following parameters. --- # Zone Repeater's Infomation ZR_PORT=20011 ZR_SRCPORT=20100 ZR_ETHIFNAME=lo # DNS Server DNS_ADDR=8.8.8.8 #グーグル汎用DNS. 本来はDEFAULT_GWと同じ10.0.x.x #ですがネットワーク環境が変わっても訂正の必要が有りません。 # GateWay GW_ETHIFNAME=eth0 DEFAULT_GW=10.0.x.x #ルータのLAN側アドレスです。 #GW_LOGINT=300 GW_VCPORT=40000 #GW_VCSRCPORT=40002 GW_DTPORT=40001 GW_ZRPORT=20010 # Kanri Server MGSV_ADDR=trust.d-star.info MGSV_PORT=30001 MGSV_LOGADDR=trust.d-star.info MGSV_LOGPORT=30000 # GW connection #CON_WAIT_INTERVAL=2 #CON_REFRESH_INTERVAL=1 #CON_MAX_GW=50 # LOG Infomation LOG_GWREG=1 LOG_INVOICE=1 LOG_INDATA=1 LOG_OUTVOICE=1 LOG_OUTDATA=1 LOG_OUTNET=1 LOG_GWVOICE=1 LOG_GWDATA=1 LOG_USERERR=1 LOG_HOLEPCH=1 LOG_SOCKET=1 LOG_MAC=1 # END dsgwd.conf
$ sudo nano /boot/rpi-GW/rpi-xchange.conf
GNU nano 5.4 /boot/rpi-GW/rpi-xchange.conf
# # Version V02.00 or later # Satoshi Yasuda # 12 Aug. 2018 # ZR_NIC=eth1 ZR_ADDR=172.16.0.1 ZR_IN_PORT=20000 ZR_OUT_PORT=20000 GW_IN_PORT=20011 GW_OUT_PORT=20010 GW_NIC=lo MON_PORT=21000 GW_ADDR=127.0.0.1 FORWARD=127.0.0.1:50000:dprs FORWARD=127.0.0.1:50001:dstatus FORWARD=127.0.0.1:50002:multi_forward FORWARD=127.0.0.1:50003:decho HTTP_PORT=20201 UPNP=0
$ sudo nano /boot/rpi-GW/rpi-dprs.conf
GNU nano 5.4 /boot/rpi-GW/rpi-dprs.conf
#
# Version V00.79 or later
# Satoshi Yasuda
# 20 Aug. 2018
#
APRS_SERVER=d-prs.d-star.info:14580
#APRS_SERVER=d-prs.d-star.info:8080:SUBMIT
RADIO_ID=D
SEND_INTERVAL=60
AUTO_RELINK=1
RETRY_COUNT=0
BEACON_LAT=35.xxxx #リピータの緯度・経度を小数点表示で
BEACON_LONG=136.xxxx
BEACON_COMMENT=D-STAR -> APRS
BEACON_INTERVAL=0
MON_PORT=50000
ACCEPT_TYPE=MIX
$ sudo nano /boot/rpi-GW/rpi-dstatus.conf
GNU nano 5.4 /boot/rpi-GW/rpi-dstatus.conf
# # Version V00.79 or later # Satoshi Yasuda # 10 Oct. 2015 # DEBUG=1 MON_PORT=50001 STATUS=status.d-star.info:21050
$ sudo nano /boot/rpi-GW/rpi-multi_forward.conf
GNU nano 5.4 /boot/rpi-GW/rpi-multi_forward.conf
# # Version V00.79 or later # Satoshi Yasuda # 10 Oct. 2015 # FORWARD_PORT=50002 MULTI_CONNECT_PORT=51000 STATUS=status.d-star.info:21051 MAX_TIME=0 # 接続時間指定/0:無制限 MAX_CONNECT=0 # 接続局数指定/0:無制限
$ sudo nano /boot/rpi-GW/rpi-decho.conf
GNU nano 5.4 /boot/rpi-GW/rpi-decho.conf
#
# Version V00.01 or later
# Satoshi Yasuda
# 2022/04/29
#
FORWARD_PORT=50003
ECHO_SERVER=JL3ZBS A:JL3ZBS Z #各リピータコールサインに変更してください。
ECHO_POSITION_SEND_INTERVAL=600
エコーサーバのZについてはシステムで使用しているSやGなどを使用しないでください。$ sudo nano /etc/rsyslog.conf
GNU nano 5.4 /etc/rsyslog.conf
: : 末尾に追加 # # rpi-dsgwd.log # local0.* /var/log/rpi-dsgwd.log
$ sudo touch /var/log/rpi-dsgwd.log
$ sudo systemctl enable rpi-dsgwd.service rpi-xchange.service rpi-dprs.service rpi-dstatus.service rpi-multi_forward.service rpi-decho.service $ sudo reboot
$ ps aux | grep rpiこれで、すべての設定が完了しました。 しばらくすると、リピータ一覧(運用ログ表示システム)に表示されれば運用可能となります。