Настройка pptp соединения в терминале

Автор Metrix, 09 июня 2011, 22:43:49

« назад - далее »

0 Пользователи и 3 гостей просматривают эту тему.

Metrix

После pon ufanet ifconfig вывел это
eth0      Link encap:Ethernet  HWaddr 70:5a:b6:c0:76:f7 
          inet addr:10.163.50.36  Bcast:10.163.50.255  Mask:255.255.255.0
          inet6 addr: 2002:5e29:f7a7:4:725a:b6ff:fec0:76f7/64 Scope:Global
          inet6 addr: fec0::4:725a:b6ff:fec0:76f7/64 Scope:Site
          inet6 addr: fe80::725a:b6ff:fec0:76f7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7511 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1038 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:631047 (616.2 KiB)  TX bytes:96973 (94.7 KiB)
          Interrupt:44 Base address:0x4000

lo        Link encap:Local 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:1869 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1869 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:188448 (184.0 KiB)  TX bytes:188448 (184.0 KiB)
Юзербар в отпуске

Kettler

#46
брррр

убери
refuse-pap
refuse-eap
refuse-chap
refuse-mschap

также
ipparam ufanet

блин тут свой ип или верни
pty "pptp vpn.ufanet.ru"

и пробуй не забудь ifconfig сюды. Про логи тоже напоминаю
Ищу новое местечко для общения.
Чуть не забыл пишу по русски как могу :)

Kettler

Ищу новое местечко для общения.
Чуть не забыл пишу по русски как могу :)

Metrix

В терминале
Открыть содержимое (спойлер)
vakhit@debian:~$ sudo pon ufanet
vakhit@debian:~$ sudo ifconfig
eth0      Link encap:Ethernet  HWaddr 70:5a:b6:c0:76:f7 
          inet6 addr: 2002:5e29:f7a7:4:725a:b6ff:fec0:76f7/64 Scope:Global
          inet6 addr: fec0::4:725a:b6ff:fec0:76f7/64 Scope:Site
          inet6 addr: fe80::725a:b6ff:fec0:76f7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7827 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1142 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:654246 (638.9 KiB)  TX bytes:109640 (107.0 KiB)
          Interrupt:44 Base address:0x4000

eth0:avahi Link encap:Ethernet  HWaddr 70:5a:b6:c0:76:f7 
          inet addr:169.254.11.178  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:44 Base address:0x4000

lo        Link encap:Local 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:2061 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2061 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:205168 (200.3 KiB)  TX bytes:205168 (200.3 KiB)





[свернуть]


Лог
Открыть содержимое (спойлер)
Jun 10 16:01:52 debian pppd[19464]: Modem hangup
Jun 10 16:01:52 debian pppd[19464]: Connection terminated.
Jun 10 16:01:52 debian avahi-daemon[1383]: Withdrawing workstation service for ppp0.
Jun 10 16:01:52 debian pppd[19464]: Using interface ppp0
Jun 10 16:01:52 debian pppd[19464]: Connect: ppp0 <--> /dev/pts/3
Jun 10 16:01:52 debian pptp[19565]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jun 10 16:01:55 debian pptp[19568]: anon warn[open_inetsock:pptp_callmgr.c:329]: connect: No route to host
Jun 10 16:01:55 debian pptp[19568]: anon fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control connection to 10.8.0.1
Jun 10 16:01:55 debian pptp[19567]: anon fatal[open_callmgr:pptp.c:487]: Call manager exited with error 256
Jun 10 16:01:55 debian pptp[19565]: anon fatal[main:pptp.c:357]: Child process died
Jun 10 16:01:55 debian pppd[19464]: Modem hangup
Jun 10 16:01:55 debian pppd[19464]: Connection terminated.
Jun 10 16:01:55 debian avahi-daemon[1383]: Withdrawing workstation service for ppp0.
Jun 10 16:01:55 debian pppd[19464]: Using interface ppp0
Jun 10 16:01:55 debian pppd[19464]: Connect: ppp0 <--> /dev/pts/3
Jun 10 16:01:55 debian pptp[19577]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jun 10 16:01:58 debian pptp[19580]: anon warn[open_inetsock:pptp_callmgr.c:329]: connect: No route to host
Jun 10 16:01:58 debian pptp[19580]: anon fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control connection to 10.8.0.1
Jun 10 16:01:58 debian pptp[19579]: anon fatal[open_callmgr:pptp.c:487]: Call manager exited with error 256
Jun 10 16:01:58 debian pptp[19577]: anon fatal[main:pptp.c:357]: Child process died
Jun 10 16:01:58 debian pppd[19464]: Modem hangup
Jun 10 16:01:58 debian pppd[19464]: Connection terminated.
Jun 10 16:01:58 debian avahi-daemon[1383]: Withdrawing workstation service for ppp0.
Jun 10 16:01:58 debian pppd[19464]: Exit.
[свернуть]


