PDA

View Full Version : Проблема с VPN


Flitzen
14-06-2008, 18:44
Провайдер ГолденТелеком Екатеринбург..
роутер wl-500gP прошивка Олега..
WAN Connection Type: PPTP
WAN Connection Speed: Auto
Get IP automatically? yes
Get DNS Server automatically? yes
User Name: **
Password: **
Idle Disconnect Time in seconds(option):
PPTP Options: none
Additional pppd options: nomppe nomppc sync
Enable PPPoE Relay? yes
Heart-Beat or PPTP/L2TP (VPN) Server: 10.19.0.1 --sync --nobuffer

Вчера настроил все с трудом, все работало.. сегодня постоянные обрывы соединения впн

вот лог..
Jan 1 00:00:07 kernel: vlan1: Setting MAC address to 00 1e 8c 3e 08 ff.
Jan 1 00:00:07 kernel: VLAN (vlan1): Underlying device (eth0) has same MAC, not checking promiscious mode.
Jan 1 00:00:07 udhcpc[100]: udhcpc (v0.9.9-pre) started
Jan 1 00:00:07 dhcp client: deconfig: lease is lost
Jan 1 00:00:07 udhcpc[100]: Lease of 10.107.31.114 obtained, lease time 43200
Jan 1 00:00:08 dnsmasq[73]: read /etc/hosts - 5 addresses
Jan 1 00:00:08 dnsmasq[73]: reading /tmp/resolv.conf
Jan 1 00:00:08 dnsmasq[73]: using nameserver 172.18.49.14#53
Jan 1 00:00:08 dnsmasq[73]: using nameserver 172.18.49.10#53
Jan 1 00:00:08 dhcp client: bound IP : 10.107.31.114 from 10.107.31.1
Jan 1 00:00:08 pppd[110]: pppd 2.4.2 started by flitzen, uid 0
Jan 1 00:00:08 pppd[110]: Serial connection established.
Jan 1 00:00:08 pppd[110]: Using interface ppp0
Jan 1 00:00:08 pppd[110]: Connect: ppp0 <--> /dev/pts/0
Jan 1 00:00:10 kernel: printer.c: usblp0 Device ID string [57/max 1552]='MFG:Brother;CMD:PJL,HBP;MDL:HL-2030 series;CLS:PRINTER;'
Jan 1 00:00:10 kernel: printer.c: Parsing USBLPID...
Jan 1 00:00:15 pppd[110]: local IP address 217.114.230.23
Jan 1 00:00:15 pppd[110]: remote IP address 10.19.0.1
Jan 1 00:00:15 pppd[110]: primary DNS address 195.58.27.158
Jan 1 00:00:15 pppd[110]: secondary DNS address 195.58.1.145
Jan 1 00:00:15 dnsmasq[73]: read /etc/hosts - 5 addresses
Jan 1 00:00:15 dnsmasq[73]: reading /tmp/resolv.conf
Jan 1 00:00:15 dnsmasq[73]: using nameserver 195.58.1.145#53
Jan 1 00:00:15 dnsmasq[73]: using nameserver 195.58.27.158#53
Jan 1 00:00:15 PPTP: connect to ISP
Jun 14 16:16:28 ntp client: Synchronizing time with time.nist.gov ...
Jun 14 16:17:40 kernel: printer.c: usblp0 Device ID string [57/max 1552]='MFG:Brother;CMD:PJL,HBP;MDL:HL-2030 series;CLS:PRINTER;'
Jun 14 16:17:40 kernel: printer.c: Parsing USBLPID...
Jun 14 16:18:04 pppd[110]: Modem hangup
Jun 14 16:18:04 pppd[110]: Connection terminated.
Jun 14 16:18:04 pppd[110]: Connect time 20224338.0 minutes.
Jun 14 16:18:04 pppd[110]: Sent 1617723 bytes, received 244970 bytes.
Jun 14 16:18:04 dnsmasq[73]: read /etc/hosts - 5 addresses
Jun 14 16:18:04 dnsmasq[73]: reading /tmp/resolv.conf
Jun 14 16:18:04 dnsmasq[73]: using nameserver 172.18.49.14#53
Jun 14 16:18:04 dnsmasq[73]: using nameserver 172.18.49.10#53
Jun 14 16:18:04 PPTP: Disconnected
Jun 14 16:18:04 pppd[110]: Child process /tmp/ppp/ip-down (pid 147) terminated with signal 11
Jun 14 16:18:34 pppd[110]: Serial connection established.
Jun 14 16:18:34 pppd[110]: Using interface ppp0
Jun 14 16:18:34 pppd[110]: Connect: ppp0 <--> /dev/pts/0
Jun 14 16:18:34 pptp[151]: route_add: not adding existing route
Jun 14 16:18:42 pppd[110]: local IP address 217.114.230.119
Jun 14 16:18:42 pppd[110]: remote IP address 10.19.0.1
Jun 14 16:18:42 pppd[110]: primary DNS address 195.58.27.158
Jun 14 16:18:42 pppd[110]: secondary DNS address 195.58.1.145
Jun 14 16:18:43 dnsmasq[73]: read /etc/hosts - 5 addresses
Jun 14 16:18:43 dnsmasq[73]: reading /tmp/resolv.conf
Jun 14 16:18:43 dnsmasq[73]: using nameserver 195.58.1.145#53
Jun 14 16:18:43 dnsmasq[73]: using nameserver 195.58.27.158#53
Jun 14 16:18:43 PPTP: connect to ISP
Jun 14 16:18:56 kernel: printer.c: usblp0 Device ID string [57/max 1552]='MFG:Brother;CMD:PJL,HBP;MDL:HL-2030 series;CLS:PRINTER;'
Jun 14 16:18:56 kernel: printer.c: Parsing USBLPID...
Jun 14 16:19:29 pppd[110]: Modem hangup
Jun 14 16:19:29 pppd[110]: Connection terminated.
Jun 14 16:19:29 pppd[110]: Connect time 1.0 minutes.
Jun 14 16:19:29 pppd[110]: Sent 341941 bytes, received 46739 bytes.
Jun 14 16:19:29 dnsmasq[73]: read /etc/hosts - 5 addresses
Jun 14 16:19:29 dnsmasq[73]: reading /tmp/resolv.conf
Jun 14 16:19:29 dnsmasq[73]: using nameserver 172.18.49.14#53
Jun 14 16:19:29 dnsmasq[73]: using nameserver 172.18.49.10#53
Jun 14 16:19:29 PPTP: Disconnected
Jun 14 16:19:29 pppd[110]: Child process /tmp/ppp/ip-down (pid 166) terminated with signal 11

и еще когда ставлю на компе в соединении днс роутера, комп адреса не получает(смотрим пинг), если ставлю днс адреса которые у роутера высвечиваютсяв статусе соединения, то все работает.. хотя щас совсем ничего почти не работает..
пожалуйста, помогите советом..

avk
14-06-2008, 21:37
Прошивка .7-10?

Попробуйте так:
и принтер пока отключите

WAN Connection Type: PPTP
WAN Connection Speed: Auto
Get IP automatically? yes
Get DNS Server automatically? yes
User Name: **
Password: **
Idle Disconnect Time in seconds(option): 0
PPTP Options: none
Additional pppd options: <пусто>
Enable PPPoE Relay? No
Heart-Beat or PPTP/L2TP (VPN) Server: 10.19.0.1

Flitzen
14-06-2008, 22:30
поставил Idle Disconnect Time in seconds(option): 0, пока работает
да, прошивка .7-10
посмотрим будет ли работать завтра, пасиба большое..