Re: Dial Up Server Problems

2003-01-11 Thread Georg Lehner
Hello!

El vie, 10-01-2003 a las 13:27, Jody Grafals escribió:
...
 /var/log/auth.log
 Jan  9 01:15:16 stich-vpn mgetty[1566]: data dev=ttyS0, pid=1566,
 caller='none', conn='33600/ARQ/V34/LAPM/V42BIS', name='',
 cmd='/usr/sbin/pppd', user='/AutoPPP/'
 Jan  9 01:15:20 stich-vpn PAM_unix[1566]: (ppp) session opened for user
 techquest by a_ppp(uid=0)
 Jan  9 01:15:21 stich-vpn PAM_unix[1566]: (ppp) session closed for user
 techquest


Try the kdebug and debug option for pppd and watch also at the other
ppp-logs, not only authentication.

tail -f /var/log/syslog|grep ppp

or similar.


  /var/log/mgetty/mg_ttyS0.log
 01/08 17:51:15 yS0   tss: set speed to 57600 (10001)
 01/08 17:51:15 yS0   tio_set_flow_control( HARD )
 01/08 17:51:15 yS0   waiting for line to clear (VTIME), read: 
 01/08 17:51:15 yS0  send: \dATQ0V1H0[0d]
 01/08 18:41:15 yS0  timeout in chat script, waiting for `OK'
 01/08 18:41:15 yS0  init chat timed out, trying force-init-chat
 01/08 18:41:15 yS0  send: \d[10][03]\d\d\d+++\d\d\d[0d]\dATQ0V1H0[0d]
 01/08 18:51:15 yS0  waiting for ``OK''
 01/08 18:51:15 yS0   got: 
 01/08 19:41:15 yS0  send: \dATQ0V1H0[0d]
 01/08 19:41:15 yS0  waiting for ``OK''
 01/08 19:41:15 yS0   got: 
 01/08 21:15:10 yS0  timeout in chat script, waiting for `OK'
 01/08 21:15:10 yS0  init chat failed, exiting...: Interrupted system
 call

Why is that?  Do your problems behave correctly?

Some weeks ago I had a problem with auto-answering modems.  One has to
shut this feature off with mgetty.  But I guess this is not your problem
- just in case...

Best Regards,

Jorge-León


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Dial Up Server Problems

2003-01-10 Thread Jody Grafals
 
I have a server  set up for dial in users. 
when you dial into the server is authenticates then 
drops the call. 

I have been working on this for a solid  week. I tried every how-to I
could find on the internet and ended up making the problem worse by not
even getting authenticated.So I yanked (dpkg -P) the mgetty and
ppp packages deleted the config directorys for them under etc then
reinstalled with deselct. I  did the most basic configuration
that I thought should work for dialing in on ttyS0 and now I'm right
back at square one. The server picks up authenticates then drops the
call.  

ANY Help would be *greatly* appreciated
 below you will find my config and log files. 


System Setup
Kernel Ver. 2.4.20 
two US Robotics Ext. 56k V.92 Modems on ttyS0  ttyS1


/etc/ppp/pap-secrets
AUTO_PPP.

*   stich-vpn 192.168.1.222

guest   stich-vpn   * -
master  stich-vpn   * -
rootstich-vpn   * -
support stich-vpn   * -
stats   stich-vpn   * -

stich-vpn   *   password



# login.config
/AutoPPP/ - a_ppp   /usr/sbin/pppd auth -chap +pap login debug
*   -   -   /bin/login @


/etc/inittab
T1:23:respawn:/sbin/mgetty  -x8 -D -s 57600 ttyS1
T0:23:respawn:/sbin/mgetty  -x8 -D -s 57600 ttyS0


/var/log/auth.log
Jan  9 01:15:16 stich-vpn mgetty[1566]: data dev=ttyS0, pid=1566,
caller='none', conn='33600/ARQ/V34/LAPM/V42BIS', name='',
cmd='/usr/sbin/pppd', user='/AutoPPP/'
Jan  9 01:15:20 stich-vpn PAM_unix[1566]: (ppp) session opened for user
techquest by a_ppp(uid=0)
Jan  9 01:15:21 stich-vpn PAM_unix[1566]: (ppp) session closed for user
techquest

 /var/log/mgetty/mg_ttyS0.log
