xref: /openbsd/usr.sbin/mopd/mopd/mopd.8 (revision 3cab2bb3)
1.\"	$OpenBSD: mopd.8,v 1.18 2013/10/20 07:40:43 jmc 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.\" @(#) $OpenBSD: mopd.8,v 1.18 2013/10/20 07:40:43 jmc Exp $
26.\"
27.Dd $Mdocdate: October 20 2013 $
28.Dt MOPD 8
29.Os
30.Sh NAME
31.Nm mopd
32.Nd MOP loader daemon
33.Sh SYNOPSIS
34.Nm mopd
35.Op Fl 3 | 4
36.Op Fl adfv
37.Ar interface
38.Sh DESCRIPTION
39.Nm
40services MOP Load requests on the Ethernet connected to
41.Ar interface
42or all interfaces if
43.Fl a
44is given.
45In a load request received by
46.Nm
47a filename can be given.
48This is the normal case for, e.g., terminal servers.
49If a filename isn't given
50.Nm
51must know what image to load.
52.Pp
53Upon receiving a request,
54.Nm
55checks if the requested file exists in
56.Pa /tftpboot/mop .
57The filename is normally all uppercase and with an extension of
58.Pa .SYS .
59If the filename isn't given, the Ethernet address of the target is used as
60filename (e.g.,
61.Pa 08002b09f4de.SYS ) ,
62and it might be a soft link to another file.
63.Pp
64.Nm
65supports two kinds of files.
66The file is first checked to see if it is in a.out format.
67If not, a few of Digital's formats are checked.
68.Pp
69In normal operation,
70.Nm
71forks a copy of itself and runs in
72the background.
73Anomalies and errors are reported via
74.Xr syslog 3 .
75.Pp
76The options are as follows:
77.Bl -tag -width Ds
78.It Fl 3
79Ignore MOP V3 messages (Ethernet II).
80.It Fl 4
81Ignore MOP V4 messages (Ethernet 802.3).
82.It Fl a
83Listen on all the Ethernets attached to the system.
84If
85.Fl a
86is omitted, an interface must be specified.
87.It Fl d
88Run in debug mode, with all the output to stdout.
89The process will run in the foreground.
90.It Fl f
91Run in the foreground.
92.It Fl v
93Show version of
94.Nm .
95.El
96.Sh FILES
97.Bl -tag -width Pa -compact
98.It Pa /tftpboot/mop
99.El
100.Sh SEE ALSO
101.Xr mopa.out 1 ,
102.Xr mopchk 1 ,
103.Xr mopprobe 1 ,
104.Xr moptrace 1 ,
105.Xr bpf 4
106.Rs
107.%B DECnet Digital Network Architecture Phase IV
108.%R Maintenance Operations Functional Specification V3.0.0
109.%N AA-X436A-TK
110.Re
111.Rs
112.%B DECnet Digital Network Architecture
113.%R Maintenance Operations Protocol Functional Specification V4.0.0
114.%N EK-DNA11-FS-001
115.Re
116.Sh AUTHORS
117.An Mats O Jansson Aq Mt moj@stacken.kth.se
118.Sh BUGS
119a.out isn't supported yet on
120.Pf non- Bx
121implementations (otherOS).
122