Доброго времени!
Сменил провайдера, ppp не хочет авторизоваться. Пишет You are already logged in - access denied. Но ведь авторизации то небыло?
С предидущим провайдером всё было ок.
В чём-же проблема? Кроме логина, пароля, дефалтроутера и resolv.conf ничего не менялосьМожет кто-нибудь подскажет, в чём загвоздка.....
FreeBSD 8.2
/etc/ppp/ppp.conf
default:
set log Phase tun command
ident user-ppp VERSION
set mru 1492
set mtu 1492
set device PPPoE:vr1
enable dns
inet:
set authname login
set authkey passwd
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
===============================
# ppp inet
Working in interactive mode
Using interface: tun0
ppp ON tio> set log +debug
ppp ON tio> dial
ppp ON tio>
Ppp ON tio>
ppp ON tio>
===============================
/var/log/ppp.log (по понятным причинам записи пакетов с логином и паролем удалены)
May 6 19:55:16 tio ppp[2106]: Phase: Using interface: tun0
May 6 19:55:16 tio ppp[2106]: Phase: deflink: Created in closed state
May 6 19:55:16 tio ppp[2106]: tun0: Command: default: ident user-ppp VERSION
May 6 19:55:16 tio ppp[2106]: tun0: Command: default: set mru 1492
May 6 19:55:16 tio ppp[2106]: tun0: Command: default: set mtu 1492
May 6 19:55:16 tio ppp[2106]: tun0: Command: default: set device PPPoE:vr1
May 6 19:55:16 tio ppp[2106]: tun0: Command: default: enable dns
May 6 19:55:16 tio ppp[2106]: tun0: Command: omkc: set authname Login
May 6 19:55:16 tio ppp[2106]: tun0: Command: omkc: set authkey ********
May 6 19:55:16 tio ppp[2106]: tun0: Command: omkc: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
May 6 19:55:16 tio ppp[2106]: tun0: Command: omkc: add default HISADDR
May 6 19:55:16 tio ppp[2106]: tun0: Phase: PPP Started (interactive mode).
May 6 19:55:29 tio ppp[2106]: tun0: Command: /dev/pts/1: set log +debug
May 6 19:55:32 tio ppp[2106]: tun0: Command: /dev/pts/1: dial
May 6 19:55:32 tio ppp[2106]: tun0: Phase: bundle: Establish
May 6 19:55:32 tio ppp[2106]: tun0: Phase: deflink: closed -> opening
May 6 19:55:32 tio ppp[2106]: tun0: Debug: List of netgraph node ``vr1:'' (id 2) hooks:
May 6 19:55:32 tio ppp[2106]: tun0: Debug: Found orphans -> ethernet
May 6 19:55:32 tio ppp[2106]: tun0: Debug: Connecting netgraph socket .:tun0 -> [5]::tun0
May 6 19:55:32 tio ppp[2106]: tun0: Debug: Sending PPPOE_CONNECT to .:tun0
May 6 19:55:32 tio ppp[2106]: tun0: Debug: Found the following interfaces:
May 6 19:55:32 tio ppp[2106]: tun0: Debug: Index 1, name "vr0"
May 6 19:55:32 tio ppp[2106]: tun0: Debug: Index 2, name "vr1"
May 6 19:55:32 tio ppp[2106]: tun0: Debug: Index 3, name "plip0"
May 6 19:55:32 tio ppp[2106]: tun0: Debug: Index 4, name "ipfw0"
May 6 19:55:32 tio ppp[2106]: tun0: Debug: Index 5, name "lo0"
May 6 19:55:32 tio ppp[2106]: tun0: Debug: Index 6, name "tun0"
May 6 19:55:32 tio ppp[2106]: tun0: Debug: Index 7, name "tun1"
May 6 19:55:32 tio ppp[2106]: tun0: Debug: Index 8, name "tun2"
May 6 19:55:32 tio ppp[2106]: tun0: Phase: deflink: Connected!
May 6 19:55:32 tio ppp[2106]: tun0: Phase: deflink: opening -> dial
May 6 19:55:32 tio ppp[2106]: tun0: Phase: deflink: dial -> carrier
May 6 19:55:32 tio ppp[2106]: tun0: Debug: Waiting for carrier
May 6 19:55:33 tio ppp[2106]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "se2-G61BQ1711Q")
May 6 19:55:33 tio ppp[2106]: tun0: Phase: Received NGM_PPPOE_SESSIONID
May 6 19:55:33 tio ppp[2106]: tun0: Phase: Received NGM_PPPOE_SUCCESS
May 6 19:55:33 tio ppp[2106]: tun0: Phase: deflink: carrier -> login
May 6 19:55:33 tio ppp[2106]: tun0: Phase: deflink: login -> lcp
May 6 19:55:34 tio ppp[2106]: tun0: Debug: proto_LayerPush: Using 0xc021
May 6 19:55:34 tio ppp[2106]: tun0: Debug: link_PushPacket: Transmit proto 0xc021
May 6 19:55:34 tio ppp[2106]: tun0: Debug: m_enqueue: len = 1
May 6 19:55:34 tio ppp[2106]: tun0: Debug: m_dequeue: queue len = 1
May 6 19:55:34 tio ppp[2106]: tun0: Debug: link_Dequeue: Dequeued from queue 1, containing 0 more packets
May 6 19:55:34 tio ppp[2106]: tun0: Debug: deflink: DescriptorWrite: wrote 26(26) to 3
May 6 19:55:34 tio ppp[2106]: tun0: Debug: deflink: DescriptorRead: read 21/2048 from 3
May 6 19:55:34 tio ppp[2106]: tun0: Debug: proto_LayerPull: unknown -> 0xc021
May 6 19:55:34 tio ppp[2106]: tun0: Debug: link_PullPacket: Despatch proto 0xc021
May 6 19:55:34 tio ppp[2106]: tun0: Debug: fsm_Output
May 6 19:55:34 tio ppp[2106]: tun0: Debug: proto_LayerPush: Using 0xc021
May 6 19:55:34 tio ppp[2106]: tun0: Debug: link_PushPacket: Transmit proto 0xc021
May 6 19:55:34 tio ppp[2106]: tun0: Debug: m_enqueue: len = 1
May 6 19:55:34 tio ppp[2106]: tun0: Debug: deflink: DescriptorRead: read 16/2048 from 3
May 6 19:55:34 tio ppp[2106]: tun0: Debug: proto_LayerPull: unknown -> 0xc021
May 6 19:55:34 tio ppp[2106]: tun0: Debug: link_PullPacket: Despatch proto 0xc021
May 6 19:55:34 tio ppp[2106]: tun0: Debug: fsm_Output
May 6 19:55:34 tio ppp[2106]: tun0: Debug: 0c 00 00 16 d3 45 e8 1b 75 73 65 72 2d 70 70 70 .....E..user-ppp
May 6 19:55:34 tio ppp[2106]: tun0: Debug: 20 33 2e 34 2e 32 3.4.2
May 6 19:55:34 tio ppp[2106]: tun0: Debug: proto_LayerPush: Using 0xc021
May 6 19:55:34 tio ppp[2106]: tun0: Debug: link_PushPacket: Transmit proto 0xc021
May 6 19:55:34 tio ppp[2106]: tun0: Debug: m_enqueue: len = 2
May 6 19:55:34 tio ppp[2106]: tun0: Debug: fsm_Output
May 6 19:55:34 tio ppp[2106]: tun0: Debug: link_PushPacket: Transmit proto 0xc021
May 6 19:55:34 tio ppp[2106]: tun0: Debug: m_enqueue: len = 3
May 6 19:55:34 tio ppp[2106]: tun0: Debug: m_dequeue: queue len = 3
May 6 19:55:34 tio ppp[2106]: tun0: Debug: link_Dequeue: Dequeued from queue 1, containing 2 more packets
May 6 19:55:34 tio ppp[2106]: tun0: Debug: deflink: DescriptorWrite: wrote 21(21) to 3
May 6 19:55:34 tio ppp[2106]: tun0: Debug: m_dequeue: queue len = 2
May 6 19:55:34 tio ppp[2106]: tun0: Debug: link_Dequeue: Dequeued from queue 1, containing 1 more packets
May 6 19:55:34 tio ppp[2106]: tun0: Debug: deflink: DescriptorWrite: wrote 24(24) to 3
May 6 19:55:34 tio ppp[2106]: tun0: Debug: m_dequeue: queue len = 1
May 6 19:55:34 tio ppp[2106]: tun0: Debug: link_Dequeue: Dequeued from queue 1, containing 0 more packets
May 6 19:55:34 tio ppp[2106]: tun0: Debug: deflink: DescriptorWrite: wrote 16(16) to 3
May 6 19:55:34 tio ppp[2106]: tun0: Debug: deflink: DescriptorRead: read 28/2048 from 3
May 6 19:55:34 tio ppp[2106]: tun0: Debug: proto_LayerPull: unknown -> 0xc021
May 6 19:55:34 tio ppp[2106]: tun0: Debug: link_PullPacket: Despatch proto 0xc021
May 6 19:55:34 tio ppp[2106]: tun0: Debug: deflink: DescriptorRead: read 16/2048 from 3
May 6 19:55:34 tio ppp[2106]: tun0: Debug: proto_LayerPull: unknown -> 0xc021
May 6 19:55:34 tio ppp[2106]: tun0: Debug: link_PullPacket: Despatch proto 0xc021
May 6 19:55:34 tio ppp[2106]: tun0: Debug: fsm_Output
May 6 19:55:34 tio ppp[2106]: tun0: Debug: 0c 01 00 16 d3 45 e8 1b 75 73 65 72 2d 70 70 70 .....E..user-ppp
May 6 19:55:34 tio ppp[2106]: tun0: Debug: 20 33 2e 34 2e 32 3.4.2
May 6 19:55:34 tio ppp[2106]: tun0: Debug: proto_LayerPush: Using 0xc021
May 6 19:55:34 tio ppp[2106]: tun0: Debug: link_PushPacket: Transmit proto 0xc021
May 6 19:55:34 tio ppp[2106]: tun0: Debug: m_enqueue: len = 1
May 6 19:55:34 tio ppp[2106]: tun0: Phase: bundle: Authenticate
May 6 19:55:34 tio ppp[2106]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
May 6 19:55:34 tio ppp[2106]: tun0: Debug: deflink: DescriptorRead: read 26/2048 from 3
May 6 19:55:34 tio ppp[2106]: tun0: Debug: proto_LayerPull: unknown -> 0xc223
May 6 19:55:34 tio ppp[2106]: tun0: Debug: link_PullPacket: Despatch proto 0xc223
May 6 19:55:34 tio ppp[2106]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from se2)
May 6 19:55:34 tio ppp[2106]: tun0: Debug: ChapOutput
May 6 19:55:34 tio ppp[2106]: tun0: Phase: Chap Output: RESPONSE (login)
May 6 19:55:34 tio ppp[2106]: tun0: Debug: proto_LayerPush: Using 0xc223
May 6 19:55:34 tio ppp[2106]: tun0: Debug: link_PushPacket: Transmit proto 0xc223
May 6 19:55:34 tio ppp[2106]: tun0: Debug: m_enqueue: len = 2
May 6 19:55:34 tio ppp[2106]: tun0: Debug: m_dequeue: queue len = 2
May 6 19:55:34 tio ppp[2106]: tun0: Debug: link_Dequeue: Dequeued from queue 1, containing 1 more packets
May 6 19:55:34 tio ppp[2106]: tun0: Debug: deflink: DescriptorWrite: wrote 24(24) to 3
May 6 19:55:34 tio ppp[2106]: tun0: Debug: m_dequeue: queue len = 1
May 6 19:55:34 tio ppp[2106]: tun0: Debug: link_Dequeue: Dequeued from queue 1, containing 0 more packets
May 6 19:55:34 tio ppp[2106]: tun0: Debug: deflink: DescriptorWrite: wrote 32(32) to 3
May 6 19:55:34 tio ppp[2106]: tun0: Debug: deflink: DescriptorRead: read 28/2048 from 3
May 6 19:55:34 tio ppp[2106]: tun0: Debug: proto_LayerPull: unknown -> 0xc021
May 6 19:55:34 tio ppp[2106]: tun0: Debug: link_PullPacket: Despatch proto 0xc021
May 6 19:55:35 tio ppp[2106]: tun0: Debug: deflink: DescriptorRead: read 52/2048 from 3
May 6 19:55:35 tio ppp[2106]: tun0: Debug: proto_LayerPull: unknown -> 0xc223
May 6 19:55:35 tio ppp[2106]: tun0: Debug: link_PullPacket: Despatch proto 0xc223
May 6 19:55:35 tio ppp[2106]: tun0: Phase: Chap Input: FAILURE (^M You are already logged in - access denied^M )
May 6 19:55:35 tio ppp[2106]: tun0: Debug: fsm_Output
May 6 19:55:35 tio ppp[2106]: tun0: Debug: proto_LayerPush: Using 0xc021
May 6 19:55:35 tio ppp[2106]: tun0: Debug: link_PushPacket: Transmit proto 0xc021
May 6 19:55:35 tio ppp[2106]: tun0: Debug: m_enqueue: len = 1
May 6 19:55:35 tio ppp[2106]: tun0: Debug: deflink: DescriptorRead: read 6/2048 from 3
May 6 19:55:35 tio ppp[2106]: tun0: Debug: proto_LayerPull: unknown -> 0xc021
May 6 19:55:35 tio ppp[2106]: tun0: Debug: link_PullPacket: Despatch proto 0xc021
May 6 19:55:35 tio ppp[2106]: tun0: Debug: fsm_Output
May 6 19:55:35 tio ppp[2106]: tun0: Debug: proto_LayerPush: Using 0xc021
May 6 19:55:35 tio ppp[2106]: tun0: Debug: link_PushPacket: Transmit proto 0xc021
May 6 19:55:35 tio ppp[2106]: tun0: Debug: m_enqueue: len = 2
May 6 19:55:35 tio ppp[2106]: tun0: Debug: m_dequeue: queue len = 2
May 6 19:55:35 tio ppp[2106]: tun0: Debug: link_Dequeue: Dequeued from queue 1, containing 1 more packets
May 6 19:55:35 tio ppp[2106]: tun0: Debug: deflink: DescriptorWrite: wrote 6(6) to 3
May 6 19:55:35 tio ppp[2106]: tun0: Debug: m_dequeue: queue len = 1
May 6 19:55:35 tio ppp[2106]: tun0: Debug: link_Dequeue: Dequeued from queue 1, containing 0 more packets
May 6 19:55:35 tio ppp[2106]: tun0: Debug: deflink: DescriptorWrite: wrote 6(6) to 3
May 6 19:55:35 tio ppp[2106]: tun0: Debug: deflink: DescriptorRead: read 6/2048 from 3
May 6 19:55:35 tio ppp[2106]: tun0: Debug: proto_LayerPull: unknown -> 0xc021
May 6 19:55:35 tio ppp[2106]: tun0: Debug: link_PullPacket: Despatch proto 0xc021
May 6 19:55:35 tio ppp[2106]: tun0: Phase: deflink: Disconnected!
May 6 19:55:35 tio ppp[2106]: tun0: Phase: deflink: lcp -> logout
May 6 19:55:35 tio ppp[2106]: tun0: Phase: deflink: logout -> hangup
May 6 19:55:35 tio ppp[2106]: tun0: Phase: deflink: Disconnected!
May 6 19:55:35 tio ppp[2106]: tun0: Debug: deflink: Close
May 6 19:55:35 tio ppp[2106]: tun0: Phase: deflink: Connect time: 3 secs: 199 octets in, 155 octets out
May 6 19:55:35 tio ppp[2106]: tun0: Phase: deflink: 9 packets in, 8 packets out
May 6 19:55:35 tio ppp[2106]: tun0: Phase: total 118 bytes/sec, peak 68 bytes/sec on Sun May 6 19:55:35 2012
May 6 19:55:35 tio ppp[2106]: tun0: Phase: deflink: hangup -> closed
May 6 19:55:35 tio ppp[2106]: tun0: Debug: route_IfDelete (6)
May 6 19:55:35 tio ppp[2106]: tun0: Phase: bundle: Dead
May 6 19:55:41 tio ppp[2106]: tun0: Phase: /dev/pts/1: Client connection closed.
May 6 19:55:41 tio ppp[2106]: tun0: Debug: DoLoop done.
May 6 19:55:41 tio ppp[2106]: tun0: Phase: PPP Terminated (normal).
May 6 19:55:41 tio ppp[2106]: tun0: Debug: route_IfDelete (6)
May 6 19:55:41 tio ppp[2106]: tun0: Debug: Radius: radius_Destroy