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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-05-2010, 10:14 AM
|
#1
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Rep:
|
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
|
|
|
09-05-2010, 11:11 AM
|
#2
|
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
|
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!
|
|
|
09-05-2010, 11:19 AM
|
#3
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Original Poster
Rep:
|
Quote:
Originally Posted by xeleema
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
|
|
|
09-05-2010, 11:29 AM
|
#4
|
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
|
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!
|
|
|
09-05-2010, 01:05 PM
|
#5
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,188
|
Quote:
Originally Posted by satimis
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.
|
09-05-2010, 08:59 PM
|
#6
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Original Poster
Rep:
|
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.
|
|
|
09-05-2010, 09:21 PM
|
#7
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,188
|
Quote:
Originally Posted by satimis
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.
|
|
|
09-06-2010, 06:20 AM
|
#8
|
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070
|
Quote:
Originally Posted by TB0ne
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 a manufacturer who can't even spell the name of their own product doesn't really fill you with confidence, does it?
|
|
|
All times are GMT -5. The time now is 11:15 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|