Serwer PPPoE nie dzia

Masz problemy z siecią bądź internetem? Zapytaj tu
Awatar użytkownika
LordRuthwen
Moderator
Posty: 2341
Rejestracja: 18 września 2009, 21:45
Lokalizacja: klikash?

Serwer PPPoE nie działa - Squeeze

Post autor: LordRuthwen »

Witam.
Padło się jednemu serwerowi i musiałem uruchomić nowy, na starym zainstalowany był Debian5, na nowym zainstalowałem Debiana6, oczywiście oba w wersjach stabilnych.
Po zainstalowaniu pakietów PPPoE skopiowałem pliki konfiguracyjne, poustawiałem wszystko tak jak być powinno (tak jak było, mam jeszcze kilka takich maszyn, więc mam ściągę).

Problem polega jednak na tym, że nie można ustanowić połączenia z serwerem, w logach widać próby łączenia i błędy:

Kod: Zaznacz cały

pppoe: read (asyncReadFromPPP): Session 84: Input/output error
Terminating on signal 15
Child process /usr/sbin/pppoe -n -I eth3 -e 1:00:1f:1f:38:6d:44 -S '' (pid 7946) terminated with signal 15
Terminating on signal 15
Child process /usr/sbin/pppoe -n -I eth3 -e 14:00:1f:1f:a2:fc:4c -S '' (pid 7951) terminated with signal 15
Connection terminated.
Using interface ppp0
Connect: ppp0 <--> /dev/pts/3
Terminating on signal 15
Modem hangup
pppoe: read (asyncReadFromPPP): Session 51: Input/output error
Peer user116 failed CHAP Session verification
Connection terminated.
Using interface ppp4
Connect: ppp4 <--> /dev/pts/10
pppoe: read (asyncReadFromPPP): Session 91: Input/output error
Using interface ppp10
Connect: ppp10 <--> /dev/pts/11
Using interface ppp9
Connect: ppp9 <--> /dev/pts/4
Peer user30 failed CHAP Session verification
Connection terminated.
Różnicą pomiędzy nimi jest wersja Debiana. Na Lennym działa, na Squeeze nie.

Ma ktoś jakieś pomysły o co może chodzić?

Pliki konfiguracyjne - kolejki, chap-secrets, firewall są kopiowane z FTP, gdzie robione są kopie zapasowe.
v-sgfx
Posty: 84
Rejestracja: 16 maja 2007, 22:07
Lokalizacja: olkusz

Post autor: v-sgfx »

Znalazłem coś, może Ci pomoże:
you have write access to /etc/ppp/pppoe.com-pppoe.pid.pppoe (since you're > writing your pid there) the pppoe binary is in /usr/sbin and you can run /usr/sbin/pppoe -h and get the help text
next:
/usr/sbin/pppd pty 'pppoe -I ath0' noauth user test password
YOURPASSWORDHERE debug
Do you still get the error?

Kod: Zaznacz cały

modprobe pppoe 

lsmod | grep ppp 
Podaj tutaj, być może te informacje okażą się pomocne.
ODPOWIEDZ