Цитата: Kettler от 10 июня 2011, 14:02:10
покажи ещё /etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client   server   secret         IP addresses
******   PPTP      **********      *

Юзербар в отпуске

Kettler

Ищу новое местечко для общения.
Чуть не забыл пишу по русски как могу :)

Metrix

В логе что то изменилось
Открыть содержимое (спойлер)

Jun 10 16:12:24 debian pptp[20044]: anon warn[decaps_hdlc:pptp_gre.c:204]: short read (-1): Input/output error
Jun 10 16:12:24 debian pptp[20044]: anon warn[decaps_hdlc:pptp_gre.c:216]: pppd may have shutdown, see pppd log
Jun 10 16:12:25 debian pppd[20052]: LCP: timeout sending Config-Requests
Jun 10 16:12:25 debian pppd[20052]: Connection terminated.
Jun 10 16:12:25 debian avahi-daemon[1383]: Withdrawing workstation service for ppp16.
Jun 10 16:12:26 debian pppd[20052]: Modem hangup
Jun 10 16:12:26 debian pppd[20052]: Exit.
Jun 10 16:12:26 debian pptp[20055]: anon warn[decaps_hdlc:pptp_gre.c:204]: short read (-1): Input/output error
Jun 10 16:12:26 debian pptp[20055]: anon warn[decaps_hdlc:pptp_gre.c:216]: pppd may have shutdown, see pppd log
Jun 10 16:12:27 debian pppd[20063]: LCP: timeout sending Config-Requests
Jun 10 16:12:27 debian pppd[20063]: Connection terminated.
Jun 10 16:12:27 debian avahi-daemon[1383]: Withdrawing workstation service for ppp17.
Jun 10 16:12:28 debian pppd[20063]: Modem hangup
Jun 10 16:12:28 debian pppd[20063]: Exit.
Jun 10 16:12:28 debian pptp[20066]: anon warn[decaps_hdlc:pptp_gre.c:204]: short read (-1): Input/output error
Jun 10 16:12:28 debian pptp[20066]: anon warn[decaps_hdlc:pptp_gre.c:216]: pppd may have shutdown, see pppd log
Jun 10 16:12:28 debian pptp[20066]: anon warn[decaps_hdlc:pptp_gre.c:216]: pppd may have shutdown, see pppd log
Jun 10 16:12:29 debian pppd[20074]: LCP: timeout sending Config-Requests
Jun 10 16:12:29 debian pppd[20074]: Connection terminated.
Jun 10 16:12:29 debian avahi-daemon[1383]: Withdrawing workstation service for ppp18.
Jun 10 16:12:30 debian pppd[20074]: Modem hangup
Jun 10 16:12:30 debian pppd[20074]: Exit.
Jun 10 16:12:30 debian pptp[20079]: anon warn[decaps_hdlc:pptp_gre.c:204]: short read (-1): Input/output error
Jun 10 16:12:30 debian pptp[20079]: anon warn[decaps_hdlc:pptp_gre.c:216]: pppd may have shutdown, see pppd log
Jun 10 16:12:31 debian pppd[20087]: LCP: timeout sending Config-Requests
Jun 10 16:12:31 debian pppd[20087]: Connection terminated.
Jun 10 16:12:31 debian avahi-daemon[1383]: Withdrawing workstation service for ppp3.
Jun 10 16:12:32 debian pppd[20087]: Modem hangup
Jun 10 16:12:32 debian pppd[20087]: Exit.

[свернуть]

