Re: Konfigurationsdateien anstatt Programme?

From: Malte von dem Hagen <DocValde(at)GMX.de>
Date: Tue, 27 May 2003 23:06:29 +0200

Hallo Carsten,
am Dienstag, 27. Mai 2003 um 22:17:25 schrieben Sie:

> Hi,
> ich wollte mal fragen wo ich eine Liste mit den ganzen Konfigurationsdateien
> für Routen und Firewalls (ipfw).

Die ganzen? Also bei mir braucht's dafür genau.... errr... wenn man von
einem handelsüblichen DSL-Router ausgeht, drei:

1. ipfw
=======
aus der man-page:

     ipfw [-q] [-p preproc [-D macro[=value]] [-U macro]] pathname
     (...)
     To ease configuration, rules can be put into a file which is processed
     using ipfw as shown in the first synopsis line. An absolute pathname
     must be used. The file will be read line by line and applied as argu-
     ments to the ipfw utility.

2. natd
=======
aus der man-page:

     -config | -f file
                 Read configuration from file. A file should contain a list
                 of options, one per line, in the same form as the long form
                 of the above command line options.

3. ppp
======
aus der man-page:

     One or more configuration entries or systems (as specified in
     /etc/ppp/ppp.conf) may also be specified on the command line. ppp will
     read the ``default'' system from /etc/ppp/ppp.conf at startup, followed
     by each of the systems specified on the command line.

Dann kommen bei mir noch dazu (an Gatewayfunktionen):

4. named
========
aus der man-page:

     Named is the Internet domain name server. See RFC's 1033, 1034, and 1035
     for more information on the Internet name-domain system. Without any
     arguments, named will read the default configuration file
     /etc/namedb/named.conf, read any initial data, and listen for queries. A
     config_file argument given at the end of the command line will override
     any config_file specified by using the ``-b'' or ``-c'' flags.

5. ez-ipupdate
==============
aus der Hilfe:

[root(at)gwendoline /home/docvalde]# ez-ipupdate -H
usage: ez-ipupdate [options]

 Options are:
  -a, --address <ip address> string to send as your ip address
  -b, --cache-file <file> file to use for caching the ipaddress
  -c, --config-file <file> configuration file, almost all arguments can be
                                given with: <name>[=<value>]
                                to see a list of possible config commands
                                try "echo help | ez-ipupdate -c -"

So, Carsten, was war daran jetzt so schwer?
Du wirst wissen, was Du an Software auf Deinem System laufen hast, wenn
nicht, schau ins Handbook, da steht drin, wie das rausfinden kannst.
Wenn Du das weisst, kannst Du den Dir sicher bekannten Befehl "man"
anwenden und schlicht LESEN.
Wie Du an den o.g. Beispielen sehen kannst, kann man quasi immer die
Konfigurationsdateien ablegen, wo man will - man muß es dem Programm nur
sagen.

> Am besten wäre eine Liste wo sämtliche Dateien stehen.

Welche "sämtliche"?

> Ich konfiguriere eigentlich lieber per Texteditor als Programme zu
> benutzen.

Diesen Satz verstehe ich nicht. Meinst Du damit, daß Du lieber eine
smb.conf schreibst, als swat zu benutzen? Ich auch. Wie ich an die
rankomme? Nun, "man smbd" hat mir damals geholfen. Oder auch
http://www.google.com/search?q=samba+%22configuration+file%22&sourceid=mozilla-search&start=0&start=0
- gleich der erste Hit.
Zur Not gibt es das "locate" Kommando ("locate smb.conf" oder, wer's
rudimentärer und etwas sicherer mag, auch "find":
"find / -name smb.conf"

Ich weiß nicht viel über FreeBSD.
Aber ich kann google bedienen, das Handbook lesen, weiß, wie man
man-Pages benutzt und habe etwas Geduld. Das alles kannst Du auch.

Gruß,

Malte.

-- 
Malte von dem Hagen
DocValde(at)gmx.de
http://www.docvalde.net/
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 27 May 2003 - 23:06:10 CEST

search this site