PCMCIA-Netzwerkkarte

Wenn Sie die PCMCIA-Netzwerkkarte sowie die PCMCIA-Treiber nicht bei der Erstinstallation Ihres Debian GNU/Linux-Systems installiert haben, so müssen Sie diese nachträglich installieren und konfigurieren. Hierzu steht Ihnen das Programm pcnetconfig zur Verfügung. Starten Sie zunächst pcnetconfig als Superuser:

sushi:/home/fr# pcnetconfig
This program will create a basic /etc/pcmcia/network.opts file, the
pcmcia-cs package's network adapter configuration file, based on choices
that you make.

A sample network.opts file is supplied in pcmcia-cs; you can edit this
file to match your local network setup.  Refer to the PCMCIA-HOWTO
(usually in /usr/doc/HOWTO/PCMCIA-HOWTO.gz) for a detailed description
of this file's contents.

Before continuing with this program, ensure that you know your host's
network configuration.

Do you want to continue? [y]
Bevor Sie fortfahren, ist es sinnvoll, wenn Sie sich die nötigen Daten für die Netzwerkkonfiguraton bereitlegen.
Choose a method for obtaining the host's IP address and routing
information

1) Use the BOOTP protocol
2) Use the dhcpcd or dhclient program
3) Use /sbin/pump
4) Use netenv (from the netenv package)
5) Specify the IP address now (default)
5
Wählen Sie zunächst eine der oben angeführten Methoden. Auf Punkt 2, die Konfiguration via DHCP, gehen wir später noch einmal ein. Wir werden die Konfiguration am Beispiel von statischen Adressen vorstellen, wählen Sie hierzu die 5.
Enter the IP address for this interface:
(type 'none' to leave blank)
192.168.0.4
Geben Sie zunächst die IP-Adresse für Ihre PCMCIA-Netzwerkkarte ein. Adressen wie die oben gezeigte können Sie ohne Probleme in einem internen Netz benutzen, diese werden nicht im Internet benutzt (geroutet).
Enter the netmask:
(the default is '255.255.255.0'; type 'none' to leave blank)
255.255.255.0
Der Wert für die Netzmaske (netmask).

Note: the "network address" here is NOT the same as the IP address.
See the Networking HOWTO.  In short, the network address is the IP
address masked by the netmask.

Enter the network address:
(the default is '192.168.0.0'; type 'none' to leave blank)
192.168.0.0
Die Netzwerkadresse.
Enter the broadcast address:
(the default is '192.168.255.255'; type 'none' to leave blank)
192.168.255.255
Die Broadcast-Adresse.
Enter the gateway address:
(the default is '192.168.0.1'; type 'none' to leave blank)
192.168.0.1
Die Adresse des Gateways, dies ist der Rechner, der die Verbindung zu anderen Netzen „kennt“. Dieser Rechner wird häufig auch als „Router“ bezeichnet.
Enter the local domain name:
(type 'none' to leave blank)
openoffice.de
Der Name Ihrer Domain. Für ein internes Netz können Sie sich hier auch irgendeinen Namen ausdenken.

You may now specify up to three host names or IP addresses for
nameservers for this interface, to be added to /etc/resolv.conf.  The
nameservers defined here complement the nameservers already defined in
/etc/resolv.conf.

The 1st nameserver:
(type 'none' to leave blank)
194.25.2.129
Geben Sie hier die Adresse Ihres Nameservers ein. Wenn Sie hier keinen Wert eingeben (weil Sie keinen Nameserver in Ihrem Netz konfiguriert haben und auch keinen Zugang zum Netz haben), können Sie diesen Wert auch freilassen. Sie können dann aber die benachbarten Rechner nur über die IP-Nummer ansprechen, oder Sie müssen alle Rechner in die Datei /etc/hosts eintragen.
The 2nd nameserver:
(type 'none' to leave blank)

To automatically mount and unmount NFS filesystems, first add all these
filesystems to /etc/fstab, but include noauto in the mount options.

WARNING:  It is especially important to use either cardctl or cardinfo
to shut down a network card when NFS mounts are configured this way.
It is not possible to cleanly unmount NFS filesystems if a network card
is simply ejected without warning.

Enter a list of NFS mount points to be mounted for this interface:
(type 'none' to leave blank)


The next two parameters are for IPX networks.  They are passed to
the ipx_interface command.

Enter the frame type (i.e., 802.2):
(type 'none' to leave blank)

Enter the IPX network number:
(type 'none' to leave blank)
Die weiteren Werte können Sie normalerweise freilassen.

In addition to the usual network configuration parameters, the
network.opts script can specify extra actions to be taken after
an interface is configured, or before an interface is shut down.
If network.opts defines a shell function called start_fn, it will be
invoked by the network script after the interface is configured, and the
interface name will be passed to the function as its first (and only)
argument.  Similarly, if it is defined, stop_fn will be invoked before
shutting down an interface.  Refer to the PCMCIA-HOWTO for more details.

This program will now write the network.opts file.  Please take care
not to overwrite a previously configured version of this file.

Do you want to write /etc/pcmcia/network.opts? [y] y
Wenn Sie die Einstellungen speichern möchten, geben Sie hier y ein.

Die Konfiguration ist damit abgeschlossen. Wenn Sie nun die Netzwerkkarte in den PCMCIA Slot stecken, wird diese anhand der Daten in der Datei /etc/pcmcia/network.opts konfiguriert und ins System eingebunden.