задача настроить vpn соединение до провайдера.
Что имеем:
cld-9.9.1-x86_64
dhcp от провайдера
авторизация PAP
eth1 смотрит в сеть провайдера
что делал:
cat /etc/conf.d/net
config_eth0=("dhcp")
config_eth1=("dhcp")
config_ppp0=( "ppp" )
link_ppp0="pty 'pptp vpn.myprov.ru --nolaunchpppd'"
username_ppp0='LOGIN'
password_ppp0='PASSWORD'
pppd_ppp0=(
lock
nodeflate
nobsdcomp
persist
defaultroute
logfile /var/log/pptp-client.log
)
depend_ppp0() {
need net.eth1
}
Что получили:
ifconfig
eth0 Link encap:Ethernet HWaddr 00:23:54:3d:96:01
inet addr:192.168.1.13 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6172 errors:0 dropped:0 overruns:0 frame:0
TX packets:3444 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:5216588 (4.9 MiB) TX bytes:543994 (531.2 KiB)
Interrupt:29
eth1 Link encap:Ethernet HWaddr 00:0f:3d:f6:96:e5
inet addr:1.1.5.68 Bcast:1.1.5.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:431 errors:0 dropped:0 overruns:0 frame:170
TX packets:261 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:49430 (48.2 KiB) TX bytes:27607 (26.9 KiB)
Interrupt:16
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1000 (1000.0 B) TX bytes:1000 (1000.0 B)
cat /var/log/messages
Oct 23 11:16:20 calculate pppd[7253]: Connect: ppp0 <--> /dev/pts/5
Oct 23 11:16:20 calculate pppd[7253]: Child process pptp vpn.deozal.ru --nolaunchpppd (pid 7334) terminated with signal 15
Oct 23 11:16:20 calculate pptp[7350]: anon log: The synchronous pptp option is NOT activated
Oct 23 11:16:20 calculate pptp[7354]: anon log: Sent control packet type is 1 'Start-Control-Connection-Request'
Oct 23 11:16:20 calculate pptp[7354]: anon log: Received Start Control Connection Reply
Oct 23 11:16:20 calculate pptp[7354]: anon log: Client connection established.
Oct 23 11:16:21 calculate pptp[7354]: anon log: Sent control packet type is 7 'Outgoing-Call-Request'
Oct 23 11:16:51 calculate pppd[7253]: LCP: timeout sending Config-Requests
Oct 23 11:16:51 calculate pppd[7253]: Connection terminated.
Oct 23 11:16:51 calculate pppd[7253]: Modem hangup
Oct 23 11:16:56 calculate pptp[7354]: anon log: Closing connection (unhandled)
Oct 23 11:16:56 calculate pptp[7354]: anon log: Sent control packet type is 12 'Call-Clear-Request'
Oct 23 11:16:56 calculate pptp[7354]: anon log: Closing connection (call state)
Oct 23 11:16:56 calculate pppd[7253]: Using interface ppp0
Oct 23 11:16:56 calculate pppd[7253]: Connect: ppp0 <--> /dev/pts/3
Oct 23 11:16:56 calculate pppd[7253]: Child process pptp vpn.deozal.ru --nolaunchpppd (pid 7350) terminated with signal 15
Oct 23 11:16:56 calculate pptp[7366]: anon log: The synchronous pptp option is NOT activated
Oct 23 11:16:56 calculate pptp[7370]: anon log: Sent control packet type is 1 'Start-Control-Connection-Request'
Oct 23 11:16:56 calculate pptp[7370]: anon log: Received Start Control Connection Reply
Oct 23 11:16:56 calculate pptp[7370]: anon log: Client connection established.
Oct 23 11:16:57 calculate pptp[7370]: anon log: Sent control packet type is 7 'Outgoing-Call-Request'
Oct 23 11:17:27 calculate pppd[7253]: LCP: timeout sending Config-Requests
Oct 23 11:17:27 calculate pppd[7253]: Connection terminated.
Oct 23 11:17:27 calculate pppd[7253]: Modem hangup
cat /var/log/pptp-client.log
Modem hangup
Using interface ppp0
Connect: ppp0 <--> /dev/pts/5
Child process pptp vpn.deozal.ru --nolaunchpppd (pid 7399) terminated with signal 15
Или лыжи неедут или просто не сезон (
Посоветуйте