~ubuntu-core-dev/debian-installer/xenial-proposed

« back to all changes in this revision

Viewing changes to doc/manual/ru/install-methods/tftp/rarp.xml

  • Committer: Colin Watson
  • Date: 2007-11-28 15:27:10 UTC
  • mfrom: (664.1.1444)
  • Revision ID: cjwatson@canonical.com-20071128152710-u9183jjlufbt4vxy
Tags: 20041027ubuntu1
* Resynchronise with Debian.
* build/boot/powerpc/yaboot.conf, build/config/common,
  doc/manual/build/common.ent: Update for Hoary.
* doc/manual/en/administrivia/contributors.xml: Remove specific mention of
  Warty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- retain these comments for translator revision tracking -->
 
2
<!-- $Id: rarp.xml 15652 2004-05-19 00:37:43Z kraai $ -->
 
3
 
 
4
 
 
5
  <sect2 condition="supports-rarp" id="tftp-rarp">
 
6
   <title>Setting up RARP server</title>
 
7
<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 ``Rescue'' 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>
 
8
<para>
 
9
 
 
10
<userinput>/sbin/rarp -s <replaceable>client-hostname</replaceable> <replaceable>client-enet-addr</replaceable> </userinput>
 
11
 
 
12
</para><para>
 
13
 
 
14
<userinput>/usr/sbin/arp -s <replaceable>client-ip</replaceable> <replaceable>client-enet-addr</replaceable> </userinput>
 
15
 
 
16
</para></informalexample>
 
17
 
 
18
</para><para>If you get <informalexample><screen>
 
19
SIOCSRARP: Invalid argument
 
20
</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 ``ethers'' database (either in the <filename>/etc/ethers</filename> file, or via NIS/NIS+) and in the ``hosts'' 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>
 
21
  </sect2>