ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Помогите настроить dial-up
@ 2003-07-31 21:50 Vitaly Lipatov
  2003-08-01  8:37 ` Yevgeniy Bazhenov
  2003-08-01 10:55 ` svgol
  0 siblings, 2 replies; 3+ messages in thread
From: Vitaly Lipatov @ 2003-07-31 21:50 UTC (permalink / raw)
  To: community


Не смог найти толковой инструкции по настройке dial-up,
которая бы привела меня к положительному результату. Я использую
mgetty, которая вызвает pppd.
Вот что в конф. файле pppd:

/etc/ppp/options.server:
-detach
auth
asyncmap 0
modem
crtscts
lock
debug
refuse-chap
require-pap
login
nodefaultroute
proxyarp
192.168.0.1:192.168.0.150
ms-dns 192.168.0.1

Вот что пишется в логи mgetty:

08/01 01:28:49 yS1   utmp + wtmp entry made
08/01 01:28:50 yS1   tio_set_flow_control( HARD )
08/01 01:28:50 yS1   print welcome banner (/etc/issue)
08/01 01:28:50 yS1   getlogname (FIDO AUTO_PPP), read:~[ff]}#[c0]!
08/01 01:28:52 yS1   input finished with '\r', setting ICRNL ONLCR
08/01 01:28:52 yS1   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
08/01 01:28:52 yS1    login: use login config file /etc/mgetty+sendfax/login.config
08/01 01:28:52 yS1   match: user='/AutoPPP/', key=''
08/01 01:28:52 yS1   match: user='/AutoPPP/', key=''
08/01 01:28:52 yS1   match: user='/AutoPPP/', key='/AutoPPP/'*** hit!
08/01 01:28:52 yS1   login: utmp entry: a_ppp
08/01 01:28:52 yS1    looking for utmp entry... (my PID: 14031)
08/01 01:28:52 yS1   utmp + wtmp entry made
08/01 01:28:52 yS1   calling login: cmd='/usr/sbin/pppd', argv[]='pppd file /etc/ppp/peers/dial-in'
08/01 01:28:52 ##### data dev=ttyS1, pid=14031, caller='none', conn='33600/ARQ/33600 LAP-M', name='', cmd='/usr/sbin/pppd', u


Вот что пишет pppd:
Aug  1 00:57:19 lav pppd[9231]: pppd 2.4.2b3 started by root, uid 0
Aug  1 00:57:19 lav pppd[9231]: using channel 7
Aug  1 00:57:19 lav pppd[9231]: Using interface ppp1
Aug  1 00:57:19 lav pppd[9231]: Connect: ppp1 <--> /dev/ttyS1
Aug  1 00:57:19 lav pppd[9231]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x18ec4204> <pcomp> <accomp>]
Aug  1 00:57:19 lav pppd[9231]: rcvd [LCP ConfRej id=0x1 <auth pap>]
Aug  1 00:57:19 lav pppd[9231]: sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x18ec4204> <pcomp> <accomp>]
Aug  1 00:57:20 lav pppd[9231]: rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0x18ec4204> <pcomp> <accomp>]
Aug  1 00:57:22 lav pppd[9231]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x66f5af17> <pcomp> <accomp>]
Aug  1 00:57:22 lav pppd[9231]: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x66f5af17> <pcomp> <accomp>]
Aug  1 00:57:22 lav pppd[9231]: sent [LCP TermReq id=0x3 "peer refused to authenticate"]
Aug  1 00:57:22 lav pppd[9231]: rcvd [LCP TermAck id=0x3]
Aug  1 00:57:22 lav pppd[9231]: Connection terminated.
Aug  1 00:57:22 lav pppd[9231]: Exit.
Aug  1 00:58:53 lav pppd[9269]: Deflate (15) compression enabled

Облазил весь интернет, рылся во всех 288 тысячах писем из рассылок,
но ответа для себя так и не нашёл - куда копать...

Вот строчка из pap-secrets:
"guest"     *   "123"   *

(в passwd/tcb такой же логин/пароль)

С такой же парой логин/пароль пытаемся соединиться с машиной через kppp (авторизация PAP)

При этом на подключающейся машине вот что в логах:
Aug  1 01:34:13 pvhome pppd[31781]: pppd 2.4.2b3 started by pv, uid 1008
Aug  1 01:34:13 pvhome pppd[31781]: using channel 8
Aug  1 01:34:13 pvhome pppd[31781]: Using interface ppp0
Aug  1 01:34:13 pvhome pppd[31781]: Connect: ppp0 <--> /dev/ttyLT0
Aug  1 01:34:13 pvhome pppd[31781]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> 
<magic 0x276335f3> <pco
Aug  1 01:34:16 pvhome pppd[31781]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> 
<magic 0x276335f3> <pco
Aug  1 01:34:16 pvhome pppd[31781]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> 
<auth pap> <magic 0x9fb
Aug  1 01:34:16 pvhome pppd[31781]: No auth is possible
Aug  1 01:34:16 pvhome pppd[31781]: sent [LCP ConfRej id=0x1 <auth pap>]
Aug  1 01:34:16 pvhome pppd[31781]: rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> 
<magic 0x9fb1b2a5> <pco
Aug  1 01:34:16 pvhome pppd[31781]: sent [LCP ConfAck id=0x2 <asyncmap 0x0> 
<magic 0x9fb1b2a5> <pco

Что я недопонимаю?
И почему у нас нет готового решения...

-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! LaTeX! LyX!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-08-01 10:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-31 21:50 [Comm] Помогите настроить dial-up Vitaly Lipatov
2003-08-01  8:37 ` Yevgeniy Bazhenov
2003-08-01 10:55 ` svgol

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