summaryrefslogtreecommitdiff
path: root/ca/install-methods/tftp/rarp.xml
blob: c6fd184d4bd0ab38dc890742614d0ac0dd99a9f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!-- retain these comments for translator revision tracking -->
<!-- original version: 28997 untranslated -->


  <sect2 condition="supports-rarp" id="tftp-rarp">
   <title>Setting up RARP server</title>
<para>

To setup RARP, you need to know the Ethernet address (a.k.a. the MAC address)
of the client computers to be installed.
If you don't know this information, you can

<phrase arch="sparc"> pick it off the initial OpenPROM boot messages, use the
OpenBoot <userinput>.enet-addr</userinput> command, or </phrase>

boot into <quote>Rescue</quote> mode (e.g., from the rescue floppy) and use the
command <userinput>/sbin/ifconfig eth0</userinput>.

</para><para>

On a RARP server system using a Linux 2.2.x kernel,
you need to populate the kernel's RARP table.
To do this, run the following commands:

<informalexample><screen>
# <userinput>/sbin/rarp -s
<replaceable>client-hostname</replaceable>
<replaceable>client-enet-addr</replaceable></userinput>

# <userinput>/usr/sbin/arp -s
<replaceable>client-ip</replaceable>
<replaceable>client-enet-addr</replaceable></userinput>
</screen></informalexample>

If you get

<informalexample><screen>
SIOCSRARP: Invalid argument
</screen></informalexample>

you probably need to load the RARP kernel module or else recompile the
kernel to support RARP.  Try <userinput>modprobe rarp</userinput> and
then try the <command>rarp</command> command again.

</para><para>

On a RARP server system using a Linux 2.4.x kernel,
there is no RARP module, and
you should instead use the <command>rarpd</command> program.  The
procedure is similar to that used under SunOS in the following
paragraph.

</para><para>

Under SunOS, you need to ensure that the Ethernet hardware address for
the client is listed in the <quote>ethers</quote> database (either in the
<filename>/etc/ethers</filename> file, or via NIS/NIS+) and in the
<quote>hosts</quote> database. Then you need to start the RARP daemon.
In SunOS 4, issue the command (as root):
<userinput>/usr/etc/rarpd -a</userinput>; in SunOS 5, use
<userinput>/usr/sbin/rarpd -a</userinput>.

</para>
  </sect2>