ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "altlinux@aaanet.ru" <altlinux@aaanet.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] dial IN
Date: Wed, 16 Jan 2008 18:03:36 +0300
Message-ID: <478E1CC8.9010105@aaanet.ru> (raw)
In-Reply-To: <478E1C1D.2020700@aaanet.ru>

сорри обманул лог создался но толку с него
[root@gate log]# cat statistics.ttyS0
--- Wed Jan 16 17:56:47 2008 ---
AT&F1&M5S10=99S39=12
OK
ATI2
OK

> делаю как вы, не получается
> странно вот что замечаю, если я комментирую строку
> #T3:23:respawn:/sbin/mgetty /dev/ttyS0
> потом делаю init q
> то в логе [root@gate auth]# tail /var/log/auth/all -n 1
> Jan 16 17:33:40 gate mgetty[12475]: failed dev=ttyS0, pid=12475, got 
> signal 15, exiting
>
> меняю
> [root@gate etc]# grep ^[^#] /etc/mgetty+sendfax/login.config
> /AutoPPP/ -     a_ppp   /usr/sbin/pppd auth -chap +pap
> *       -       -       /bin/login @
>
> [root@gate etc]# grep ^[^#] /etc/mgetty+sendfax/mgetty.config
> port ttyS0
>  debug 9
>  speed 57600
>  data-only y
>  init-chat "" AT&F1&M5S10=99S39=12
>  statistics-chat "" AT OK ATI2 OK
>  statistics-file /var/log/statistics.ttyS0
>
> [root@gate etc]# cat /etc/ppp/options.ttyS0
> lock
> debug 4
> login
> auth
> modem
> refuse-chap
> require-pap
> mtu 576
> mru 576
> deflate 15
> bsdcomp 15
> callback server
> 192.168.80.1:192.168.80.2
> ms-dns 192.168.100.10
> lcp-echo-failure 3
> lcp-echo-interval 30
>
> [root@gate etc]# cat /etc/ppp/pap-secrets
> # Secrets for authentication using PAP
> # client        server  secret                  IP addresses
> "еще пароль для pppoe" * "пароль" *
> "qwerty"        *       "qwerty"        *
> user    *       ""      *
>
> ни по системному логину ни по qwerty не пускает. лог не создаётся 
> /var/log/statistics.ttyS0
> пробовал прописать
> [root@gate mgetty+sendfax]# [root@gate ppp]# cat options.ttyS0
> lock
> debug 4
> login
> auth
> modem
> refuse-chap
> require-pap
> mtu 576
> mru 576
> deflate 15
> bsdcomp 15
> callback server
> 192.168.80.1:192.168.80.2
> ms-dns 192.168.100.10
> lcp-echo-failure 3
> lcp-echo-interval 30
> password qw
> user qw
>
> и так пробовал
> [root@gate ppp]# grep ^[^#] /etc/mgetty+sendfax/login.config
> /AutoPPP/ -     a_ppp   /usr/sbin/pppd auth -chap +pap user qw password qw
> *       -       -       /bin/login @
>  НЕ ХОЧЕТ ПРИНИМАТЬ ПАРОЛЬ.
>
>   
>>>>>>> On 15 Jan 2008 at 14:03 "a" == altlinux  writes:
>>>>>>>             
>>>>>>>               
>>  a> Всем привет!!
>>  a> Дозваниваюсь но не принимает пароль. ALM4.  В винде повторно выскакивает 
>>  a> запрос пароля.
>>
>> Вот так работает:
>>
>> # grep ^[^#] /etc/mgetty+sendfax/login.config
>> /AutoPPP/ -     a_ppp   /usr/sbin/pppd auth -chap +pap
>> *       -       -       /sbin/login @
>>
>> # cat /etc/ppp/options.ttyS0
>> lock
>> debug 4
>> login
>> auth
>> modem
>> refuse-chap
>> require-pap
>> mtu 576
>> mru 576
>> deflate 15
>> bsdcomp 15
>> callback server
>> 217.116.56.148:192.168.202.10
>> ms-dns 217.116.56.149
>> lcp-echo-failure 3
>> lcp-echo-interval 30
>>
>> /etc/ppp/pap-secrets:
>> user *   ""  *
>>
>> Т.е. пароль берётся из системы
>>
>>   
>>     
>
>
> _______________________________________________
> Sysadmins mailing list
> Sysadmins@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins
>   




  reply	other threads:[~2008-01-16 15:03 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-15  9:03 altlinux
2008-01-15 13:01 ` altlinux
2008-01-16  5:45 ` altlinux
2008-01-16  8:17   ` Motsyo Gennadi aka Drool
2008-01-16 11:13 ` altlinux
2008-01-16 13:35 ` Vladimir V. Kamarzin
2008-01-16 15:00   ` altlinux
2008-01-16 15:03     ` altlinux [this message]
2008-01-17  6:00     ` Vladimir V. Kamarzin
2008-01-17  6:47       ` altlinux
2008-01-17  7:05         ` Vladimir V. Kamarzin
2008-01-17  7:37           ` altlinux
2008-01-17  8:09             ` Vladimir V. Kamarzin
2008-01-17 15:32               ` altlinux
2008-01-18  7:35               ` altlinux
2008-01-21 12:16                 ` Vladimir V. Kamarzin
2008-01-21 13:37                   ` altlinux
2008-01-22  5:33                     ` altlinux
2008-01-22  5:53                     ` Vladimir V. Kamarzin
2008-01-22 13:16                       ` Andrew Kornilov
2008-01-22 15:29                         ` altlinux
2008-01-22 15:35                           ` Andrew Kornilov
2008-01-22 15:52                             ` altlinux
2008-01-24  6:29                               ` altlinux
2008-01-17  7:55           ` altlinux
2008-01-17  7:39       ` altlinux

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=478E1CC8.9010105@aaanet.ru \
    --to=altlinux@aaanet.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git