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