Re: No password prompt on ttyACM0

2009-02-18 Thread Christopher Fowler

Andreas Barth wrote:

Well, there is no real "standard kernel". I would also recommend to
try a few different linux kernel versions (also older ones from
Debian).

I copied the debian kernel mailinglist, perhaps there's some good
input from there.

  
Is this a 2.4.X kernel?  I had the same problem with a Multi-Tech ACM 
based USB modem.  The
issue is that the ACM tty driver is not finished in 2.4.X kernels.   The 
tty is treated as raw and there
is no cooked I/O.  This is not an issue if you are using ppp perhaps but 
if you want access to the CLI

via modem it will not work.



Cheers,
Andi
  



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: No password prompt on ttyACM0

2009-02-18 Thread Andreas Barth
* Gert Doering (g...@greenie.muc.de) [090218 20:45]:
> Hi,
> 
> On Wed, Feb 18, 2009 at 11:35:06AM -0700, Sam Noble wrote:
> > 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").
> [..]

> >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 CM0login: 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:

> [..]
> > 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.
> 
> This hints more at problems with the USB tty drivers.  
> 
> As in "if an application does stupid things like 'query serial lines 
> status' then just hang, instead of returning useful information" -
> otherwise there would be something in the mgetty log.
> 
> Is debian using a modified kernel, or "bog standard Linus distribution
> kernel"?  You might want to try an "off the shelf" kernel...

Well, there is no real "standard kernel". I would also recommend to
try a few different linux kernel versions (also older ones from
Debian).

I copied the debian kernel mailinglist, perhaps there's some good
input from there.


Cheers,
Andi


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org