01/08 17:51:15 yS0   tss: set speed to 57600 (10001)
01/08 17:51:15 yS0   tio_set_flow_control( HARD )
01/08 17:51:15 yS0   waiting for line to clear (VTIME), read: 
01/08 17:51:15 yS0  send: \dATQ0V1H0[0d]
01/08 18:41:15 yS0  timeout in chat script, waiting for `OK'
01/08 18:41:15 yS0  init chat timed out, trying force-init-chat
01/08 18:41:15 yS0  send: \d[10][03]\d\d\d+++\d\d\d[0d]\dATQ0V1H0[0d]
01/08 18:51:15 yS0  waiting for ``OK''
01/08 18:51:15 yS0   got: 
01/08 19:41:15 yS0  send: \dATQ0V1H0[0d]
01/08 19:41:15 yS0  waiting for ``OK''
01/08 19:41:15 yS0   got: 
01/08 21:15:10 yS0  timeout in chat script, waiting for `OK'
01/08 21:15:10 yS0  init chat failed, exiting...: Interrupted system
call
01/08 21:15:10 # failed in mg_init_data, dev=ttyS0, pid=883
01/08 21:15:10 yS0   removing lock file
01/08 21:15:10 yS0  mgetty: experimental test release 1.1.27-Oct21
01/08 21:15:10 yS0   mgetty.c compiled at Apr  5 2002, 21:42:08
01/08 21:15:10 yS0   user id: 0, parent pid: 1
01/08 21:15:10 yS0   reading configuration data for port 'ttyS0'
01/08 21:15:10 yS0   reading /etc/mgetty/mgetty.config...
01/08 21:15:10 yS0   conf lib: read: 'debug 4'
01/08 21:15:10 yS0   conf lib: read: 'fax-id '
01/08 21:15:10 yS0   conf lib: read: 'speed 38400'
01/08 21:15:10 yS0   conf lib: read: 'issue-file /etc/issue.mgetty'
01/08 21:15:10 yS0   key: 'speed', type=0, flags=2, data=57600
01/08 21:15:10 yS0   key: 'switchbd', type=0, flags=1, data=0
01/08 21:15:10 yS0   key: 'direct', type=3, flags=1, data=FALSE
01/08 21:15:10 yS0   key: 'blocking', type=3, flags=1, data=FALSE
01/08 21:15:10 yS0   key: 'port-owner', type=1, flags=1, data=root
01/08 21:15:10 yS0   key: 'port-group', type=1, flags=1, data=dialout
01/08 21:15:10 yS0   key: 'port-mode', type=0, flags=1, data=432
01/08 21:15:10 yS0   key: 'toggle-dtr', type=3, flags=1, data=TRUE
01/08 21:15:10 yS0   key: 'toggle-dtr-waittime', type=0, flags=1,
data=500
01/08 21:15:10 yS0   key: 'need-dsr', type=3, flags=1, data=FALSE
01/08 21:15:10 yS0   key: 'data-only', type=3, flags=2, data=TRUE
01/08 21:15:10 yS0   key: 'fax-only', type=3, flags=1, data=FALSE
01/08 21:15:10 yS0   key: 'modem-type', type=1, flags=1, data=auto
01/08 21:15:10 yS0   key: 'modem-quirks', type=0, flags=0, data=(empty)
01/08 21:15:10 yS0   key: 'init-chat', type=2, flags=1, data= \dATQ0V1H0
OK AT OK 
01/08 21:15:10 yS0   key: 'force-init-chat', type=2, flags=1, data=
\d\d\d\d+++\d\d\d
\dATQ0V1H0 OK 
01/08 21:15:10 yS0   key: 'post-init-chat', type=2, flags=0,
data=(empty)
01/08 21:15:10 yS0   key: 'data-flow', type=4, flags=1, data=1
01/08 21:15:10 yS0   key: 'fax-send-flow', type=4, flags=1, data=7
01/08 21:15:10 yS0   key: 'fax-rec-flow', type=4, flags=1, data=7
01/08 21:15:10 yS0   key: 'modem-check-time', type=0, flags=1, data=3600
01/08 21:15:10 yS0   key: 'rings', type=0, flags=1, data=1
01/08 21:15:10 yS0   key: 'msn-list', type=2, flags=0, data=(empty)
01/08 21:15:10 yS0   key: 'get-cnd-chat', type=2, flags=0, data=(empty)
01/08 21:15:10 yS0   key: 'cnd-program', type=1, flags=0, data=(empty)
01/08 21:15:10 yS0   key: 'answer-chat', type=2, flags=1, data= ATA
CONNECT \c 
01/08 21:15:10 yS0   key: 'answer-chat-timeout', type=0, flags=1,
data=80
01/08 21:15:10 yS0   key: 'autobauding', type=3, flags=1, data=FALSE
01/08 21:15:10