added a new script for w6kd reflector lists and some small changes to a few other files

pull/1/head
Tom Early 8 years ago
parent a781ddb80a
commit c773d33511

@ -98,7 +98,15 @@ so that it only contains DCS x-reflectors (DCSXXX), DStar reflectors (REFXXX) an
X-reflectors (XRFXXX) and it will put all x-reflectors on port 20001 so you won't
need any port-forwarding on your home router.
Based on the above discussion, execute either "./get_reflectors.sh" or
There is another script, reflist.sh, that will download REF, XRF and DCS reflectors
from the W6KD file server. This has the advantage over VA3UV in that the reflector
IP address are in dotted-name format, rather than dotted-number format. These
dotted-name IP address will be resolved to dotted-number by g2_link when it starts
up. The hope is that dotted-name IP addresses will change less frequently than
dotted-number addresses, so this method should last longer than the other two
methods.
Based on the above discussion, execute either "./reflist.sh", "./get_reflectors.sh" or
"./get_gwy_list.sh". If you want to be able to update your hotspot dynamically,
you can modify either one of these scripts by adding a "reboot" or "service
g2_link restart" command at the end and moving it to /usr/local/etc/exec_?X.sh

@ -21,7 +21,7 @@ public:
unsigned int usn;
IRCDDBAppUserObject() {
IRCDDBAppUserObject ("", "", "");
// IRCDDBAppUserObject ("", "", "");
}
IRCDDBAppUserObject(const std::string &n, const std::string &nm, const std::string &h) {

@ -68,8 +68,8 @@ module = {
# desc1 = ""
# desc2 = ""
# the url of your repeater, 80 chars max, defaults to "github.com/n7tae/g2_ircddb
# url = "" # 80 char max, defaults to "github.com/n7tae/g2_ircddb
# the url of your repeater, 80 chars max, defaults to "github.com/n7tae/g2_ircddb"
# url = ""
# If you want to enable/disable the repeater, set these options.
# Each of these options can NOT be more than 8 characters.

@ -2673,7 +2673,7 @@ int main(int argc, char **argv)
break;
}
/* Open udp INTERNAL port */
/* Open udp INTERNAL port (default: 19000) */
srv_sock = open_port(g2_internal);
if (0 > srv_sock) {
traceit("Can't open %s:%d\n", g2_internal.ip.c_str(), g2_internal.port);

@ -0,0 +1,14 @@
#!/bin/bash
wget ftp://dschost1.w6kd.com/DExtra_Hosts.txt
wget ftp://dschost1.w6kd.com/DPlus_Hosts.txt
wget ftp://dschost1.w6kd.com/DCS_Hosts.txt
/bin/rm -f gwys.txt
echo "# Downloaded from dschost1.w6kd.com `date`" > gwys.txt
awk '$1 ~ /^REF/ { printf "%s %s 20001\n", $1, $2 }' DPlus_Hosts.txt >> gwys.txt
awk '$1 ~ /^XRF/ { printf "%s %s 30001\n", $1, $2 }' DExtra_Hosts.txt >> gwys.txt
awk '$1 ~ /^DCS/ { printf "%s %s 30051\n", $1, $2 }' DCS_Hosts.txt >> gwys.txt
/bin/rm -f D{Extra,Plus,DSC}_Hosts.txt
Loading…
Cancel
Save

Powered by TurnKey Linux.