При подключении к VPN откидывает соединение. По радиусу авторизация не идет вообще,ниже сообщение при статике:
/etc/hotplug/net.agent: NET unregister event not supported
А вот настройка с радиусом:
# cat /etc/pptpd.conf
option /etc/ppp/options
localip 10.0.0.1
pidfile /var/run/pptpd.pid
# cat /etc/ppp/options
#lock
auth
#require-pap
require-chap
#require-mschap-v2
#local
10.0.0.1:
plugin radius.so
# cat /etc/radiusclient/radiusclient.conf
authserver localhost:1812
acctserver localhost:1813
servers /etc/radiusclient/servers
# time to wait for a reply from the RADIUS server
radius_timeout 10
# resend request this many times before trying the next server
radius_retries 3
dictionary /dev/null
seqfile /dev/null
# file which specifies mapping between ttyname and NAS-Port attribute
mapfile /dev/null
# default authentication realm to append to all usernames if no
# realm was explicitly specified by the user
# the radiusd directly form Livingston doesnt use any realms, so leave
# it blank then
#default_realm
# cat /etc/radiusclient/servers
localhost secret
А вот где затык.. коннектиться не хочет... В логах:
Dec 14 12:05:35 usha pptpd[3006]: CTRL: Client 192.168.0.2 control connection started
Dec 14 12:05:35 usha pptpd[3006]: CTRL: Starting call (launching pppd, opening GRE)
Dec 14 12:05:36 usha pppd[3007]: Plugin radius.so loaded.
Dec 14 12:05:36 usha pppd[3007]: RADIUS plugin initialized.
Dec 14 12:05:36 usha pptpd[3006]: GRE: Bad checksum from pppd.
Dec 14 12:05:37 usha pppd[3007]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Dec 14 12:05:37 usha pptpd[3006]: GRE: Bad checksum from pppd.
Dec 14 12:05:37 usha pppd[3007]: pptpd-logwtmp: $Version$
Dec 14 12:05:37 usha pppd[3007]: pppd 2.4.3 started by root, uid 0
Dec 14 12:05:38 usha /etc/hotplug/net.agent: assuming ppp0 is already up
Dec 14 12:05:38 usha pppd[3007]: Using interface ppp0
Dec 14 12:05:38 usha pppd[3007]: Connect: ppp0 <--> /dev/pts/9
Dec 14 12:05:39 usha pppd[3007]: Modem hangup
Dec 14 12:05:39 usha pppd[3007]: Connection terminated.
Dec 14 12:05:39 usha /etc/hotplug/net.agent: NET unregister event not supported
Dec 14 12:05:39 usha pppd[3007]: Exit.
Dec 14 12:05:40 usha pptpd[3006]: CTRL: Client 192.168.0.2 control connection finished
Dec 14 12:07:46 usha pptpd[3029]: MGR: Manager process started
Dec 14 12:07:46 usha pptpd[3029]: MGR: Maximum of 100 connections available
Dec 14 12:07:50 usha pptpd[3030]: CTRL: Client 192.168.0.2 control connection started
Dec 14 12:07:50 usha pptpd[3030]: CTRL: Starting call (launching pppd, opening GRE)
Dec 14 12:07:51 usha pppd[3031]: Plugin radius.so loaded.
Dec 14 12:07:51 usha pppd[3031]: RADIUS plugin initialized.
Dec 14 12:07:51 usha pptpd[3030]: GRE: Bad checksum from pppd.
Dec 14 12:07:51 usha pppd[3031]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Dec 14 12:07:51 usha pptpd[3030]: GRE: Bad checksum from pppd.
Dec 14 12:07:51 usha pppd[3031]: pptpd-logwtmp: $Version$
Dec 14 12:07:52 usha pppd[3031]: pppd 2.4.3 started by root, uid 0
Dec 14 12:07:52 usha pppd[3031]: Using interface ppp0
Dec 14 12:07:52 usha pppd[3031]: Connect: ppp0 <--> /dev/pts/9
Dec 14 12:07:52 usha /etc/hotplug/net.agent: assuming ppp0 is already up
Dec 14 12:07:54 usha pppd[3031]: Modem hangup
Dec 14 12:07:55 usha pppd[3031]: Connection terminated.
Dec 14 12:07:55 usha pppd[3031]: Exit.
Dec 14 12:07:55 usha /etc/hotplug/net.agent: NET unregister event not supported
Dec 14 12:07:55 usha pptpd[3030]: CTRL: Client 192.168.0.2 control connection finished