[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pppoe



# /etc/ppp/peers/provider
 
# Starten der PPPoE-Software - Das verwendete Device muss hier
# angepasst werden!
pty "pppoe -I eth2"
 
# Ist dieser Rechner ein Router (Masquerading), so ist folgende
# Zeile zu verwenden!
#pty "pppoe -I eth1 -m 1452"
 
# Funktioniert bei Masquerading obige Zeile nicht zufriedenstellend,
# so sollte die folgende noch konservativere Einstellung versucht werden
#pty "pppoe -I eth1 -m 1412"
 
# Für Dial On Demand muss diese Zeile aktiviert werden
#demand
 
# Das Verbinden wird vom pppoe übernommen, ein Connect-Skript ist also
# nicht nötig
connect /bin/true
 
# Lokale und Remote-IP-Nummer vom Server wird akzeptiert
ipcp-accept-remote
ipcp-accept-local
 
# Der Server teilt uns den Nameserver mit
usepeerdns
 
# Nach 3 Minuten (180 s) Inaktivität wird aufgelegt
#idle 180
 
# Wir haben keine gültige Default-IP, also nehmen wir die vom
# Provider zugewiesene
noipdefault
 
# Die Defaultroute wird auf diese Verbindung gesetzt
defaultroute
 
# Unser Login-Name beim Provider - muss exakt uebereinstimmen
# mit /etc/ppp/pap-secrets
user "************************************"
hide-password
 
# Kompression abschalten!
noaccomp
nopcomp
novj
novjccomp
nobsdcomp
nodeflate
noccp
 
# Wir haben kein Modem, ein Handshake ist nicht nötig
nocrtscts
 
local
noauth
 
# Wird mittlerweile direkt dem pppoe als Option übergeben, daher hier
# deaktiviert
# mru 1492
# mtu 1492
 
# Alle 10 s nachschauen, ob der Server noch da ist. Bei 3 "Fehlpaketen"
# Verbindung beenden
lcp-echo-interval 10
lcp-echo-failure 3
 
# Specifies that pppd should use a UUCP-style lock on the serial device
# to ensure exclusive access to the device.
lock
 
# Nur zu Testzwecken sind die Meldungen im Syslog interessant
#debug
 
# Nicht in den Hintergrund "rutschen" - nur zu Testzwecken aktivieren!
nodetach
 
_________________________
 
#
# /etc/ppp/pap-secrets
#
# This is a pap-secrets file to be used with the AUTO_PPP function of
# mgetty. mgetty-0.99 is preconfigured to startup pppd with the login option
# which will cause pppd to consult /etc/passwd (and /etc/shadow in turn)
# after a user has passed this file. Don't be disturbed therfore by the fact
# that this file defines logins with any password for users. /etc/passwd
# (again, /etc/shadow, too) will catch passwd mismatches.
#
# This file should block ALL users that should not be able to do AUTO_PPP.
# AUTO_PPP bypasses the usual login program so its necessary to list all
# system userids with regular passwords here.
#
# ATTENTION: The definitions here can allow users to login without a
# password if you don't use the login option of pppd! The mgetty Debian
# package already provides this option; make sure you don't change that.
 
# INBOUND connections
 
# Every regular user can use PPP and has to use passwords from /etc/passwd
* alpha "" *
 
# UserIDs that cannot use PPP at all. Check your /etc/passwd and add any
# other accounts that should not be able to use pppd!
* alpha "*" -
#* alpha "*" -
#* alpha "*" -
* alpha "*" -
*alpha "*" -
 
# OUTBOUND connections
 
# Here you should add your userid password to connect to your providers via
# PAP. The * means that the password is to be used for ANY host you connect
# to. Thus you do not have to worry about the foreign machine name. Just
# replace password with your password.
# If you have different providers with different passwords then you better
# remove the following line.
 
 ***********    *    ******
___________________________
 
Robert 
 

Reply to: