
Ich verwende Centos 6 64 Bit mit Poptop und Radiusclient. Wenn ich mich mit meinem Poptop-Server verbinde, wird dieser Fehler im Fehlerprotokoll angezeigt:
Feb 21 14:40:42 alpha pptpd[13225]: CTRL: Client **** control connection started
Feb 21 14:40:42 alpha pptpd[13225]: CTRL: Starting call (launching pppd, opening GRE)
Feb 21 14:40:42 alpha pppd[13226]: Warning: can't open options file /root/.ppprc: Permission denied
Feb 21 14:40:42 alpha pppd[13226]: Plugin radius.so loaded.
Feb 21 14:40:42 alpha pppd[13226]: RADIUS plugin initialized.
Feb 21 14:40:42 alpha pppd[13226]: Plugin radattr.so loaded.
Feb 21 14:40:42 alpha pppd[13226]: RADATTR plugin initialized.
Feb 21 14:40:42 alpha pppd[13226]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so loaded.
Feb 21 14:40:42 alpha pppd[13226]: pppd 2.4.5 started by root, uid 0
Feb 21 14:40:42 alpha pppd[13226]: Using interface ppp0
Feb 21 14:40:42 alpha pppd[13226]: Connect: ppp0 <--> /dev/pts/3
Feb 21 14:40:42 alpha pptpd[13225]: GRE: Bad checksum from pppd.
Feb 21 14:40:42 alpha pppd[13226]: rc_get_ipaddr: couldn't resolve hostname: alpha
Feb 21 14:40:42 alpha pppd[13226]: rc_own_ipaddress: couldn't get own IP address
Feb 21 14:40:42 alpha pppd[13226]: Peer sdf failed CHAP authentication
Feb 21 14:40:42 alpha pppd[13226]: Connection terminated.
Feb 21 14:40:42 alpha pppd[13226]: Exit.
Feb 21 14:40:42 alpha pptpd[13225]: CTRL: Client **** control connection finished
Es wird eine fehlgeschlagene CHAP-Authentifizierung angezeigt, obwohl es für Freeradius konfiguriert ist. Wenn ich meinen Freeradius im Debugmodus überprüfe, wird nichts über eingehende Abfragen angezeigt.
Irgendeine Idee, was falsch sein könnte?
Antwort1
Feb 21 14:40:42 alpha pppd[13226]: rc_get_ipaddr: couldn't resolve hostname: alpha Feb 21 14:40:42 alpha pppd[13226]: rc_own_ipaddress: couldn't get own IP address
Das Problem trat auf einem reinen IPv6-Computer auf. Versuchen Sie Folgendes auszuführen:
#ping alpha
Wenn dies fehlschlägt, überprüfen Sie, ob in /etc/hosts eine IPv4-Übereinstimmung für Alpha vorhanden ist, etwa:
127.0.0.1 localhost alpha