LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-05-2010, 10:14 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
About make and model of modem


Hi folks,

I have an old external serial modem without indication of make and model. Please advise what command and/or procedure to find them.

TIA

B.R.
satimis
 
Old 09-05-2010, 11:11 AM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Greetingz!
If you don't even have an FCC ID sticker on the modem, then (if it's PCI, and not ISA) I would advise throwing it into a system and booting a Live Linux CD (like Knoppix). Once booted, just run something like "lspci" or "lshw" to find out the details.

If anything, one of those commands should give you enough information that a quick google search should pull up the rest!
However, don't be discouraged if it doesn't, just head over to LinModems.

Have a good one!
 
Old 09-05-2010, 11:19 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by xeleema View Post
Greetingz!
If you don't even have an FCC ID sticker on the modem, then (if it's PCI, and not ISA) I would advise throwing it into a system and booting a Live Linux CD (like Knoppix). Once booted, just run something like "lspci" or "lshw" to find out the details.

If anything, one of those commands should give you enough information that a quick google search should pull up the rest!
However, don't be discouraged if it doesn't, just head over to LinModems.

Have a good one!
Hi,

Thanks for your advice.

It is a serial modem connected to COM port.

dmesg printout a large file. What shall I "grep"? TIA

B.R.
satimis
 
Old 09-05-2010, 11:29 AM   #4
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
It's a serial modem hooked into a COM port? With no stickers or labels?
Honestly, I'd do one of three things at this point;

A: Safe Idea
Take a few photos of it, stuff them in your blog, then do a TinEye.com search on the images and see what comes up.
(Be sure to crop-down the photos to just the modem on a white background!)

B: Kinda Lame Idea
Post the picture in this thread as an attachment, then over on craiglist.com and find out if anyone knows what it is.

C: Fun Idea
Take a screwdriver to it and see if there's (a) model/serial/part number(s) on the inside. Then google those up!
 
Old 09-05-2010, 01:05 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,188

Rep: Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064
Quote:
Originally Posted by satimis View Post
Hi,
Thanks for your advice.

It is a serial modem connected to COM port.
dmesg printout a large file. What shall I "grep"? TIA
Dmesg and other commands won't be of much use here. Since you said in your first post that it's external, connected to a serial port, the lspci and lshw commands won't do anything to identify it.

If you don't have stickers/numbers/etc., of ANY type on that modem (which I doubt...SOMETHING of an identifier will be there), you can try to run minicom, and query the modem directly.

If you have the modem plugged into the first serial port, that should be /dev/ttyS0, so set up minicom accordingly, and issue "atixx", where the "xx" is a number, between 1 and 9. You MIGHT be able to go higher, but those are the interrogation codes in the Hayes command set, the I being there specifically for Plug-n-Play identification. If you go higher than 9, and that register isn't there, the worst that will happen is you'll get ERROR returned, so give it a try.

Check the entire Hayes command set here:
http://en.wikipedia.org/wiki/Hayes_command_set
 
1 members found this post helpful.
Old 09-05-2010, 08:59 PM   #6
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
HI TB0ne,


Thanks for your advice.


The only indication on the case is "56K Top Modam" made in Taiwan.


This is a virtual machine running Oracle VBox (VirtualBox) as virtualizer. The host is running Ubuntu 10.04 64-bit. The VM (guest) is running WinXP.

The old serial modem can run on the host without problem. But it can't be installed on VM needing the driver. A big ? is on the modem in Device Manager.


1) On host without forwarding the modem to the VM running;
# wvdialconf /etc/wvdial.conf
Code:
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- OK
ttyS0<*1>: ATQ0 V1 E1 Z -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyS0<*1>: Modem Identifier: ATI -- 56000
ttyS0<*1>: Speed 4800: AT -- OK
ttyS0<*1>: Speed 9600: AT -- OK
ttyS0<*1>: Speed 19200: AT -- OK
ttyS0<*1>: Speed 38400: AT -- OK
ttyS0<*1>: Speed 57600: AT -- OK
ttyS0<*1>: Speed 115200: AT -- OK
ttyS0<*1>: Max speed is 115200; that should be safe.
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Modem Port Scan<*1>: S2   S3

Found a modem on /dev/ttyS0.
Modem configuration written to /etc/wvdial.conf.
ttyS0<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

2) Forwarding the port to the VM

# wvdialconf /etc/wvdial.conf
Code:
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1   S2   S3   


Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at http://open.nit.ca/wiki/?WvDial

http://open.nit.ca/wiki/?WvDial
http://open.nit.can

Server NOT found.


B.R.
satimis

Last edited by satimis; 09-05-2010 at 09:01 PM.
 
Old 09-05-2010, 09:21 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,188

Rep: Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064
Quote:
Originally Posted by satimis View Post
HI TB0ne,
Thanks for your advice.
The only indication on the case is "56K Top Modam" made in Taiwan.

This is a virtual machine running Oracle VBox (VirtualBox) as virtualizer. The host is running Ubuntu 10.04 64-bit. The VM (guest) is running WinXP.

The old serial modem can run on the host without problem. But it can't be installed on VM needing the driver. A big ? is on the modem in Device Manager.
A virtual machine is quite different than a 'real' machine. You'll have to deal with getting the serial port shared/allocated to the Linux instance separately. After that, things should work fine. Hayes command-set modems are, pretty much, identical. It is RARE to find one that won't behave properly.
Quote:
Found a modem on /dev/ttyS0.
Modem configuration written to /etc/wvdial.conf.
ttyS0<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
Again, without setting up the virtual machine to do this, the OS isn't going to be able to access the serial port, and you're dead. Since wvdialconf DOES work when you don't do it, that tells you where the problem is.
 
Old 09-06-2010, 06:20 AM   #8
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by TB0ne View Post
Hayes command-set modems are, pretty much, identical. It is RARE to find one that won't behave properly.
The one thing that TB0ne could have added is that 99% or more of consumer RS-232 serial modems use the Hayes Command set. That's it. You don't need to know the make or the model, you don't need to use the model information to get a 'driver', because they all behave the same, because they all follow the Hayes command set.

(The 56k ones can be set to 56k phone line data rate, where slower ones can't be set to go that fast, but apart from that kind of fine detail, they are identical, identical identical. If wvdial (or kinternet, or whatever) can deal with one, it can deal with all the normal consumer modems. Oh, and don't confuse the speed on the phone line with speed on the serial interface between the PC and the modem - in this case, 115k; there is probably a slight speed advantage in setting the RS-232 link up to the slightly faster speed, such as this 115k (with 56k phone line speed), but the speed overall is always going to be rather slow by modern standards.)

You plug them in and they do what they do (which isn't much). You can still have problems, as has been described, at the VM level or at the level of setting the modem up for correct dialling or authentication with the ISP, but its not a driver problem, or anything else that can be cured with a make or model number. Which is perhaps as well because
Quote:
"56K Top Modam"
a manufacturer who can't even spell the name of their own product doesn't really fill you with confidence, does it?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get the make & model # of my mobo? BrianK Linux - Hardware 3 05-26-2005 05:45 PM
what modem model (56k) are you using? sweet*amber Linux - Hardware 7 04-27-2004 07:00 PM
what is your modem model RHlinux9 Linux - Newbie 10 10-11-2003 02:10 AM
Zoom/Modem PC V.92 Model 3025 liguorir Linux - Hardware 1 07-08-2003 10:07 AM
Zoom/Modem Model 3025 liguorir Linux - Hardware 1 07-07-2003 11:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration