The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"AS5300+radius ppp problem --- HELP!!!"
Вариант для распечатки Архивированная нить - только для чтения! 
Пред. тема | След. тема 
Форумы Маршрутизаторы CISCO и др. оборудование. (Public)
Изначальное сообщение [Проследить за развитием треда]

"AS5300+radius ppp problem --- HELP!!!" 
Сообщение от ravsss emailНайти другие сообщения данного автораПоместить сообщение в закладки. См. нижнее поле навигации. on 11-Ноя-03, 19:00  (MSK)
Привет! При подключении модемом ppp соединение устанавливантся и сразу разрывается. ПОДСКАЖИТЕ ГДЕ НЕПРАВ.

Вот log pppd:
Nov 11 17:51:09 khaa pppd[6520]: Serial connection established.
Nov 11 17:51:09 khaa pppd[6520]: Using interface ppp0
Nov 11 17:51:09 khaa pppd[6520]: Connect: ppp0 <--> /dev/ttyS0
Nov 11 17:51:09 khaa /etc/hotplug/net.agent: assuming ppp0 is already up
Nov 11 17:51:40 khaa pppd[6520]: LCP: timeout sending Config-Requests
Nov 11 17:51:40 khaa pppd[6520]: Connection terminated.
Nov 11 17:51:41 khaa /etc/hotplug/net.agent: NET unregister event not supported
Nov 11 17:51:41 khaa pppd[6520]: Exit.

Вот debug c cisco:
2w4d: ISDN Se0:15: TX -> CALL_PROC pd = 8  callref = 0xA000
2w4d:         Channel ID i = 0xA98381
2w4d: ISDN Se0:15: TX -> ALERTING pd = 8  callref = 0xA000
2w4d: ISDN Se0:15: TX -> CONNECT pd = 8  callref = 0xA000
2w4d: ISDN Se0:15: RX <- CONNECT_ACK pd = 8  callref = 0x2000
2w4d: ISDN Se0:15: CALL_PROGRESS: CALL_CONNECTED call id 0xEE, bchan 0, dsl 0
2w4d: EVENT_FROM_ISDN: dchan_idb=0x620537B4, call_id=0xEE, ces=0x1
   bchan=0x0, event=0x4, cause=0x0
2w4d: %ISDN-6-CONNECT: Interface Serial0:0 is now connected to 9560100
2w4d: AAA: parse name=tty18 idb type=10 tty=18
2w4d: AAA: name=tty18 flags=0x11 type=4 shelf=0 slot=0 adapter=0 port=18 channel=0
2w4d: AAA: parse name=Serial0:0 idb type=13 tty=-1
2w4d: AAA: name=Serial0:0 flags=0x51 type=1 shelf=0 slot=0 adapter=0 port=0 channel=0
2w4d: AAA/ACCT/DS0: channel=0, ds1=0, t3=0, slot=0, ds0=0
2w4d: AAA/MEMORY: create_user (0x62435F08) user='NULL' ruser='NULL' ds0=0 port='tty18' rem_addr='9560100/560112' authen_type=ASCII service=L'2w4d: AAA/AUTHEN/START (2363214901): port='tty18' list='' action=LOGIN service=LOGIN
2w4d: AAA/AUTHEN/START (2363214901): using "default" list
2w4d: AAA/AUTHEN/START (2363214901): Method=LOCAL
2w4d: AAA/AUTHEN (2363214901): status = GETUSER
2w4d: AAA/AUTHEN/CONT (2363214901): continue_login (user='(undef)')
2w4d: AAA/AUTHEN (2363214901): status = GETUSER
2w4d: AAA/AUTHEN/CONT (2363214901): Method=LOCAL
2w4d: AAA/AUTHEN (2363214901): User not found, emulating local-override
2w4d: AAA/AUTHEN (2363214901): status = ERROR
2w4d: AAA/AUTHEN/START (1316392020): port='tty18' list='' action=LOGIN service=LOGIN
2w4d: AAA/AUTHEN/START (1316392020): Restart
2w4d: AAA/AUTHEN/START (1316392020): Method=radius (radius)
2w4d: AAA/AUTHEN (1316392020): status = GETPASS
2w4d: AAA/AUTHEN/CONT (1316392020): continue_login (user='test')
2w4d: AAA/AUTHEN (1316392020): status = GETPASS
2w4d: AAA/AUTHEN (1316392020): Method=radius (radius)
2w4d: RADIUS: ustruct sharecount=1
2w4d: Radius: radius_port_info() success=1 radius_nas_port=1
2w4d: RADIUS: Initial Transmit tty18 id 154 193.111.156.13:1812, Access-Request, len 79
2w4d:         Attribute 4 6 C16F9C01
2w4d:         Attribute 5 6 00000012
2w4d:         Attribute 61 6 00000000
2w4d:         Attribute 1 6 74657374
2w4d:         Attribute 30 8 35363031
2w4d:         Attribute 31 9 39353630
2w4d:         Attribute 2 18 661DB808
2w4d: RADIUS: Received from id 154 193.111.156.13:1812, Access-Accept, len 32
2w4d:         Attribute 6 6 00000002
2w4d:         Attribute 7 6 00000001
2w4d: RADIUS: saved authorization data for user 62435F08 at 6243473C
2w4d: AAA/AUTHEN (1316392020): status = PASS
2w4d: As18 AAA/AUTHOR/EXEC (3098293763): Port='tty18' list='' service=EXEC
2w4d: AAA/AUTHOR/EXEC: As18 (3098293763) user='test'
2w4d: As18 AAA/AUTHOR/EXEC (3098293763): send AV service=shell
2w4d: As18 AAA/AUTHOR/EXEC (3098293763): send AV cmd*
2w4d: As18 AAA/AUTHOR/EXEC (3098293763): found list "default"
2w4d: As18 AAA/AUTHOR/EXEC (3098293763): Method=LOCAL
2w4d: AAA/AUTHOR/LOCAL: no entry for test
2w4d: As18 AAA/AUTHOR (3098293763): Post authorization status = ERROR
2w4d: As18 AAA/AUTHOR/EXEC (3098293763): Method=radius (radius)
2w4d: RADIUS: Constructed " ppp negotiate"
2w4d: As18 AAA/AUTHOR (3098293763): Post authorization status = PASS_ADD
2w4d: AAA/AUTHOR/EXEC: Processing AV service=shell
2w4d: AAA/AUTHOR/EXEC: Processing AV cmd*
2w4d: AAA/AUTHOR/EXEC: Processing AV noescape=true
2w4d: AAA/AUTHOR/EXEC: Processing AV autocmd= ppp negotiate
2w4d: AAA/AUTHOR/EXEC: Authorization successful
2w4d: As18 AAA/AUTHOR/PPP (124262525): Port='tty18' list='' service=NET
2w4d: AAA/AUTHOR/PPP: As18 (124262525) user='test'
2w4d: As18 AAA/AUTHOR/PPP (124262525): send AV service=ppp
2w4d: As18 AAA/AUTHOR/PPP (124262525): send AV protocol=ip
2w4d: As18 AAA/AUTHOR/PPP (124262525): send AV addr-pool*default
2w4d: As18 AAA/AUTHOR/PPP (124262525): found list "default"
2w4d: As18 AAA/AUTHOR/PPP (124262525): Method=radius (radius)
2w4d: As18 AAA/AUTHOR (124262525): Post authorization status = PASS_REPL
2w4d: AAA/AUTHOR/Async18: PPP: Processing AV service=ppp
2w4d: AAA/AUTHOR/SLIP: Async18: succeeded
2w4d: %LINK-3-UPDOWN: Interface Async18, changed state to up
2w4d: As18 PPP: Treating connection as a dedicated line
2w4d: As18 PPP: Phase is ESTABLISHING, Active Open [0 sess, 0 load]
2w4d: As18 AAA/AUTHOR/FSM: (0): LCP succeeds trivially
2w4d: As18 LCP: O CONFREQ [Closed] id 1 len 24
2w4d: As18 LCP:    ACCM 0x000A0000 (0x0206000A0000)
2w4d: As18 LCP:    AuthProto PAP (0x0304C023)
2w4d: As18 LCP:    MagicNumber 0x622D0A28 (0x0506622D0A28)
2w4d: As18 LCP:    PFC (0x0702)
2w4d: As18 LCP:    ACFC (0x0802)
2w4d: AAA/ACCT/DS0: channel=0, ds1=0, t3=0, slot=0, ds0=0
2w4d: As18 LCP: TIMEout: State REQsent
2w4d: As18 LCP: O CONFREQ [REQsent] id 2 len 24
2w4d: As18 LCP:    ACCM 0x000A0000 (0x0206000A0000)
2w4d: As18 LCP:    AuthProto PAP (0x0304C023)
2w4d: As18 LCP:    MagicNumber 0x622D0A28 (0x0506622D0A28)
2w4d: As18 LCP:    PFC (0x0702)
2w4d: As18 LCP:    ACFC (0x0802)
2w4d: As18 LCP: TIMEout: State REQsent
2w4d: As18 LCP: O CONFREQ [REQsent] id 3 len 24
2w4d: As18 LCP:    ACCM 0x000A0000 (0x0206000A0000)
2w4d: As18 LCP:    AuthProto PAP (0x0304C023)
2w4d: As18 LCP:    MagicNumber 0x622D0A28 (0x0506622D0A28)
2w4d: As18 LCP:    PFC (0x0702)
2w4d: As18 LCP:    ACFC (0x0802)
2w4d: AAA: parse name=tty122 idb type=-1 tty=-1
2w4d: AAA: name=tty122 flags=0x11 type=5 shelf=0 slot=0 adapter=0 port=122 channel=0
service=RCMD pr82w4d: As18 LCP: TIMEout: State REQsent
2w4d: As18 LCP: O CONFREQ [REQsent] id 4 len 24
2w4d: As18 LCP:    ACCM 0x000A0000 (0x0206000A0000)
2w4d: As18 LCP:    AuthProto PAP (0x0304C023)
2w4d: As18 LCP:    MagicNumber 0x622D0A28 (0x0506622D0A28)
2w4d: As18 LCP:    PFC (0x0702)
2w4d: As18 LCP:    ACFC (0x0802)
2w4d: As18 LCP: TIMEout: State REQsent
2w4d: As18 LCP: O CONFREQ [REQsent] id 5 len 24
2w4d: As18 LCP:    ACCM 0x000A0000 (0x0206000A0000)
2w4d: As18 LCP:    AuthProto PAP (0x0304C023)
2w4d: As18 LCP:    MagicNumber 0x622D0A28 (0x0506622D0A28)
2w4d: As18 LCP:    PFC (0x0702)
2w4d: As18 LCP:    ACFC (0x0802)
2w4d: As18 LCP: TIMEout: State REQsent
2w4d: As18 LCP: O CONFREQ [REQsent] id 6 len 24
2w4d: As18 LCP:    ACCM 0x000A0000 (0x0206000A0000)
2w4d: As18 LCP:    AuthProto PAP (0x0304C023)
2w4d: As18 LCP:    MagicNumber 0x622D0A28 (0x0506622D0A28)
2w4d: As18 LCP:    PFC (0x0702)
2w4d: As18 LCP:    ACFC (0x0802)
2w4d: As18 LCP: TIMEout: State REQsent
2w4d: As18 LCP: O CONFREQ [REQsent] id 7 len 24
2w4d: As18 LCP:    ACCM 0x000A0000 (0x0206000A0000)
2w4d: As18 LCP:    AuthProto PAP (0x0304C023)
2w4d: As18 LCP:    MagicNumber 0x622D0A28 (0x0506622D0A28)
2w4d: As18 LCP:    PFC (0x0702)
2w4d: As18 LCP:    ACFC (0x0802)
2w4d: As18 LCP: TIMEout: State REQsent
2w4d: As18 LCP: TIMEout: State REQsent
2w4d: As18 LCP: O CONFREQ [REQsent] id 9 len 24
2w4d: As18 LCP:    ACCM 0x000A0000 (0x0206000A0000)
2w4d: As18 LCP:    AuthProto PAP (0x0304C023)
2w4d: As18 LCP:    MagicNumber 0x622D0A28 (0x0506622D0A28)
2w4d: As18 LCP:    PFC (0x0702)
2w4d: As18 LCP:    ACFC (0x0802)
2w4d: As18 LCP: TIMEout: State REQsent
2w4d: As18 LCP: O CONFREQ [REQsent] id 10 len 24
2w4d: As18 LCP:    ACCM 0x000A0000 (0x0206000A0000)
2w4d: As18 LCP:    AuthProto PAP (0x0304C023)
2w4d: As18 LCP:    MagicNumber 0x622D0A28 (0x0506622D0A28)
2w4d: As18 LCP:    PFC (0x0702)
2w4d: As18 LCP:    ACFC (0x0802)
2w4d: As18 LCP: TIMEout: State REQsent
2w4d: As18 LCP: State is Listen
2w4d: %LINK-5-CHANGED: Interface Async18, changed state to reset
2w4d: As18 LCP: State is Closed
2w4d: As18 PPP: Phase is DOWN [0 sess, 0 load]
2w4d: AAA/MEMORY: free_user (0x62435F08) user='test' ruser='NULL' port='tty18' rem_addr='9560100/560112' authen_type=ASCII service=LOGIN pri12w4d: %LINK-3-UPDOWN: Interface Async18, changed state to down
2w4d: As18 LCP: State is Closed
2w4d: ISDN Se0:15: RX <- DISCONNECT pd = 8  callref = 0x2000
2w4d:         Cause i = 0x8290 - Normal call clearing
2w4d:         Progress Ind i = 0x8288 - In-band info or appropriate now available
2w4d: %ISDN-6-DISCONNECT: Interface Serial0:0  disconnected from 9560100 , call lasted 58 seconds
2w4d: EVENT_FROM_ISDN: dchan_idb=0x620537B4, call_id=0xEE, ces=0x1
   bchan=0x0, event=0x0, cause=0x10
