21 lines
521 B
Bash
21 lines
521 B
Bash
Подключение…#!/bin/bash
|
|
#Define login info
|
|
user=RR1ZF
|
|
password=22250
|
|
#Define object user info
|
|
senduser=RR1ZF
|
|
#Define APRS-IS server
|
|
server=russia.aprs2.net
|
|
port=14580
|
|
#Define station location
|
|
lat=6855.92N
|
|
lon=03306.03E
|
|
#Define data
|
|
comment="Analog Repeater 145.625/145.025MHz CTCSS-88.5 "
|
|
data="$senduser>APN100,TCPIP*:=${lat}/${lon}r${comment}"
|
|
#Send data to the server
|
|
printf "%s\n" "user $user pass $password" "${senduser}>APN100,TCPIP*:=${lat}/${lon}r${comment}/A=000885" | ncat aprs.ua1zbe.tk 14580
|
|
|
|
|
|
|