~qbalazs/installation-guide/lp1030336

« back to all changes in this revision

Viewing changes to fi/appendix/plip.xml

  • Committer: joeyh
  • Date: 2005-10-07 19:51:38 UTC
  • Revision ID: vcs-imports@canonical.com-20051007195138-c3d57b2617a79a4f
move manual to top-level directory, split out of debian-installer package

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- retain these comments for translator revision tracking -->
 
2
<!-- original version: 29687 untranslated -->
 
3
 
 
4
 <sect1 id="plip" arch="i386">
 
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
 
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
Below are the answers that should be given during various stages of
 
104
the installation.
 
105
 
 
106
</para>
 
107
 
 
108
<orderedlist>
 
109
<listitem><para>
 
110
 
 
111
<guimenuitem>Load installer components</guimenuitem>
 
112
 
 
113
</para><para>
 
114
 
 
115
Select the <userinput>plip-modules</userinput> option from the list; this
 
116
will make the PLIP drivers available to the installation system.
 
117
 
 
118
</para></listitem>
 
119
<listitem><para>
 
120
 
 
121
<guimenuitem>Detect network hardware</guimenuitem>
 
122
 
 
123
</para>
 
124
 
 
125
 <itemizedlist>
 
126
 <listitem><para>
 
127
 
 
128
If target <emphasis>does</emphasis> have a network card, a list of driver
 
129
modules for detected cards will be shown. If you want to force &d-i; to
 
130
use plip instead, you have to deselect all listed driver modules.
 
131
Obviously, if target doesn't have a network card, the installer will not
 
132
show this list.
 
133
 
 
134
 </para></listitem>
 
135
 <listitem><para>
 
136
 
 
137
Prompt for module parameters: Yes
 
138
 
 
139
 </para></listitem>
 
140
 <listitem><para>
 
141
 
 
142
Because no network card was detected/selected earlier, the installer will
 
143
ask you to select a network driver module from a list.
 
144
Select the <userinput>plip</userinput> module.
 
145
 
 
146
 </para></listitem>
 
147
 <listitem><para>
 
148
 
 
149
Additional parameters for module parport_pc:
 
150
<userinput><replaceable>io=0x378 irq=7</replaceable></userinput>
 
151
 
 
152
 </para></listitem>
 
153
 <listitem><para>
 
154
 
 
155
Additional parameters for module plip: leave empty
 
156
 
 
157
 </para></listitem>
 
158
 </itemizedlist>
 
159
 
 
160
</listitem>
 
161
<listitem><para>
 
162
 
 
163
<guimenuitem>Configure the network</guimenuitem>
 
164
 
 
165
 <itemizedlist>
 
166
 <listitem><para>
 
167
 
 
168
Auto-configure network with DHCP: No
 
169
 
 
170
 </para></listitem>
 
171
 <listitem><para>
 
172
 
 
173
IP address: <userinput><replaceable>192.168.0.1</replaceable></userinput>
 
174
 
 
175
 </para></listitem>
 
176
 <listitem><para>
 
177
 
 
178
Point-to-point address:
 
179
<userinput><replaceable>192.168.0.2</replaceable></userinput>
 
180
 
 
181
 </para></listitem>
 
182
 <listitem><para>
 
183
 
 
184
Name server addresses: you can enter the same addresses used on
 
185
source (see <filename>/etc/resolv.conf</filename>)
 
186
 
 
187
 </para></listitem>
 
188
 </itemizedlist>
 
189
 
 
190
</para></listitem>
 
191
</orderedlist>
 
192
 
 
193
  </sect2>
 
194
 </sect1>