2w4d: ISDN Se0:15: TX -> RELEASE pd = 8  callref = 0xA000
2w4d: ISDN Se0:15: RX <- RELEASE_COMP pd = 8  callref = 0x2000
2w4d: AAA/ACCT/DS0: channel=0, ds1=0, t3=0, slot=0, ds0=0
2w4d: EVENT_FROM_ISDN: dchan_idb=0x620537B4, call_id=0xEE, ces=0x1


Вот настройки:
aaa new-model
aaa authentication login default local group radius
aaa authentication ppp default group radius
aaa authorization exec default local group radius
aaa authorization network default group radius
enable secret 5 xxxxxxxxx
enable password 7 xxxxxxxxxxx
!
controller E1 0
clock source line secondary 1
pri-group timeslots 1-31
!
interface Serial0:15
ip address 193.111.157.65 255.255.255.192
encapsulation ppp
no ip route-cache
isdn switch-type primary-net5
isdn incoming-voice modem
isdn sending-complete
ppp authentication pap chap
ppp multilink
!
interface Group-Async0
ip unnumbered FastEthernet0
encapsulation ppp
async mode interactive
peer default ip address pool "my_ip-start" "my_ip-end"
ppp callback permit
ppp authentication pap chap
group-range 1 60
!
radius-server host "my_radius-ip" auth-port 1812 acct-port 1813 timeout 5
radius-server retransmit 3
radius-server key 7 xxxxxx
!
line 1 60
flush-at-activation
modem InOut
modem autoconfigure type micav92
transport input all
autoselect ppp
autohangup

  Рекомендовать в FAQ | Cообщить модератору | Наверх

 Оглавление

Индекс форумов | Темы | Пред. тема | След. тема
Сообщения по теме

1. "AS5300+radius ppp problem --- HELP!!!" 
Сообщение от Roger emailНайти другие сообщения данного автораПоместить сообщение в закладки. См. нижнее поле навигации. on 11-Ноя-03, 19:18  (MSK)
>Вот настройки:
>aaa new-model
>aaa authentication login default local group radius
>aaa authentication ppp default group radius
>aaa authorization exec default local group radius
>aaa authorization network default group radius
Замени на : aaa authorization network default group radius if-authenticated
>enable secret 5 xxxxxxxxx
>enable password 7 xxxxxxxxxxx
В логах видно что он снова пытается аутетицифицировать тебя (спрашивает логин и пароль).

Помоему так если что подправите!

  Рекомендовать в FAQ | Cообщить модератору | Наверх


Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Пожалуйста, прежде чем написать сообщение, ознакомьтесь с данными рекомендациями.




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру