|
177.
|
|
|
The following shell script is a simple example of how to configure the source computer as a gateway to the Internet using ppp0.
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
random-bits.xml:917
|
|
178.
|
|
|
#!/bin/sh
# We remove running modules from kernel to avoid conflicts and to
# reconfigure them manually.
modprobe -r lp parport_pc
modprobe parport_pc io=<replaceable>0x378</replaceable> irq=<replaceable>7</replaceable>
modprobe plip
# Configure the plip interface (plip0 for me, see dmesg | grep plip)
ifconfig <replaceable>plip0 192.168.0.2</replaceable> pointopoint <replaceable>192.168.0.1</replaceable> netmask 255.255.255.255 up
# Configure gateway
modprobe iptable_nat
iptables -t nat -A POSTROUTING -o <replaceable>ppp0</replaceable> -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
|
|
|
Tag: screen
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
random-bits.xml:922
|
|
180.
|
|
|
Boot the installation media. The installation needs to be run in expert mode; enter <userinput>expert</userinput> at the boot prompt. If you need to set parameters for kernel modules, you also need to do this at the boot prompt. For example, to boot the installer and set values for the <quote>io</quote> and <quote>irq</quote> options for the parport_pc module, enter the following at the boot prompt: <informalexample><screen>
expert parport_pc.io=<replaceable>0x378</replaceable> parport_pc.irq=<replaceable>7</replaceable>
</screen></informalexample> Below are the answers that should be given during various stages of the installation.
|
|
|
Tag: para
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
random-bits.xml:929
|
|
182.
|
|
|
Select the <userinput>plip-modules</userinput> option from the list; this will make the PLIP drivers available to the installation system.
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
random-bits.xml:950
|
|
184.
|
|
|
If target <emphasis>does</emphasis> have a network card, a list of driver modules for detected cards will be shown. If you want to force &d-i; to use plip instead, you have to deselect all listed driver modules. Obviously, if target doesn't have a network card, the installer will not show this list.
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
random-bits.xml:963
|
|
185.
|
|
|
Because no network card was detected/selected earlier, the installer will ask you to select a network driver module from a list. Select the <userinput>plip</userinput> module.
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
random-bits.xml:972
|
|
190.
|
|
|
Name server addresses: you can enter the same addresses used on source (see <filename>/etc/resolv.conf</filename>)
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
random-bits.xml:1003
|
|
192.
|
|
|
In some countries PPP over Ethernet (PPPoE) is a common protocol for broadband (ADSL or cable) connections to an Internet Service Provider. Setting up a network connection using PPPoE is not supported by default in the installer, but can be made to work very simply. This section explains how.
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
random-bits.xml:1024
|
|
193.
|
|
|
The PPPoE connection set up during the installation will also be available after the reboot into the installed system (see <xref linkend="boot-new"/>).
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
random-bits.xml:1032
|
|
196.
|
|
|
Boot the installer with <userinput>modules=ppp-udeb</userinput> as boot parameter. This means that at the boot prompt you should enter: <informalexample><screen>
install modules=ppp-udeb
</screen></informalexample> or, if you prefer using the graphical installer: <informalexample><screen>
installgui modules=ppp-udeb
</screen></informalexample> This will ensure the component responsible for the setup of PPPoE (<classname>ppp-udeb</classname>) will be loaded and run automatically.
|
|
|
Tag: para
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
random-bits.xml:1052
|