Даже и не знаю, куда это бросать - толи в сюда, толи в форум по мобильным :-(

Собственно, subj.
Под Win2K/XP все работает!
Может, кто с таким встречался?

pppd 2.4.1.

Serial connection established.
using channel 2
Using interface ppp0
Connect: ppp0 <--> /dev/modem
rcvd [LCP ConfReq id=0x3 <mru 1600> <auth pap> <magic 0x5fb8dec7> <asyncmap 0x0> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <mru 576> <asyncmap 0x0> <magic 0x39732319>]
sent [LCP ConfRej id=0x3 <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <mru 576> <asyncmap 0x0> <magic 0x39732319>]
rcvd [LCP ConfReq id=0x4 <mru 1600> <auth pap> <magic 0x5fb8dec7> <asyncmap 0x0>]
sent [LCP ConfAck id=0x4 <mru 1600> <auth pap> <magic 0x5fb8dec7> <asyncmap 0x0>]
sent [PAP AuthReq id=0x1 user="motiv" password=<hidden>]
rcvd [PAP AuthAck id=0x1 "TTP Com PPP - Password Verified OK"]
Remote message: TTP Com PPP - Password Verified OK
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15 18 04 78 00]
rcvd [LCP ProtRej id=0x1 80 fd 88 22 06 08 77 cc 05 01 ac 65 1a 08 c8 20 06 08 e4 20]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfNak id=0x1 <addr 172.30.64.39> <ms-dns1 217.148.52.3> <ms-dns3 217.148.52.34>]
sent [IPCP ConfReq id=0x2 <addr 172.30.64.39> <ms-dns1 217.148.52.3> <ms-dns3 217.148.52.34>]
rcvd [IPCP ConfReq id=0x2 <addr 255.255.255.255>]
sent [IPCP ConfAck id=0x2 <addr 255.255.255.255>]
rcvd [IPCP ConfAck id=0x2 <addr 172.30.64.39> <ms-dns1 217.148.52.3> <ms-dns3 217.148.52.34>]
Peer is not authorized to use remote address 255.255.255.255
sent [IPCP TermReq id=0x3 "Unauthorized remote IP address"]
rcvd [IPCP TermAck id=0x3]
sent [LCP TermReq id=0x2 "No network protocols running"]
rcvd [LCP TermAck id=0x2]
Connection terminated.
Connect time 0.2 minutes.
Sent 110 bytes, received 54 bytes.

Файл pap-secrets:

# Secrets for authentication using PAP
# client server secret IP addresses
motiv * motiv *

Скрипт подключения:

#!/bin/sh
DIALTIMEOUT=20

MODEM=modem SPEED=115200 MODEM_INIT='AT+CGDCONT=1,\"IP\",\"town.ycc.ru\" OK'
IH_IP=" ipcp-accept-local ipcp-accept-remote noipdefault
debug usepeerdns user motiv mtu 576
novj nobsdcomp novjccomp nopcomp noaccomp"
LOGSCRIPT="CONNECT"
PHONE="*99***1#"

DR=`route -n | egrep '^0.0.0.0'| grep -v ppp | sed 's/^[^ ]* *\([^ ]*\) .*/default gw \1/'` ;
if [ -n "$DR" ] ; then
trap "echo route add $DR ; route add $DR ; exit" 2 3 9 15
route delete $DR
echo route delete $DR
fi
while true ; do
pppd \
connect 'chat -v ABORT "NO DIALTONE" ABORT "NO CARRIER" ABORT BUSY "" '"$MODEM_INIT"' ATDP'$PHONE' '"$LOGSCRIPT"' ;' \
crtscts defaultroute modem -detach mru 576 \
$NASH_IP:$IH_IP /dev/$MODEM $SPEED
cat /etc/ppp/resolv.conf > /etc/resolv.conf
sleep $DIALTIMEOUT
done
0
Лучше на knoppix.ru в форум
0
У меня он отлично работал :-)
0
oldman
hi, денис. не в коня овёс. в смысле, не тот форум.
0
Авторизуйтесь, чтобы принять участие в дискуссии.