Network

From Tučňák Wiki
Jump to navigation Jump to search

You can connect more Tucnaks into one network. They share QSOs, DX spots and other data. For this you must follow a few rules.

  • Computers must see each other. Tucnaks find each other by UDP broadcasts on port 55555. The broadcasts go to all network interfaces which Tucnak knows. The list is read at program start and again when you save Setup->Network & trace or press the reload button in File->Network info.
    • The simple case is one ethernet segment.
    • Tucnaks which are not on one segment (for example over the internet) can be joined by remote connect. In Setup->Network & trace set Enable remote connect, Remote host name, Remote TCP port (default 55555) and Remote Password.
    • You can switch off some interfaces or networks with Ignore interfaces and Ignore networks. With Announce to nets you can add other addresses where Tucnak sends its announcements.
    • You can run more Tucnaks on one computer (server) and use it remotely through telnet/ssh. The Tucnaks then talk through the loopback interface (lo). You will not be able to use the peripherals of your client computer (soundcard, keying, rig...).
    • Hint: if you use telnet/ssh, try the program screen.
  • One Tucnak in the network is the master. It is chosen automatically: the Tucnak with the highest master priority wins. If priorities are equal, the highest IP address wins, then the highest port. The default priority is 5 (7 on Android). It is set by the line net_masterpriority in tucnakrc. It is better to have the master on the fastest part of the network.
  • The list of connected Tucnaks is in File->Network info.
  • Attention! All computers must have the same time (plus minus a few seconds). In a long contest you need an ntp daemon, because clocks of single computers can differ by seconds during 24 hours. See Using NTP.
  • Open the new contest on the master. On the other computers choose Contest->New from network.
  • Tucnaks work together only when they have the same date, callsign, name of the contest and the same set of bands. Otherwise Tucnak writes a warning to the log.
  • If more Tucnaks run under one user on one computer, the second Tucnak creates contest directory <YYYYMMDD.1>.
  • When all conditions are met, Tucnaks start to replicate QSOs, DX spots and other data.