pppd+mgetty!!!для некоторых соединений в лого выпадает:
Aug 5 12:30:23 ns pppd[60264]: pppd 2.3.5 started by root, uid 0
Aug 5 12:30:23 ns pppd[60264]: Using interface ppp1
Aug 5 12:30:23 ns pppd[60264]: Connect: ppp1 <--> /dev/cuaa0
Aug 5 12:30:23 ns pppd[60264]: sent [LCP ConfReq id=0x1 <auth pap> <magic 0xf9145651> <pcomp> <accomp>]
Aug 5 12:30:23 ns pppd[60264]: rcvd [LCP ConfAck id=0x1 <auth pap> <magic 0xf9145651> <pcomp> <accomp>]
Aug 5 12:30:26 ns pppd[60264]: sent [LCP ConfReq id=0x1 <auth pap> <magic 0xf9145651> <pcomp> <accomp>]
Aug 5 12:30:26 ns pppd[60264]: rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x5cb2572d> <pcomp> <accomp> <callback 0x611> <quality 0x4e13 17 01> 5f d8 e9 45 c2 a3 44 c6 90 97 b4 b0 cd 87 a3 b0 00 00 00 00 00]
Aug 5 12:30:26 ns pppd[60264]: sent [LCP ConfRej id=0x2 <callback 0x611> <quality 0x4e13 17 01> 5f d8 e9 45 c2 a3 44 c6 90 97 b4 b0 cd 87 a3 b0 00 00 00 00 00]
Aug 5 12:30:26 ns pppd[60264]: rcvd [LCP ConfAck id=0x1 <auth pap> <magic 0xf9145651> <pcomp> <accomp>]
Aug 5 12:30:26 ns pppd[60264]: rcvd [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0x5cb2572d> <pcomp> <accomp>]
Aug 5 12:30:26 ns pppd[60264]: sent [LCP ConfAck id=0x3 <asyncmap 0x0> <magic 0x5cb2572d> <pcomp> <accomp>]
Aug 5 12:30:26 ns pppd[60264]: sent [LCP EchoReq id=0x0 magic=0xf9145651]
Aug 5 12:30:26 ns pppd[60264]: rcvd [LCP code=0xc id=0x4 5c b2 57 2d 4d 53 52 41 53 56 35 2e 30 30]
Aug 5 12:30:26 ns pppd[60264]: sent [LCP CodeRej id=0x2 0c 04 00 12 5c b2 57 2d 4d 53 52 41 53 56 35 2e 30 30]
Aug 5 12:30:26 ns pppd[60264]: rcvd [LCP code=0xc id=0x5 5c b2 57 2d 4d 53 52 41 53 2d 31 2d 41 4c 45 58]
Aug 5 12:30:26 ns pppd[60264]: sent [LCP CodeRej id=0x3 0c 05 00 14 5c b2 57 2d 4d 53 52 41 53 2d 31 2d 41 4c 45 58]
Aug 5 12:30:26 ns pppd[60264]: rcvd [PAP AuthReq id=0x9 user="Alex" password="alex"]
Aug 5 12:30:26 ns pppd[60264]: sent [PAP AuthAck id=0x9 "Login ok"]
Aug 5 12:30:26 ns pppd[60264]: sent [IPCP ConfReq id=0x1 <addr 10.111.1.22> <compress VJ 0f 01>]
Aug 5 12:30:26 ns pppd[60264]: rcvd [LCP EchoRep id=0x0 magic=0x5cb2572d]
Aug 5 12:30:26 ns pppd[60264]: rcvd [LCP ProtRej id=0x6 70 70 70 64 3a 20]
Aug 5 12:30:26 ns pppd[60264]: Protocol-Reject for unsupported protocol 0x7070
Aug 5 12:30:26 ns pppd[60264]: rcvd [LCP ProtRej id=0x7 6e 6f 20 50 41 50 20 73 65 63 72 65 74 20 66 6f 75 6e 64 20 66 6f 72 20 41 6c 65 78]
Aug 5 12:30:26 ns pppd[60264]: Protocol-Reject for unsupported protocol 0x6e6f
Aug 5 12:30:26 ns pppd[60264]: rcvd [CCP ConfReq id=0x8 < 12 06 00 00 00 01>]
Aug 5 12:30:26 ns pppd[60264]: Unsupported protocol (0x80fd) received
Aug 5 12:30:26 ns pppd[60264]: sent [LCP ProtRej id=0x4 80 fd 01 08 00 0a 12 06 00 00 00 01]
Aug 5 12:30:26 ns pppd[60264]: rcvd [IPCP ConfReq id=0x9 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns 0.0.0.0> <ms-wins 0.0.0.0>]
Aug 5 12:30:26 ns pppd[60264]: sent [IPCP ConfNak id=0x9 <addr 10.111.1.23> <ms-dns 10.111.1.5> <ms-wins 10.111.1.1> <ms-dns 10.111.1.5> <ms-wins 10.111.1.1>]
Aug 5 12:30:26 ns pppd[60264]: rcvd [IPCP ConfAck id=0x1 <addr 10.111.1.22> <compress VJ 0f 01>]
Aug 5 12:30:26 ns pppd[60264]: rcvd [IPCP ConfReq id=0xa <compress VJ 0f 01> <addr 10.111.1.23> <ms-dns 10.111.1.5> <ms-wins 10.111.1.1> <ms-dns 10.111.1.5> <ms-wins 10.111.1.1>]
Aug 5 12:30:26 ns pppd[60264]: sent [IPCP ConfAck id=0xa <compress VJ 0f 01> <addr 10.111.1.23> <ms-dns 10.111.1.5> <ms-wins 10.111.1.1> <ms-dns 10.111.1.5> <ms-wins 10.111.1.1>]
Aug 5 12:30:26 ns pppd[60264]: Peer is not authorized to use remote address 10.111.1.23
Aug 5 12:30:26 ns pppd[60264]: sent [IPCP TermReq id=0x2 "Unauthorized remote IP address"]
Aug 5 12:30:28 ns pppd[60264]: Hangup (SIGHUP)
Aug 5 12:30:28 ns pppd[60264]: Modem hangup, connected for 1 minutes
Aug 5 12:30:28 ns pppd[60264]: Connection terminated, connected for 1 minutes
Aug 5 12:30:28 ns pppd[60264]: Exit.
Самое инрересное что на тестовой машине все работает(с этим же логином и пасс)!!!!!!!!!конфиги!
less options.modem
57600
modem
crtscts
passive
mtu 576
ms-dns 10.111.1.1
ms-dns 10.111.1.5
ms-wins 10.111.1.1
#name dialin
debug
noipdefault
#defaultroute
nodetach
noccp
proxyarp
#idle 1000
require-pap
refuse-chap
lcp-echo-interval 30
lcp-echo-failure 4less options.cuaa0
10.111.1.22:10.111.1.23Сегодня уезжаю в отпуск, и вот такая фигня.
Помогите решить!!!!!
>Aug 5 12:30:26 ns pppd[60264]: Peer is not authorized to use
>remote address 10.111.1.23
>Aug 5 12:30:26 ns pppd[60264]: sent [IPCP TermReq id=0x2 "Unauthorized remote
>IP address"]ему походу не нравится айпишник откуда клиент заходит
в файле pap-secrets айпишник для этого пользователя какой указан?
или где там у тебя база хранится...
может в этом дело