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: Tue, 15 Jan 2008 16:01:51 +0300
Message-ID: <478CAEBF.1090202@aaanet.ru> (raw)
In-Reply-To: <478C76F3.5030206@aaanet.ru>

попробывал прописать
/AutoPPP/ -     -       /tmp/pppd file /etc/ppp/options.dialin

[root@gate mgetty+sendfax]# cat /tmp/pppd
#!/bin/sh
echo `date` >> /tmp/pppd.log
mesg n
tty -echo
/usr/sbin/pppd auth -chap +pap login debug

Файл /tmp/pppd.log не создаётся. Такое впечатление что  строка /AutoPPP/ 
не исполняется
:-(
> Всем привет!!
> Дозваниваюсь но не принимает пароль. ALM4.  В винде повторно выскакивает 
> запрос пароля.
>
> [root@gate mgetty+sendfax]# tail mgetty.config
> port ttyS0
> debug 9
> speed 57600
> data-only y
> #init-chat "" ATZ OK ATM0 OK
> init-chat "" AT&F1&M5S10=99S39=12
>
> [root@gate mgetty+sendfax]# cat login.config |grep optio
> /AutoPPP/ -     a_ppp   /usr/sbin/pppd file /etc/ppp/options.dialin
>
> [root@gate mgetty+sendfax]# cat /etc/ppp/options.dialin
> asyncmap 0
> auth
> crtscts
> -detach
> lock
> modem
> -chap
> +pap
> mtu 1492
> mru 1492
> proxyarp
> 192.168.80.1:192.168.80.2
> netmask 255.255.255.0
> ms-dns 192.168.100.10
>
> [root@gate mgetty+sendfax]# cat /etc/ppp/pap-secrets
> # Secrets for authentication using PAP
> # client        server  secret                  IP addresses
> "qwerty"        *       "qwerty"        *
>
>
> [root@gate mgetty]# tail /etc/inittab  -n 2
> T3:23:respawn:/sbin/mgetty ttyS0
> Даю команду init q после чего в логах
> [root@gate mgetty]# cat ttyS0.log
> 01/15 11:38:06 yS0  mgetty: experimental test release 1.1.31-Jul24
> 01/15 11:38:06 yS0  check for lockfiles
> 01/15 11:38:06 yS0   checklock: stat failed, no file
> 01/15 11:38:06 yS0  locking the line
> 01/15 11:38:06 yS0   makelock(ttyS0) called
> 01/15 11:38:06 yS0   do_makelock: lock='/var/lock/serial/LCK..ttyS0'
> 01/15 11:38:06 yS0   lock made
> 01/15 11:38:06 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR
> 01/15 11:38:06 yS0  lowering DTR to reset Modem
> 01/15 11:38:07 yS0   tss: set speed to 57600 (10001)
> 01/15 11:38:07 yS0   tio_set_flow_control( HARD )
> 01/15 11:38:07 yS0   waiting for line to clear (VTIME=1), read:
> 01/15 11:38:07 yS0  send: AT&F1&M5S10=99S39=12[0d]
> 01/15 11:38:07 yS0   waiting for line to clear (VTIME=3), read: 
> AT&F1&M5S10=99S39=12[0d][0d][0a]OK[0d][0a]
> 01/15 11:38:07 yS0   removing lock file
> 01/15 11:38:07 yS0  waiting...
>
>
> _______________________________________________
> Sysadmins mailing list
> Sysadmins@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins
>   




  reply	other threads:[~2008-01-15 13:01 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 [this message]
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
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=478CAEBF.1090202@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