ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Alexey S. Kuznetsov" <buster@vostok.net.ua>
To: "Andrei M. Laptev" <community@altlinux.ru>
Subject: Re[2]: [Comm] Не могу справиться с pptpd, помогите.
Date: Tue, 6 Jul 2004 09:51:16 +0300
Message-ID: <1548649293.20040706095116@vostok.net.ua> (raw)
In-Reply-To: <40EA2AE9.3080903@softex.ru>

Hello Andrei,

Tuesday, July 6, 2004, 7:30:33 AM, you wrote:

AML> community@geoil.ru пишет:
>> Andrei M. Laptev пишет:
>>> Попробуйте с консоли просто запустить
>>> pppd file /etc/ppp/options.pptpd
>>> и скорее всего увидите почему валится pppd.
>> 
>> 
>> Запуск pppd file /etc/ppp/options.pptpd показал, что pppd
>> не понравились несколько записей в options.pptpd, которые
>> были заменены
>> После внесения этих изменений, в ответ на
>> pppd file /etc/ppp/options.pptpd появилось:
>> pppd: The remote system is required to authenticate itself
>> pppd: but I couldn't find any suitable secret (password) for it to use
>> to do so.
>> pppd: (None of the available passwords would let it use an IP address.)
>> Я внес в файл chap-secrets IP адрес шлюза с которого я лезу клиентом
>> и оставил в нем одну строчку:
>> #chap-secrets
>> User pptpd "пароль" yyy.yyy.yyy.yyy(IP гейта через который лезет клиент)
>> Правильно ли это?
AML> у меня в options.pptpd есть строка auth, а в chap-secrets соответственно логины
AML> и пароли.
auth - это немного не то.
чтобы хранить пароли в chap-secrets нужно включить в конфиг:
-pap
+chap
и потом писать в chap-secrets.
Привожу прекрасный пример работающей конфигурации:
# cat /etc/ppp/options.pptpd
lock
ipparam PoPToP
mtu 1480
mru 1480
debug
asyncmap 0
-pap
-chap
+mschap-v2
lcp-echo-failure 30
lcp-echo-interval 5
ipcp-accept-local
ipcp-accept-remote
ms-dns xxx.xxx.xxx.xxx

отличный справочник:
man pppd

-- 
Sincerely,
 Alexey S. Kuznetsov    
 AK2351-RIPE



  reply	other threads:[~2004-07-06  6:51 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-05  9:38 community
2004-07-05  9:52 ` Максим Ткаченко
2004-07-05  9:55   ` community
2004-07-06  5:11     ` Максим Ткаченко
2004-07-05 10:59 ` Andrei M. Laptev
2004-07-05 11:17   ` Re[2]: " Alexey S. Kuznetsov
2004-07-05 12:09     ` community
2004-07-05 12:25       ` Re[2]: " Alexey S. Kuznetsov
2004-07-05 12:37         ` community
2004-07-06  4:18     ` Andrei M. Laptev
2004-07-05 12:18   ` community
2004-07-05 14:38     ` altex
2004-07-06  4:30     ` Andrei M. Laptev
2004-07-06  6:51       ` Alexey S. Kuznetsov [this message]
2004-07-06  7:39         ` community
2004-07-06  7:45           ` Re[2]: " Alexey S. Kuznetsov
2004-07-08  9:37             ` community
2004-07-05 12:44 ` altex

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=1548649293.20040706095116@vostok.net.ua \
    --to=buster@vostok.net.ua \
    --cc=community@altlinux.ru \
    /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