Пинг
Открыть содержимое (спойлер)

vakhit@debian:~$ ping vpn.ufanet.ru
PING pptp.ufanet.ru (10.8.0.1) 56(84) bytes of data.
64 bytes from 10.8.0.1: icmp_req=1 ttl=63 time=1.06 ms
64 bytes from 10.8.0.1: icmp_req=2 ttl=63 time=0.616 ms
64 bytes from 10.8.0.1: icmp_req=3 ttl=63 time=0.305 ms
64 bytes from 10.8.0.1: icmp_req=4 ttl=63 time=0.845 ms
64 bytes from 10.8.0.1: icmp_req=5 ttl=63 time=0.429 ms
^C64 bytes from 10.8.0.1: icmp_req=6 ttl=63 time=0.466 ms

--- pptp.ufanet.ru ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 25026ms
rtt min/avg/max/mdev = 0.305/0.621/1.067/0.262 ms
vakhit@debian:~$ ping 10.8.0.1
PING 10.8.0.1 (10.8.0.1) 56(84) bytes of data.
64 bytes from 10.8.0.1: icmp_req=1 ttl=63 time=1.30 ms
64 bytes from 10.8.0.1: icmp_req=2 ttl=63 time=0.368 ms
64 bytes from 10.8.0.1: icmp_req=3 ttl=63 time=0.328 ms
64 bytes from 10.8.0.1: icmp_req=4 ttl=63 time=0.437 ms
64 bytes from 10.8.0.1: icmp_req=5 ttl=63 time=0.478 ms
64 bytes from 10.8.0.1: icmp_req=6 ttl=63 time=0.671 ms
64 bytes from 10.8.0.1: icmp_req=7 ttl=63 time=0.276 ms
64 bytes from 10.8.0.1: icmp_req=8 ttl=63 time=0.954 ms
64 bytes from 10.8.0.1: icmp_req=9 ttl=63 time=1.23 ms
^C
--- 10.8.0.1 ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 8002ms
rtt min/avg/max/mdev = 0.276/0.673/1.309/0.374 ms
vakhit@debian:~$
[свернуть]
Юзербар в отпуске

Metrix

