From: Alexey Novikov <shader@yandex.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Не поднимается pptp-интерфейс - Branch 4.1
Date: Wed, 9 Jul 2008 13:38:34 +0400
Message-ID: <20080709093834.GA23205@localhost.localdomain> (raw)
In-Reply-To: <20080709122819.152ac570@book.gusev.ru>
On Wed, Jul 09, 2008 at 12:28:19PM +0400, Владимир Гусев wrote:
> Если прописать сервер pptp в виде ip-адреса, то видим следующее:
>
> Jul 8 23:51:38 book pppd[6675]: pppd 2.4.4 started by root, uid 0
> Jul 8 23:51:38 book pppd[6675]: Using interface ppp0
> Jul 8 23:51:38 book pppd[6675]: Connect: ppp0 <--> /dev/pts/2
> Jul 8 23:51:38 book pptp[6676]: anon log[main:pptp.c:267]: The
> synchronous pptp option is NOT activated Jul 8 23:51:38 book
> pptp[6676]: anon warn[pptp_gre_bind:pptp_gre.c:95]: connect: Network is
> unreachable Jul 8 23:51:38 book pptp[6676]: anon
> fatal[main:pptp.c:275]: Cannot bind GRE socket, aborting. Jul 8
> 23:51:38 book pppd[6675]: Modem hangup Jul 8 23:51:38 book pppd[6675]:
> Connection terminated.
>
> Само по себе подхватывание маршрутов и ip по dhcp (внутренняя сеть
> провайдера, локалка) работает:
>
> Jul 8 23:13:01 book dhcpcd[16368]: eth0: dhcpcd 3.0.17 starting
> Jul 8 23:13:01 book dhcpcd[16368]: eth0: hardware address = 00:40:05:8f:00:51
> Jul 8 23:13:01 book dhcpcd[16368]: eth0: broadcasting for a lease
> Jul 8 23:13:03 book kernel: eth0: found link beat
> Jul 8 23:13:03 book kernel: eth0: autonegotiation complete: 100baseT-FD selected
> Jul 8 23:13:16 book dhcpcd[16368]: eth0: offered 10.160.10.216 from 83.102.233.202
> Jul 8 23:13:16 book dhcpcd[16368]: eth0: leased 10.160.10.216 for 604800 seconds
> Jul 8 23:13:16 book dhcpcd[16368]: eth0: adding IP address 10.160.10.216/21
> Jul 8 23:13:16 book dhcpcd[16368]: eth0: adding route to 233.32.240.0 (255.255.255.0) via 10.160.10.216 metric 0
> Jul 8 23:13:16 book dhcpcd[16368]: eth0: adding route to 10.0.0.0 (255.0.0.0) via 10.160.8.1 metric 0
> Jul 8 23:13:16 book dhcpcd[16368]: eth0: adding route to 85.21.79.0 (255.255.255.0) via 10.160.8.1 metric 0
> Jul 8 23:13:16 book dhcpcd[16368]: eth0: adding route to 85.21.90.0 (255.255.255.0) via 10.160.8.1 metric 0
> Jul 8 23:13:16 book dhcpcd[16368]: eth0: adding route to 85.21.138.208 (255.255.255.240) via 10.160.8.1 metric 0
> Jul 8 23:13:16 book dhcpcd[16368]: eth0: adding route to 83.102.146.96 (255.255.255.224) via 10.160.8.1 metric 0
> Jul 8 23:13:16 book dhcpcd[16368]: eth0: adding route to 172.16.16.0 (255.255.255.0) via 10.160.8.1 metric 0
> Jul 8 23:13:16 book dhcpcd[16368]: eth0: adding route to 85.21.72.80 (255.255.255.240) via 10.160.8.1 metric 0
> Jul 8 23:13:16 book dhcpcd[16368]: eth0: adding route to 78.107.69.98 (255.255.255.255) via 10.160.8.1 metric 0
> Jul 8 23:13:16 book dhcpcd[16368]: eth0: netlink: No such process
> Jul 8 23:13:16 book dhcpcd[16368]: eth0: adding route to 78.107.23.0 (255.255.255.0) via 10.160.8.1 metric 0
> Jul 8 23:13:16 book dhcpcd[16368]: eth0: adding route to 85.21.108.16 (255.255.255.240) via 10.160.8.1 metric 0
> Jul 8 23:13:16 book dhcpcd[16368]: eth0: adding route to 83.102.231.32 (255.255.255.240) via 10.160.8.1 metric 0
> Jul 8 23:13:16 book dhcpcd[16368]: eth0: adding route to 78.107.51.0 (255.255.255.240) via 10.160.8.1 metric 0
> Jul 8 23:13:16 book dhcpcd[16368]: eth0: adding route to 78.107.235.4 (255.255.255.252) via 10.160.8.1 metric 0
> Jul 8 23:13:16 book dhcpcd.sh: interface eth0 has been configured with
> new IP=10.160.10.216
>
>
> Ни по ifconfig, ни в route, новый интерфейс никак не проявляется..
>
> [root@book ~]# cat /etc/net/ifaces/ppp1/options
> ONBOOT=yes
> PPPTYPE=pptp
> PPTP_SERVER=85.21.0.28
> REQUIRES=eth0
А где Вы видите маршрут до этого сервера? Так что либо маршрут
отсутствует, либо IP-адрес PPTP-сервера неверный. Попробуйте хотя
бы пинг до него сделать, для начала.
--
WBR, Alexey Novikov
XMPP: alex-novikov@jabber.ru, shader@ya.ru
next prev parent reply other threads:[~2008-07-09 9:38 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-09 8:28 Владимир Гусев
2008-07-09 9:38 ` Alexey Novikov [this message]
2008-07-09 9:59 ` Владимир Гусев
2008-07-09 10:04 ` Владимир Гусев
2008-07-09 18:08 ` Владимир Гусев
2008-07-10 9:08 ` Владимир Гусев
2008-07-10 9:11 ` Alexei V. Mezin
2008-07-10 9:19 ` Владимир Гусев
2008-07-10 9:31 ` Alexei V. Mezin
2008-07-10 9:47 ` Владимир Гусев
2008-07-10 17:52 ` Alexei V. Mezin
2008-07-10 20:30 ` Владимир Гусев
2008-07-10 21:05 ` Alexei V. Mezin
2008-07-10 21:54 ` Владимир Гусев
2008-07-10 22:01 ` Alexei V. Mezin
2008-07-11 3:48 ` Владимир Гусев
2008-07-11 3:58 ` Владимир Гусев
2008-07-31 21:19 ` Michael Shigorin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080709093834.GA23205@localhost.localdomain \
--to=shader@yandex.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git