Parameter "usepeerdns"
Ask the peer for up to 2 DNS server addresses. The
addresses supplied by the peer (if any) are passed
to the /etc/ppp/ip-up script in the environment
variables DNS1 and DNS2. In addition, pppd will
create an /etc/ppp/resolv.conf file containing one
or two nameserver lines with the address(es) sup
plied by the peer.
Added new option `usepeerdns', thanks to Nick Walker
. If the peer supplies DNS addresses, these
will be written to /etc/ppp/resolv.conf. The ip-up script can then
be used to add these addresses to /etc/resolv.conf if desired (see
the ip-up.local.add and ip-down.local.add files in the scripts
directory).
2.) Welche Einstellung "passive" oder "active" ist bei DialOut einzustellen?
Parameter "active"
3.) Wie kann man eine oder zwei WINS-Server-Adressen vom Server anfordern?
????
4.) Wie kann man Dial-On-Demand (DoD) aktivieren?
Parameter "demand"
With this option, the remote IP address must be specified
by the user on the command line or in an options file.
The demand option implies the persist option. If
this behaviour is not desired, use the nopersist
option after the demand option. The idle and hold
off options are also useful in conjuction with the
demand option.
alternativ Programmpaket Diald verwenden
Idle timeout. Pppd will optionally terminate the link if no data
packets are sent or received within a certain time interval.
5.) DoD und persist-Mode
persist
Do not exit after a connection is terminated;
instead try to reopen the connection.
6.) DoD und Holdoff-Time
holdoff <n>
Specifies how many seconds to wait before re-initi
ating the link after it terminates. This option
only has any effect if the persist or demand option
is used. The holdoff period is not applied if the
link was terminated because it was idle.
7.) Welche Vorteile bietet Diald gegenüber den pppd im Zusammenhang mit DoD
8.) Peer-Verzeichnis /etc/ppp/peer/
Hier kann für jeden WAN-Partner eine entprechende Optionsdatei hinterlegt werden, damit können normale Anwender privilegierte Oprionen wie defaultroute und dergl. setzen, ohne daß pppd spezielle Rechte braucht (setuid).
BeispielDatei /etc/ppp/peer/ifm.options
/dev/modem 115200
9.) Worin unterscheiden sich bzgl. DNS-Parameterzuweisung die Systeme PPP und DHCP (mobile Clientrechner mit wahlweisen WAN oder LAN-Anbindung)
DHCP weist dem LAN-Adapter die IP-Paremeter zu, u.a. die DNS-Konfiguration,
PPP weist für die WAN-Verbindung auch Parameter zu, aber nicht alle:
DHCP PPP
Anzahl DNS-Server-Adressen zuweisen 3 2
DNS-Suffix yes no
DNS-Search-Order yes no
10.) ppp und Dynamic-IP-Adress-Änderungen
für DialOnDemand-Mode ist echo 1 > /proc/sys/net/ipv4/ip_dynaddr nötig,
um Änderungen der lokalen IP-Adresse korrekt zu verarbeiten.
11.) ppp und IP-Forwarding
pppd setzt IP forwarding (d.h. setzt /proc/sys/net/ipv4/ip_forward auf 1) wenn pppd mit Option ktune aufgerufen wird.
12.) PPP-Remotename mit Windows-NT als Gegenstelle
To use the combination PAP/PPP in connection with Windows NT, the
concerning Windows NT server's system name is to be informed to the
'pppd' on the option 'remotename'. With it the corresponding
pap-secrets-entry can be used. Microsoft PPP server unfortunately does not
send its system name during the PPP/PAP connection establishment.
This is why this must be defined by option.
13.) asyncPPP via ISDN
i4l also offers modem emulation. Devices: /dev/ttyI0, /dev/ttyI1 .... .
You can use the analog PPP scripts as usual with them. These will access the ISDN
devices with the normal AT commands.
D.h. pppd bedient nicht nur /dev/ttyS0 und /dev/ttyS1, sondern auch noch /dev/ttyI0, /dev/ttyI1
fuer V.110 bzw. V.120 (ISDN-Modememulation)
14.) ip-up und defaultroute
Das Programm /etc/ppp/ip-down loescht die Defaultroute standardmaessig,
was den Dial-On-Demand, den automatischen Verbindungsaufbau, unterbindet.
15.) Versionskontrolle von pppd und Überprüfung der Kernparameter
die Eingabe von "pppd --version" sollte eine Meldung wie:
"pppd version 2.3 patch level 5" produzieren.
16.) Vorschlag für UNIX-Gruppen in Verbindung mit pppd :
- dialin : nicht im Daemonmodus, sondern Terminal-login
- dialout: Nutzer, die mit ppp hinauswählen dürfen
- ppp: Nutzer die beides dürfen
# groupadd dialout
# usermod -G dialout max
# usermod -G dialout moritz
17.) Geschwindigkeit des seriellen Port setzen:
setserial /dev/ttyS1 autoconfig auto_irq
Die Geschwindigkeitseinstellung der seriellen Schnittstelle wird auf 115200 Baud
(fuer Modemverbindungen 28.8k/komprimiert) heraufgesetzt:
setserial /dev/ttyS0 spd_vhi
Diese Einstellung kann natuerlich auch permanent beim Systemstart vorgenommen werden
(in der Datei /sbin/init.d/serial).
Check the serial port configuration.
In Linux:
- To check: setserial -g /dev/ttyS?
- To reconfigure: setserial -b /dev/ttyS1 irq 3 autoconfig
16.) DialOut to WinNT-Rechner
vgl [endes99]