[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

new dial in server - pppd hangs on connect



I'm setting up a server for modem dial using debian woody + security.  
This is meant to replace a debian 2.2 server which works fine, except
that Windows XP wont connect to it.

My new server is having problems, however.  I am hoping someone can get
me going in the right direction.

I have tried mgetty/pppd & portslave/pppd/radiusd-cistron and I'm having
similar problems with pppd in both situations.

For the mgetty situation, when the client connects, mgetty spawns pppd,
which hangs until 'kill'ed.  The client PC gives up in a reasonable
amount of time.  

Even though I have quite a bit of pppd logging options enabled, pppd is
only logging that it started, and that it was terminated (when I kill
it).

'ps ux' shows this before I kill the process.

root      4058  0.0  2.9  2000  892 ttyS0    S    10:37   0:00 pppd auth -chap +pap login debug kdebug 1


NOTE: For testing, I'm using a Windows 98 client.  The configuration is the
same for both the debian 2.2 server (working) and the debian woody server 
(not working), so this should be a valid configuration.


Here are the relevant files & logs of my mgetty/pppd configuration:


ppp_2.4.1.uus-4_i386.deb
mgetty_1.1.27-4.1_i386.deb
kernel-image-2.4.18-1-586tsc_2.4.18-10_i386.deb





/etc/mgetty/login.config
------------------------
/AutoPPP/ -     a_ppp   /usr/sbin/pppd auth -chap +pap login debug kdebug 1
*       -       -       /bin/login @





/etc/syslog.conf (added lines only)
--------------------------------------
local2.*                        -/var/log/ppp.log





/etc/ppp/options
----------------
asyncmap 0
auth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx





/etc/ppp/pap-secrets
--------------------
*       dialin  ""      *
guest   dialin  "*"     -
master  dialin  "*"     -
root    dialin  "*"     -
support dialin  "*"     -
stats   dialin  "*"     -
dialin  *       password





/etc/ppp/options.ttyS0
----------------------
ip.of.server:ip.for.client





/var/log/ppp.log (after killing pppd process)
---------------------------------------------
Aug 11 10:28:41 dialin pppd[4035]: pppd 2.4.1 started by a_ppp, uid 0
Aug 11 10:37:01 dialin pppd[4035]: Terminating on signal 15.
Aug 11 10:37:01 dialin pppd[4035]: Exit.





/var/log/mgetty/mg_ttyS0.log
----------------------------
--
08/11 10:27:49 yS0  mgetty: experimental test release 1.1.27-Oct21
08/11 10:27:49 yS0  check for lockfiles
08/11 10:27:49 yS0  locking the line
08/11 10:27:49 yS0  lowering DTR to reset Modem
08/11 10:27:50 yS0  send: \dATQ0V1H0[0d]
08/11 10:27:50 yS0  waiting for ``OK'' ** found **
08/11 10:27:50 yS0  send: AT[0d]
08/11 10:27:50 yS0  waiting for ``OK'' ** found **
08/11 10:27:51 yS0  waiting...
08/11 10:28:22 yS0  wfr: waiting for ``RING''
08/11 10:28:22 yS0  send: ATA[0d]
08/11 10:28:22 yS0  waiting for ``CONNECT'' ** found **
08/11 10:28:38 yS0  send:
08/11 10:28:38 yS0  waiting for ``_'' ** found **
08/11 10:28:41 yS0  WARNING: starting login while DCD is low!
08/11 10:28:41 ##### data dev=ttyS0, pid=4035, caller='none', conn='24000 V42bis', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'

--
08/11 10:37:01 yS0  mgetty: experimental test release 1.1.27-Oct21
08/11 10:37:01 yS0  check for lockfiles
08/11 10:37:01 yS0  locking the line
08/11 10:37:01 yS0  lowering DTR to reset Modem
08/11 10:37:02 yS0  send: \dATQ0V1H0[0d]
08/11 10:37:02 yS0  waiting for ``OK'' ** found **
08/11 10:37:03 yS0  send: AT[0d]
08/11 10:37:03 yS0  waiting for ``OK'' ** found **



Reply to: