ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] ppp в alm2.4
@ 2005-04-12  4:24 Dmitry Vodennikov
  0 siblings, 0 replies; only message in thread
From: Dmitry Vodennikov @ 2005-04-12  4:24 UTC (permalink / raw)
  To: community

Решил поднять небольшой dial-in сервер и столкнулся со странной проблемой.

На сервере стоит alm2.4+все апдейты от 2.4, сизифов не было.
PPP соответственно вот такой: ppp-2.4.2-alt2

# rpm -V ppp
S.5....T c /etc/ppp/chap-secrets
S.5....T c /etc/ppp/options
S.5....T c /etc/ppp/pap-secrets

# egrep -v '^(#|$)' /etc/ppp/options
lock
nodefaultroute

# egrep -v '^(#|$)' /etc/ppp/options.ttyS0
SOME_REAL_IP1:SOME_REAL_IP2
netmask 255.255.255.252
linkname ttyS0
logfile /var/log/ppp/ttyS0.log
ms-dns SOME_DNS1
ms-dns SOME_DNS2
noipdefault
debug
crtscts
lock
modem
asyncmap 0
nodetach
noproxyarp
lcp-echo-interval 30
lcp-echo-failure 4
idle 600
noipx

# grep ^/AutoPPP /etc/mgetty+sendfax/login.config
/AutoPPP/ -     a_ppp   /usr/sbin/pppd auth require-pap refuse-chap debug

# egrep -v '^(#|$)' /etc/ppp/pap-secrets
some_user1   *               "some_pass1"        *
some_user2   *               "some_pass2"      *

Default route на сервере имеется...

ppp при старте ругается в /var/log/messages так:
Apr 10 20:55:45 es pppd[16026]: The remote system is required to 
authenticate itself
Apr 10 20:55:45 es pppd[16026]: but I couldn't find any suitable secret 
(password) for it to use to do so.
Apr 10 20:55:45 es pppd[16026]: (None of the available passwords would 
let it use an IP address.)

Поиск в google приводит к невнятным советам типа "пропишите параметр 
noauth и все будет"...

Если прописать параметр name в /etc/ppp/options.ttyS0, например так:
name ppp0i.domain.ru
и указать его в /etc/ppp/pap-secrets, например так:
some_user1   ppp0i.domain.ru               "some_pass1"        *

То ppp начинает работать как положено...

Может кто-нибудь натолкнуть на мысль, где у меня ошибка?



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-12  4:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-12  4:24 [Comm] ppp в alm2.4 Dmitry Vodennikov

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