I have a dialup console on a Linux box (Raspbian 9.1 on a Raspberry Pi 2 model B Rev 1.1, if it matters). mgetty version is 1.1.36-3. I can dial in and everything functions fine.
In the past, on my previous dialup console machine (which was running Debian 6.0; the system's not running so I can't check the mgetty version), running 'who' would show interesting information about the modem-connected user:
jim tty7 2018-02-27 15:41 (:0) jim pts/2 2018-02-27 22:20 (192.168.222.26) jim ttyS0 2018-03-03 12:05 (33600/ARQ/V34/LAPM/V42BIS)
(Manually generated from memory of how it displays.)
Instead it displays as:
jim pts/0 2018-02-14 17:00 (2605:xxx:b9ff:fe17:e860) jim pts/1 2018-03-03 14:08 (2605:xxx:d7e3:d555:6906) jim ttyUSB0 2018-03-03 14:10
Notice that it's blank.
The log file in /var/log/mgetty clearly shows the connection information, so I know that the modem is giving a useful connection string to mgetty. mgetty is not passing this along to whatever who gets its information from, though.
Contents of relevant log file:
08/19 10:52:51 ##### data dev=ttyUSB0, pid=25733, caller='306xxxyyyy', conn='16800/ARQ/HST/HST/V42BIS', name='TORVALDS L :)', cmd='/bin/login', user='jim'
I know this is trivial and unnecessary, but I prefer how it used to work. How do I restore this functionality?
I doubt it's relevant, but the old machine used a real serial port, but the new one, lacking any, is using a USB-to-serial converter.