У меня так и неполучилось.
Вроде бы ни чего сложного, всё набрал как дано в описании настройки pppd. А всё равно что-то мешает, но вот что где искать?
Удивительно с Windows98 под этим логином я коннекчюсь к провайдеру, а под freebsd pppd рвётся, модем кладёт трубку. Я добавил в options:
+pap
-chap
Мои файлы настройки:
>/etc/ppp/options
modem
crtscts
nodetach
persist
debug
defaultroute
+pap
-chap
>/etc/ppp/pap-secrets
test61 * test61
>/etc/ppp/ppp.chat
ABORT "ERROR"
ABORT "NO CARRIER"
TIMEOUT 10
"" "AT"
"OK" "ATZ"
"OK" "ATDP619161"
TIMEOUT 30
"CONNECT" "\c"
TIMEOUT 30
ogin: test61 assword: test61
/var/log/pppd.log
May 7 20:37:05 gts61 pppd[296]: pppd 2.3.5 started by shura, uid 0
May 7 20:37:12 gts61 pppd[296]: Serial connection established.
May 7 20:37:13 gts61 pppd[296]: Using interface ppp0
May 7 20:37:13 gts61 pppd[296]: Connect: ppp0 <--> /dev/cuaa0
May 7 20:37:13 gts61 pppd[296]: sent [LCP ConfReq id=0x1 <auth chap 05> <magic
0x3d5b7864> <pcomp> <accomp>]
May 7 20:37:16 gts61 pppd[296]: sent [LCP ConfReq id=0x1 <auth chap 05> <magic
0x3d5b7864> <pcomp> <accomp>]
May 7 20:37:19 gts61 pppd[296]: rcvd [LCP ConfReq id=0xd7 <asyncmap 0xa0000>
<auth chap 05> <magic 0x8652b6a3> <pcomp> <accomp>]
May 7 20:37:19 gts61 pppd[296]: sent [LCP ConfRej id=0xd7 <auth chap 05>]
May 7 20:37:19 gts61 pppd[296]: rcvd [LCP ConfReq id=0xd8 <asyncmap 0xa0000>
<auth chap 05> <magic 0x8652b6a3> <pcomp> <accomp>]
May 7 20:37:19 gts61 pppd[296]: sent [LCP ConfRej id=0xd8 <auth chap 05>]
May 7 20:37:19 gts61 pppd[296]: rcvd [LCP ConfReq id=0xd9 <asyncmap 0xa0000>
<auth chap 05> <magic 0x8652b6a3> <pcomp> <accomp>]
May 7 20:37:19 gts61 pppd[296]: sent [LCP ConfRej id=0xd9 <auth chap 05>]
May 7 20:37:19 gts61 pppd[296]: rcvd [LCP ConfReq id=0xda <asyncmap 0xa0000>
<auth chap 05> <magic 0x8652b6a3> <pcomp> <accomp>]
May 7 20:37:19 gts61 pppd[296]: sent [LCP ConfRej id=0xda <auth chap 05>]
May 7 20:37:19 gts61 pppd[296]: rcvd [LCP ConfReq id=0xdb <asyncmap 0xa0000>
<auth chap 05> <magic 0x8652b6a3> <pcomp> <accomp>]
May 7 20:37:19 gts61 pppd[296]: sent [LCP ConfRej id=0xdb <auth chap 05>]
May 7 20:37:19 gts61 pppd[296]: rcvd [LCP ConfReq id=0xdc <asyncmap 0xa0000>
<auth chap 05> <magic 0x8652b6a3> <pcomp> <accomp>]
May 7 20:37:19 gts61 pppd[296]: sent [LCP ConfRej id=0xdc <auth chap 05>]
May 7 20:37:19 gts61 pppd[296]: rcvd [LCP ConfReq id=0xdd <asyncmap 0xa0000>
<auth chap 05> <magic 0x8652b6a3> <pcomp> <accomp>]
May 7 20:37:19 gts61 pppd[296]: sent [LCP ConfRej id=0xdd <auth chap 05>]
May 7 20:37:19 gts61 pppd[296]: rcvd [LCP ConfReq id=0xde <asyncmap 0xa0000>
<auth chap 05> <magic 0x8652b6a3> <pcomp> <accomp>]
May 7 20:37:19 gts61 pppd[296]: sent [LCP ConfRej id=0xde <auth chap 05>]
May 7 20:37:19 gts61 pppd[296]: rcvd [LCP ConfReq id=0xdf <asyncmap 0xa0000>
<auth chap 05> <magic 0x8652b6a3> <pcomp> <accomp>]
May 7 20:37:19 gts61 pppd[296]: sent [LCP ConfRej id=0xdf <auth chap 05>]
May 7 20:37:19 gts61 pppd[296]: rcvd [LCP ConfReq id=0xe0 <asyncmap 0xa0000>
<auth chap 05> <magic 0x8652b6a3> <pcomp> <accomp>]
May 7 20:37:19 gts61 pppd[296]: sent [LCP ConfRej id=0xe0 <auth chap 05>]
May 7 20:37:19 gts61 pppd[296]: sent [LCP ConfReq id=0x1 <auth chap 05> <magic
0x3d5b7864> <pcomp> <accomp>]
May 7 20:37:19 gts61 pppd[296]: rcvd [LCP ConfReq id=0xe1 <asyncmap 0xa0000>
<auth chap 05> <magic 0x8652b6a3> <pcomp> <accomp>]
May 7 20:37:19 gts61 pppd[296]: sent [LCP ConfRej id=0xe1 <auth chap 05>]
May 7 20:37:19 gts61 pppd[296]: rcvd [LCP ConfAck id=0x1 <auth chap 05> <magic
0x3d5b7864> <pcomp> <accomp>]
May 7 20:37:19 gts61 pppd[296]: rcvd [LCP TermReq id=0xe2]
May 7 20:37:19 gts61 pppd[296]: sent [LCP TermAck id=0xe2]
May 7 20:37:20 gts61 pppd[296]: Modem hangup, connected for 1 minutes
May 7 20:37:20 gts61 pppd[296]: Connection terminated, connected for 1 minutes
May 7 20:37:25 gts61 pppd[296]: Terminating on signal 2.
May 7 20:37:25 gts61 pppd[296]: Exit.
|