1
1
<!-- retain these comments for translator revision tracking -->
2
<!-- original version: 28997 untranslated -->
2
<!-- original version: 39897 untranslated -->
5
5
<sect2 condition="supports-rarp" id="tftp-rarp">
6
<title>Setting up RARP server</title>
6
<title>Setting up RARP server</title>
9
To setup RARP, you need to know the Ethernet address (a.k.a. the MAC address)
9
To set up RARP, you need to know the Ethernet address (a.k.a. the MAC address)
10
10
of the client computers to be installed.
11
11
If you don't know this information, you can
21
On a RARP server system using a Linux 2.2.x kernel,
22
you need to populate the kernel's RARP table.
23
To do this, run the following commands:
25
<informalexample><screen>
26
# <userinput>/sbin/rarp -s
27
<replaceable>client-hostname</replaceable>
28
<replaceable>client-enet-addr</replaceable></userinput>
30
# <userinput>/usr/sbin/arp -s
31
<replaceable>client-ip</replaceable>
32
<replaceable>client-enet-addr</replaceable></userinput>
33
</screen></informalexample>
37
<informalexample><screen>
38
SIOCSRARP: Invalid argument
39
</screen></informalexample>
41
you probably need to load the RARP kernel module or else recompile the
42
kernel to support RARP. Try <userinput>modprobe rarp</userinput> and
43
then try the <command>rarp</command> command again.
47
On a RARP server system using a Linux 2.4.x kernel,
48
there is no RARP module, and
49
you should instead use the <command>rarpd</command> program. The
50
procedure is similar to that used under SunOS in the following
55
Under SunOS, you need to ensure that the Ethernet hardware address for
56
the client is listed in the <quote>ethers</quote> database (either in the
21
On a RARP server system using a Linux 2.4 or 2.6 kernel, or Solaris/SunOS,
22
you use the <command>rarpd</command> program.
23
You need to ensure that the Ethernet hardware address for the client is
24
listed in the <quote>ethers</quote> database (either in the
57
25
<filename>/etc/ethers</filename> file, or via NIS/NIS+) and in the
58
26
<quote>hosts</quote> database. Then you need to start the RARP daemon.
59
In SunOS 4, issue the command (as root):
60
<userinput>/usr/etc/rarpd -a</userinput>; in SunOS 5, use
61
<userinput>/usr/sbin/rarpd -a</userinput>.
27
Issue the command (as root): <userinput>/usr/sbin/rarpd -a</userinput>
28
on most Linux systems and SunOS 5 (Solaris 2),
29
<userinput>/usr/sbin/in.rarpd -a</userinput> on some other Linux systems,
30
or <userinput>/usr/etc/rarpd -a</userinput> in SunOS 4 (Solaris 1).