Еще один лог
Открыть содержимое (спойлер)
Jun 10 16:25:15 debian pppd[20252]: pppd 2.4.5 started by root, uid 0
Jun 10 16:25:15 debian pppd[20252]: Using interface ppp0
Jun 10 16:25:15 debian pppd[20252]: Connect: ppp0 <--> /dev/pts/3
Jun 10 16:25:20 debian pptp[20255]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jun 10 16:25:20 debian pptp[20263]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Jun 10 16:25:20 debian pptp[20263]: anon log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Jun 10 16:25:20 debian pptp[20263]: anon log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Jun 10 16:25:21 debian pptp[20263]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Jun 10 16:25:21 debian pptp[20263]: anon log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
Jun 10 16:25:21 debian pptp[20263]: anon log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 58091).
Jun 10 16:25:21 debian pppd[20255]: The remote system is required to authenticate itself
Jun 10 16:25:21 debian pppd[20255]: but I couldn't find any suitable secret (password) for it to use to do so.
Jun 10 16:25:23 debian pptp[20264]: anon warn[decaps_hdlc:pptp_gre.c:204]: short read (-1): Input/output error
Jun 10 16:25:23 debian pptp[20264]: anon warn[decaps_hdlc:pptp_gre.c:216]: pppd may have shutdown, see pppd log
Jun 10 16:25:23 debian pptp[20263]: anon log[callmgr_main:pptp_callmgr.c:234]: Closing connection (unhandled)
Jun 10 16:25:23 debian pptp[20263]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Jun 10 16:25:23 debian pptp[20263]: anon log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Jun 10 16:25:23 debian pppd[20252]: Modem hangup
Jun 10 16:25:23 debian pppd[20252]: Connection terminated.
Jun 10 16:25:24 debian avahi-daemon[1383]: Withdrawing workstation service for ppp0.
Jun 10 16:25:24 debian pppd[20252]: Using interface ppp0
Jun 10 16:25:24 debian pppd[20252]: Connect: ppp0 <--> /dev/pts/3
Jun 10 16:25:24 debian pptp[20269]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jun 10 16:25:24 debian pptp[20277]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Jun 10 16:25:24 debian pptp[20277]: anon log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Jun 10 16:25:24 debian pptp[20277]: anon log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Jun 10 16:25:25 debian pptp[20277]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Jun 10 16:25:25 debian pptp[20277]: anon log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
Jun 10 16:25:25 debian pptp[20277]: anon log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 58091).
Jun 10 16:25:25 debian pppd[20269]: The remote system is required to authenticate itself
Jun 10 16:25:25 debian pppd[20269]: but I couldn't find any suitable secret (password) for it to use to do so.
Jun 10 16:25:27 debian pptp[20278]: anon warn[decaps_hdlc:pptp_gre.c:204]: short read (-1): Input/output error
Jun 10 16:25:27 debian pptp[20278]: anon warn[decaps_hdlc:pptp_gre.c:216]: pppd may have shutdown, see pppd log
Jun 10 16:25:27 debian pptp[20277]: anon log[callmgr_main:pptp_callmgr.c:234]: Closing connection (unhandled)
Jun 10 16:25:27 debian pptp[20277]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Jun 10 16:25:27 debian pptp[20277]: anon log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Jun 10 16:25:27 debian pppd[20252]: Modem hangup
Jun 10 16:25:27 debian pppd[20252]: Connection terminated.
Jun 10 16:25:27 debian pppd[20252]: Modem hangup
Jun 10 16:25:27 debian pppd[20252]: Connection terminated.
Jun 10 16:25:27 debian avahi-daemon[1383]: Withdrawing workstation service for ppp0.
Jun 10 16:25:27 debian pppd[20252]: Using interface ppp0
Jun 10 16:25:27 debian pppd[20252]: Connect: ppp0 <--> /dev/pts/3
Jun 10 16:25:27 debian pptp[20283]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jun 10 16:25:27 debian pptp[20291]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Jun 10 16:25:27 debian pptp[20291]: anon log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Jun 10 16:25:27 debian pptp[20291]: anon log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Jun 10 16:25:27 debian kernel: [10019.167888] r8169 0000:14:00.0: eth0: link down
[свернуть]
Юзербар в отпуске

Kettler

теперь давай перед тем как делать pon name
cделаем
route add -host 10.8.0.1 dev eth0

также логи после сюда и ifconfig
Уже почти всё.
Ищу новое местечко для общения.
Чуть не забыл пишу по русски как могу :)

Metrix

vakhit@debian:~$ sudo route add -host 10.8.0.1 dev eth0
vakhit@debian:~$ sudo ifconfig
eth0      Link encap:Ethernet  HWaddr 70:5a:b6:c0:76:f7 
          inet addr:10.163.50.36  Bcast:10.163.50.255  Mask:255.255.255.0
          inet6 addr: 2002:5e29:f7a7:4:725a:b6ff:fec0:76f7/64 Scope:Global
          inet6 addr: fec0::4:725a:b6ff:fec0:76f7/64 Scope:Site
          inet6 addr: fe80::725a:b6ff:fec0:76f7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11411 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2158 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:960725 (938.2 KiB)  TX bytes:196470 (191.8 KiB)
          Interrupt:44 Base address:0x4000

lo        Link encap:Local 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:2558 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2558 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:246885 (241.0 KiB)  TX bytes:246885 (241.0 KiB)




Лог
Открыть содержимое (спойлер)

Jun 10 16:36:09 debian pppd[20744]: pppd 2.4.5 started by root, uid 0
Jun 10 16:36:09 debian pppd[20744]: Using interface ppp0
Jun 10 16:36:09 debian pppd[20744]: Connect: ppp0 <--> /dev/pts/3
Jun 10 16:36:09 debian pptp[20747]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jun 10 16:36:12 debian pptp[20750]: anon warn[open_inetsock:pptp_callmgr.c:329]: connect: No route to host
Jun 10 16:36:12 debian pptp[20750]: anon fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control connection to 10.8.0.1
Jun 10 16:36:12 debian pptp[20749]: anon fatal[open_callmgr:pptp.c:487]: Call manager exited with error 256
Jun 10 16:36:12 debian pptp[20747]: anon fatal[main:pptp.c:357]: Child process died
Jun 10 16:36:12 debian pppd[20744]: Modem hangup
Jun 10 16:36:12 debian pppd[20744]: Connection terminated.
Jun 10 16:36:12 debian avahi-daemon[1383]: Withdrawing workstation service for ppp0.
Jun 10 16:36:12 debian pppd[20744]: Using interface ppp0
Jun 10 16:36:12 debian pppd[20744]: Connect: ppp0 <--> /dev/pts/3
Jun 10 16:36:12 debian pptp[20759]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jun 10 16:36:15 debian pptp[20762]: anon warn[open_inetsock:pptp_callmgr.c:329]: connect: No route to host
Jun 10 16:36:15 debian pptp[20762]: anon fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control connection to 10.8.0.1
Jun 10 16:36:15 debian pptp[20761]: anon fatal[open_callmgr:pptp.c:487]: Call manager exited with error 256
Jun 10 16:36:15 debian pptp[20759]: anon fatal[main:pptp.c:357]: Child process died
Jun 10 16:36:15 debian pppd[20744]: Modem hangup
Jun 10 16:36:15 debian pppd[20744]: Connection terminated.
Jun 10 16:36:15 debian avahi-daemon[1383]: Withdrawing workstation service for ppp0.
Jun 10 16:36:15 debian pppd[20744]: Using interface ppp0
Jun 10 16:36:15 debian pppd[20744]: Connect: ppp0 <--> /dev/pts/3
Jun 10 16:36:15 debian pptp[20771]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jun 10 16:36:18 debian pptp[20774]: anon warn[open_inetsock:pptp_callmgr.c:329]: connect: No route to host
Jun 10 16:36:18 debian pptp[20774]: anon fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control connection to 10.8.0.1
Jun 10 16:36:18 debian pptp[20773]: anon fatal[open_callmgr:pptp.c:487]: Call manager exited with error 256
Jun 10 16:36:18 debian pptp[20771]: anon fatal[main:pptp.c:357]: Child process died
Jun 10 16:36:18 debian pppd[20744]: Modem hangup
Jun 10 16:36:18 debian pppd[20744]: Connection terminated.
Jun 10 16:36:18 debian avahi-daemon[1383]: Withdrawing workstation service for ppp0.
Jun 10 16:36:18 debian pppd[20744]: Using interface ppp0
Jun 10 16:36:18 debian pppd[20744]: Connect: ppp0 <--> /dev/pts/3
Jun 10 16:36:18 debian pptp[20783]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jun 10 16:36:20 debian pppd[20744]: Terminating on signal 15
Jun 10 16:36:20 debian pppd[20744]: Child process pptp vpn.ufanet.ru (pid 20781) terminated with signal 15
Jun 10 16:36:20 debian pppd[20744]: Modem hangup
Jun 10 16:36:20 debian pppd[20744]: Connection terminated.
Jun 10 16:36:20 debian avahi-daemon[1383]: Withdrawing workstation service for ppp0.
Jun 10 16:36:20 debian pppd[20744]: Exit.
[свернуть]
Юзербар в отпуске

Kettler

у вас сеть отвалилась. Перезагрузите после пропишите маршрут и пробуйте.
Если что логи сюда.
Ищу новое местечко для общения.
Чуть не забыл пишу по русски как могу :)

Metrix

Юзербар в отпуске

Kettler

Цитата: Metrix от 10 июня 2011, 14:51:17
Можно на ты не удобно мне :)
Конечно. Короче давай так.
reboot

route add -host 10.8.0.1 dev eth0

pon name

сюда log
route -n
ifconfig
Ищу новое местечко для общения.
Чуть не забыл пишу по русски как могу :)

Metrix

