Neue Antwort schreiben 
 
Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Merkwürdiges Problem mit Linux ADSL-Router
McKay
Unregistered

 
Beitrag #1
Merkwürdiges Problem mit Linux ADSL-Router
Ich habe hier nen Server/Router mit Debian, welcher auf eth1 das Netzwerk hängen hat und auf eth2 nen D-Link Modem. Das ganze routet der mit iptables und pppd auch so wie er soll.

Wenn der Server jedoch nen Tag läuft, schmiert die Verbindung ab und es gibt keine Methode die Verbindung wiederherzustellen. Das heißt Server und Modem Neustart sind notwendig. Wenn ich nur eins von beiden neustarte funktioniert gar nix.

Hier mal log files:
Code:
pdc:~# plog
Mar  5 16:56:31 pdc pppd[11657]: In file /etc/ppp/peers/provider: unrecognized option '/dev/modem'
Mar  5 16:56:35 pdc pppd[11658]: Plugin rp-pppoe.so loaded.
Mar  5 16:56:35 pdc pppd[11659]: pppd 2.4.4 started by root, uid 0
Mar  5 16:56:36 pdc pppd[11631]: Timeout waiting for PADO packets
Mar  5 16:56:36 pdc pppd[11631]: Unable to complete PPPoE Discovery
Mar  5 16:56:36 pdc pppd[11631]: Terminating on signal 15
Mar  5 16:56:36 pdc pppd[11631]: Exit.

pdc:~# ps aux | grep ppp
root      3337  0.0  0.0   1520   600 ?        S    Mar04   0:42 /usr/sbin/bcrelay -i br0 -o ppp[0-9].* -n
root      2584  0.0  0.0   2676   744 ?        Ss   17:01   0:00 /usr/sbin/pppd call dsl-provider
config:
Code:
pdc:~# cat /etc/ppp/peers/dsl-provider
# Configuration file for PPP, using PPP over Ethernet
# to connect to a DSL provider.
#
# See the manual page pppd(8) for information on all the options.

##
# Section 1
#
# Stuff to configure...

# MUST CHANGE: Uncomment the following line, replacing the user@provider.net
# by the DSL user name given to your by your DSL provider.
# (There should be a matching entry in /etc/ppp/pap-secrets with the password.)
#user myusername@myprovider.net

# Use the pppoe program to send the ppp packets over the Ethernet link
# This line should work fine if this computer is the only one accessing
# the Internet through this DSL connection. This is the right line to use
# for most people.
#pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1452"

# An even more conservative version of the previous line, if things
# don't work using -m 1452...
#pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1412"

# If the computer connected to the Internet using pppoe is not being used
# by other computers as a gateway to the Internet, you can try the following
# line instead, for a small gain in speed:
#pty "/usr/sbin/pppoe -I eth0 -T 80"


# The following two options should work fine for most DSL users.

# Assumes that your IP address is allocated dynamically
# by your DSL provider...
noipdefault
# Try to get the name server addresses from the ISP.
usepeerdns
# Use this connection as the default route.
# Comment out if you already have the correct default route installed.
defaultroute

##
# Section 2
#
# Uncomment if your DSL provider charges by minute connected
# and you want to use demand-dialing.
#
# Disconnect after 300 seconds (5 minutes) of idle time.

#demand
#idle 300

##
# Section 3
#
# You shouldn't need to change these options...

hide-password
lcp-echo-interval 20
lcp-echo-failure 3
# Override any connect script that may have been set in /etc/ppp/options.
connect /bin/true
noauth
persist
mtu 1492

# RFC 2516, paragraph 7 mandates that the following options MUST NOT be
# requested and MUST be rejected if requested by the peer:
# Address-and-Control-Field-Compression (ACFC)
noaccomp
# Asynchronous-Control-Character-Map (ACCM)
default-asyncmap

maxfail 0

plugin rp-pppoe.so eth2
user "*****"
pdc:~#
05.03.2009 17:15
Diese Nachricht in einer Antwort zitieren
Neue Antwort schreiben 


Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste