Hallo,

habe hier ein kleines Problem, bei dem ich nicht mehr weiter wei�.
Bei meinen google - Recherchen konnte ich zwar einige mit dem gleichen Problem
ausmachen, jedoch habe ich noch keine L�sung gefunden.


Ich will mir einen Debian-Router einrichten. Bei auskommentiertem
demand und idle in /etc/ppp/peer/dsl-provider funktioniert die Interneteinwahl


route -n liefert:

Aug 13 12:19:27 defiant pppd[1424]: pppd 2.4.1 started by root, uid 0
Aug 13 12:19:27 defiant pppd[1424]: Serial connection established.
Aug 13 12:19:27 defiant pppd[1424]: Using interface ppp0
Aug 13 12:19:27 defiant pppd[1424]: Connect: ppp0 <--> /dev/pts/0
Aug 13 12:19:28 defiant pppd[1424]: local  IP address 80.131.252.9
Aug 13 12:19:28 defiant pppd[1424]: remote IP address 217.5.98.41
Aug 13 12:19:28 defiant pppd[1424]: primary   DNS address 217.5.112.21
Aug 13 12:19:28 defiant pppd[1424]: secondary DNS address 194.25.2.129
------------------------------------------------------------------

Wenn ich jedoch Dial on Demand aktiviere, werden die Routen ganz seltsam gesetzt
und ich komme nicht mehr nach au�en.


route -n:

Aug 13 12:24:00 defiant pppd[1424]: Connection terminated.
Aug 13 12:24:00 defiant pppd[1424]: Connect time 4.6 minutes.
Aug 13 12:24:00 defiant pppd[1424]: Sent 214 bytes, received 238 bytes.
Aug 13 12:24:01 defiant pppd[1424]: Exit.
Aug 13 12:24:22 defiant pppd[1766]: pppd 2.4.1 started by root, uid 0
Aug 13 12:24:22 defiant pppd[1766]: Using interface ppp0
Aug 13 12:24:22 defiant pppd[1766]: local  IP address 10.64.64.64
Aug 13 12:24:22 defiant pppd[1766]: remote IP address 10.112.112.112


Das passiert sowohl mit dem zum ppp Packet zugeh�rigen init Skript als auch mit "manueller Einwahl" (pon dsl-provider)

Ich h�nge mal meine ppp_on_boot (beim booten gehts auch nicht) und dsl-provider an:
---------------------------------------
ppp_on_boot.dsl (symb. Link von /etc/ppp/ppp_on_boot auf /etc/ppp/ppp_on_boot.dsl):


#!/bin/sh
#
# The location of the ppp daemon itself (shouldn't need to be changed)
PPPD=/usr/sbin/pppd
# The Ethernet interface the DSL modem is connected to. If you change this,
# you also need to edit the file /etc/ppp/peers/dsl-provider.
INTERFACE=eth1
# Bring the interface up
/sbin/ifconfig $INTERFACE up -arp
$PPPD call dsl-provider
---------------------------------------------------

dsl-provider:

#pty "/usr/sbin/pppoe -I eth1 -T 80 -m 1412"
defaultroute
#demand
#idle 300
pty "/usr/sbin/pppoe -I eth1 -T 80 -m 1452"
connect /bin/true
ipcp-accept-remote
ipcp-accept-local
usepeerdns
noipdefault
user "***"
hide-password
noaccomp
nopcomp
novj
novjccomp
nobsdcomp
nodeflate
noccp
nocrtscts
local
noauth
lcp-echo-interval 10
lcp-echo-failure 3
lock
---------------------------------------------------------

Es handelt sich um den pppd 2.4.1 aus unstable (den aus stable hab ich auch probiert).
In /etc/network/interfaces habe ich nur eth0 eingetragen, sollte aber funktionieren
(zumindest ohne DOD gehts), habe es aber auch schon mit Eintrag f�r beide Netzwerkkarten
versucht, habe diese auch schon mal vertauscht, defaultroute in /etc/ppp/peer/dsl-provider
auskommentiert, andere optionen auskommentiert etc.
Weiss nicht mehr, was ich noch versuchen soll. Vielleicht kann mir jemand helfen. Danke
schonmal f�r die Bem�hungen.


Gru�
Christian




--
Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/


Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)



Antwort per Email an