С Ubuntu недавно, возникла проблема с настройкой vpn. Все настроил как требуется, подключаюсь, и в течении минуты ВПН сбрасывается. Подсеть 192.168.1.1.
Забыл указать, настройка через network manager, Верстия Ubuntu 12.10
Таблица маршутизации ядра протокола IP
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
91.199.92.66 192.168.1.1 255.255.255.255 UGH 0 0 0 wlan0
91.199.92.66 192.168.1.1 255.255.255.255 UGH 0 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan0
192.168.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
$ ifconfig
eth0 Link encap:Ethernet HWaddr e8:03:9a:e1:e4:30
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Локальная петля (Loopback)
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12914 errors:0 dropped:0 overruns:0 frame:0
TX packets:12914 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4983063 (4.9 MB) TX bytes:4983063 (4.9 MB)
ppp0 Link encap:Протокол PPP (Point-to-Point Protocol)
inet addr:192.168.1.214 P-t-P:192.168.1.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1400 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:96 (96.0 B) TX bytes:102 (102.0 B)
wlan0 Link encap:Ethernet HWaddr 50:b7:c3:16:6c:9d
inet addr:192.168.1.104 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::52b7:c3ff:fe16:6c9d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:249059 errors:0 dropped:0 overruns:0 frame:0
TX packets:167842 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:326718239 (326.7 MB) TX bytes:22556223 (22.5 MB)
grep pppd /var/log/syslog |tail -n 20
Dec 9 00:23:06 dmitriy pppd[14663]: Child process /usr/sbin/pptp 91.199.92.66 --nolaunchpppd --loglevel 0 --logstring nm-pptp-service-14659 (pid 14665) terminated with signal 15
Dec 9 00:23:07 dmitriy pppd[14663]: Connection terminated.
Dec 9 00:23:07 dmitriy pptp[14666]: nm-pptp-service-14659 warn[decaps_hdlc:pptp_gre.c:216]: pppd may have shutdown, see pppd log
Dec 9 00:23:07 dmitriy pppd[14663]: Exit.
Dec 9 00:28:12 dmitriy pppd[14810]: Plugin /usr/lib/pppd/2.4.5/nm-pptp-pppd-plugin.so loaded.
Dec 9 00:28:12 dmitriy pppd[14810]: pppd 2.4.5 started by root, uid 0
Dec 9 00:28:12 dmitriy pppd[14810]: Using interface ppp0
Dec 9 00:28:12 dmitriy pppd[14810]: Connect: ppp0 <--> /dev/pts/3
Dec 9 00:28:13 dmitriy pppd[14810]: CHAP authentication succeeded
Dec 9 00:28:13 dmitriy pppd[14810]: MPPE 128-bit stateless compression enabled
Dec 9 00:28:13 dmitriy pppd[14810]: local IP address 192.168.1.214
Dec 9 00:28:13 dmitriy pppd[14810]: remote IP address 192.168.1.1
Dec 9 00:28:13 dmitriy pppd[14810]: primary DNS address 91.199.92.200
Dec 9 00:28:13 dmitriy pppd[14810]: secondary DNS address 91.199.92.33
Dec 9 00:30:13 dmitriy pppd[14810]: Modem hangup
Dec 9 00:30:13 dmitriy pppd[14810]: Connect time 2.0 minutes.
Dec 9 00:30:13 dmitriy pppd[14810]: Sent 16739 bytes, received 11003 bytes.
Dec 9 00:30:13 dmitriy pppd[14810]: MPPE disabled
Dec 9 00:30:13 dmitriy pppd[14810]: Connection terminated.
Dec 9 00:30:13 dmitriy pppd[14810]: Exit.
При попытке прописать маршрут, вот такое вот происходит
ip route add -net 192.168.1.0/24 gw 192.168.1.214 metric 1
Error: an inet prefix is expected rather than "-net".
Уже не первый день мучусь, буду благодарен за помощь