Пытаюсь поднять сервер дайлапный на redhat 7.3 Стоит мультипортовка Moxa вот настройки:
/etc/inittab m1:2345:respawn:/sbin/mgetty -i/var/statserv/welcome /dev/ttyM1
/etc/mgetty+sendfax/login.conf * - - /bin/login @
/etc/mgetty+sendfax/mgetty.config/ port ttyM1 speed 115200 debug 5 data-only y init-chat "" ATZ OK ATM0L0 OK
/etc/ppp/option debug 115200 crtscts lock
/etc/ppp/options.ttyM1 192.168.0.1:192.168.0.21 ms-dns 192.168.0.1 lcp-echo-interval 300 lcp-echo-failure 10 noauth login modem crtscts mtu 576 mru 576
юзер имеет шелом /usr/sbin/pppd. pppd имеет u+s. в /etc/shells дописано /usr/sbin/pppd
Виндовый юзер дозванивается, в окошке вводит свои данные, идет соединение и тут же завершение сеанса. Абсолютно с этими же настройками все работало в Мандрейк 7.0. Что тут может быть за проблема? В логах видно вот что:
Feb 1 13:23:02 lion mgetty[11324]: data dev=ttyM1, pid=11324, caller='none', conn='31200/V34/LAPM/V42BIS/28800:TX/31200:RX', name='', cmd='/bin/login', user='natasha' Feb 1 13:23:04 lion login(pam_unix)[11324]: session opened for user natasha by LOGIN(uid=0) Feb 1 13:23:04 lion login -- natasha[11324]: LOGIN ON ttyM1 BY natasha Feb 1 13:23:04 lion pppd[11361]: pppd 2.4.1 started by natasha, uid 636 Feb 1 13:23:04 lion pppd[11361]: using channel 8 Feb 1 13:23:04 lion pppd[11361]: Using interface ppp1 Feb 1 13:23:04 lion pppd[11361]: Connect: ppp1 <--> /dev/ttyM1 Feb 1 13:23:04 lion pppd[11361]: sent [LCP ConfReq id=0x1 <mru 576> <asyncmap 0x0> <magic 0xb0f878d5> <pcomp> <accomp>] Feb 1 13:23:04 lion /etc/hotplug/net.agent: assuming ppp1 is already up Feb 1 13:23:07 lion pppd[11361]: sent [LCP ConfReq id=0x1 <mru 576> <asyncmap 0x0> <magic 0xb0f878d5> <pcomp> <accomp>] Feb 1 13:23:07 lion pppd[11361]: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x52242c> <pcomp> <accomp> <callback CBCP>] Feb 1 13:23:07 lion pppd[11361]: sent [LCP ConfRej id=0x1 <callback CBCP>] Feb 1 13:23:07 lion pppd[11361]: rcvd [LCP ConfAck id=0x1 <mru 576> <asyncmap 0x0> <magic 0xb0f878d5> <pcomp> <accomp>] Feb 1 13:23:07 lion pppd[11361]: rcvd [LCP ConfReq id=0x2 <asyncmap 0xa0000> <magic 0x52242c> <pcomp> <accomp>] Feb 1 13:23:07 lion pppd[11361]: sent [LCP ConfAck id=0x2 <asyncmap 0xa0000> <magic 0x52242c> <pcomp> <accomp>] Feb 1 13:23:07 lion pppd[11361]: sent [LCP EchoReq id=0x0 magic=0xb0f878d5] Feb 1 13:23:07 lion pppd[11361]: sent [IPCP ConfReq id=0x1 <addr 192.168.0.1> <compress VJ 0f 01>] Feb 1 13:23:07 lion pppd[11361]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>] Feb 1 13:23:07 lion pppd[11361]: rcvd [LCP EchoRep id=0x0 magic=0x52242c] Feb 1 13:23:07 lion pppd[11361]: rcvd [CCP ConfReq id=0x1 < 12 06 00 00 00 01> < 11 05 00 01 04>] Feb 1 13:23:07 lion pppd[11361]: sent [CCP ConfRej id=0x1 < 12 06 00 00 00 01> < 11 05 00 01 04>] Feb 1 13:23:07 lion pppd[11361]: rcvd [LCP ProtRej id=0x3 80 21 01 01 00 10 03 06 c0 a8 00 01 02 06 00 2d 0f 01] Feb 1 13:23:07 lion pppd[11361]: rcvd [CCP ConfRej id=0x1 <deflate 15> <deflate(old#) 15>] Feb 1 13:23:07 lion pppd[11361]: sent [CCP ConfReq id=0x2] Feb 1 13:23:07 lion pppd[11361]: rcvd [CCP ConfReq id=0x2] Feb 1 13:23:07 lion pppd[11361]: sent [CCP ConfAck id=0x2] Feb 1 13:23:07 lion pppd[11361]: rcvd [CCP ConfAck id=0x2] Feb 1 13:23:07 lion pppd[11361]: rcvd [CCP TermReq id=0x3] Feb 1 13:23:07 lion pppd[11361]: CCP terminated by peer Feb 1 13:23:07 lion pppd[11361]: sent [CCP TermAck id=0x3] Feb 1 13:23:07 lion pppd[11361]: Compression disabled by peer. Feb 1 13:23:07 lion pppd[11361]: rcvd [LCP TermReq id=0x4] Feb 1 13:23:07 lion pppd[11361]: LCP terminated by peer Feb 1 13:23:07 lion pppd[11361]: sent [LCP TermAck id=0x4] Feb 1 13:23:08 lion pppd[11361]: Hangup (SIGHUP) Feb 1 13:23:08 lion pppd[11361]: Modem hangup Feb 1 13:23:08 lion pppd[11361]: Connection terminated. Feb 1 13:23:08 lion pppd[11361]: Exit. Feb 1 13:23:08 lion login(pam_unix)[11324]: session closed for user natasha Feb 1 13:23:08 lion /etc/hotplug/net.agent: NET unregister event not supported