modem connection

modem connection

am 08.02.2006 11:59:28 von Dermot Paikkos

Hi,

I am trying to set-up a modem for dialin access to a server. I
followed some instruction I got about setting up mgetty. So now I can
get the system to answer the modem and issue a login prompt. However
it doesn't offer the password prompt after the user enters the
username.

Should the modem be configured for echo back?

Should mgetty be configured as data-only ( I don't want fax)?

Does anyone know what I am missed?
Thanx.
Dp.



=============================
I used mgetty -x 7 ttyS0 and dialed in.

The log looks like this:

02/07 15:21:06 yS0 match: user='user1', key=''
02/07 15:21:06 yS0 match: user='user1', key=''
02/07 15:21:06 yS0 match: user='user1', key='/AutoPPP/'
02/07 15:21:06 yS0 match: user='user1', key='*'*** hit!
02/07 15:21:06 yS0 calling login: cmd='/bin/login', argv[]='login
user1'
02/07 15:21:06 yS0 setenv: 'CALLER_ID=none'
02/07 15:21:06 yS0 setenv: 'CONNECT=31200 V42bis'
02/07 15:21:06 yS0 setenv: 'DEVICE=ttyS0'
02/07 15:21:06 ##### data dev=ttyS0, pid=6985, caller='none',
conn='31200 V42bis
', name='', cmd='/bin/login', user='user1'

======================
/etc/mgetty+sendfax/login.conf has:

AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login debug
port ttyS0
debug 4
# data-only y # this has been set to off and on at various times.


=====================
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html