xref: /openbsd/usr.sbin/mopd/mopd/mopd.8 (revision c41be775)
1.\"	$OpenBSD: mopd.8,v 1.20 2022/11/27 14:35:27 schwarze Exp $
2.\"
3.\" Copyright (c) 1993-96 Mats O Jansson.  All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\"    notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\"    notice, this list of conditions and the following disclaimer in the
12.\"    documentation and/or other materials provided with the distribution.
13.\"
14.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
16.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24.\"
25.Dd $Mdocdate: November 27 2022 $
26.Dt MOPD 8
27.Os
28.Sh NAME
29.Nm mopd
30.Nd MOP loader daemon
31.Sh SYNOPSIS
32.Nm mopd
33.Op Fl 3 | 4
34.Op Fl adfv
35.Ar interface
36.Sh DESCRIPTION
37.Nm
38services MOP Load requests on the Ethernet connected to
39.Ar interface
40or all interfaces if
41.Fl a
42is given.
43In a load request received by
44.Nm
45a filename can be given.
46This is the normal case for, e.g., terminal servers.
47If a filename isn't given,
48.Nm
49must know what image to load.
50.Pp
51Upon receiving a request,
52.Nm
53checks if the requested file exists in
54.Pa /tftpboot/mop .
55The filename is normally all uppercase and with an extension of
56.Pa .SYS .
57If the filename isn't given, the Ethernet address of the target is used as
58filename (e.g.,
59.Pa 08002b09f4de.SYS ) ,
60and it might be a soft link to another file.
61.Pp
62.Nm
63supports two kinds of files.
64The file is first checked to see if it is in a.out format.
65If not, a few of Digital's formats are checked.
66.Pp
67In normal operation,
68.Nm
69forks a copy of itself and runs in
70the background.
71Anomalies and errors are reported via
72.Xr syslog 3 .
73.Pp
74The options are as follows:
75.Bl -tag -width Ds
76.It Fl 3
77Ignore MOP V3 messages (Ethernet II).
78.It Fl 4
79Ignore MOP V4 messages (Ethernet 802.3).
80.It Fl a
81Listen on all the Ethernets attached to the system.
82If
83.Fl a
84is omitted, an interface must be specified.
85.It Fl d
86Run in debug mode, with all the output to stdout.
87The process will run in the foreground.
88.It Fl f
89Run in the foreground.
90.It Fl v
91Show version of
92.Nm .
93.El
94.Sh FILES
95.Bl -tag -width Pa -compact
96.It Pa /tftpboot/mop
97.El
98.Sh SEE ALSO
99.Xr mopa.out 1 ,
100.Xr mopchk 1 ,
101.Xr mopprobe 1 ,
102.Xr moptrace 1 ,
103.Xr bpf 4
104.Rs
105.%B DECnet Digital Network Architecture Phase IV
106.%R Maintenance Operations Functional Specification V3.0.0
107.%N AA-X436A-TK
108.Re
109.Rs
110.%B DECnet Digital Network Architecture
111.%R Maintenance Operations Protocol Functional Specification V4.0.0
112.%N EK-DNA11-FS-001
113.Re
114.Sh AUTHORS
115.An Mats O Jansson Aq Mt moj@stacken.kth.se
116.Sh BUGS
117a.out isn't supported yet on
118.Pf non- Bx
119implementations (otherOS).
120