#57
Думаю у меня сеть вообще не работает при установке наверно не то пошло. Вот лог
Открыть содержимое (спойлер)
Jun 10 17:00:42 debian pppd[2633]: pppd 2.4.5 started by root, uid 0
Jun 10 17:00:42 debian pppd[2633]: Using interface ppp0
Jun 10 17:00:42 debian pppd[2633]: Connect: ppp0 <--> /dev/pts/3
Jun 10 17:00:42 debian pptp[2636]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jun 10 17:00:45 debian pptp[2639]: anon warn[open_inetsock:pptp_callmgr.c:329]: connect: No route to host
Jun 10 17:00:45 debian pptp[2639]: anon fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control connection to 10.8.0.1
Jun 10 17:00:45 debian pptp[2638]: anon fatal[open_callmgr:pptp.c:487]: Call manager exited with error 256
Jun 10 17:00:45 debian pptp[2636]: anon fatal[main:pptp.c:357]: Child process died
Jun 10 17:00:45 debian pppd[2633]: Modem hangup
Jun 10 17:00:45 debian pppd[2633]: Connection terminated.
Jun 10 17:00:45 debian avahi-daemon[1376]: Withdrawing workstation service for ppp0.
Jun 10 17:00:45 debian pppd[2633]: Using interface ppp0
Jun 10 17:00:45 debian pppd[2633]: Connect: ppp0 <--> /dev/pts/3
Jun 10 17:00:45 debian pptp[2648]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jun 10 17:00:48 debian pptp[2651]: anon warn[open_inetsock:pptp_callmgr.c:329]: connect: No route to host
Jun 10 17:00:48 debian pptp[2651]: anon fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control connection to 10.8.0.1
Jun 10 17:00:48 debian pptp[2650]: anon fatal[open_callmgr:pptp.c:487]: Call manager exited with error 256
Jun 10 17:00:48 debian pptp[2648]: anon fatal[main:pptp.c:357]: Child process died
Jun 10 17:00:48 debian pppd[2633]: Modem hangup
Jun 10 17:00:48 debian pppd[2633]: Connection terminated.
Jun 10 17:00:48 debian avahi-daemon[1376]: Withdrawing workstation service for ppp0.
Jun 10 17:00:48 debian pppd[2633]: Using interface ppp0
Jun 10 17:00:48 debian pppd[2633]: Connect: ppp0 <--> /dev/pts/3
Jun 10 17:00:48 debian pptp[2660]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jun 10 17:00:51 debian pptp[2663]: anon warn[open_inetsock:pptp_callmgr.c:329]: connect: No route to host
Jun 10 17:00:51 debian pptp[2663]: anon fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control connection to 10.8.0.1
Jun 10 17:00:51 debian pptp[2662]: anon fatal[open_callmgr:pptp.c:487]: Call manager exited with error 256
Jun 10 17:00:51 debian pptp[2660]: anon fatal[main:pptp.c:357]: Child process died
Jun 10 17:00:51 debian pppd[2633]: Modem hangup
Jun 10 17:00:51 debian pppd[2633]: Connection terminated.
Jun 10 17:00:51 debian avahi-daemon[1376]: Withdrawing workstation service for ppp0.
Jun 10 17:00:51 debian pppd[2633]: Using interface ppp0
Jun 10 17:00:51 debian pppd[2633]: Connect: ppp0 <--> /dev/pts/3
Jun 10 17:00:51 debian pptp[2672]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jun 10 17:00:54 debian pptp[2675]: anon warn[open_inetsock:pptp_callmgr.c:329]: connect: No route to host
Jun 10 17:00:54 debian pptp[2675]: anon fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control connection to 10.8.0.1
Jun 10 17:00:54 debian pptp[2674]: anon fatal[open_callmgr:pptp.c:487]: Call manager exited with error 256
Jun 10 17:00:54 debian pptp[2672]: anon fatal[main:pptp.c:357]: Child process died
Jun 10 17:00:54 debian pppd[2633]: Modem hangup
Jun 10 17:00:54 debian pppd[2633]: Connection terminated.
Jun 10 17:00:54 debian avahi-daemon[1376]: Withdrawing workstation service for ppp0.
Jun 10 17:00:54 debian pppd[2633]: Using interface ppp0
Jun 10 17:00:54 debian pppd[2633]: Connect: ppp0 <--> /dev/pts/3
Jun 10 17:00:54 debian pptp[2686]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jun 10 17:00:57 debian pptp[2689]: anon warn[open_inetsock:pptp_callmgr.c:329]: connect: No route to host
Jun 10 17:00:57 debian pptp[2689]: anon fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control connection to 10.8.0.1
Jun 10 17:00:57 debian pptp[2688]: anon fatal[open_callmgr:pptp.c:487]: Call manager exited with error 256
Jun 10 17:00:57 debian pptp[2686]: anon fatal[main:pptp.c:357]: Child process died
Jun 10 17:00:57 debian pppd[2633]: Modem hangup
Jun 10 17:00:57 debian pppd[2633]: Connection terminated.
Jun 10 17:00:58 debian avahi-daemon[1376]: Withdrawing workstation service for ppp0.
Jun 10 17:00:58 debian pppd[2633]: Using interface ppp0
Jun 10 17:00:58 debian pppd[2633]: Connect: ppp0 <--> /dev/pts/3
Jun 10 17:00:58 debian pptp[2701]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jun 10 17:01:01 debian pptp[2703]: anon warn[open_inetsock:pptp_callmgr.c:329]: connect: No route to host
Jun 10 17:01:01 debian pptp[2703]: anon fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control connection to 10.8.0.1
Jun 10 17:01:01 debian pptp[2702]: anon fatal[open_callmgr:pptp.c:487]: Call manager exited with error 256
Jun 10 17:01:01 debian pptp[2701]: anon fatal[main:pptp.c:357]: Child process died
Jun 10 17:01:01 debian pppd[2633]: Modem hangup
Jun 10 17:01:01 debian pppd[2633]: Connection terminated.
Jun 10 17:01:01 debian avahi-daemon[1376]: Withdrawing workstation service for ppp0.
Jun 10 17:01:01 debian pppd[2633]: Using interface ppp0
Jun 10 17:01:01 debian pppd[2633]: Connect: ppp0 <--> /dev/pts/3
Jun 10 17:01:01 debian pptp[2713]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jun 10 17:01:03 debian pppd[2633]: Terminating on signal 15
Jun 10 17:01:03 debian pppd[2633]: Child process pptp pptp.ufanet.ru (pid 2710) terminated with signal 15
Jun 10 17:01:03 debian pppd[2633]: Modem hangup
Jun 10 17:01:03 debian pppd[2633]: Connection terminated.
Jun 10 17:01:03 debian avahi-daemon[1376]: Withdrawing workstation service for ppp0.
Jun 10 17:01:03 debian pppd[2633]: Exit.
[свернуть]

