On Wed, Jan 23, 2013 at 3:40 PM, Howard White <[email protected]> wrote: > Is there any process more aggravating than trying to figure out what serial > port a modem is on. I can hear it now: "what's a modem?" Children... > > We have lspci that shows us all the PCI bus stuff for the patrons of that > bus. We have lsscsi to show things on the SCSI channels. We have lsusb for > those interfaces. How about a lstty?
ls -l /dev/tty* No, seriously, that's it. The problem is that a modem (and I'm assuing you're talking about an external modem, because internal modems will show up on the PCI bus) doesn't actually say "Here I am" in any qualitative way, at least not intrinsically. You essentially have to query it, yourself, using a program like minicom, to first connect to the port (assuming you know the connection parameters (speed, parity, stop bits), and then hitting the Enter key a couple times until the "OK" response comes back, or alternately, nothing at all. Yes, it's not the greatest interface, but unlike some of the later interfaces, a modem worked with positively every computer that had a serial port. -Tilghman -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en
