Здравствуйте!<br><br>Я имею локальную сеть с указанием ip, dns, шлюз и VPN с Именем Паролем и Сервером Доступа<br><br><br>При настройке сети как в <a href="http://www.freesource.info/wiki/AltLinux/Dokumentacija/NastrojjkaVPN&">http://www.freesource.info/wiki/AltLinux/Dokumentacija/NastrojjkaVPN&</a> <br>
<h3><font size="2"><span style="font-weight: normal;"> С etcnet после перезагрузки сеть не работает интернет тоже.</span></font></h3>При настройке как в сети <a href="http://bbs.krasnogorsk.ru/forum/index.php?showtopic=32652">http://bbs.krasnogorsk.ru/forum/index.php?showtopic=32652</a><br>
результаты ниже:<br><b>pppd -v</b><br><br>pppd: unrecognized option '-v'<br>pppd version 2.4.4<br><br><b>pptp</b><br><br>pptp version 1.7.0<br><b><br>chap-secrets</b><br><br># Secrets for authentication using CHAP<br>
# client        server        secret                        IP addresses<br>XXX PPTP XXX *<br><br><b>tunnel</b><br><br>pty "pptp <a href="http://ns5.krasnogorsk.ru">ns5.krasnogorsk.ru</a> --nolaunchpppd"<br>name XXX<br>remotename PPTP<br>file /etc/ppp/options.pptp<br>
ipparam tunnel<br><br><b>options.pptp</b><br><br>lock noauth nobsdcomp nodeflate<br>nodetach # не уходить в фон (потом можно убрать)<br>debug # отладочная информация(потом можно убрать)<br>noipdefault<br>ipcp-accept-local<br>
ipcp-accept-remote<br>defaultroute # выставить шлюз по умолчанию<br><br><b>route del default</b><br><b><br>route add -net <a href="http://192.168.0.0">192.168.0.0</a> netmask <a href="http://255.255.0.0">255.255.0.0</a> gw 192.168.xx.x eth0</b><br>
<b><br>route add <a href="http://ns5.krasnogorsk.ru">ns5.krasnogorsk.ru</a> gw <a href="http://192.168.33.1">192.168.33.1</a> eth0</b><br><br><b>pppd call tunnel</b><br><br>using channel 2<br>Using interface ppp0<br>Connect: ppp0 <--> /dev/pts/5<br>
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x39069de1> <pcomp> <accomp>]<br>rcvd
[LCP ConfReq id=0x1 <asyncmap 0x0> <auth eap> <magic
0x896f9e3d> <pcomp> <a ccomp>]<br>sent [LCP ConfAck
id=0x1 <asyncmap 0x0> <auth eap> <magic 0x896f9e3d>
<pcomp> <a ccomp>]<br>sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x39069de1> <pcomp> <accomp>]<br>rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x39069de1> <pcomp> <accomp>]<br>
rcvd [LCP EchoReq id=0x0 magic=0x896f9e3d]<br>sent [LCP EchoRep id=0x0 magic=0x39069de1]<br>rcvd [EAP Request id=0xc1 Identity <Message "Name">]<br>EAP: Identity prompt "Name"<br>sent [EAP Response id=0xc1 Identity <Name "makarov90">]<br>
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth eap> <magic 0xdae34a21> <pcomp> <accomp>]<br>sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x2b0b7af5> <pcomp> <accomp>]<br>
sent [LCP ConfAck id=0x2 <asyncmap 0x0> <auth eap> <magic 0xdae34a21> <pcomp> <accomp>]<br>rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x39069de1> <pcomp> <accomp>]<br>
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0x2b0b7af5> <pcomp> <accomp>]<br>rcvd [LCP EchoReq id=0x0 magic=0xdae34a21]<br>sent [LCP EchoRep id=0x0 magic=0x2b0b7af5]<br>rcvd [EAP Request id=0xc1 Identity <Message "Name">]<br>
EAP: Identity prompt "Name"<br>sent [EAP Response id=0xc1 Identity <Name "makarov90">]<br>rcvd [EAP Request id=0xc2 MD5-Challenge <Value 9b 34 bb c6 59 58 07 9e 47 34 f7 a4 02 03 43 63 2c 95> <Name "ns5">]<br>
sent [EAP Response id=0xc2 MD5-Challenge <Value 8a ae ce d5 af 39 5b 48 aa 0b 90 fa f0 10 10 36> <Name "makarov90">]<br>rcvd [EAP Success id=0xc3]<br>EAP authentication succeeded<br>sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr <a href="http://0.0.0.0">0.0.0.0</a>>]<br>
rcvd [CCP ConfReq id=0x1 <mppe -H -M -S -L -D +C> <deflate 15> <deflate(old#) 15>]<br>sent [CCP ConfReq id=0x1]<br>sent [CCP ConfRej id=0x1 <mppe -H -M -S -L -D +C> <deflate 15> <deflate(old#) 15>]<br>
rcvd [IPCP ConfReq id=0x1 <addr <a href="http://10.168.0.5">10.168.0.5</a>>]<br>sent [IPCP ConfAck id=0x1 <addr <a href="http://10.168.0.5">10.168.0.5</a>>]<br>rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]<br>
sent [IPCP ConfReq id=0x2 <addr <a href="http://0.0.0.0">0.0.0.0</a>>]<br>rcvd [CCP ConfAck id=0x1]<br>rcvd [CCP ConfReq id=0x2]<br>sent [CCP ConfAck id=0x2]<br>rcvd [IPCP ConfNak id=0x2 <addr <a href="http://10.168.33.95">10.168.33.95</a>>]<br>
sent [IPCP ConfReq id=0x3 <addr <a href="http://10.168.33.95">10.168.33.95</a>>]<br>rcvd [IPCP ConfAck id=0x3 <addr <a href="http://10.168.33.95">10.168.33.95</a>>]<br>local IP address <a href="http://10.168.33.95">10.168.33.95</a><br>
remote IP address <a href="http://10.168.0.5">10.168.0.5</a><br>Script /etc/ppp/ip-up started (pid 6403)<br>Script /etc/ppp/ip-up finished (pid 6403), status = 0x0<br>rcvd [CCP ConfReq id=0x2]<br>sent [CCP ConfReq id=0x2]<br>
sent [CCP ConfAck id=0x2]<br>rcvd [CCP ConfAck id=0x2]<br>rcvd [CCP ConfReq id=0x2]<br>sent [CCP ConfReq id=0x3]<br>sent [CCP ConfAck id=0x2]<br>rcvd [CCP ConfAck id=0x3]<br>rcvd [CCP ConfReq id=0x2]<br>sent [CCP ConfReq id=0x4]<br>
sent [CCP ConfAck id=0x2]<br>rcvd [CCP ConfAck id=0x4]<br><br><br>ИНТЕНЕТ РАБОТАЕТ<br><br><b>ifconfig ppp0</b><br><br>ppp0 Link encap:Point-to-Point Protocol<br> inet addr:10.168.хх.95 P-t-P:<a href="http://10.168.0.5">10.168.0.5</a> Mask:<a href="http://255.255.255.255">255.255.255.255</a><br>
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1<br> RX packets:609 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:645 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:3<br>
RX bytes:447490 (437.0 KiB) TX bytes:86474 (84.4 KiB)<br><br><b>Ctrl-C</b><br><br>Terminating on signal 2<br>Script pptp <a href="http://ns5.krasnogorsk.ru">ns5.krasnogorsk.ru</a> --nolaunchpppd finished (pid 6398), status = 0x0<br>
Modem hangup<br>Connect time 2.9 minutes.<br>Sent 86402 bytes, received 447424 bytes.<br>Script /etc/ppp/ip-down started (pid 6466)<br>Connection terminated.<br>Waiting for 1 child processes...<br> script /etc/ppp/ip-down, pid 6466<br>
Script /etc/ppp/ip-down finished (pid 6466), status = 0x1<br><br><b>pppd call tunnel</b><br>ИНТЕРНЕТ РАБОТАЕТ<br><br><b>killall pppd</b><br>ИНТЕРНЕТ НЕ РАБОТАЕТ<br><br><b>route -v</b><br><br>Kernel IP routing table<br>Destination Gateway Genmask Flags Metric Ref Use Iface<br>
<a href="http://192.168.100.203">192.168.100.203</a> 192.168.xx.1 <a href="http://255.255.255.255">255.255.255.255</a> UGH 0 0 0 eth0<br>192.168.xx.0 * <a href="http://255.255.255.0">255.255.255.0</a> U 0 0 0 eth0<br>
<a href="http://192.168.0.0">192.168.0.0</a> <a href="http://192.168.33.1">192.168.33.1</a> <a href="http://255.255.0.0">255.255.0.0</a> UG 0 0 0 eth0<br><br><br>Я не знаю как перезагрузить службу поэтому пошел на перезагрузку.<br>
<i><br><b>Продолжение следует ...<br></b></i><b>Сразу после перезагрузки </b><br><br><b>route -v</b><br><br>Kernel IP routing table<br>Destination Gateway Genmask Flags Metric Ref Use Iface<br><br>СЕТЬ В БРАУЗЕРЕ НЕ ОТКРЫВАЕТСЯ<br>
<br><b>Центр управления системы Сеть IP Интерфейсы<br>Жму ПРИМЕНИТЬ</b><br><br>Сеть в браузере открывается<br><br><b>route -v</b><br><br>Kernel IP routing table<br>Destination Gateway Genmask Flags Metric Ref Use Iface<br>
192.168.хх.0 * <a href="http://255.255.255.0">255.255.255.0</a> U 0 0 0 eth0<br>default 192.168.хх.1 <a href="http://0.0.0.0">0.0.0.0</a> UG 0 0 0 eth0<br>
<br>ИНТЕРНЕТ НЕ РАБОТАЕТ<br><br><b>pppd call tunnel</b><br><br>ВСЕ РАВНО НЕ РАБОТАЕТ<br><b><br>route -v</b><br><br>Kernel IP routing table<br>Destination Gateway Genmask Flags Metric Ref Use Iface<br>
<br><b>Центр управления системы Сеть IP Интерфейсы<br>Жму ПРИМЕНИТЬ</b><br><br>СЕТЬ РАБОТАЕТ<br><br>route -v<br>Kernel IP routing table<br>Destination Gateway Genmask Flags Metric Ref Use Iface<br>192.168.хх.0 * <a href="http://255.255.255.0">255.255.255.0</a> U 0 0 0 eth0<br>
default 192.168.хх.1 <a href="http://0.0.0.0">0.0.0.0</a> UG 0 0 0 eth0<br><br><br><b>Снова pppd call tunnel </b><br><br>СЕТЬ НЕ РАБОТАЕТ<br><br><b>Центр управления системы Сеть IP Интерфейсы<br>
Жму ПРИМЕНИТЬ</b><br><br>СЕТЬ РАБОТАЕТ<br><br><b>route -v</b><br><br>Kernel IP routing table<br>Destination Gateway Genmask Flags Metric Ref Use Iface<br>192.168.хх.0 * <a href="http://255.255.255.0">255.255.255.0</a> U 0 0 0 eth0<br>
default 192.168.хх.1 <a href="http://0.0.0.0">0.0.0.0</a> UG 0 0 0 eth0<br><br><b><br>и т.д.</b><br><br>ПОМОГИТЕ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>-- <br>С Уважением, Александр Макаров!<br>
<a href="mailto:5234378@gmail.com">5234378@gmail.com</a>