Вывод команд
Открыть содержимое (спойлер)

vakhit@debian:~$ sudo route add -host 10.8.0.1 dev eth0
vakhit@debian:~$ sudo pon ufanet
vakhit@debian:~$ sudo route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.8.0.1        0.0.0.0         255.255.255.255 UH    0      0        0 eth0
10.8.0.1        0.0.0.0         255.255.255.255 UH    0      0        0 eth0
10.163.50.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
0.0.0.0         10.163.50.1     0.0.0.0         UG    0      0        0 eth0
vakhit@debian:~$ sudo ifconfig
eth0      Link encap:Ethernet  HWaddr 70:5a:b6:c0:76:f7 
          inet addr:10.163.50.36  Bcast:10.163.50.255  Mask:255.255.255.0
          inet6 addr: 2002:5e29:f7a7:4:725a:b6ff:fec0:76f7/64 Scope:Global
          inet6 addr: fec0::4:725a:b6ff:fec0:76f7/64 Scope:Site
          inet6 addr: fe80::725a:b6ff:fec0:76f7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1794 errors:0 dropped:0 overruns:0 frame:0
          TX packets:121 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:156200 (152.5 KiB)  TX bytes:14346 (14.0 KiB)
          Interrupt:44 Base address:0x4000

lo        Link encap:Local 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:185 errors:0 dropped:0 overruns:0 frame:0
          TX packets:185 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:11916 (11.6 KiB)  TX bytes:11916 (11.6 KiB)
[свернуть]
Юзербар в отпуске

Kettler

Блин сеть как настраивал?
cat /etc/network/interfaces
Ищу новое местечко для общения.
Чуть не забыл пишу по русски как могу :)

Metrix

Цитата: Kettler от 10 июня 2011, 15:05:20
Блин сеть как настраивал?
cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
Юзербар в отпуске