Sam Noble
2009-02-18 18:35:06 UTC
I'm using some Zoom 2985C USB modems (and a few other similar cdc_acm
USB modems) for out-of-band management on my Vyatta routers (Read
"Debian Lenny/Testing Systems").
Previously, (On Vyatta software stack that was largely Lenny from ~May
2008) I was able to use dial-in to these with no more configuration than
installing in the deb for mgetty and adding:
T3:23:respawn:/sbin/mgetty -x0 -s 115200 ttyACM0
to /etc/inittab.
Also I'm only pretty sure I tested this out on my Debian Lenny laptop at
the time.
Recently (On Vyatta software stack that is largely Lenny from January
2009, and this time definately also tested on my current Debian Testing
laptop), I am not able to successfully dial in.
Mgetty picks up just fine, and prompts for a username, but never returns
a password prompt.
As an additional wrinkle, it sometimes works normally ~1 time after a
reboot, though by "works" I mean that I get a password prompt and can
log in. Hovever those shell sessions usually last only for ~10-50 lines
of output and then seem to lock up.
At -x9 debug level, the older systems logs look like this:
02/17 18:21:52 CM0 print welcome banner (/etc/issue.mgetty)
02/17 18:21:52 CM0 getlogname (FIDO AUTO_PPP), read:vyatta[0d]
02/17 18:22:00 CM0 input finished with '\r', setting ICRNL ONLCR
02/17 18:22:00 CM0 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
02/17 18:22:00 CM0 login: use login config file /etc/mgetty/login.config
02/17 18:22:00 CM0 login: stat('/etc/mgetty/login.config') failed: No such file or directory
02/17 18:22:00 CM0 login: fall back to /bin/login
02/17 18:22:00 CM0 calling login: cmd='/bin/login', argv[]='login vyatta'
02/17 18:22:00 CM0 setenv: 'CALLER_ID=none'
02/17 18:22:00 CM0 setenv: 'CONNECT=115200'
02/17 18:22:00 CM0 setenv: 'DEVICE=ttyACM0'
02/17 18:22:00 ##### data dev=ttyACM0, pid=19074, caller='none', conn='115200', name='', cmd='/bin/login', user='vyatta'
But the problem systems never get to the tio_get_rs232_lines:
02/17 19:20:19 CM0 print welcome banner (/etc/issue.mgetty)
02/17 19:20:19 CM0 getlogname (FIDO AUTO_PPP), read:vyatta[0d]
02/17 19:20:23 CM0 input finished with '\r', setting ICRNL ONLCR
~
~
I'm doing the dialing from minicom, And I've tried using the mgetty
version from the older systems on the new systems, but that seemed to
make no difference. I've also tried replacing the login deb with the one
from the older systems, but that also does not seem to make any
difference.
Any advice would be welcome.
Sam Noble
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
USB modems) for out-of-band management on my Vyatta routers (Read
"Debian Lenny/Testing Systems").
Previously, (On Vyatta software stack that was largely Lenny from ~May
2008) I was able to use dial-in to these with no more configuration than
installing in the deb for mgetty and adding:
T3:23:respawn:/sbin/mgetty -x0 -s 115200 ttyACM0
to /etc/inittab.
Also I'm only pretty sure I tested this out on my Debian Lenny laptop at
the time.
Recently (On Vyatta software stack that is largely Lenny from January
2009, and this time definately also tested on my current Debian Testing
laptop), I am not able to successfully dial in.
Mgetty picks up just fine, and prompts for a username, but never returns
a password prompt.
As an additional wrinkle, it sometimes works normally ~1 time after a
reboot, though by "works" I mean that I get a password prompt and can
log in. Hovever those shell sessions usually last only for ~10-50 lines
of output and then seem to lock up.
At -x9 debug level, the older systems logs look like this:
02/17 18:21:52 CM0 print welcome banner (/etc/issue.mgetty)
02/17 18:21:52 CM0 getlogname (FIDO AUTO_PPP), read:vyatta[0d]
02/17 18:22:00 CM0 input finished with '\r', setting ICRNL ONLCR
02/17 18:22:00 CM0 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
02/17 18:22:00 CM0 login: use login config file /etc/mgetty/login.config
02/17 18:22:00 CM0 login: stat('/etc/mgetty/login.config') failed: No such file or directory
02/17 18:22:00 CM0 login: fall back to /bin/login
02/17 18:22:00 CM0 calling login: cmd='/bin/login', argv[]='login vyatta'
02/17 18:22:00 CM0 setenv: 'CALLER_ID=none'
02/17 18:22:00 CM0 setenv: 'CONNECT=115200'
02/17 18:22:00 CM0 setenv: 'DEVICE=ttyACM0'
02/17 18:22:00 ##### data dev=ttyACM0, pid=19074, caller='none', conn='115200', name='', cmd='/bin/login', user='vyatta'
But the problem systems never get to the tio_get_rs232_lines:
02/17 19:20:19 CM0 print welcome banner (/etc/issue.mgetty)
02/17 19:20:19 CM0 getlogname (FIDO AUTO_PPP), read:vyatta[0d]
02/17 19:20:23 CM0 input finished with '\r', setting ICRNL ONLCR
~
~
I'm doing the dialing from minicom, And I've tried using the mgetty
version from the older systems on the new systems, but that seemed to
make no difference. I've also tried replacing the login deb with the one
from the older systems, but that also does not seem to make any
difference.
Any advice would be welcome.
Sam Noble
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de