/[d-i]/trunk/manual/en/appendix/plip.xml
ViewVC logotype

Contents of /trunk/manual/en/appendix/plip.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 39644 - (show annotations) (download) (as text)
Tue Aug 8 22:08:57 2006 UTC (6 years, 9 months ago) by jfs
File MIME type: text/xml
File size: 5094 byte(s)
Typo fix
1 <!-- retain these comments for translator revision tracking -->
2 <!-- $Id$ -->
3
4 <sect1 id="plip" arch="x86">
5 <title>Installing &debian; over Parallel Line IP (PLIP)</title>
6
7 <para>
8
9 This section explains how to install &debian; on a computer without an
10 Ethernet card, but with just a remote gateway computer attached via
11 a Null-Modem cable (also called Null-Printer cable). The gateway
12 computer should be connected to a network that has a Debian mirror
13 on it (e.g. to the Internet).
14
15 </para><para>
16
17 In the example in this appendix we will set up a PLIP connection using
18 a gateway connected to the Internet over a dial-up connection (ppp0).
19 We will use IP addresses 192.168.0.1 and 192.168.0.2 for the PLIP
20 interfaces on the target system and the source system respectively
21 (these addresses should be unused within your network address space).
22
23 </para><para>
24
25 The PLIP connection set up during the installation will also be available
26 after the reboot into the installed system (see <xref linkend="boot-new"/>).
27
28 </para><para>
29
30 Before you start, you will need to check the BIOS configuration (IO base
31 address and IRQ) for the parallel ports of both the source and target
32 systems. The most common values are <literal>io=0x378</literal>,
33 <literal>irq=7</literal>.
34
35 </para>
36
37 <sect2>
38 <title>Requirements</title>
39
40 <itemizedlist>
41 <listitem><para>
42
43 A target computer, called <emphasis>target</emphasis>, where Debian will be
44 installed.
45
46 </para></listitem>
47 <listitem><para>
48
49 System installation media; see <xref linkend="installation-media"/>.
50
51 </para></listitem>
52 <listitem><para>
53
54 Another computer connected to the Internet, called <emphasis>source</emphasis>,
55 that will function as the gateway.
56
57 </para></listitem>
58 <listitem><para>
59
60 A DB-25 Null-Modem cable. See the
61 <ulink url="&url-plip-install-howto;">PLIP-Install-HOWTO</ulink> for more
62 information on this cable and instructions how to make your own.
63
64 </para></listitem>
65 </itemizedlist>
66
67 </sect2>
68
69 <sect2>
70 <title>Setting up source</title>
71 <para>
72
73 The following shell script is a simple example of how to configure the
74 source computer as a gateway to the Internet using ppp0.
75
76 <informalexample><screen>
77 #!/bin/sh
78
79 # We remove running modules from kernel to avoid conflicts and to
80 # reconfigure them manually.
81 modprobe -r lp parport_pc
82 modprobe parport_pc io=<replaceable>0x378</replaceable> irq=<replaceable>7</replaceable>
83 modprobe plip
84
85 # Configure the plip interface (plip0 for me, see dmesg | grep plip)
86 ifconfig <replaceable>plip0 192.168.0.2</replaceable> pointopoint <replaceable>192.168.0.1</replaceable> netmask 255.255.255.255 up
87
88 # Configure gateway
89 modprobe iptable_nat
90 iptables -t nat -A POSTROUTING -o <replaceable>ppp0</replaceable> -j MASQUERADE
91 echo 1 > /proc/sys/net/ipv4/ip_forward
92 </screen></informalexample>
93
94 </para>
95 </sect2>
96
97 <sect2>
98 <title>Installing target</title>
99 <para>
100
101 Boot the installation media. The installation needs to be run in
102 expert mode; enter <userinput>expert</userinput> at the boot prompt.
103 If you need to set parameters for kernel modules, you also need to
104 do this at the boot prompt. For example, to boot the installer and
105 set values for the <quote>io</quote> and <quote>irq</quote> options
106 for the parport_pc module, enter the following at the boot prompt:
107
108 <informalexample><screen>
109 expert parport_pc.io=<replaceable>0x378</replaceable> parport_pc.irq=<replaceable>7</replaceable>
110 </screen></informalexample>
111
112 Below are the answers that should be given during various stages of
113 the installation.
114
115 </para>
116
117 <orderedlist>
118 <listitem><para>
119
120 <guimenuitem>Load installer components from CD</guimenuitem>
121
122 </para><para>
123
124 Select the <userinput>plip-modules</userinput> option from the list; this
125 will make the PLIP drivers available to the installation system.
126
127 </para></listitem>
128 <listitem><para>
129
130 <guimenuitem>Detect network hardware</guimenuitem>
131
132 </para>
133
134 <itemizedlist>
135 <listitem><para>
136
137 If target <emphasis>does</emphasis> have a network card, a list of driver
138 modules for detected cards will be shown. If you want to force &d-i; to
139 use plip instead, you have to deselect all listed driver modules.
140 Obviously, if target doesn't have a network card, the installer will not
141 show this list.
142
143 </para></listitem>
144 <listitem><para>
145
146 Because no network card was detected/selected earlier, the installer will
147 ask you to select a network driver module from a list.
148 Select the <userinput>plip</userinput> module.
149
150 </para></listitem>
151 </itemizedlist>
152
153 </listitem>
154 <listitem><para>
155
156 <guimenuitem>Configure the network</guimenuitem>
157
158 <itemizedlist>
159 <listitem><para>
160
161 Auto-configure network with DHCP: No
162
163 </para></listitem>
164 <listitem><para>
165
166 IP address: <userinput><replaceable>192.168.0.1</replaceable></userinput>
167
168 </para></listitem>
169 <listitem><para>
170
171 Point-to-point address:
172 <userinput><replaceable>192.168.0.2</replaceable></userinput>
173
174 </para></listitem>
175 <listitem><para>
176
177 Name server addresses: you can enter the same addresses used on
178 source (see <filename>/etc/resolv.conf</filename>)
179
180 </para></listitem>
181 </itemizedlist>
182
183 </para></listitem>
184 </orderedlist>
185
186 </sect2>
187 </sect1>

Properties

Name Value
svn:keywords Id

  ViewVC Help
Powered by ViewVC 1.1.5