Prob using nullmodem cable

Johannes Buechler (buechler@iaew.rwth-aachen.de)
23 Oct 1999 1916:04:37 GMT


Hi Gerd, hi Marc, hi list!

I posted this about a week before, but no replies :-( Maybe because I forgot
to set up my realname (it was the new installed machine of a friend).

We have a linux pc with a leased line to the internet and want to
connect another computer (amiga) per serial nullmodem cable to this pc.
System: Linux 2.2.13pre12 (Redhat), mgetty 1.1.14

Problem:
I get the /etc/issue of the linux pc and I am prompted fuer my username
('...login:'). But when I enter the username (jens), nothing happens.
I'm not even prompted for a password.

My /etc/mgetty+sendfax/login.config contains:
jens 500 @ /bin/login

mgetty is started via: 7:2345:respawn:/sbin/mgetty -s 19200 -r ttyS1

/var/log/mgetty.log.ttyS1:
10/15 19:16:47 yS1  waiting...
10/15 19:29:52 yS1    select returned 1
10/15 19:29:52 yS1   checking lockfiles, locking the line
10/15 19:29:52 yS1   makelock(ttyS1) called
10/15 19:29:52 yS1   do_makelock: lock='/var/lock/LCK..ttyS1'
10/15 19:29:52 yS1   lock made
10/15 19:29:52 yS1   waiting for line to clear (VTIME), read: [0d]
10/15 19:29:52 yS1    looking for utmp entry... (my PID: 13878)
10/15 19:29:52 yS1   utmp + wtmp entry made
10/15 19:29:53 yS1   tio_set_flow_control( HARD )
10/15 19:29:53 yS1   print welcome banner (/etc/issue)
10/15 19:29:53 yS1   getlogname (AUTO_PPP), read:jens[0d]
10/15 19:29:55 yS1   input finished with '\r', setting ICRNL ONLCR
10/15 19:29:55 yS1   tio_get_rs232_lines: status: RTS CTS DSR DTR
10/15 19:29:55 yS1  WARNING: starting login while DCD is low!
10/15 19:29:55 yS1    login: use login config file /etc/mgetty+sendfax/
 login.config
10/15 19:29:55 yS1   match: user='jens', key='jens'*** hit!
10/15 19:29:55 yS1   login: utmp entry: jens
10/15 19:29:55 yS1    looking for utmp entry... (my PID: 13878)
10/15 19:29:55 yS1   utmp + wtmp entry made
10/15 19:29:55 yS1  getpwnam('500') failed: No such file or directory
10/15 19:29:55 yS1   calling login: cmd='/bin/login', argv[]='login'
10/15 19:29:55 ##### data dev=ttyS1, pid=13878, caller='none', conn='DIRECT',
 name='', cmd='/bin/login', user='jens'
10/15 19:29:55 yS1   setenv: 'CALLER_ID=none'
10/15 19:29:55 yS1   setenv: 'CONNECT=DIRECT'

What does that getpwnam line wants to say to me? Who can give me a hint?

Thanks in advance,

Johannes

-- 
Johannes Büchler <buechler@iaew.rwth-aachen.de>
send E-mail with subject 'GET PGP_KEY' for pgp public key
to the following address: buechler@gbprr3.iaew.rwth-aachen.de
fingerprint = 92 FC B5 30 CF 87 FA 2D  F3 72 46 49 8B 02 7C 48