2 @section Serial connection
4 It is not trivial to run online @command{nncp-daemon},
5 @command{nncp-call} and @command{nncp-caller} commands over the serial
6 link, because it is link without built-in error detection. For efficient
7 usage you have to use some kind of window-sliding error correction
8 protocol, like Kermit, ZMODEM, UUCP's g-protocol and similar well known
11 However TCP is already satisfying and existing protocol for the same
12 purposes. So it would be more easier to bring up the IP interconnection
13 and use TCP over it. Most distributions already have
14 @url{https://en.wikipedia.org/wiki/Point-to-point_protocol, PPP}
17 Ordinary man page for @command{ppp} in FreeBSD is enough for being able
22 @item Enable PPP-aware default terminal to run @command{ppplogin} script:
26 default:pp=/usr/local/bin/ppplogin:@dots{}
30 /usr/local/bin/ppplogin:
32 exec /usr/sbin/ppp -direct incoming
35 @item Enable listening on necessary UART:
39 ttyU0 "/usr/libexec/getty 3wire.115200" vt100 on
43 Create @code{incoming} PPP profile, allowing authenticated @code{ppp}
50 disable deflate pred1 mppe protocomp vjcomp ipcp dns
51 enable lqr # null-modem cables might not have carrier detection
57 Configure PPP client to access that server:
68 disable deflate pred1 mppe protocomp vjcomp ipcp dns
74 That configuration does not negotiate any kind of IPv4 addresses,
75 routing or DNS servers. Also all compression is turned off, because
76 NNCP's traffic is encrypted and uncompressible. Only IPV6CP will
77 negotiate IPv6 link-local addresses, on which you can run @ref{MCD,
78 multicast discovered} daemons for simplicity.