1
<!-- retain these comments for translator revision tracking -->
2
<!-- original version: 29687 untranslated -->
4
<sect1 id="plip" arch="i386">
5
<title>Installing &debian; over Parallel Line IP (PLIP)</title>
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).
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).
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"/>).
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>.
38
<title>Requirements</title>
43
A target computer, called <emphasis>target</emphasis>, where Debian will be
49
System installation media; see <xref linkend="installation-media"/>.
54
Another computer connected to the Internet, called <emphasis>source</emphasis>,
55
that will function as the gateway.
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.
70
<title>Setting up source</title>
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.
76
<informalexample><screen>
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>
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
90
iptables -t nat -A POSTROUTING -o <replaceable>ppp0</replaceable> -j MASQUERADE
91
echo 1 > /proc/sys/net/ipv4/ip_forward
92
</screen></informalexample>
98
<title>Installing target</title>
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
111
<guimenuitem>Load installer components</guimenuitem>
115
Select the <userinput>plip-modules</userinput> option from the list; this
116
will make the PLIP drivers available to the installation system.
121
<guimenuitem>Detect network hardware</guimenuitem>
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
137
Prompt for module parameters: Yes
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.
149
Additional parameters for module parport_pc:
150
<userinput><replaceable>io=0x378 irq=7</replaceable></userinput>
155
Additional parameters for module plip: leave empty
163
<guimenuitem>Configure the network</guimenuitem>
168
Auto-configure network with DHCP: No
173
IP address: <userinput><replaceable>192.168.0.1</replaceable></userinput>
178
Point-to-point address:
179
<userinput><replaceable>192.168.0.2</replaceable></userinput>
184
Name server addresses: you can enter the same addresses used on
185
source (see <filename>/etc/resolv.conf</filename>)