Skip to contentSkip to conversation

Modem Identification

DISCUSSION Frank Roberts - SOTL 6 participants 9 messages Dec 15, 2002 – Dec 16, 2002

lore
Share & tools
lore
#1 lore raw
Quoted 5 lines · Frank Roberts - SOTL

Hi All

Question:

Quoted 1 line

From the command line how does one determine which port a modem is on?

It depends on exactly what you mean. I'm guessing that you intend to refer to a situation where you have 2 or more serial ports in a computer, and a modem conencted to one of them, but the ports are unlabeled so you dont know which one the modem is attached to. In that case, I would use a terminal app (such as minicom) to connect to each port, and see which port (actuall, its associated /dev/ttyS* entry) gets responses from the modem to typical AT commands.

There are many more things you *might* mean, though. So if I've guessed wrong (and someone else does not guess right), please post a followup that asks the question in a different, more specific form.

--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski -- Han Solo
Palo Alto, California, USA [email protected]
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#2 lore raw

Thanks Ray

Actually your response is very close to my intent.

What I am trying to do is identify which port I have a modem which may or may not be a win modem connected to.
It was purchased as a full modem but I sincerely question that it is.

As far as using minicom that is another slight problem there in that for some reason I do not have minicom functioning correctly or something resulting in that being the next major issue to be resolved since I need minicom for another major reason.

Isn't there a command that allows one to "ping" a modem from the command line and which returns the modem identification annd type? I seem to recall that there is but I can not recall it but again this may be falty network memory.

Thanks
Frank

Quoted 14 lines · Ray Olszewski
Quoted 4 lines · Frank Roberts - SOTL

Hi All

Question:

Quoted 1 line

From the command line how does one determine which port a modem is on?

It depends on exactly what you mean. I'm guessing that you intend to refer to a situation where you have 2 or more serial ports in a computer, and a modem conencted to one of them, but the ports are unlabeled so you dont know which one the modem is attached to. In that case, I would use a terminal app (such as minicom) to connect to each port, and see which port (actuall, its associated /dev/ttyS* entry) gets responses from the modem to typical AT commands.

Quoted 3 lines

There are many more things you *might* mean, though. So if I've guessed wrong (and someone else does not guess right), please post a followup that asks the question in a different, more specific form.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#3 lore raw

Hi, Frank:

Is your modem internal or external?
If it is a full modem and it is internal
it will appear as a uart.
If your BIOS displays hardware configuration at bootup, watch for the extra serial port in 'the box'.

If it is external, you may need to guess its speed, parity,
and 7 or 8 bits. Once you can communicate with an external modem send it
ATI4
and if it is Hayes Command Set compatible,
it will tell you about itself.

I purchased an alleged 'full modem' some years ago
only to find out it was a 'winmodem'. :-(

The last one I bought was a 56k and cost about 34 USD.

HTH, Chuck

Quoted 14 lines · Frank Roberts - SOTL

Thanks Ray

Actually your response is very close to my intent.

What I am trying to do is identify which port I have a modem which may or may not be a win modem connected to.
It was purchased as a full modem but I sincerely question that it is.

As far as using minicom that is another slight problem there in that for some reason I do not have minicom functioning correctly or something resulting in that being the next major issue to be resolved since I need minicom for another major reason.

Quoted 25 lines

Isn't there a command that allows one to "ping" a modem from the command line and which returns the modem identification annd type? I seem to recall that there is but I can not recall it but again this may be falty network memory.

Thanks
Frank

Quoted 17 lines · Ray Olszewski
Quoted 4 lines · Frank Roberts - SOTL

Hi All

Question:

Quoted 1 line

From the command line how does one determine which port a modem is on?

It depends on exactly what you mean. I'm guessing that you intend to refer to a situation where you have 2 or more serial ports in a computer, and a modem conencted to one of them, but the ports are unlabeled so you dont know which one the modem is attached to. In that case, I would use a terminal app (such as minicom) to connect to each port, and see which port (actuall, its associated /dev/ttyS* entry) gets responses from the modem to typical AT commands.

There are many more things you *might* mean, though. So if I've guessed wrong (and someone else does not guess right), please post a followup that asks the question in a different, more specific form.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#4 lore raw

Re: Modem Identification - Thanks

In reply to Ray Olszewski

Hi All

I finally got the IBM A30P Think Pad I have been working on for the last month on line.

Getting Linux on was a bitch you people may recall all my posts concerning the various distributions over this.

The modem has proven to be equally chalanging mainly because of lack of information on which is the best procedure to use.

The only major outstanding item required for this box is minicom or its replacement. Hopefully the latter as I find minicom a trite stuffy but usable.

Thanks again for all the great help.

Frank
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#5 lore raw

Re: Modem Identification - Thanks

Well you should know that on freshmeat newsletter in the last couple days a package was released for the thinkpad which would allow you to program the thinkpad's buttons to do certain linux tasks. It's thinkpad_buttons-x.y.z.tar.gz I think.

Jude <dashielljt(at)gmpexpress-dot-net>

On Sun, 15 Dec 2002, Frank Roberts - SOTL wrote:

Hi All

I finally got the IBM A30P Think Pad I have been working on for the last month on line.

Getting Linux on was a bitch you people may recall all my posts concerning the various distributions over this.

The modem has proven to be equally chalanging mainly because of lack of information on which is the best procedure to use.

The only major outstanding item required for this box is minicom or its replacement. Hopefully the latter as I find minicom a trite stuffy but usable.

Thanks again for all the great help.

Frank
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#6 lore raw

Re: Modem Identification - Thanks

Thanks for the info.

By the way there is a Thinkpad user group and news group at:

[email protected]

Thanks

Frank

Quoted 7 lines · dashielljt

Well you should know that on freshmeat newsletter in the last couple days a package was released for the thinkpad which would allow you to program the thinkpad's buttons to do certain linux tasks. It's thinkpad_buttons-x.y.z.tar.gz I think.

Jude <dashielljt(at)gmpexpress-dot-net>

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#7 lore raw

Re: Modem Identification - Thanks

In reply to Frank Roberts - SOTL
Quoted 2 lines · Frank Roberts - SOTL

Hi All

...

Quoted 4 lines

The only major outstanding item required for this box is minicom or its replacement. Hopefully the latter as I find minicom a trite stuffy but usable.

I like cu - it is part of the uucp package, and a nice crude terminal emulator.

cu -l <device name>

FI /dev/ttyS1

or if you have devfs, /dev/tts/1.

Quoted 4 lines

Thanks again for all the great help.

Frank

Lawson
--
---oops---

________________________________________________________________
Sign Up for Juno Platinum Internet Access Today
Only $9.95 per month!
Visit www.juno.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#8 lore raw
In reply to Frank Roberts - SOTL

Greetings: If you don't have Minicom, re Ray's suggestion, you can, if you have it in your distribution - use 'dip -t'...

I used it years ago to talk to a modem but I don't have it on this machine.. Try 'man dip' for the syntax.. The '-t' flag means "test."

If you have the mfgr/model number and/or FCC ID number you can search on www.google.com to see if it's a WinModem or not.. The suggestions are to stay away from WinModems with Linux but there are drivers for the Motorola modem specifically for certain narrow distributions.

HTH and good luck,

Hal - in Terra Alta, WV - Slackware GNU/Linux 8.0 (2.4.13)
[email protected] | [email protected]
Proprietary Formats Unacceptable
NON ILLEGITIMI CARBORUNDUM

Quoted 9 lines · Frank Roberts - SOTL

Hi All

Question:
From the command line how does one determine which port a modem is on?

Thanks
Frank

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs