Добрый день.
Информации много, пересмотрел всю наверное уже. Но не чего не помогло :( Помогите разобраться. Не подключается и все тут.ifconfig
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=2808<VLAN_MTU,WOL_UCAST,WOL_MAGIC>
ether 00:40:63:de:50:6c
inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
vr1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=2808<VLAN_MTU,WOL_UCAST,WOL_MAGIC>
ether 00:40:63:de:50:53
inet 172.17.17.2 netmask 0xffffff00 broadcast 172.17.17.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1492
inet ххх.ххх.ххх.ххх --> ххх.ххх.ххх.ххх netmask 0xffffffff
Opened by PID 980
tun1: flags=8010<POINTOPOINT,MULTICAST> metric 0 mtu 1500
cat /etc/ppp/ppp.conf
default:
optima:
set device PPPoE:vr1 # <--- Указать ИП!!!!
set authname name
set authkey pass
set dial
set login
add default HISADDR
#
set log Phase tun command # you can add more detailed logging if you wish
set speed sync
set mru 1492
set mtu 1492
set ctsrts off
enable lqr
set timeout 0
set redial 10.3 0
set cd 5
set lqrperiod 5
enable lqr echo
vpn:
set authname name
set authkey pass
set timeout 300
set ifaddr 0 0
alias enable yes
cat /var/log/ppp.log
Dec 10 23:03:23 mail ppp[1060]: Phase: Using interface: tun1
Dec 10 23:03:23 mail ppp[1060]: Phase: deflink: Created in closed state
Dec 10 23:03:23 mail ppp[1060]: Phase: PPP Started (direct mode).
Dec 10 23:03:23 mail ppp[1060]: Phase: bundle: Establish
Dec 10 23:03:23 mail ppp[1060]: Phase: deflink: closed -> opening
Dec 10 23:03:23 mail ppp[1060]: Alert: deflink: Can't create /var/run/pts/1.if: No such file or directory
Dec 10 23:03:23 mail ppp[1060]: Phase: deflink: Connected!
Dec 10 23:03:23 mail ppp[1060]: Phase: deflink: opening -> carrier
Dec 10 23:03:24 mail ppp[1060]: Phase: deflink: /dev/pts/1: CD detected
Dec 10 23:03:24 mail ppp[1060]: Phase: deflink: carrier -> lcp
Dec 10 23:03:25 mail ppp[1060]: Phase: bundle: Authenticate
Dec 10 23:03:25 mail ppp[1060]: Phase: deflink: his = CHAP 0x81, mine = none
Dec 10 23:03:25 mail ppp[1060]: Phase: Chap Input: CHALLENGE (16 bytes from contractstroy)
Dec 10 23:03:25 mail ppp[1060]: Phase: Chap Output: RESPONSE ()
Dec 10 23:03:25 mail ppp[1060]: Phase: Chap Input: FAILURE (I don't like you. Go 'way.)
Dec 10 23:03:25 mail ppp[1060]: Phase: deflink: Disconnected!
Dec 10 23:03:25 mail ppp[1060]: Phase: deflink: Connect time: 2 secs: 273 octets in, 225 octets out
Dec 10 23:03:25 mail ppp[1060]: Phase: deflink: 6 packets in, 6 packets out
Dec 10 23:03:25 mail ppp[1060]: Phase: total 249 bytes/sec, peak 160 bytes/sec on Fri Dec 10 23:03:25 2010
Dec 10 23:03:25 mail ppp[1060]: Alert: deflink: Can't remove /var/run/pts/1.if: No such file or directory
Dec 10 23:03:25 mail ppp[1060]: Phase: deflink: lcp -> closed
Dec 10 23:03:25 mail ppp[1060]: Phase: bundle: Dead
Dec 10 23:03:25 mail ppp[1060]: Phase: PPP Terminated (normal).
Dec 10 23:11:15 mail ppp[1102]: Phase: Using interface: tun1
Dec 10 23:11:15 mail ppp[1102]: Phase: deflink: Created in closed state
Dec 10 23:11:15 mail ppp[1102]: Phase: PPP Started (direct mode).
Dec 10 23:11:15 mail ppp[1102]: Phase: bundle: Establish
Dec 10 23:11:15 mail ppp[1102]: Phase: deflink: closed -> opening
Dec 10 23:11:15 mail ppp[1102]: Phase: deflink: Connected!
Dec 10 23:11:15 mail ppp[1102]: Phase: deflink: opening -> carrier
Dec 10 23:11:16 mail ppp[1102]: Phase: deflink: /dev/pts/1: CD detected
Dec 10 23:11:16 mail ppp[1102]: Phase: deflink: carrier -> lcp
Dec 10 23:11:17 mail ppp[1102]: Phase: bundle: Authenticate
Dec 10 23:11:17 mail ppp[1102]: Phase: deflink: his = CHAP 0x81, mine = none
Dec 10 23:11:17 mail ppp[1102]: Phase: Chap Input: CHALLENGE (16 bytes from contractstroy)
Dec 10 23:11:17 mail ppp[1102]: Phase: Chap Output: RESPONSE ()
Dec 10 23:11:17 mail ppp[1102]: Phase: Chap Input: FAILURE (I don't like you. Go 'way.)
Dec 10 23:11:17 mail ppp[1102]: Phase: deflink: Disconnected!
Dec 10 23:11:17 mail ppp[1102]: Phase: deflink: Connect time: 2 secs: 269 octets in, 222 octets out
Dec 10 23:11:17 mail ppp[1102]: Phase: deflink: 7 packets in, 6 packets out
Dec 10 23:11:17 mail ppp[1102]: Phase: total 245 bytes/sec, peak 157 bytes/sec on Fri Dec 10 23:11:17 2010
Dec 10 23:11:17 mail ppp[1102]: Phase: deflink: lcp -> closed
Dec 10 23:11:17 mail ppp[1102]: Phase: bundle: Dead
Dec 10 23:11:17 mail ppp[1102]: Phase: PPP Terminated (normal).
Dec 10 23:11:44 mail ppp[1110]: Phase: Using interface: tun1
Dec 10 23:11:44 mail ppp[1110]: Phase: deflink: Created in closed state
Dec 10 23:11:44 mail ppp[1110]: Phase: PPP Started (direct mode).
Dec 10 23:11:44 mail ppp[1110]: Phase: bundle: Establish
Dec 10 23:11:44 mail ppp[1110]: Phase: deflink: closed -> opening
Dec 10 23:11:44 mail ppp[1110]: Phase: deflink: Connected!
Dec 10 23:11:44 mail ppp[1110]: Phase: deflink: opening -> carrier
Dec 10 23:11:45 mail ppp[1110]: Phase: deflink: /dev/pts/1: CD detected
Dec 10 23:11:45 mail ppp[1110]: Phase: deflink: carrier -> lcp
Dec 10 23:11:46 mail ppp[1110]: Phase: bundle: Authenticate
Dec 10 23:11:46 mail ppp[1110]: Phase: deflink: his = CHAP 0x81, mine = none
Dec 10 23:11:46 mail ppp[1110]: Phase: Chap Input: CHALLENGE (16 bytes from contractstroy)
Dec 10 23:11:46 mail ppp[1110]: Phase: Chap Output: RESPONSE ()
Dec 10 23:11:46 mail ppp[1110]: Phase: Chap Input: FAILURE (I don't like you. Go 'way.)
Dec 10 23:11:46 mail ppp[1110]: Phase: deflink: Disconnected!
Dec 10 23:11:46 mail ppp[1110]: Phase: deflink: Connect time: 2 secs: 268 octets in, 222 octets out
Dec 10 23:11:46 mail ppp[1110]: Phase: deflink: 6 packets in, 6 packets out
Dec 10 23:11:46 mail ppp[1110]: Phase: total 245 bytes/sec, peak 157 bytes/sec on Fri Dec 10 23:11:46 2010
Dec 10 23:11:46 mail ppp[1110]: Phase: deflink: lcp -> closed
Dec 10 23:11:46 mail ppp[1110]: Phase: bundle: Dead
Dec 10 23:11:46 mail ppp[1110]: Phase: PPP Terminated (normal).