diff options
Diffstat (limited to 'share/max25/max25d.ini.host.example')
| -rw-r--r-- | share/max25/max25d.ini.host.example | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/share/max25/max25d.ini.host.example b/share/max25/max25d.ini.host.example new file mode 100644 index 0000000..fc05b9d --- /dev/null +++ b/share/max25/max25d.ini.host.example @@ -0,0 +1,95 @@ +; MainAX25-Stack — max25d Linux host (example setup) +; Copy: sudo cp share/max25/max25d.ini.host.example /etc/max25/max25d.ini +; Unified workflow: docs/PLUGINS-DEVICE-MODEL.md +; +; Example onboard-UART map (single BayCom — no dual on this layout): +; /dev/ttyS0 BayCom PC-COM (kernel-ser12) — Path B below +; /dev/ttyS4 TNC2C (packet_radio) — Path A (default) +; /dev/ttyS5 PK-TNC2 (packet_radio) — NOT BayCom +; +; Enable exactly ONE hardware path: comment out Path A [devices] when switching to B or C. + +[daemon] +mode = standalone +; Path A (default): TNC2C on ttyS4 +hardware = tncs +device = tnc2c +; Path B BayCom: hardware = modems · device = max25e0 +; Path C CRDOP: hardware = soft-modems · device = soft-crdop + +[network] +; Listen on all interfaces — remote max25-terminal over LAN +tcp_host = 0.0.0.0 +tcp_port = 7325 +; systemd RuntimeDirectory=max25 → /run/max25/modem.sock +unix_socket = /run/max25/modem.sock +; Set a password before exposing tcp_host = 0.0.0.0 on LAN +tcp_password = changeme + +[modem] +callerid = CB-0 +callid = QST +ax25_ui = yes +; Banned AX.25 source callsigns — silent RX drop (one per line in file) +; bans_file = /etc/max25/bans.txt + +[reporting] +error_transmissions = yes +voice_transmissions = yes +data_passes = 3 +data_quality_min = 50 +data_pass_seconds = 20 + +[stack] +; Starts max25-ctl stack on daemon boot (recover-only for TNC — no power cycle) +auto_start = yes +serial_watch = yes +serial_watch_interval = 60 +stack_recover_only = yes +serial_bootwait_escalate = yes +serial_bootwait_escalate_after = 3 + +; --- Path A: TNC2C (default host) --- +[devices] +default = tnc2c +tnc2c = /dev/ttyS4 + +[serial.tnc2c] +baud = 19200 +line = 8n1 +dtr_rts = yes +kiss_entry = kiss_on + +; Second TNC — not on same Linux host (use another machine): +; pktnc2 = /dev/ttyS5 +; [serial.pktnc2] +; baud = 9600 +; line = 8n1 +; dtr_rts = no +; kiss_entry = auto + +; --- Path B: BayCom PC-COM (single modem on ttyS0) --- +; Comment Path A [devices] + [serial.tnc2c] above, then uncomment: +; [devices] +; default = max25e0 +; baycom-ser12 = baycom:a +; [device.baycom-ser12] +; kiss_link = /var/run/baycom-pr/kiss +; modem = a +; baycom_ini = /etc/baycom/baycom-pr.ini +; Prep: sudo cp share/baycom/baycom-pr.pccom-ttyS0-only.ini.example /etc/baycom/baycom-pr.ini +; sudo baycom-pr-ctl -c /etc/baycom/baycom-pr.ini setup + +; --- Path C: CRDOP sound-card modem (CB profile) --- +; Comment Path A [devices] above, set [daemon] soft-modems/soft-crdop, then uncomment: +; [devices] +; default = soft-crdop +; soft-crdop = crdop:default +; [device.soft-crdop] +; host = 127.0.0.1 +; port = 8515 +; listen = yes +; Prep: cp stacks/crdop/share/crdop.ini.example ~/.config/crdop/crdop.ini (CB / 500MAX) + +; Serial env search: /etc/max25/ → local/ → share/max25/serial/ → stacks/tncs/ +; USB TNC example: tnc2c = /dev/ttyUSB0 (edit [serial.tnc2c] or tnc2c-serial.env) |
