При подключении PPPoE в Windows разрывается подключение

Вопросы и пожелания
Ответить
maestro0728
Сообщения: 16
Зарегистрирован: Вс окт 02, 2011 3:20 pm

При подключении PPPoE в Windows разрывается подключение

Сообщение maestro0728 »

Здравтвуйте. Подскажите где копать, где я мог недосмотреть.
У меня при подключении PPPoE в Windows разрывается подключение через 15 - 30 сек.
и в тоже время пока соединение активно не раздаётся интренет.

У меня стоит FreeBSD 8.2, Abills 0.53, mpd5.5+ngcar, freeradius 1.8, MySQL 5.5, Apache 2.2.4, PHP 5.3.8

Собрано ядро с поддержкой:

options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=1000
options IPFIREWALL_FORWARD
options NETGRAPH
options NETGRAPH_IPFW
options LIBALIAS
options NETGRAPH_NAT
options NETGRAPH_NETFLOW
options NETGRAPH_SPLIT
options NETGRAPH_ECHO
options NETGRAPH_ETHER
options NETGRAPH_TEE
options NETGRAPH_BPF
options NETGRAPH_IFACE
options NETGRAPH_KSOCKET
options NETGRAPH_MPPC_ENCRYPTION
options NETGRAPH_PPP
options NETGRAPH_PPTPGRE
options NETGRAPH_SOCKET
options NETGRAPH_TCPMSS
options NETGRAPH_VJC

Всё делал по ниже указанной ссылке.

http://www.lissyara.su/articles/freebsd ... ar+abills/
mpd5(pppoe)+radius+ng_car+Abills

~AsmodeuS~
Site Admin
Сообщения: 5746
Зарегистрирован: Пт янв 28, 2005 3:11 pm
Контактная информация:

Re: При подключении PPPoE в Windows разрывается подключение

Сообщение ~AsmodeuS~ »

radiusd -X смотрите

maestro0728
Сообщения: 16
Зарегистрирован: Вс окт 02, 2011 3:20 pm

Re: При подключении PPPoE в Windows разрывается подключение

Сообщение maestro0728 »

Starting - reading configuration files ...
reread_config: reading radiusd.conf
Config: including file: /usr/local/etc/raddb/proxy.conf
Config: including file: /usr/local/etc/raddb/clients.conf
Config: including file: /usr/local/etc/raddb/snmp.conf
Config: including file: /usr/local/etc/raddb/eap.conf
Config: including file: /usr/local/etc/raddb/sql.conf
main: prefix = "/usr/local"
main: localstatedir = "/var"
main: logdir = "/var/log"
main: libdir = "/usr/local/lib"
main: radacctdir = "/var/log/radacct"
main: hostname_lookups = no
main: max_request_time = 30
main: cleanup_delay = 5
main: max_requests = 1024
main: delete_blocked_requests = 0
main: port = 0
main: allow_core_dumps = no
main: log_stripped_names = no
main: log_file = "/var/log/radius.log"
main: log_auth = no
main: log_auth_badpass = no
main: log_auth_goodpass = no
main: pidfile = "/var/run/radiusd/radiusd.pid"
main: user = "freeradius"
main: group = "freeradius"
main: usercollide = no
main: lower_user = "no"
main: lower_pass = "no"
main: nospace_user = "no"
main: nospace_pass = "no"
main: checkrad = "/usr/local/sbin/checkrad"
main: proxy_requests = yes
proxy: retry_delay = 5
proxy: retry_count = 3
proxy: synchronous = no
proxy: default_fallback = yes
proxy: dead_time = 120
proxy: post_proxy_authorize = no
proxy: wake_all_if_all_dead = no
security: max_attributes = 200
security: reject_delay = 1
security: status_server = no
main: debug_level = 0
read_config_files: reading dictionary
read_config_files: reading naslist
Using deprecated naslist file. Support for this will go away soon.
read_config_files: reading clients
read_config_files: reading realms
There appears to be another RADIUS server running on the authentication port 1812

~AsmodeuS~
Site Admin
Сообщения: 5746
Зарегистрирован: Пт янв 28, 2005 3:11 pm
Контактная информация:

Re: При подключении PPPoE в Windows разрывается подключение

Сообщение ~AsmodeuS~ »

There appears to be another RADIUS server running on the authentication port 1812


а опустить рабочий радиус

vadim_ich
Сообщения: 13
Зарегистрирован: Вт ноя 15, 2011 12:52 pm

Re: При подключении PPPoE в Windows разрывается подключение

Сообщение vadim_ich »

Не совсем понятно, что нужно сделать с радиусом?

~AsmodeuS~
Site Admin
Сообщения: 5746
Зарегистрирован: Пт янв 28, 2005 3:11 pm
Контактная информация:

Re: При подключении PPPoE в Windows разрывается подключение

Сообщение ~AsmodeuS~ »

у вас уже поднят радиус и ві хотите поднять второй опустите первый сначало

vadim_ich
Сообщения: 13
Зарегистрирован: Вт ноя 15, 2011 12:52 pm

Re: При подключении PPPoE в Windows разрывается подключение

Сообщение vadim_ich »

pppoe соединяется и через несколько секунд обрывается (((



При загрузки системы в процессах

ps auxf
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 11 399.3 0.0 0 32 ?? RL 8:51AM 40:33.79 [idle]
root 0 0.0 0.0 0 88 ?? DLs 8:51AM 0:01.91 [kernel]
root 1 0.0 0.0 8032 532 ?? SLs 8:51AM 0:00.00 /sbin/init --
root 2 0.0 0.0 0 8 ?? DL 8:51AM 0:00.00 [pfpurge]
root 3 0.0 0.0 0 8 ?? DL 8:51AM 0:00.00 [sctp_iterator]
root 4 0.0 0.0 0 8 ?? DL 8:51AM 0:00.00 [xpt_thrd]
root 5 0.0 0.0 0 8 ?? DL 8:51AM 0:00.00 [pagedaemon]
root 6 0.0 0.0 0 8 ?? DL 8:51AM 0:00.00 [vmdaemon]
root 7 0.0 0.0 0 8 ?? DL 8:51AM 0:00.00 [pagezero]
root 8 0.0 0.0 0 8 ?? DL 8:51AM 0:00.00 [bufdaemon]
root 9 0.0 0.0 0 8 ?? DL 8:51AM 0:00.00 [vnlru]
root 10 0.0 0.0 0 8 ?? DL 8:51AM 0:00.00 [audit]
root 12 0.0 0.0 0 144 ?? WL 8:51AM 0:02.49 [intr]
root 13 0.0 0.0 0 32 ?? DL 8:51AM 0:00.00 [ng_queue]
root 14 0.0 0.0 0 24 ?? DL 8:51AM 0:00.04 [geom]
root 15 0.0 0.0 0 8 ?? DL 8:51AM 0:00.02 [yarrow]
root 16 0.0 0.0 0 64 ?? DL 8:51AM 0:00.05 [usb]
root 17 0.0 0.0 0 8 ?? DL 8:51AM 0:00.02 [syncer]
root 18 0.0 0.0 0 8 ?? DL 8:51AM 0:00.00 [softdepflush]
root 118 0.0 0.0 9532 948 ?? Is 8:51AM 0:00.00 adjkerntz -i
root 1067 0.0 0.1 9716 1148 ?? Is 8:51AM 0:00.00 /usr/sbin/mouse
root 1084 0.0 0.1 12128 2608 ?? Ss 8:51AM 0:00.01 /sbin/devd
root 1101 0.0 0.1 9740 1484 ?? Is 8:51AM 0:00.02 pflogd: [priv]
_pflogd 1110 0.0 0.1 9740 1540 ?? S 8:51AM 0:00.01 pflogd: [runnin
root 1284 0.0 0.1 9612 1392 ?? Ss 8:51AM 0:00.04 /usr/sbin/syslo
root 1403 0.0 0.5 79232 11164 ?? Ss 8:51AM 0:00.23 /usr/local/sbin
root 1460 0.0 0.1 11296 2644 ?? Ss 8:51AM 0:00.04 /usr/sbin/ntpd
mysql 1512 0.0 0.1 9924 1632 ?? Is 8:51AM 0:00.00 /bin/sh /usr/lo
mysql 1568 0.0 1.2 115656 24708 ?? S 8:51AM 0:00.39 /usr/local/libe
freeradius 1597 0.0 0.2 33156 4520 ?? Ss 8:51AM 0:00.06 /usr/local/sbin
root 1599 0.0 0.3 15532 6660 ?? Ss 8:51AM 0:00.10 /usr/local/sbin
www 1622 0.0 0.3 15532 6888 ?? I 8:51AM 0:00.02 /usr/local/sbin
www 1623 0.0 0.3 15532 6836 ?? I 8:51AM 0:00.00 /usr/local/sbin
www 1624 0.0 0.3 15532 6836 ?? I 8:51AM 0:00.00 /usr/local/sbin
www 1625 0.0 0.3 15532 6840 ?? I 8:51AM 0:00.00 /usr/local/sbin
www 1626 0.0 0.3 15532 6840 ?? I 8:51AM 0:00.00 /usr/local/sbin
root 1627 0.0 0.2 13064 3920 ?? Is 8:51AM 0:00.00 /usr/sbin/sshd
root 1745 0.0 0.2 11324 3580 ?? Ss 8:51AM 0:00.01 sendmail: accep
smmsp 1847 0.0 0.2 11324 3528 ?? Is 8:52AM 0:00.00 sendmail: Queue
root 1853 0.0 0.1 9644 1432 ?? Is 8:52AM 0:00.00 /usr/sbin/cron
www 1960 0.0 0.3 15532 6712 ?? S 8:52AM 0:00.00 /usr/local/sbin
www 1961 0.0 0.3 15532 6712 ?? I 8:52AM 0:00.00 /usr/local/sbin
www 1962 0.0 0.3 15532 6712 ?? I 8:52AM 0:00.00 /usr/local/sbin
www 1963 0.0 0.3 15532 6712 ?? I 8:52AM 0:00.00 /usr/local/sbin
www 1964 0.0 0.3 15532 6712 ?? I 8:52AM 0:00.00 /usr/local/sbin
root 2010 0.0 0.2 15788 4796 ?? Is 8:53AM 0:00.03 sshd: user [pri
user 2095 0.0 0.2 15788 4792 ?? S 8:54AM 0:00.01 sshd: user@pts/
root 1917 0.0 0.1 9612 1192 v0 Is+ 8:52AM 0:00.00 /usr/libexec/ge
root 1918 0.0 0.1 9612 1192 v1 Is+ 8:52AM 0:00.00 /usr/libexec/ge
root 1919 0.0 0.1 9612 1192 v2 Is+ 8:52AM 0:00.00 /usr/libexec/ge
root 1920 0.0 0.1 9612 1192 v3 Is+ 8:52AM 0:00.00 /usr/libexec/ge
root 1921 0.0 0.1 9612 1192 v4 Is+ 8:52AM 0:00.00 /usr/libexec/ge
root 1922 0.0 0.1 9612 1192 v5 Is+ 8:52AM 0:00.00 /usr/libexec/ge
root 1923 0.0 0.1 9612 1192 v6 Is+ 8:52AM 0:00.00 /usr/libexec/ge
root 1924 0.0 0.1 9612 1192 v7 Is+ 8:52AM 0:00.00 /usr/libexec/ge
user 2096 0.0 0.1 9924 1740 0 Is 8:54AM 0:00.00 -sh (sh)
root 2128 0.0 0.1 10124 1908 0 I 8:54AM 0:00.00 su
root 2160 0.0 0.1 10940 2688 0 S 8:54AM 0:00.01 _su (csh)
root 2885 0.0 0.1 9672 1208 0 R+ 9:01AM 0:00.00 ps auxf



radius.log


Sat May 12 09:06:30 2012 : Error: Received Accounting-Request packet from 127.0.0.1 with invalid signature! (Shared secret is incorrect.) Dropping packet without response.
Sat May 12 09:06:33 2012 : Error: Received Accounting-Request packet from 127.0.0.1 with invalid signature! (Shared secret is incorrect.) Dropping packet without response.
Sat May 12 09:06:37 2012 : Error: Received Accounting-Request packet from 127.0.0.1 with invalid signature! (Shared secret is incorrect.) Dropping packet without response.
Sat May 12 09:06:45 2012 : Error: Received Accounting-Request packet from 127.0.0.1 with invalid signature! (Shared secret is incorrect.) Dropping packet without response.
Sat May 12 09:06:49 2012 : Error: Received Accounting-Request packet from 127.0.0.1 with invalid signature! (Shared secret is incorrect.) Dropping packet without response.
Sat May 12 09:06:53 2012 : Error: Received Accounting-Request packet from 127.0.0.1 with invalid signature! (Shared secret is incorrect.) Dropping packet without response.
Sat May 12 09:06:53 2012 : Error: Received Accounting-Request packet from 127.0.0.1 with invalid signature! (Shared secret is incorrect.) Dropping packet without response.
Sat May 12 09:06:57 2012 : Error: Received Accounting-Request packet from 127.0.0.1 with invalid signature! (Shared secret is incorrect.) Dropping packet without response.
Sat May 12 09:07:01 2012 : Error: Received Accounting-Request packet from 127.0.0.1 with invalid signature! (Shared secret is incorrect.) Dropping packet without response.



#radiusd -X

Starting - reading configuration files ...
reread_config: reading radiusd.conf
Config: including file: /usr/local/etc/raddb/proxy.conf
Config: including file: /usr/local/etc/raddb/clients.conf
Config: including file: /usr/local/etc/raddb/snmp.conf
Config: including file: /usr/local/etc/raddb/eap.conf
Config: including file: /usr/local/etc/raddb/sql.conf
main: prefix = "/usr/local"
main: localstatedir = "/var"
main: logdir = "/var/log"
main: libdir = "/usr/local/lib"
main: radacctdir = "/var/log/radacct"
main: hostname_lookups = no
main: max_request_time = 30
main: cleanup_delay = 5
main: max_requests = 1024
main: delete_blocked_requests = 0
main: port = 0
main: allow_core_dumps = no
main: log_stripped_names = no
main: log_file = "/var/log/radius.log"
main: log_auth = no
main: log_auth_badpass = no
main: log_auth_goodpass = no
main: pidfile = "/var/run/radiusd/radiusd.pid"
main: user = "freeradius"
main: group = "freeradius"
main: usercollide = no
main: lower_user = "no"
main: lower_pass = "no"
main: nospace_user = "no"
main: nospace_pass = "no"
main: checkrad = "/usr/local/sbin/checkrad"
main: proxy_requests = yes
proxy: retry_delay = 5
proxy: retry_count = 3
proxy: synchronous = no
proxy: default_fallback = yes
proxy: dead_time = 120
proxy: post_proxy_authorize = no
proxy: wake_all_if_all_dead = no
security: max_attributes = 200
security: reject_delay = 1
security: status_server = no
main: debug_level = 0
read_config_files: reading dictionary
read_config_files: reading naslist
Using deprecated naslist file. Support for this will go away soon.
read_config_files: reading clients
read_config_files: reading realms
radiusd: entering modules setup
Module: Library search path is /usr/local/lib
Module: Loaded exec
exec: wait = yes
exec: program = "(null)"
exec: input_pairs = "request"
exec: output_pairs = "(null)"
exec: packet_type = "(null)"
rlm_exec: Wait=yes but no output defined. Did you mean output=none?
Module: Instantiated exec (exec)
Module: Loaded expr
Module: Instantiated expr (expr)
Module: Loaded PAP
pap: encryption_scheme = "crypt"
pap: auto_header = yes
Module: Instantiated pap (pap)
Module: Loaded CHAP
Module: Instantiated chap (chap)
Module: Loaded MS-CHAP
mschap: use_mppe = yes
mschap: require_encryption = no
mschap: require_strong = no
mschap: with_ntdomain_hack = no
mschap: passwd = "(null)"
mschap: ntlm_auth = "(null)"
Module: Instantiated mschap (mschap)
Module: Loaded System
unix: cache = no
unix: passwd = "(null)"
unix: shadow = "(null)"
unix: group = "(null)"
unix: radwtmp = "/var/log/radwtmp"
unix: usegroup = no
unix: cache_reload = 600
Module: Instantiated unix (unix)
Module: Loaded eap
eap: default_eap_type = "md5"
eap: timer_expire = 60
eap: ignore_unknown_eap_types = no
eap: cisco_accounting_username_bug = no
rlm_eap: Loaded and initialized type md5
rlm_eap: Loaded and initialized type leap
gtc: challenge = "Password: "
gtc: auth_type = "PAP"
rlm_eap: Loaded and initialized type gtc
mschapv2: with_ntdomain_hack = no
rlm_eap: Loaded and initialized type mschapv2
Module: Instantiated eap (eap)
Module: Loaded preprocess
preprocess: huntgroups = "/usr/local/etc/raddb/huntgroups"
preprocess: hints = "/usr/local/etc/raddb/hints"
preprocess: with_ascend_hack = no
preprocess: ascend_channels_per_line = 23
preprocess: with_ntdomain_hack = no
preprocess: with_specialix_jetstream_hack = no
preprocess: with_cisco_vsa_hack = no
preprocess: with_alvarion_vsa_hack = no
Module: Instantiated preprocess (preprocess)
Module: Loaded realm
realm: format = "suffix"
realm: delimiter = "@"
realm: ignore_default = no
realm: ignore_null = no
Module: Instantiated realm (suffix)
Module: Loaded files
files: usersfile = "/usr/local/etc/raddb/users"
files: acctusersfile = "/usr/local/etc/raddb/acct_users"
files: preproxy_usersfile = "/usr/local/etc/raddb/preproxy_users"
files: compat = "no"
Module: Instantiated files (files)
Module: Loaded Acct-Unique-Session-Id
acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"
Module: Instantiated acct_unique (acct_unique)
Module: Loaded detail
detail: detailfile = "/var/log/radacct/%{Client-IP-Address}/detail-%Y%m%d"
detail: detailperm = 384
detail: dirperm = 493
detail: locking = no
Module: Instantiated detail (detail)
Module: Loaded radutmp
radutmp: filename = "/var/log/radutmp"
radutmp: username = "%{User-Name}"
radutmp: case_sensitive = yes
radutmp: check_with_nas = yes
radutmp: perm = 384
radutmp: callerid = yes
Module: Instantiated radutmp (radutmp)
Listening on authentication *:1812
Listening on accounting *:1813
Ready to process requests.
rad_recv: Access-Request packet from host 127.0.0.1:23927, id=40, length=179
NAS-Identifier = "studcity1"
Acct-Session-Id = "6799490-L-2"
NAS-Port = 2
NAS-Port-Type = Ethernet
Service-Type = Framed-User
Framed-Protocol = PPP
Calling-Station-Id = "000d886a8b4e"
NAS-Port-Id = "rl0"
mpd-link = "L-2"
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Client-Endpoint:0 = "00:0d:88:6a:8b:4e"
User-Name = "vadim"
CHAP-Challenge = 0xbb1e68c1abc882029981b31534e89a32242ba9016c830834ed1d
CHAP-Password = 0x0100cf3e801a935ed6749a9c3cd34b6bc3
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
modcall[authorize]: module "preprocess" returns ok for request 0
rlm_realm: No '@' in User-Name = "vadim", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 0
rlm_eap: No EAP-Message, not doing EAP
modcall[authorize]: module "eap" returns noop for request 0
users: Matched entry DEFAULT at line 155
modcall[authorize]: module "files" returns ok for request 0
rlm_pap: Found existing Auth-Type, not changing it.
modcall[authorize]: module "pap" returns noop for request 0
modcall: leaving group authorize (returns ok) for request 0
rad_check_password: Found Auth-Type Accept
rad_check_password: Auth-Type = Accept, accepting the user
defined(%hash) is deprecated at /usr/abills/libexec/rauth.pl line 345.
(Maybe you should just omit the defined()?)
Exec-Program output: Session-Timeout = 1694902, Framed-IP-Address = 10.0.0.18, Framed-IP-Netmask = 255.255.255.255,
Exec-Program-Wait: value-pairs: Session-Timeout = 1694902, Framed-IP-Address = 10.0.0.18, Framed-IP-Netmask = 255.255.255.255,
Exec-Program: returned: 0
Sending Access-Accept of id 40 to 127.0.0.1 port 23927
Session-Timeout = 1694902
Framed-IP-Address = 10.0.0.18
Framed-IP-Netmask = 255.255.255.255
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 6 seconds...
rad_recv: Accounting-Request packet from host 127.0.0.1:22135, id=12, length=209
NAS-Identifier = "studcity1"
Acct-Session-Id = "6799490-L-2"
NAS-Port = 2
NAS-Port-Type = Ethernet
Service-Type = Framed-User
Framed-Protocol = PPP
Calling-Station-Id = "000d886a8b4e"
NAS-Port-Id = "rl0"
mpd-link = "L-2"
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Client-Endpoint:0 = "00:0d:88:6a:8b:4e"
Acct-Status-Type = Start
Framed-IP-Address = 10.0.0.18
Framed-IP-Netmask = 255.255.255.255
User-Name = "vadim"
Acct-Multi-Session-Id = "6799498-B-1"
mpd-bundle = "B-1"
mpd-iface = "ng0"
mpd-iface-index = 9
Acct-Link-Count = 1
Acct-Authentic = RADIUS
Processing the preacct section of radiusd.conf
modcall: entering group preacct for request 1
modcall[preacct]: module "preprocess" returns noop for request 1
rlm_acct_unique: Hashing 'NAS-Port = 2,Client-IP-Address = 127.0.0.1,NAS-IP-Address = 127.0.0.1,Acct-Session-Id = "6799490-L-2",User-Name = "vadim"'
rlm_acct_unique: Acct-Unique-Session-ID = "9dff8b6f0faab36e".
modcall[preacct]: module "acct_unique" returns ok for request 1
rlm_realm: No '@' in User-Name = "vadim", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[preacct]: module "suffix" returns noop for request 1
acct_users: Matched entry DEFAULT at line 17
modcall[preacct]: module "files" returns ok for request 1
modcall: leaving group preacct (returns ok) for request 1
Processing the accounting section of radiusd.conf
modcall: entering group accounting for request 1
radius_xlat: '/var/log/radacct/127.0.0.1/detail-20120512'
rlm_detail: /var/log/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /var/log/radacct/127.0.0.1/detail-20120512
modcall[accounting]: module "detail" returns ok for request 1
modcall[accounting]: module "unix" returns fail for request 1
modcall: leaving group accounting (returns fail) for request 1
Finished request 1
Going to the next request
Cleaning up request 1 ID 12 with timestamp 4fadf10a
Waking up in 6 seconds...
rad_recv: Accounting-Request packet from host 127.0.0.1:22135, id=12, length=209
Received Accounting-Request packet from 127.0.0.1 with invalid signature! (Shared secret is incorrect.) Dropping packet without response.
Finished request 2
Going to the next request
--- Walking the entire request list ---
Waking up in 2 seconds...

~AsmodeuS~
Site Admin
Сообщения: 5746
Зарегистрирован: Пт янв 28, 2005 3:11 pm
Контактная информация:

Re: При подключении PPPoE в Windows разрывается подключение

Сообщение ~AsmodeuS~ »

rad_recv: Accounting-Request packet from host 127.0.0.1:22135, id=12, length=209
Received Accounting-Request packet from 127.0.0.1 with invalid signature! (Shared secret is incorrect.) Dropping packet without response.


проверте radsecret

и еще покажите стоп пакет

сморите лог mpd

vadim_ich
Сообщения: 13
Зарегистрирован: Вт ноя 15, 2011 12:52 pm

Re: При подключении PPPoE в Windows разрывается подключение

Сообщение vadim_ich »

В файлах
/usr/local/etc/raddb/clients.conf
и
/etc/radius.conf

radsecret одинаковое значение

в файле
/usr/local/etc/mpd5/mpd.conf

в секции
radius:
#IP,
#set radius server 127.0.0.1 radsecret 1812 1813
set radius config /etc/radius.conf
set radius retries 3
set radius timeout 10
set auth acct-update 300
set auth enable radius-auth
set auth enable radius-acct
set auth disable internal

Вот mpd.log
May 12 16:00:00 studcity1 newsyslog[14180]: logfile turned over due to size>100K
May 12 16:00:04 studcity1 mpd: [L-1] RADIUS: rad_send_request for user 'vadim' failed:
May 12 16:00:04 studcity1 mpd: [L-1] AUTH: RADIUS returned error
May 12 16:00:04 studcity1 mpd: [L-1] AUTH: ran out of backends
May 12 16:00:04 studcity1 mpd: [L-1] CHAP: Auth return status: failed
May 12 16:00:04 studcity1 mpd: [L-1] CHAP: Reply message: Login incorrect
May 12 16:00:04 studcity1 mpd: [L-1] CHAP: sending FAILURE #1 len: 19
May 12 16:00:04 studcity1 mpd: [L-1] LCP: authorization failed
May 12 16:00:04 studcity1 mpd: [L-1] LCP: parameter negotiation failed
May 12 16:00:04 studcity1 mpd: [L-1] LCP: state change Opened --> Stopping
May 12 16:00:04 studcity1 mpd: [L-1] LCP: SendTerminateReq #3
May 12 16:00:04 studcity1 mpd: [L-1] LCP: LayerDown
May 12 16:00:04 studcity1 mpd: [L-1] LCP: rec'd Terminate Request #2 (Stopping)
May 12 16:00:04 studcity1 mpd: [L-1] LCP: SendTerminateAck #4
May 12 16:00:04 studcity1 mpd: [L-1] LCP: rec'd Terminate Ack #3 (Stopping)
May 12 16:00:04 studcity1 mpd: [L-1] LCP: state change Stopping --> Stopped
May 12 16:00:04 studcity1 mpd: [L-1] LCP: LayerFinish
May 12 16:00:04 studcity1 mpd: [L-1] PPPoE: connection closed
May 12 16:00:04 studcity1 mpd: [L-1] Link: DOWN event
May 12 16:00:04 studcity1 mpd: [L-1] LCP: Close event
May 12 16:00:04 studcity1 mpd: [L-1] LCP: state change Stopped --> Closed
May 12 16:00:04 studcity1 mpd: [L-1] LCP: Down event
May 12 16:00:04 studcity1 mpd: [L-1] LCP: state change Closed --> Initial
May 12 16:00:04 studcity1 mpd: [L-1] Link: SHUTDOWN event
May 12 16:00:04 studcity1 mpd: [L-1] Link: Shutdown
May 12 16:00:09 studcity1 mpd: Incoming PPPoE connection request via rl0: for service
May 12 16:00:09 studcity1 mpd: [L-1] Accepting PPPoE connection
May 12 16:00:09 studcity1 mpd: [L-1] Link: OPEN event
May 12 16:00:09 studcity1 mpd: [L-1] LCP: Open event
May 12 16:00:09 studcity1 mpd: [L-1] LCP: state change Initial --> Starting
May 12 16:00:09 studcity1 mpd: [L-1] LCP: LayerStart
May 12 16:00:09 studcity1 mpd: [L-1] PPPoE: connection successful
May 12 16:00:09 studcity1 mpd: [L-1] Link: UP event
May 12 16:00:09 studcity1 mpd: [L-1] LCP: Up event
May 12 16:00:09 studcity1 mpd: [L-1] LCP: state change Starting --> Req-Sent
May 12 16:00:09 studcity1 mpd: [L-1] LCP: SendConfigReq #1
May 12 16:00:09 studcity1 mpd: [L-1] MRU 1492
May 12 16:00:09 studcity1 mpd: [L-1] MAGICNUM 37850c36
May 12 16:00:09 studcity1 mpd: [L-1] AUTHPROTO CHAP MD5
May 12 16:00:10 studcity1 mpd: [L-1] LCP: rec'd Configure Request #1 (Req-Sent)
May 12 16:00:10 studcity1 mpd: [L-1] MRU 1492
May 12 16:00:10 studcity1 mpd: [L-1] MAGICNUM 133c8884
May 12 16:00:10 studcity1 mpd: [L-1] LCP: SendConfigAck #1
May 12 16:00:10 studcity1 mpd: [L-1] MRU 1492
May 12 16:00:10 studcity1 mpd: [L-1] MAGICNUM 133c8884
May 12 16:00:10 studcity1 mpd: [L-1] LCP: state change Req-Sent --> Ack-Sent
May 12 16:00:11 studcity1 mpd: [L-1] LCP: SendConfigReq #2
May 12 16:00:11 studcity1 mpd: [L-1] MRU 1492
May 12 16:00:11 studcity1 mpd: [L-1] MAGICNUM 37850c36
May 12 16:00:11 studcity1 mpd: [L-1] AUTHPROTO CHAP MD5
May 12 16:00:11 studcity1 mpd: [L-1] LCP: rec'd Configure Ack #2 (Ack-Sent)
May 12 16:00:11 studcity1 mpd: [L-1] MRU 1492
May 12 16:00:11 studcity1 mpd: [L-1] MAGICNUM 37850c36
May 12 16:00:11 studcity1 mpd: [L-1] AUTHPROTO CHAP MD5
May 12 16:00:11 studcity1 mpd: [L-1] LCP: state change Ack-Sent --> Opened
May 12 16:00:11 studcity1 mpd: [L-1] LCP: auth: peer wants nothing, I want CHAP
May 12 16:00:11 studcity1 mpd: [L-1] CHAP: sending CHALLENGE #1 len: 47
May 12 16:00:11 studcity1 mpd: [L-1] LCP: LayerUp
May 12 16:00:11 studcity1 mpd: [L-1] CHAP: rec'd RESPONSE #1 len: 26
May 12 16:00:11 studcity1 mpd: [L-1] Name: "vadim"
May 12 16:00:11 studcity1 mpd: [L-1] AUTH: Trying RADIUS
May 12 16:00:11 studcity1 mpd: [L-1] RADIUS: Authenticating user 'vadim'
May 12 16:00:19 studcity1 mpd: [L-1] RADIUS: Rec'd RAD_ACCESS_ACCEPT for user 'vadim'
May 12 16:00:19 studcity1 mpd: [L-1] AUTH: RADIUS returned: authenticated
May 12 16:00:19 studcity1 mpd: [L-1] CHAP: Auth return status: authenticated
May 12 16:00:19 studcity1 mpd: [L-1] CHAP: Reply message: Welcome
May 12 16:00:19 studcity1 mpd: [L-1] CHAP: sending SUCCESS #1 len: 11
May 12 16:00:19 studcity1 mpd: [L-1] LCP: authorization successful
May 12 16:00:19 studcity1 mpd: [L-1] Link: Matched action 'bundle "B" ""'
May 12 16:00:19 studcity1 mpd: [L-1] Creating new bundle using template "B".
May 12 16:00:19 studcity1 mpd: [B-1] Bundle: Interface ng0 created
May 12 16:00:19 studcity1 mpd: [L-1] Link: Join bundle "B-1"
May 12 16:00:19 studcity1 mpd: [B-1] Bundle: Status update: up 1 link, total bandwidth
May 12 16:00:19 studcity1 mpd: [B-1] IPCP: Open event
May 12 16:00:19 studcity1 mpd: [B-1] IPCP: state change Initial --> Starting
May 12 16:00:19 studcity1 mpd: [B-1] IPCP: LayerStart
May 12 16:00:19 studcity1 mpd: [B-1] IPCP: Up event
May 12 16:00:19 studcity1 mpd: [B-1] IPCP: state change Starting --> Req-Sent
May 12 16:00:19 studcity1 mpd: [B-1] IPCP: SendConfigReq #1
May 12 16:00:19 studcity1 mpd: [B-1] IPADDR 10.10.0.1
May 12 16:00:19 studcity1 mpd: [L-1] RADIUS: Accounting user 'vadim' (Type: 1)
May 12 16:00:19 studcity1 mpd: [B-1] IPCP: rec'd Configure Request #1 (Req-Sent)
May 12 16:00:19 studcity1 mpd: [B-1] IPADDR 0.0.0.0
May 12 16:00:19 studcity1 mpd: [B-1] NAKing with 10.0.0.224
May 12 16:00:19 studcity1 mpd: [B-1] PRIDNS 0.0.0.0
May 12 16:00:19 studcity1 mpd: [B-1] NAKing with 195.208.240.129
May 12 16:00:19 studcity1 mpd: [B-1] SECDNS 0.0.0.0
May 12 16:00:19 studcity1 mpd: [B-1] IPCP: SendConfigRej #1
May 12 16:00:19 studcity1 mpd: [B-1] SECDNS 0.0.0.0
May 12 16:00:19 studcity1 mpd: [B-1] IPCP: rec'd Configure Ack #1 (Req-Sent)
May 12 16:00:19 studcity1 mpd: [B-1] IPADDR 10.10.0.1
May 12 16:00:19 studcity1 mpd: [B-1] IPCP: state change Req-Sent --> Ack-Rcvd
May 12 16:00:19 studcity1 mpd: [B-1] IPCP: rec'd Configure Request #2 (Ack-Rcvd)
May 12 16:00:19 studcity1 mpd: [B-1] IPADDR 0.0.0.0
May 12 16:00:19 studcity1 mpd: [B-1] NAKing with 10.0.0.224
May 12 16:00:19 studcity1 mpd: [B-1] PRIDNS 0.0.0.0
May 12 16:00:19 studcity1 mpd: [B-1] NAKing with 195.208.240.129
May 12 16:00:19 studcity1 mpd: [B-1] IPCP: SendConfigNak #2
May 12 16:00:19 studcity1 mpd: [B-1] IPADDR 10.0.0.224
May 12 16:00:19 studcity1 mpd: [B-1] PRIDNS 195.208.240.129
May 12 16:00:19 studcity1 mpd: [B-1] IPCP: rec'd Configure Request #3 (Ack-Rcvd)
May 12 16:00:19 studcity1 mpd: [B-1] IPADDR 10.0.0.224
May 12 16:00:19 studcity1 mpd: [B-1] 10.0.0.224 is OK
May 12 16:00:19 studcity1 mpd: [B-1] PRIDNS 195.208.240.129
May 12 16:00:19 studcity1 mpd: [B-1] IPCP: SendConfigAck #3
May 12 16:00:19 studcity1 mpd: [B-1] IPADDR 10.0.0.224
May 12 16:00:19 studcity1 mpd: [B-1] PRIDNS 195.208.240.129
May 12 16:00:19 studcity1 mpd: [B-1] IPCP: state change Ack-Rcvd --> Opened
May 12 16:00:19 studcity1 mpd: [B-1] IPCP: LayerUp
May 12 16:00:19 studcity1 mpd: [B-1] 10.10.0.1 -> 10.0.0.224
May 12 16:00:19 studcity1 mpd: [B-1] IFACE: No interface to proxy arp on for 10.0.0.22
May 12 16:00:19 studcity1 mpd: [B-1] IFACE: Up event
May 12 16:00:35 studcity1 mpd: [L-1] RADIUS: rad_send_request for user 'vadim' failed:
May 12 16:00:35 studcity1 mpd: [L-1] ACCT: Close link due to accounting start error
May 12 16:00:35 studcity1 mpd: [L-1] ACCT: Link close requested by the accounting
May 12 16:00:35 studcity1 mpd: [L-1] Link: CLOSE event
May 12 16:00:35 studcity1 mpd: [L-1] LCP: Close event
May 12 16:00:35 studcity1 mpd: [L-1] LCP: state change Opened --> Closing
May 12 16:00:35 studcity1 mpd: [L-1] Link: Leave bundle "B-1"
May 12 16:00:35 studcity1 mpd: [L-1] RADIUS: Accounting user 'vadim' (Type: 2)
May 12 16:00:35 studcity1 mpd: [B-1] Bundle: Status update: up 0 links, total bandwidt
May 12 16:00:35 studcity1 mpd: [B-1] IPCP: Close event
May 12 16:00:35 studcity1 mpd: [B-1] IPCP: state change Opened --> Closing
May 12 16:00:35 studcity1 mpd: [B-1] IPCP: SendTerminateReq #2
May 12 16:00:35 studcity1 mpd: [B-1] IPCP: LayerDown
May 12 16:00:35 studcity1 mpd: [B-1] IFACE: Down event
May 12 16:00:35 studcity1 mpd: [B-1] IPCP: Down event
May 12 16:00:35 studcity1 mpd: [B-1] IPCP: LayerFinish
May 12 16:00:35 studcity1 mpd: [B-1] Bundle: No NCPs left. Closing links...
May 12 16:00:35 studcity1 mpd: [B-1] IPCP: state change Closing --> Initial
May 12 16:00:35 studcity1 mpd: [B-1] Bundle: Shutdown
May 12 16:00:35 studcity1 mpd: [L-1] LCP: SendTerminateReq #3
May 12 16:00:35 studcity1 mpd: [L-1] LCP: LayerDown
May 12 16:00:35 studcity1 mpd: [L-1] LCP: rec'd Terminate Ack #3 (Closing)
May 12 16:00:35 studcity1 mpd: [L-1] LCP: state change Closing --> Closed
May 12 16:00:35 studcity1 mpd: [L-1] LCP: LayerFinish
May 12 16:00:35 studcity1 mpd: [L-1] Link: DOWN event
May 12 16:00:35 studcity1 mpd: [L-1] LCP: Down event
May 12 16:00:35 studcity1 mpd: [L-1] LCP: state change Closed --> Initial
May 12 16:00:40 studcity1 mpd: Incoming PPPoE connection request via rl0: for service
May 12 16:00:40 studcity1 mpd: [L-2] Accepting PPPoE connection
May 12 16:00:40 studcity1 mpd: [L-2] Link: OPEN event
May 12 16:00:40 studcity1 mpd: [L-2] LCP: Open event
May 12 16:00:40 studcity1 mpd: [L-2] LCP: state change Initial --> Starting
May 12 16:00:40 studcity1 mpd: [L-2] LCP: LayerStart
May 12 16:00:40 studcity1 mpd: [L-2] PPPoE: connection successful
May 12 16:00:40 studcity1 mpd: [L-2] Link: UP event
May 12 16:00:40 studcity1 mpd: [L-2] LCP: Up event
May 12 16:00:40 studcity1 mpd: [L-2] LCP: state change Starting --> Req-Sent

~AsmodeuS~
Site Admin
Сообщения: 5746
Зарегистрирован: Пт янв 28, 2005 3:11 pm
Контактная информация:

Re: При подключении PPPoE в Windows разрывается подключение

Сообщение ~AsmodeuS~ »

очень странно авторизацияпроходит
а аккаунтинг нет возможно вы чтото напутали в конфиге какие то отступы или еще что то (я бы советовал брать конфиг mpd в сайта)

еще попробуйте запутить для проверки

/usr/abills/libexec/linkupdown up ng0 studcity1 10.0.0.1 debug

и покажите вывод

vadim_ich
Сообщения: 13
Зарегистрирован: Вт ноя 15, 2011 12:52 pm

Re: При подключении PPPoE в Windows разрывается подключение

Сообщение vadim_ich »

mpd.conf взял с сайта abills

ниже mpd.conf

startup:
# enable TCP-Wrapper (hosts_access(5)) to block unfriendly clients
set global enable tcp-wrapper
# configure the console old way
#set console self %MPD_CONSOLE_IP% %MPD_CONSOLE_PORT%
#set user %MPD_CONSOLE_USER% %MPD_CONSOLE_PASSWORD% admin
#set console open
# Radius CoA/PoD
set radsrv peer %BILLING_IP% %POD_PASSWORD%
# set radsrv self %NAS_IP% %POD_PORT%
set radsrv open
#WEB managment
#set web self 0.0.0.0 5006
#set web open
#Netflow options
set netflow peer %MPD_NETFLOW_IP% %MPD_NETFLOW_PORT%
set netflow self %MPD_NETFLOW_SOURCE_IP% %MPD_NETFLOW_SOURCE_PORT%
set netflow timeouts 15 15
set netflow hook 9000
# Calling-Station-Id = "10.0.4.16 / 00:18:f3:5a:9f:6a / em0"
set link enable report-mac
#set netflow node netflow


default:
#load pptp_server
load pppoe_server

pppoe_server:
create bundle template B
set iface rl0 0
set iface enable tcpmssfix proxy-arp
set ipcp no vjcomp
set iface up-script "/usr/abills/libexec/linkupdown mpd up"
set iface down-script "/usr/abills/libexec/linkupdown mpd down"
set ipcp ranges 10.10.0.1 ippool pool1
set ipcp dns 195.208.240.129

create link template L pppoe
set link action bundle B
set pppoe acname "brash1"
#set pppoe iface %PPPOE_INTERFACE%
set pppoe iface rl0
set pppoe service "*"
load server_common

server_common:
set link no pap eap
set link yes chap-md5
set link keep-alive 20 60
set link enable incoming
set link no acfcomp protocomp


load radius

radius:
#IP,
#set radius server 127.0.0.1 radsecret 1812 1813
set radius config /etc/radius.conf
set radius retries 3
set radius timeout 10
set auth acct-update 300
set auth enable radius-auth
set auth enable radius-acct
set auth disable internal







studcity1# /usr/abills/libexec/linkupdown up ng0 vadim 10.0.0.1 debug
Count: 0 Remain Time: 0
Day: 0 Session_start: 69589 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 1 Remain Time: 16811
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 2 Remain Time: 103211
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 3 Remain Time: 189611
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 4 Remain Time: 276011
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 5 Remain Time: 362411
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 6 Remain Time: 448811
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 7 Remain Time: 535211
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 8 Remain Time: 621611
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 9 Remain Time: 708011
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 10 Remain Time: 794411
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 11 Remain Time: 880811
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 12 Remain Time: 967211
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 13 Remain Time: 1053611
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 14 Remain Time: 1140011
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 15 Remain Time: 1226411
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 16 Remain Time: 1312811
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 17 Remain Time: 1399211
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 18 Remain Time: 1485611
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 19 Remain Time: 1572011
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 20 Remain Time: 1658411
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 21 Remain Time: 1744811
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 22 Remain Time: 1831211
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 23 Remain Time: 1917611
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 24 Remain Time: 2004011
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 25 Remain Time: 2090411
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 26 Remain Time: 2176811
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 27 Remain Time: 2263211
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 28 Remain Time: 2349611
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 29 Remain Time: 2436011
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 30 Remain Time: 2522411
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 31 Remain Time: 2608811
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 32 Remain Time: 2695211
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 33 Remain Time: 2781611
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 34 Remain Time: 2868011
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 35 Remain Time: 2954411
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 36 Remain Time: 3040811
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 37 Remain Time: 3127211
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 38 Remain Time: 3213611
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 39 Remain Time: 3300011
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 40 Remain Time: 3386411
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 41 Remain Time: 3472811
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 42 Remain Time: 3559211
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 43 Remain Time: 3645611
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 44 Remain Time: 3732011
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 45 Remain Time: 3818411
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 46 Remain Time: 3904811
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 47 Remain Time: 3991211
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 48 Remain Time: 4077611
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
Count: 49 Remain Time: 4164011
Day: 0 Session_start: 0 => Int Begin: 0 End: 86400 Int ID: 14
<<!=
TT, 14
TIME_PRICE, 0
FIRST_INTERVAL, 14
Expresion:================================

END: =====================================
/sbin/ipfw -q table 10 delete 10.0.0.1
/sbin/ipfw -q table 11 delete 10.0.0.1
/sbin/ipfw -q table 10 add 10.0.0.1/32 10009
/sbin/ipfw -q table 11 add 10.0.0.1/32 20009
/usr/sbin/ngctl -f- <<-EOF
mkpeer ipfw: car 10009 upper
name ipfw:10009 class0_vadim
connect class0_vadim: ipfw: lower 20009
msg class0_vadim: setconf { upstream={ cbs=64000 ebs=128000 cir=2097152 greenAct ion=1 yellowAction=1 redAction=2 mode=2 } downstream={ cbs=64000 ebs=128000 cir =2097152 greenAction=1 yellowAction=1 redAction=2 mode=2 } }
studcity1#

~AsmodeuS~
Site Admin
Сообщения: 5746
Зарегистрирован: Пт янв 28, 2005 3:11 pm
Контактная информация:

Re: При подключении PPPoE в Windows разрывается подключение

Сообщение ~AsmodeuS~ »

раскоментируйте

#set radius server 127.0.0.1 radsecret 1812 1813

закоментируйте

set radius config /etc/radius.conf

vadim_ich
Сообщения: 13
Зарегистрирован: Вт ноя 15, 2011 12:52 pm

Re: При подключении PPPoE в Windows разрывается подключение

Сообщение vadim_ich »

раскоментировал
set radius server 127.0.0.1 radsecret 1812 1813
закоментировал
#set radius config /etc/radius.conf

Ничего не изменилось. Авторизация проходит и через несколько секунд рвется соединение.

2012-05-14 12:58:21 LOG_INFO AUTH vadim CID: 000d886a8b4e GT: 0.06515 srs
2012-05-14 12:57:44 LOG_INFO AUTH vadim CID: 000d886a8b4e GT: 0.06522 srs
2012-05-14 12:57:06 LOG_INFO AUTH vadim CID: 000d886a8b4e GT: 0.06530 srs
2012-05-14 12:56:29 LOG_INFO AUTH vadim CID: 000d886a8b4e GT: 0.06544 srs
2012-05-14 12:55:51 LOG_INFO AUTH vadim CID: 000d886a8b4e GT: 0.06532 srs
2012-05-14 12:55:14 LOG_INFO AUTH vadim CID: 000d886a8b4e GT: 0.06506 srs
2012-05-14 12:54:37 LOG_INFO AUTH vadim CID: 000d886a8b4e GT: 0.06540 srs
2012-05-14 12:53:59 LOG_INFO AUTH vadim CID: 000d886a8b4e GT: 0.06516 srs
2012-05-14 12:53:22 LOG_INFO AUTH vadim CID: 000d886a8b4e GT: 0.06522 srs
2012-05-14 12:52:44 LOG_INFO AUTH vadim CID: 000d886a8b4e GT: 0.06527 srs
2012-05-14 12:52:07 LOG_INFO AUTH vadim CID: 000d886a8b4e GT: 0.06518 srs

~AsmodeuS~
Site Admin
Сообщения: 5746
Зарегистрирован: Пт янв 28, 2005 3:11 pm
Контактная информация:

Re: При подключении PPPoE в Windows разрывается подключение

Сообщение ~AsmodeuS~ »

даже не знаю что еще сказать нужно на месте разбираться

Ответить